/*
 * Genesis landing — static, no build.
 * Tokens mirror apps/web/app/globals.css (emerald primary, warm canvas, ink).
 * No inline styles anywhere: CSP is style-src 'self'.
 */

/* ── Fonts (self-hosted, variable) ───────────────────────────── */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, serif;

  --content: 1160px;
  --pad: clamp(20px, 4.5vw, 48px);
  --r-card: 24px;
  --r-field: 14px;
  --ease: 200ms cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
  --bg: hsl(40 33% 98%);
  --bg-tint: hsl(40 24% 95%);
  --surface: hsl(0 0% 100%);
  --surface-2: hsl(40 20% 92%);
  --text: hsl(210 24% 12%);
  --muted: hsl(210 10% 40%);
  --line: hsl(40 12% 86%);
  --line-soft: hsl(40 12% 90%);

  --primary: hsl(166 72% 28%);
  --primary-hover: hsl(166 72% 23%);
  --on-primary: hsl(0 0% 100%);
  --primary-soft: hsl(166 45% 92%);
  --primary-ink: hsl(166 72% 20%);

  --amber-bg: hsl(40 92% 92%);
  --amber-line: hsl(38 80% 72%);
  --amber-ink: hsl(28 80% 26%);
  --amber-dot: hsl(36 92% 48%);

  --ink-bg: hsl(168 34% 9%);
  --ink-surface: hsl(168 26% 13%);
  --ink-line: hsl(168 18% 22%);
  --ink-text: hsl(40 25% 96%);
  --ink-muted: hsl(168 10% 70%);
  --ink-accent: hsl(166 58% 52%);

  --mint-glow: hsl(166 45% 88% / 0.75);
  --sand-glow: hsl(40 60% 90% / 0.85);
  --shadow: 0 1px 2px hsl(210 24% 12% / 0.05), 0 18px 40px -20px hsl(210 24% 12% / 0.22);
  --shadow-lg: 0 2px 4px hsl(210 24% 12% / 0.05), 0 40px 80px -30px hsl(210 24% 12% / 0.35);
  --nav-bg: hsl(40 33% 98% / 0.78);
  --wallpaper: hsl(40 22% 94%);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: hsl(210 24% 8%);
  --bg-tint: hsl(210 24% 10%);
  --surface: hsl(210 22% 12%);
  --surface-2: hsl(210 18% 16%);
  --text: hsl(210 20% 96%);
  --muted: hsl(210 12% 68%);
  --line: hsl(210 14% 21%);
  --line-soft: hsl(210 14% 17%);

  --primary: hsl(166 55% 42%);
  --primary-hover: hsl(166 55% 48%);
  --on-primary: hsl(210 30% 6%);
  --primary-soft: hsl(166 40% 15%);
  --primary-ink: hsl(166 60% 70%);

  --amber-bg: hsl(36 50% 15%);
  --amber-line: hsl(36 50% 30%);
  --amber-ink: hsl(40 90% 74%);

  --ink-bg: hsl(168 30% 6%);
  --ink-surface: hsl(168 22% 10%);
  --ink-line: hsl(168 16% 18%);

  --mint-glow: hsl(166 40% 18% / 0.5);
  --sand-glow: hsl(210 30% 16% / 0.55);
  --shadow: 0 1px 2px hsl(0 0% 0% / 0.4), 0 18px 40px -20px hsl(0 0% 0% / 0.7);
  --shadow-lg: 0 2px 4px hsl(0 0% 0% / 0.4), 0 40px 80px -30px hsl(0 0% 0% / 0.8);
  --nav-bg: hsl(210 24% 8% / 0.78);
  --wallpaper: hsl(210 22% 9%);
}

