/* Lingify web. Tokens mirror mobile/src/theme/tokens.ts. Hairlines only, no shadows. */
:root {
  --page: #FFFFFF;
  --bg: #F7F8FB;
  --surface: #FFFFFF;
  --sunk: #EEF0F5;
  --ink: #141A3B;
  --soft: #4A5070;
  --mute: #6B7090;
  --hair: rgba(20, 26, 59, 0.07);
  --hair-strong: rgba(20, 26, 59, 0.14);
  --brand: #1A9BF0;
  --brand-ink: #FFFFFF;
  --brand-text: #0A7CC8;
  --brand-soft: #E8F6FE;
  --brand-deep: #0A6FB5;
  --gold: #F5A400;
  --gold-text: #A15C00;
  --gold-soft: #FFF6E0;
  --gold-tint: #FFFAEE;
  --tangerine: #D9480F;
  --tangerine-soft: #FFF2EC;
  --ok: #1F7A45;
  --ok-soft: #E3F6EA;
  --bad: #B42318;
  --bad-soft: #FEE4E2;
  --bubble-mine: #0A78C2;
  --bubble-mine-ink: #FFFFFF;
  --bubble-theirs: #FFFFFF;
  --todo-bg: #FFF3C4;
  --todo-ink: #5C3D00;

  --r-sm: 11px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1160px;
  --gutter: 16px;
  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
:is(.ph, .ph-fill) { line-height: 1; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 10px; border: 1px solid var(--hair-strong); z-index: 20; }
.skip:focus { left: 8px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: var(--page); border-bottom: 1px solid var(--hair); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: color 0.15s, background-color 0.15s; }
.nav a:hover { color: var(--ink); background: var(--sunk); }
.nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 719px) { .nav .wide { display: none; } .nav a { padding: 8px 10px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 24px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink);
  font: inherit; font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform 0.12s var(--ease), background-color 0.15s;
}
.btn:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.btn:active { transform: scale(0.97); }
.btn :is(.ph, .ph-fill) { font-size: 22px; }
.btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--hair-strong); }
.btn-quiet:hover { background: var(--sunk); }

/* Sections */
section { padding: 88px 0; }
@media (max-width: 767px) { section { padding: 64px 0; } }
.tint { background: var(--bg); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.h2 { font-size: clamp(30px, 4vw, 46px); }
.lede { color: var(--soft); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; max-width: 34em; }
.section-head { display: grid; gap: 14px; margin-bottom: 48px; }

/* Hero */
.hero { padding: 48px 0 64px; background: linear-gradient(180deg, #F1F8FE 0%, #F7FBFF 46%, var(--page) 100%); }
.hero .wrap { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 56px 0 72px; min-height: calc(100svh - 68px - 64px); display: flex; align-items: center; }
  .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; }
}
.hero h1 .hl { color: var(--brand); }
.faces { display: flex; align-items: center; margin-top: 36px; }
.faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2.5px solid #fff; margin-left: -10px; }
.faces img:first-child { margin-left: 0; }
.faces span { margin-left: 12px; color: var(--soft); font-size: 14.5px; font-weight: 600; }
.hero-art { position: relative; justify-self: center; width: 100%; max-width: 480px; padding: 28px 0 36px; }
.hero-art .chat { max-width: 420px; margin: 0 auto; background: var(--page); }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--hair-strong); border-radius: 18px; }
.float strong { display: block; font-size: 14px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; white-space: nowrap; }
.float span:not(.wave):not(.flame) { display: block; font-size: 12.5px; color: var(--mute); white-space: nowrap; }
.float img { width: 40px; height: 40px; border-radius: 13px; object-fit: cover; flex: none; }
.float .wave, .float .flame { width: 36px; height: 36px; border-radius: 12px; font-size: 18px; }
.float-wave { top: 0; right: -28px; }
.float-streak { bottom: 0; left: -36px; }
.float .flame { display: inline-grid; place-items: center; background: var(--tangerine-soft); color: var(--tangerine); flex: none; }
@media (max-width: 1100px) { .float-wave { right: -8px; } .float-streak { left: -8px; } }
@media (max-width: 520px) { .float-streak { display: none; } .float-wave { right: 0; top: -6px; } .hero-art { padding-top: 40px; } }
@media (prefers-reduced-motion: no-preference) {
  .float-wave { animation: drift 6s ease-in-out infinite; }
  .float-streak { animation: drift 7s ease-in-out -2s infinite; }
  @keyframes drift { 50% { transform: translateY(-6px); } }
}

