:root {
  --ink: #231d19;
  --muted: #746960;
  --paper: #f7f2ea;
  --card: #fffdfa;
  --brown: #74533d;
  --line: #ded3c7;
  --green: #52654c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Noto Sans SC", "Hiragino Sans", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.7;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}

.mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brown);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 22px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.nav nav a,
footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.nav nav a:hover,
.nav nav a[aria-current="page"],
footer a:hover {
  color: var(--ink);
}

.lang-switch {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.lang-switch a {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--ink);
  background: #eee6db;
}

.lang-switch a[aria-current="true"] {
  color: var(--ink);
  background: #e8ddd0;
}

.hero {
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0 20px;
  max-width: none;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -.055em;
}

.hero-visual {
  position: relative;
}

.visual-frame {
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(145deg, #eee6db 0%, #e4d9cc 100%);
  box-shadow: 0 20px 50px rgba(35, 29, 25, .1);
}

.visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #fff;
}

.visual-frame-sm {
  margin-top: 18px;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(35, 29, 25, .08);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.trust-bar span {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3ebe0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.workflow {
  padding: 80px 0 90px;
  background: #eee6db;
}

.workflow-intro {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.workflow-intro span {
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.workflow-intro h2 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
}

.workflow-intro p {
  margin: 0;
  color: var(--muted);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.workflow-step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}

.workflow-step .step-num {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.workflow-step h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.export-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.export-tags li {
  padding: 6px 12px;
  border-radius: 8px;
  background: #f3ebe0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.section {
  padding: 90px 0;
  background: var(--paper);
}

.eyebrow {
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.legal h1 {
  margin: 18px 0 24px;
  max-width: 900px;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1.03;
  letter-spacing: -.055em;
}

.hero-copy h1 em {
  color: var(--brown);
  font-family: Georgia, "Songti SC", serif;
  font-weight: 500;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.lead.small {
  font-size: 18px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--brown);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button.app-store {
  gap: 10px;
  padding: 0 20px 0 16px;
  background: #000;
}

.button.app-store svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.text-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: 40px;
}

.section-head span {
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
}

.section h2,
.legal h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0;
}

.grid {
  display: grid;
  gap: 18px;
}

.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}

.card b {
  color: var(--brown);
  font-size: 12px;
}

.card h3 {
  margin: 50px 0 12px;
  font-size: 22px;
}

.card p,
.legal p,
.legal li {
  color: var(--muted);
}

.scenarios {
  padding: 20px 0 90px;
  background: var(--paper);
}

.scenarios .grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.scenario {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.scenario h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.scenario p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.banner {
  margin-top: 70px;
  background: var(--ink);
  color: #fff;
}

.banner-inner {
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner span {
  color: #c9ad95;
  font-size: 12px;
  letter-spacing: .14em;
}

.banner h2 {
  margin: 10px 0;
  font-size: 38px;
}

.banner a {
  color: #fff;
}

.legal {
  padding: 90px 0 120px;
  max-width: 900px;
}

.legal h1 {
  font-size: clamp(46px, 6vw, 72px);
}

.meta {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.legal section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.legal section h2 {
  margin-bottom: 14px;
}

.legal a {
  color: var(--brown);
}

.legal ol {
  padding-left: 22px;
}

.english {
  margin-top: 42px;
  padding: 30px;
  border-radius: 18px;
  background: #eee6db;
}

.english h2 {
  font-size: 20px;
}

.faq details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.contact .button {
  color: #fff;
}

footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer div {
  display: flex;
  gap: 20px;
}

@media (max-width: 760px) {
  .nav {
    padding: 20px 0;
    align-items: flex-start;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .nav nav {
    gap: 10px;
  }

  .hero {
    padding: 56px 0 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-visual {
    order: 3;
  }

  .hero-copy .lead {
    max-width: none;
  }

  .trust-bar {
    margin-top: 28px;
  }

  .workflow {
    padding: 56px 0 64px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .three,
  .two,
  .section-head,
  .contact {
    grid-template-columns: 1fr;
  }

  .banner-inner {
    padding: 50px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .legal {
    padding-top: 64px;
  }

  footer {
    padding: 28px 0;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }
}
