:root {
  color-scheme: light;
  --paper: #fcfdfb;
  --paper-warm: #f8f5ed;
  --ink: #10242e;
  --ink-muted: #52646a;
  --teal: #0e8f83;
  --teal-deep: #087168;
  --mint: #eaf7f4;
  --amber: #b7791f;
  --amber-soft: #fff4df;
  --line: #d7e2df;
  --white: #ffffff;
  --radius: 1.5rem;
  --max: 1180px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.58;
  font-size: 1rem;
}

body::selection { background: var(--mint); color: var(--ink); }

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 253, 251, 0.94);
}

.nav,
.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

.nav {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--teal-deep); }

.language {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

.gate {
  border-bottom: 1px solid #e9d3a9;
  background: var(--amber-soft);
  color: #704e1c;
  font-size: 0.85rem;
}

.gate .container { padding: 0.7rem 0; }

.hero {
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3.5rem, 6vw, 6rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.eyebrow,
.kicker {
  margin: 0 0 1rem;
  color: var(--teal-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 20ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 740;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.lead {
  max-width: 34rem;
  color: var(--ink-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-2px); background: var(--teal-deep); }

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

.button--secondary:hover { background: var(--mint); color: var(--ink); }

.button.is-disabled,
.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
}

.hero-note,
.caption,
.meta {
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.hero-note { max-width: 32rem; margin: 1rem 0 0; }

.hero-visual {
  position: relative;
  height: min(36rem, calc(100vh - 10rem));
  min-height: 30rem;
  padding: clamp(1rem, 3vw, 2.5rem);
  border-radius: 2.3rem;
  background: var(--mint);
  transform: rotate(1.2deg);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(14, 143, 131, 0.22);
  border-radius: 1.7rem;
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  display: block;
  width: min(100%, 27rem);
  height: auto;
  margin: auto;
  border-radius: 1.7rem;
  box-shadow: 0 1.5rem 4rem rgba(16, 36, 46, 0.16);
  transform: rotate(-1.2deg);
}

.hero-visual .caption {
  position: relative;
  display: block;
  max-width: 27rem;
  margin: 1rem auto 0;
  padding: 0.5rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(252, 253, 251, 0.92);
  transform: rotate(-1.2deg);
}

.section { padding: clamp(4rem, 9vw, 9rem) 0; }
.section--mint { background: var(--mint); }
.section--warm { background: var(--paper-warm); }

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-intro p { max-width: 36rem; margin-bottom: 0; color: var(--ink-muted); font-size: 1.1rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.step {
  min-height: 15rem;
  padding: 1.35rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.step + .step { padding-left: 1.25rem; border-left: 1px solid var(--line); }

.step-number {
  display: block;
  margin-bottom: 3rem;
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step p { max-width: 20rem; margin-bottom: 0; color: var(--ink-muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
}

.status-list { border-top: 1px solid var(--line); }

.status-row {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.status-label { color: var(--teal-deep); font-weight: 780; }
.status-row p { margin-bottom: 0; color: var(--ink-muted); }

.callout {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.callout p:last-child { margin-bottom: 0; }

.app-figure {
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 2rem;
  background: var(--white);
}

.app-figure img {
  display: block;
  width: min(100%, 25rem);
  height: auto;
  margin: 0 auto;
  border-radius: 1.4rem;
  box-shadow: 0 1.3rem 3rem rgba(16, 36, 46, 0.12);
}

.app-figure figcaption { margin-top: 1rem; color: var(--ink-muted); font-size: 0.85rem; }

.page { padding: clamp(3rem, 7vw, 6rem) 0 6rem; }
.page-header { max-width: 48rem; margin-bottom: 3rem; }
.page-header h1 { max-width: 14ch; font-size: clamp(3rem, 7vw, 6rem); }
.page-header p { max-width: 42rem; color: var(--ink-muted); font-size: 1.12rem; }

.prose { max-width: 48rem; }
.prose h2 { margin-top: 3rem; font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -0.035em; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-muted); }
.prose strong { color: var(--ink); }
.prose a { color: var(--teal-deep); }
.prose ul { padding-left: 1.2rem; }

.faq-list {
  max-width: 48rem;
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding: 1rem 0 1.05rem;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 750;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  flex: 0 0 auto;
  color: var(--teal-deep);
  content: "+";
  font-size: 1.35rem;
  font-weight: 500;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  max-width: 42rem;
  margin: 0.75rem 2rem 0 0;
  color: var(--ink-muted);
}

.notice {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--amber);
  background: var(--amber-soft);
  color: #704e1c;
}

.data-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; table-layout: fixed; }
.data-table th, .data-table td { padding: 0.8rem 0.4rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.data-table th { width: 34%; color: var(--ink); font-size: 0.92rem; }
.data-table td { color: var(--ink-muted); }

.footer {
  padding: 2.5rem 0 3.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.footer-grid { display: flex; justify-content: space-between; gap: 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; }
.footer a { color: var(--ink-muted); text-decoration: none; }
.footer a:hover { color: var(--teal-deep); }
.footer p { margin-bottom: 0; }

[data-reveal] { opacity: 1; transform: none; }
html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(1rem); transition: opacity 650ms ease, transform 650ms ease; }
html.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .nav { min-height: 4.75rem; }
  .nav-links a:not(.language) { display: none; }
  .hero-grid, .split, .section-intro { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
  h1 { max-width: 11ch; }
  .hero-visual { height: auto; min-height: 0; overflow: visible; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { min-height: 0; padding: 1.25rem 0; border-left: 0; }
  .step-number { margin-bottom: 1.4rem; }
  .status-row { grid-template-columns: 8.5rem minmax(0, 1fr); }
  .footer-grid { flex-direction: column; }
}

@media (max-width: 460px) {
  .nav, .container { width: min(calc(100% - 1.5rem), var(--max)); }
  .nav-links { gap: 0.35rem; }
  h1 { font-size: clamp(2.9rem, 16vw, 4.5rem); }
  .status-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .button { width: 100%; }
  .button-row { align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