/* Language strip */
.langs { overflow: hidden; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--page); height: 64px; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.langs-track { display: flex; gap: 12px; width: max-content; }
.langs-track span { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--bg); border: 1px solid var(--hair); font-weight: 700; font-size: 15px; color: var(--soft); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .langs-track { animation: marquee 48s linear infinite; }
  .langs:hover .langs-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
}

/* How it works: bento */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; } .cell-find { grid-row: span 2; } }
.cell { border-radius: var(--r-xl); padding: 28px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--hair); background: var(--surface); }
.cell h3 { font-size: 22px; letter-spacing: -0.025em; line-height: 1.2; max-width: 20em; }
.cell > p { color: var(--soft); max-width: 32em; }
.cell .mini { margin-top: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.filters span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair-strong); font-size: 13.5px; font-weight: 700; color: var(--soft); }
.filters span.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.filters .online { color: #22A55B; font-size: 9px; }
.cell-find .mini { margin-top: 12px; }
.cell-find { background: linear-gradient(180deg, #EAF6FE 0%, #F4FAFF 100%); border-color: #D6ECFB; }
.cell-improve { background: linear-gradient(180deg, #FFF4EE 0%, #FFFAF7 100%); border-color: #FBE3D6; }
.cell-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--surface); border: 1px solid var(--hair); color: var(--brand); font-size: 22px; margin-bottom: 6px; }
.cell-improve .cell-icon { color: var(--tangerine); }
@media (max-width: 520px) { .cell { padding: 22px 18px; } }

/* Closing band */
.closing { padding-top: 24px; }
.band { display: grid; gap: 32px; align-items: center; border-radius: 32px; padding: 48px 40px; background: linear-gradient(135deg, #E9F6FE 0%, #F5FAFF 60%, #FFF6EF 100%); border: 1px solid #D6ECFB; overflow: hidden; }
@media (min-width: 900px) { .band { grid-template-columns: 1.2fr 0.8fr; padding: 64px 64px; } }
@media (max-width: 520px) { .band { padding: 36px 22px; border-radius: 26px; } }
.band .lede { margin-top: 14px; }
.band-art { position: relative; height: 220px; }
.band-art .app-icon { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; transform: translate(-50%, -50%); border-radius: 28px; border: 1px solid var(--hair); background: #fff; }
.band-art .p { position: absolute; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.band-art .p1 { width: 64px; height: 64px; left: 12%; top: 8%; }
.band-art .p2 { width: 56px; height: 56px; right: 14%; top: 0; }
.band-art .p3 { width: 60px; height: 60px; right: 6%; bottom: 10%; }
.band-art .p4 { width: 52px; height: 52px; left: 6%; bottom: 4%; }
@media (max-width: 899px) { .band-art { height: 180px; max-width: 360px; width: 100%; justify-self: center; } }
.hero h1 { font-size: clamp(30px, calc((100vw - 2 * var(--gutter)) / 10.4), 64px); letter-spacing: -0.04em; line-height: 1.04; }
.hero h1 span { display: block; }
@media (min-width: 960px) { .hero h1 { font-size: clamp(36px, 3.9vw, 58px); } .hero h1 span { white-space: nowrap; } }
.hero .lede { margin-top: 22px; max-width: 27em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.cta-note { color: var(--mute); font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.cta-note :is(.ph, .ph-fill) { font-size: 18px; }

/* Language tags (mirror LangTag in the app) */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 9px; background: var(--sunk); font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.tag b { font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.tag .n { color: var(--brand); }
.tag .l { color: var(--tangerine); }
.meter { display: inline-flex; gap: 2px; }
.meter i { width: 5px; height: 9px; border-radius: 1.5px; background: var(--tangerine); opacity: 0.22; }
.meter i.on { opacity: 1; }

/* Chat preview */
.chat { margin: 0; background: var(--bg); border: 1px solid var(--hair-strong); border-radius: var(--r-xl); overflow: hidden; max-width: 480px; width: 100%; justify-self: center; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--hair); }
.avatar { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; flex: none; background: var(--sunk); }
.avatar.sm { width: 36px; height: 36px; border-radius: 12px; }
.chat-head .who { display: grid; gap: 4px; min-width: 0; }
.chat-head strong { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.chat-body { display: grid; gap: 10px; padding: 18px 14px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 15.5px; line-height: 1.45; }
.msg.theirs { background: var(--bubble-theirs); border: 1px solid var(--hair); border-bottom-left-radius: 6px; justify-self: start; }
.msg.mine { background: var(--bubble-mine); color: var(--bubble-mine-ink); border-bottom-right-radius: 6px; justify-self: end; }
.msg .tr { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--hair); color: var(--soft); font-size: 14px; }
.msg .tr small { display: flex; align-items: center; gap: 5px; color: var(--brand-text); font-size: 11.5px; font-weight: 700; margin-bottom: 2px; }
.correction { justify-self: end; max-width: 88%; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-md); padding: 12px 14px; display: grid; gap: 6px; }
.correction .label { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ok); }
.correction .label :is(.ph, .ph-fill) { font-size: 15px; }
.correction p { font-size: 15px; line-height: 1.5; }
.correction .note { color: var(--soft); font-size: 13.5px; }
del { color: var(--bad); background: var(--bad-soft); text-decoration: line-through; border-radius: 4px; padding: 0 2px; }
ins { color: var(--ok); background: var(--ok-soft); text-decoration: none; font-weight: 600; border-radius: 4px; padding: 0 2px; }
.composer { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface); border-top: 1px solid var(--hair); }
.composer .field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px 0 14px; border-radius: 21px; background: var(--sunk); color: var(--mute); font-size: 15px; }
.composer .field span:first-child { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 15px; background: var(--brand-soft); color: var(--brand-deep); font-size: 13px; font-weight: 800; }
.composer .icon { color: var(--soft); font-size: 24px; }

.mini { background: var(--surface); border: 1px solid var(--hair-strong); border-radius: var(--r-lg); padding: 6px; }
.person { display: flex; align-items: center; gap: 12px; padding: 10px; }
.person + .person { border-top: 1px solid var(--hair); }
.person .who { flex: 1; min-width: 0; display: grid; gap: 5px; }
.person strong { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.person strong small { color: var(--mute); font-weight: 600; font-size: 13px; letter-spacing: 0; }
.wave { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--tangerine-soft); color: var(--tangerine); font-size: 20px; }
.voice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; border-bottom-right-radius: 6px; background: var(--bubble-mine); color: #fff; margin: 8px 8px 8px auto; max-width: 280px; }
.voice .play { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.2); font-size: 15px; flex: none; }
.bars { flex: 1; display: flex; align-items: center; gap: 3px; height: 26px; }
.bars i { flex: 1; border-radius: 2px; background: rgba(255,255,255,0.85); }
.voice time { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: 0.9; }
.streak { display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid var(--hair); }
.streak .flame { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--tangerine-soft); color: var(--tangerine); font-size: 21px; flex: none; }
.streak strong { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.streak span { font-size: 13.5px; color: var(--mute); }
.phrase { display: flex; align-items: flex-start; gap: 12px; padding: 12px; }
.phrase :is(.ph, .ph-fill) { color: var(--brand); font-size: 20px; margin-top: 2px; }
.phrase strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; }
.phrase span { font-size: 13.5px; color: var(--mute); }

/* AI helper panel */
.ai-panel { display: grid; border: 1px solid var(--hair-strong); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
@media (min-width: 900px) { .ai-panel { grid-template-columns: 1fr 1fr; } }
.ai-panel > div { padding: 24px; }
@media (min-width: 900px) { .ai-panel > div { padding: 32px; } .ai-panel > div + div { border-left: 1px solid var(--hair); } }
@media (max-width: 899px) { .ai-panel > div + div { border-top: 1px solid var(--hair); } }
.ai-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.ai-title h3 { font-size: 20px; letter-spacing: -0.02em; }
.ai-title span { font-size: 12.5px; font-weight: 600; color: var(--brand-text); }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
.modes li { display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--hair); min-height: 104px; }
.modes :is(.ph, .ph-fill) { font-size: 22px; color: var(--brand); margin-bottom: 4px; }
.modes strong { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.modes span { font-size: 12px; line-height: 1.35; color: var(--mute); }
.modes li.on { background: var(--brand); border-color: var(--brand); }
.modes li.on :is(.ph, .ph-fill), .modes li.on strong { color: var(--brand-ink); }
.modes li.on span { color: color-mix(in srgb, var(--brand-ink) 80%, transparent); }
@media (max-width: 420px) { .modes li { padding: 10px; min-height: 98px; } .modes span { font-size: 11.5px; } }
.example { display: grid; gap: 14px; align-content: start; }
.example .k { font-size: 13px; font-weight: 700; color: var(--mute); }
.draft { padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--hair); background: var(--bg); font-size: 16px; }
.tones { display: flex; gap: 8px; }
.tones span { flex: 1; display: grid; place-items: center; height: 36px; border-radius: 11px; background: var(--sunk); border: 1px solid transparent; font-size: 14px; font-weight: 700; color: var(--soft); }
.tones span.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); }
.result { padding: 16px; border-radius: var(--r-md); border: 1px solid var(--hair); display: grid; gap: 6px; }
.result strong { font-size: 16.5px; font-weight: 700; line-height: 1.45; }
.result span { color: var(--mute); font-size: 14px; }
.ai-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--soft); font-size: 15.5px; }
.ai-foot p { display: flex; align-items: center; gap: 8px; }
.ai-foot :is(.ph, .ph-fill) { color: var(--brand); font-size: 20px; }