/* ── Base ────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 520px at 8% -8%, var(--mint-glow), transparent 58%),
    radial-gradient(900px 420px at 94% 0%, var(--sand-glow), transparent 52%),
    var(--bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
p { text-wrap: pretty; }
em { font-style: italic; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--content) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--on-primary);
  padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding-inline: 20px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 0.9375rem/1 var(--font-sans); white-space: nowrap; cursor: pointer;
  transition: transform var(--ease), background-color var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.btn .ico { transition: transform var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 52px; padding-inline: 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 8px 20px -10px var(--primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--muted); }
.btn-light { background: var(--ink-text); color: hsl(168 40% 12%); }
.btn-light:hover { background: #fff; }
.btn-outline-light { color: var(--ink-text); border-color: hsl(0 0% 100% / 0.35); }
.btn-outline-light:hover { background: hsl(0 0% 100% / 0.1); border-color: #fff; }

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 11px; background: var(--primary); color: var(--on-primary);
}
.brand-mark .ico { width: 20px; height: 20px; }
.brand-mark-img { width: 36px; height: 36px; border-radius: 11px; display: block; }
.brand-name { font: 600 1.25rem/1 var(--font-display); letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; color: var(--muted);
  transition: color var(--ease), background-color var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  height: 40px; padding: 0 28px 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: 600 0.8125rem var(--font-sans); cursor: pointer; letter-spacing: 0.04em;
}
.theme { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.theme button {
  display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); cursor: pointer;
  transition: background-color var(--ease), color var(--ease);
}
.theme button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.menu-btn {
  display: none; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(36px, 6vw, 88px) clamp(48px, 7vw, 104px);
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: 0.8125rem; font-weight: 600; color: var(--primary-ink);
}
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.9rem); line-height: 1.02; letter-spacing: -0.03em;
}
.hero h1 span { display: block; }
.hero h1 em { display: block; color: var(--primary); font-weight: 450; }
.lead { max-width: 52ch; margin-top: 24px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-center { justify-content: center; }
.hero-note { margin-top: 24px; font-size: 0.875rem; color: var(--muted); }

/* Phone */
.hero-visual { position: relative; display: flex; justify-content: center; padding-block: 8px; }
.phone {
  position: relative; width: min(100%, 372px);
  padding: 10px; border: 1px solid var(--line); border-radius: 44px;
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.phone-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-radius: 34px 34px 0 0; background: var(--primary); color: var(--on-primary);
}
.phone-who { display: flex; flex-direction: column; line-height: 1.25; }
.phone-who strong { font-size: 0.9375rem; }
.phone-who span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; opacity: 0.85; }
.online { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avatar {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; background: hsl(0 0% 100% / 0.2); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em;
}
.avatar-sm { width: 30px; height: 30px; font-size: 0.75rem; background: var(--primary-soft); color: var(--primary-ink); }
.chat {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 14px 20px; min-height: 380px;
  border-radius: 0 0 34px 34px; background: var(--wallpaper);
}

/* Bubbles (shared by hero + tiles) */
.msg { max-width: 84%; padding: 10px 14px; font-size: 0.875rem; line-height: 1.45; border-radius: 18px; }
.msg.in { align-self: flex-start; background: var(--surface); border: 1px solid var(--line-soft); border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: var(--primary); color: var(--on-primary); border-bottom-right-radius: 5px; }
.msg b { font-size: 0.6875rem; letter-spacing: 0.08em; opacity: 0.6; margin-right: 6px; }

.msg.out.booked { width: 86%; max-width: 86%; padding: 12px 14px 12px; background: var(--surface); color: var(--text); border: 1px solid var(--primary); }
.booked-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--primary-ink); }
.tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: var(--on-primary); }
.tick .ico { width: 13px; height: 13px; stroke-width: 2.6; }
.booked dl div { display: flex; justify-content: space-between; gap: 12px; padding-block: 4px; border-top: 1px dashed var(--line); font-size: 0.8125rem; }
.booked dt { color: var(--muted); }
.booked dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.booked > p { margin-top: 8px; font-size: 0.75rem; color: var(--muted); }

/* Floating cards */
.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow);
}
.float strong { display: block; font-size: 0.8125rem; line-height: 1.3; }
.float span:not(.float-ico) { display: block; font-size: 0.75rem; color: var(--muted); }
.float-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-ink); }
.float-remind { top: 9%; right: -2%; }
.float-agenda { bottom: -3%; left: -5%; }