/* Role-plays */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.scene { background: var(--surface); border: 1px solid var(--hair-strong); border-radius: var(--r-xl); padding: 24px; max-width: 440px; width: 100%; justify-self: center; }
.scene-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.scene-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-deep); font-size: 22px; flex: none; }
.scene-head strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.scene-head span { font-size: 13.5px; color: var(--mute); }
.stars { display: flex; justify-content: center; align-items: flex-end; gap: 8px; margin: 24px 0 10px; color: var(--gold); }
.stars :is(.ph, .ph-fill) { font-size: 46px; }
.stars :is(.ph, .ph-fill).mid { font-size: 60px; margin-bottom: 6px; }
.stars .off { color: var(--hair-strong); }
.scene h3 { text-align: center; font-size: 24px; }
.scene .sub { text-align: center; color: var(--soft); font-size: 14.5px; margin-top: 6px; }
.missions { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.missions li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--hair); }
.missions :is(.ph, .ph-fill) { color: var(--ok); font-size: 18px; }
.xp { display: flex; justify-content: center; margin-top: 16px; }
.xp span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 17px; background: var(--tangerine-soft); color: var(--tangerine); font-weight: 800; font-size: 15px; }
.scenarios { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.scenarios li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--hair-strong); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.scenarios :is(.ph, .ph-fill) { color: var(--brand); font-size: 18px; }