/* Hero chat plays in sequence */
.chat > * { animation: pop 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.chat > :nth-child(1) { animation-delay: 300ms; }
.chat > :nth-child(2) { animation-delay: 1300ms; }
.chat > :nth-child(3) { animation-delay: 2400ms; }
.chat > :nth-child(4) { animation-delay: 3400ms; }
.float-remind { animation: pop 520ms 4200ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.float-agenda { animation: pop 520ms 4600ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ── Statement ───────────────────────────────────────────────── */
.statement { padding-block: clamp(32px, 6vw, 80px) clamp(48px, 8vw, 112px); }
.statement-text {
  max-width: 26em; margin-inline: auto; text-align: center;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.8vw, 3rem); line-height: 1.18; letter-spacing: -0.02em; color: var(--muted);
}
.statement-text em { color: var(--text); font-weight: 450; }

/* ── Sections ────────────────────────────────────────────────── */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-tint { background: var(--bg-tint); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .how-head h2, .faq-head h2, .trust-copy h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.06; letter-spacing: -0.025em;
}
.eyebrow { margin-bottom: 14px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.eyebrow-on-dark { color: var(--ink-accent); }
.section-lead { margin-top: 16px; font-size: 1.0625rem; color: var(--muted); max-width: 54ch; }
.section-head.center .section-lead { margin-inline: auto; }

/* ── Bento ───────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 20px; overflow: hidden;
  padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.tile:hover { transform: translateY(-3px); border-color: hsl(166 40% 60% / 0.6); box-shadow: var(--shadow); }
.tile h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 0.9375rem; }
.tile-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 13px; background: var(--primary-soft); color: var(--primary-ink); }
.tile-ico-amber { background: var(--amber-bg); color: var(--amber-ink); }

.tile-book { grid-column: span 4; flex-direction: row; align-items: center; gap: clamp(20px, 4vw, 48px); }
.tile-book .tile-copy { flex: 1 1 0; min-width: 0; }
.tile-book .tile-visual { flex: 1 1 0; min-width: 0; }
.tile-handoff { grid-column: span 2; justify-content: space-between; background: linear-gradient(180deg, var(--surface), var(--surface)); }
.tile-handoff .tile-visual { display: flex; flex-direction: column; gap: 8px; }
.tile-handoff .msg { max-width: 92%; }
.tile-media, .tile-team, .tile-lang { grid-column: span 2; justify-content: space-between; }
.tile-learn { grid-column: span 6; flex-direction: row; align-items: center; justify-content: space-between; gap: clamp(20px, 4vw, 56px); }
.tile-learn .tile-copy { flex: 1 1 0; max-width: 520px; }

.slots { padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--wallpaper); }
.slots-title { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.slots-who { color: var(--primary-ink); }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot {
  display: grid; place-items: center; height: 42px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.slot.is-picked { background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: 0 8px 18px -8px var(--primary); }
.slot.is-busy { background: transparent; border-style: dashed; color: var(--muted); text-decoration: line-through; opacity: 0.6; }

.badge-amber {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 12px; border: 1px solid var(--amber-line); border-radius: 999px;
  background: var(--amber-bg); color: var(--amber-ink); font-size: 0.75rem; font-weight: 700;
}
.badge-amber i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-dot); }

.media-list { display: flex; flex-direction: column; gap: 8px; }
.media-list li {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border: 1px solid var(--line-soft); border-radius: 14px; background: var(--wallpaper);
  font-size: 0.8125rem; font-weight: 500;
}
.media-list .ico { color: var(--primary); }
.media-list em { margin-left: auto; font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 20px; }
.wave i { width: 3px; border-radius: 2px; background: var(--primary); }
.wave i:nth-child(1) { height: 6px; } .wave i:nth-child(2) { height: 14px; } .wave i:nth-child(3) { height: 20px; }
.wave i:nth-child(4) { height: 10px; } .wave i:nth-child(5) { height: 17px; } .wave i:nth-child(6) { height: 8px; } .wave i:nth-child(7) { height: 12px; }

.team-list { display: flex; flex-direction: column; gap: 10px; }
.team-list li { display: flex; align-items: center; gap: 12px; }
.bar { flex: 1; height: 10px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.w-45 { width: 45%; } .w-65 { width: 65%; } .w-85 { width: 85%; }

.lang-demo { display: flex; flex-direction: column; gap: 8px; }
.lang-demo .msg { max-width: 92%; }

.learn-flow { display: flex; flex: 1 1 0; max-width: 560px; align-items: stretch; gap: 12px; }
.learn-flow li {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px;
  border: 1px solid var(--line-soft); border-radius: 18px; background: var(--wallpaper);
  font-size: 0.875rem; font-weight: 600;
}
.learn-flow li + li::before {
  content: ""; position: absolute; left: -13px; top: 50%; width: 14px; height: 2px; background: var(--line);
}
.step-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); font-size: 0.8125rem; font-weight: 700; }
.step-n.is-ok { background: var(--primary); color: var(--on-primary); }
.step-n .ico { width: 15px; height: 15px; stroke-width: 2.6; }

/* ── How it works ────────────────────────────────────────────── */
.how { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-head { position: sticky; top: 110px; }
.how-head .btn { margin-top: 28px; }
.steps li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding-block: 28px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num { font: 400 2.75rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--primary); font-variant-numeric: lining-nums; }
.steps h3 { margin-bottom: 6px; font-size: 1.3125rem; }
.steps p { color: var(--muted); max-width: 48ch; }

/* ── Trust (always-dark band) ────────────────────────────────── */
.trust { background: var(--ink-bg); color: var(--ink-text); position: relative; overflow: hidden; }
.trust::before {
  content: ""; position: absolute; inset: -20% 40% auto -10%; height: 70%;
  background: radial-gradient(closest-side, hsl(166 58% 30% / 0.35), transparent);
  pointer-events: none;
}
.trust .wrap { position: relative; }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.trust .section-lead { color: var(--ink-muted); }
.proof {
  display: flex; flex-direction: column; gap: 14px; padding: 22px;
  border: 1px solid var(--ink-line); border-radius: var(--r-card); background: var(--ink-surface);
}
.proof-doc {
  display: flex; align-items: center; gap: 12px; align-self: flex-start;
  padding: 12px 16px; border: 1px solid var(--ink-line); border-radius: 16px; background: hsl(168 30% 8%);
  font-size: 0.875rem; font-weight: 600;
}
.proof-doc .ico { color: var(--ink-accent); }
.proof-doc em { font-style: normal; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-muted); }
.trust .msg.out { background: hsl(166 55% 42%); color: hsl(210 30% 6%); max-width: 92%; }
.trust .badge-amber { background: hsl(36 50% 15%); border-color: hsl(36 50% 30%); color: hsl(40 90% 74%); }

.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: clamp(40px, 6vw, 80px); }
.checks li { display: flex; gap: 14px; padding-block: 24px; border-top: 1px solid var(--ink-line); }
.checks > li > .ico { width: 22px; height: 22px; margin-top: 2px; padding: 3px; border-radius: 50%; background: hsl(166 58% 52% / 0.16); color: var(--ink-accent); stroke-width: 2.6; }
.checks h3 { margin-bottom: 4px; font-size: 1.0625rem; }
.checks p { font-size: 0.9375rem; color: var(--ink-muted); }

/* ── Plans ───────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 32px;
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
}
.plan h3 { font: 500 1.875rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.plan-for { color: var(--muted); font-size: 0.9375rem; }
.plan ul { display: flex; flex-direction: column; gap: 12px; margin-block: 24px 32px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 0.9375rem; }
.plan li .ico { margin-top: 3px; color: var(--primary); stroke-width: 2.6; }
.plan-feature { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow); }
.plan-tag {
  align-self: flex-start; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary); font-size: 0.75rem; font-weight: 700;
}
/* Align plan names across cards on desktop (the featured card carries a tag row). */
@media (min-width: 1021px) { .plan:not(.plan-feature) h3 { margin-top: 36px; } }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 22px; font-size: 1.125rem; font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--primary); transition: transform var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; max-width: 58ch; color: var(--muted); }