/* Safety list */
.safety { display: grid; gap: 40px; }
@media (min-width: 960px) { .safety { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; } }
.safety-list { list-style: none; margin: 0; padding: 0; display: grid; }
@media (min-width: 640px) { .safety-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.safety-list li { padding: 22px 0; border-top: 1px solid var(--hair); display: grid; align-content: start; grid-template-columns: 28px 1fr; gap: 4px 14px; }
.safety-list :is(.ph, .ph-fill) { font-size: 24px; color: var(--brand); grid-row: span 2; margin-top: 1px; }
.safety-list strong { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.safety-list span { color: var(--soft); font-size: 15.5px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; margin-top: 20px; }
.text-link:hover { text-decoration: underline; }

/* Plans */
.plans { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--hair-strong); border-radius: var(--r-xl); overflow: hidden; font-size: 15.5px; }
.plans th, .plans td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.plans tbody tr:last-child th, .plans tbody tr:last-child td { border-bottom: 0; }
.plans tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.plans tbody th small { display: block; font-weight: 500; color: var(--mute); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.plans thead th { padding-top: 22px; padding-bottom: 18px; vertical-align: bottom; }
.plans thead th:first-child { text-align: left; }
.plan-name { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.plan-name.paid { color: var(--gold-text); }
.plan-name :is(.ph, .ph-fill) { color: var(--gold); font-size: 20px; }
.plans td { color: var(--soft); font-weight: 600; font-size: 14.5px; }
.plans td :is(.ph, .ph-fill) { font-size: 20px; }
.plans td .yes { color: var(--gold-text); }
.plans td .ph-minus { color: var(--hair-strong); }
.plans .col-paid { background: var(--gold-tint); }
.plans-wrap { overflow-x: auto; }
@media (max-width: 640px) {
  .plans { font-size: 14px; border-radius: var(--r-lg); }
  .plans th, .plans td { padding: 12px 8px; }
  .plans tbody th { padding-left: 14px; }
  .plans thead th:first-child { padding-left: 14px; }
  .plans td { font-size: 12.5px; }
  .plan-name { font-size: 15px; }
  .plan-name :is(.ph, .ph-fill) { display: none; }
}
.plans-note { margin-top: 20px; color: var(--mute); font-size: 14.5px; max-width: 46em; }

/* FAQ */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 0.7fr 1.3fr; gap: 72px; } }
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17.5px; font-weight: 700; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary :is(.ph, .ph-fill) { font-size: 20px; color: var(--mute); transition: transform 0.2s var(--ease); flex: none; }
.faq details[open] summary :is(.ph, .ph-fill) { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--soft); max-width: 40em; }
.faq details > div p + p { margin-top: 10px; }