/* ── Final CTA ───────────────────────────────────────────────── */
.final { padding-block: clamp(56px, 8vw, 112px); }
.final-card {
  position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) var(--pad);
  border-radius: 36px; background: var(--ink-bg); color: var(--ink-text); text-align: center;
}
.final-card::before, .final-card::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid hsl(166 58% 52% / 0.18);
}
.final-card::before { width: 520px; height: 520px; left: -160px; bottom: -320px; }
.final-card::after { width: 760px; height: 760px; right: -260px; top: -480px; }
.final-card h2 {
  position: relative; max-width: 16em; margin-inline: auto;
  font: 500 clamp(2.1rem, 5vw, 4rem)/1.05 var(--font-display); letter-spacing: -0.03em;
}
.final-card h2 em { color: var(--ink-accent); }
.final-card .cta-row { position: relative; margin-top: 36px; }

/* ── Contact ─────────────────────────────────────────────────── */
.contact {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px); align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.contact-items li { display: flex; gap: 14px; align-items: flex-start; }
.contact-ico {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 12px; background: var(--primary-soft); color: var(--primary-ink);
}
.contact-items strong { display: block; font-size: 0.8125rem; color: var(--muted); margin-bottom: 2px; }
.contact-items a { font-weight: 600; color: var(--text); }
.contact-items a:hover { color: var(--primary); }