/* Footer */
.site-foot { border-top: 1px solid var(--hair); padding: 48px 0 40px; font-size: 15px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot .brand img { height: 26px; }
.site-foot p { color: var(--mute); margin-top: 12px; max-width: 26em; }
.site-foot h2 { font-size: 13px; letter-spacing: 0; font-weight: 700; color: var(--mute); margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-foot a:hover { color: var(--brand-text); }
.foot-base { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair); color: var(--mute); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Documents (legal, support) */
.doc-head { padding: 56px 0 36px; border-bottom: 1px solid var(--hair); }
.doc-head h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.035em; }
.doc-head .lede { margin-top: 14px; }
.updated { margin-top: 14px; color: var(--mute); font-size: 14.5px; font-weight: 500; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 48px; padding-bottom: 96px; }
.doc > * { min-width: 0; }
@media (min-width: 1024px) { .doc { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } }
.toc { font-size: 14.5px; }
@media (min-width: 1024px) { .toc { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; } }
@media (max-width: 1023px) { .toc { border: 1px solid var(--hair-strong); border-radius: var(--r-lg); padding: 18px 20px; background: var(--bg); } }
.toc h2 { font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--mute); margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 8px; color: var(--soft); text-decoration: none; padding: 5px 0; line-height: 1.4; font-weight: 500; }
.toc a::before { content: counter(toc) "."; color: var(--mute); min-width: 1.4em; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--brand-text); }
.prose { max-width: 44em; font-size: 16.5px; line-height: 1.7; }
.prose h2 { font-size: 24px; letter-spacing: -0.025em; margin: 48px 0 14px; scroll-margin-top: 92px; }
.prose > h2:first-child, .prose > section:first-child > h2 { margin-top: 0; }
.prose h3 { font-size: 18px; letter-spacing: -0.015em; margin: 28px 0 10px; }
.prose p { margin: 0 0 14px; color: var(--soft); }
.prose p strong, .prose li strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.3em; color: var(--soft); }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--mute); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--hair); }
.prose th { font-weight: 700; color: var(--ink); font-size: 14px; }
.prose td { color: var(--soft); }
.table-scroll { overflow-x: auto; margin: 0 0 20px; }
.table-scroll table { min-width: 560px; margin: 0; }
@media (max-width: 639px) {
  .table-scroll table { min-width: 0; }
  .prose thead { display: none; }
  .prose tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .prose td, .prose th { display: block; padding: 0; border: 0; }
  .prose td + td { margin-top: 4px; }
}
.callout { border: 1px solid var(--hair-strong); border-radius: var(--r-lg); padding: 18px 20px; margin: 0 0 20px; background: var(--bg); }
.callout p:last-child { margin-bottom: 0; }
.callout.gold { border-color: color-mix(in srgb, var(--gold) 40%, transparent); background: var(--gold-tint); }
mark.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 1px 6px; border-radius: 6px; font-weight: 700; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.steps { list-style: none; counter-reset: step; padding: 0 !important; display: grid; gap: 10px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; margin: 0; padding: 14px 16px; border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--surface); color: var(--ink); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-deep); font-weight: 800; font-size: 14px; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--hair-strong); border-radius: var(--r-lg); padding: 20px 22px; margin: 0 0 24px; background: var(--surface); }
.contact-card strong { display: block; font-size: 17px; letter-spacing: -0.015em; }
.contact-card span { color: var(--mute); font-size: 14.5px; }
.contact-card .btn { height: 46px; padding: 0 20px; font-size: 15px; }

/* 404 */
.notfound { min-height: calc(100svh - 68px - 220px); display: grid; place-items: center; text-align: center; padding-top: 96px; padding-bottom: 96px; }
.notfound h1 { font-size: clamp(36px, 6vw, 56px); }
.notfound .lede { margin: 14px auto 28px; }
.notfound .cta { justify-content: center; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.7s var(--ease) both; }
  .rise.d1 { animation-delay: 0.08s; }
  .rise.d2 { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