.contact-form {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px;
  padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--r-field);
  background: var(--bg); color: var(--text); font: 500 0.9375rem/1.4 var(--font-sans);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(166 72% 28% / 0.18);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #e11d48; box-shadow: 0 0 0 3px rgb(225 29 72 / 0.18);
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { font-size: 0.875rem; color: var(--muted); }
.form-status.is-ok { color: var(--primary-ink); font-weight: 600; }
.form-status.is-error { color: #be123c; font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { padding-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line-soft); background: var(--bg-tint); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px; padding-block: 40px 28px;
}
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; max-width: 28ch; }
.footer-grid h3 {
  margin-bottom: 14px; font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--text); font-size: 0.9375rem; font-weight: 500; transition: color var(--ease); }
.footer-grid a:hover { color: var(--primary); }
.footer-contact p { font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }
.footer-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 20px 32px; border-top: 1px solid var(--line-soft); font-size: 0.8125rem; color: var(--muted);
}

/* ── Scroll reveal (hidden only when JS can reveal) ──────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .bento .reveal:nth-child(2) { transition-delay: 70ms; }
.js .bento .reveal:nth-child(3) { transition-delay: 40ms; }
.js .bento .reveal:nth-child(4) { transition-delay: 100ms; }
.js .bento .reveal:nth-child(5) { transition-delay: 160ms; }
.js .plans .reveal:nth-child(2), .js .checks .reveal:nth-child(2), .js .checks .reveal:nth-child(5) { transition-delay: 80ms; }
.js .plans .reveal:nth-child(3), .js .checks .reveal:nth-child(3), .js .checks .reveal:nth-child(6) { transition-delay: 160ms; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .menu-btn { display: grid; }
  .nav-signin { display: none; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 2px;
    margin: 0; padding: 12px var(--pad) 20px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 12px; font-size: 1.0625rem; }
  .nav-actions { margin-left: auto; }

  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { margin-top: 8px; }
  .float-remind { right: 0; }
  .float-agenda { left: 0; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-book, .tile-learn { grid-column: span 2; }
  .tile-handoff, .tile-media, .tile-team, .tile-lang { grid-column: span 1; }
  .how, .faq-wrap, .trust-grid, .contact { grid-template-columns: minmax(0, 1fr); }
  .how-head, .faq-head { position: static; }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .nav-cta { display: none; }
  .theme button { width: 32px; height: 32px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-book, .tile-learn, .tile-handoff, .tile-media, .tile-team, .tile-lang { grid-column: span 1; }
  .tile-book, .tile-learn { flex-direction: column; align-items: stretch; }
  .tile-book .tile-visual, .learn-flow { width: 100%; max-width: none; }
  .learn-flow { flex-direction: column; }
  .learn-flow li + li::before { left: 24px; top: -13px; width: 2px; height: 14px; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 56px 1fr; gap: 14px; }
  .step-num { font-size: 2.1rem; }
  .float { display: none; }
  .final-card { border-radius: 28px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 400px) {
  .brand-name { font-size: 1.125rem; }
  .nav-actions { gap: 6px; }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
