/* =========================================================================
   worthwatch — shared styles
   Calm, trustworthy, minimal AI-productivity aesthetic.
   Light default; dark via [data-theme="dark"]. 8px spacing grid.
   ========================================================================= */

/* ----- Tokens ----------------------------------------------------------- */
:root {
  /* Palette — light */
  --canvas: #FAF8F2;
  --surface: #FFFFFF;
  --surface-2: #F3F0E9;
  --ink: #1A1A2E;
  --ink-soft: #4B4B63;
  --ink-mute: #6E6E85;
  --brand: #3E5C76;
  --accent: #0E9A8E;
  --accent-ink: #0B6E66;          /* accent text on light surfaces (AA) */
  --tg: #229ED9;                  /* Telegram brand blue — CTA buttons */
  --tg-hover: #1B8DC4;
  --line: #E8E4DC;
  --line-strong: #D9D4C9;
  --ring: #0E9A8E;

  --accent-tint: rgba(14, 154, 142, 0.08);
  --accent-tint-2: rgba(14, 154, 142, 0.14);
  --brand-tint: rgba(62, 92, 118, 0.08);

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Spacing scale (8px grid) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.05), 0 1px 3px rgba(26, 26, 46, 0.04);
  --shadow-md: 0 6px 20px rgba(26, 26, 46, 0.07), 0 2px 6px rgba(26, 26, 46, 0.05);
  --shadow-lg: 0 24px 60px rgba(26, 26, 46, 0.12), 0 6px 18px rgba(26, 26, 46, 0.07);

  --maxw: 1180px;
  --header-h: 68px;
}

[data-theme="dark"] {
  --canvas: #14141F;
  --surface: #1A1A2E;
  --surface-2: #20203A;
  --ink: #ECECF4;
  --ink-soft: #BEBED4;
  --ink-mute: #9494AE;
  --brand: #8FB0CC;
  --accent: #34D8C4;
  --accent-ink: #50E2D0;
  --tg: #2AABEE;
  --tg-hover: #1E9AD8;
  --line: #2C2C44;
  --line-strong: #3A3A56;
  --ring: #34D8C4;

  --accent-tint: rgba(52, 216, 196, 0.10);
  --accent-tint-2: rgba(52, 216, 196, 0.18);
  --brand-tint: rgba(143, 176, 204, 0.12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.55);
}

/* ----- Reset / base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:where(section, [id]) { scroll-margin-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2.5px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--surface); color: var(--ink);
  padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  font-weight: 600;
}
.skip-link:focus { left: 16px; }

.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s5); }
.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;
}

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 14px 22px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--tg); color: #fff; box-shadow: 0 2px 10px rgba(34, 158, 217, 0.28); }
.btn-primary:hover { background: var(--tg-hover); }
[data-theme="dark"] .btn-primary { color: #fff; }
[data-theme="dark"] .btn-primary:hover { background: var(--tg-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-tint); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { filter: brightness(1.06); }
[data-theme="dark"] .btn-brand { color: #0B1722; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:active { transition: none; transform: none; }
}

/* ----- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; gap: var(--s5);
  height: var(--header-h);
}
.wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  letter-spacing: -0.03em; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px;
}
.wordmark .mark {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #FBF8F1;
  display: grid; place-items: center; font-size: 15px; font-weight: 700;
  flex: 0 0 auto; box-shadow: 0 1px 3px rgba(14,154,142,0.32);
}
[data-theme="dark"] .wordmark .mark { color: #08231F; box-shadow: none; }

.main-nav { margin-left: var(--s3); }
.main-nav ul { display: flex; gap: var(--s3); align-items: center; }
.main-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 14px;
  padding: 6px 2px; position: relative; white-space: nowrap;
}
.main-nav a:hover { color: var(--ink); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s4); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 3px;
}
.lang-switch a {
  text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-mute); padding: 5px 10px; border-radius: var(--radius-pill); line-height: 1;
}
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--canvas); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--ink); }

.hamburger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: var(--surface); border-radius: 12px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center; padding: 0;
}
.hamburger svg { width: 22px; height: 22px; }
.hamburger .ic-close { display: none; }
.hamburger[aria-expanded="true"] .ic-open { display: none; }
.hamburger[aria-expanded="true"] .ic-close { display: block; }

.header-cta-desktop { display: inline-flex; }

/* Mobile nav panel */
.mobile-nav {
  display: none; border-top: 1px solid var(--line);
  background: var(--canvas); padding: var(--s4) var(--s5) var(--s6);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--s4); }
.mobile-nav a.m-link {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 18px;
  padding: 12px 8px; border-radius: var(--radius-sm); display: block;
}
.mobile-nav a.m-link:hover { background: var(--surface-2); }

/* Mobile sticky bottom CTA — floating Telegram-blue pill */
.mobile-cta-bar {
  display: none; position: fixed; left: 16px; right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  box-shadow: 0 10px 30px rgba(34, 158, 217, 0.40), var(--shadow-md);
}

/* ----- Section scaffolding --------------------------------------------- */
section { scroll-margin-top: calc(var(--header-h) + 16px); }
.section { padding-block: var(--s9); }
.section-tight { padding-block: var(--s8); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: none;
  color: var(--accent-ink); background: var(--accent-tint);
  border: 1px solid var(--accent-tint-2); padding: 6px 13px; border-radius: var(--radius-pill);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.section-head { max-width: 720px; margin-bottom: var(--s7); }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head .lede { color: var(--ink-soft); font-size: 18px; margin-top: var(--s3); }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: var(--s3);
}

/* ----- Hero ------------------------------------------------------------- */
.hero { padding-top: var(--s8); padding-bottom: var(--s9); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 8%, var(--accent-tint), transparent 70%),
    radial-gradient(50% 50% at 8% 0%, var(--brand-tint), transparent 70%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s8); align-items: center;
}
.hero-copy { max-width: 580px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 62px); margin-top: var(--s4); margin-bottom: var(--s5);
  text-wrap: balance;
}
.hero .subhead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); margin-bottom: var(--s6); text-wrap: pretty; }
.hero-cta-row { display: flex; flex-direction: column; align-items: flex-start; }
.beta-note {
  font-size: 14px; color: var(--ink-mute); margin-top: var(--s4); max-width: 460px; text-wrap: pretty;
}
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s5);
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line); padding: 8px 14px;
  border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.trust-chip svg { width: 17px; height: 17px; color: var(--accent-ink); flex: 0 0 auto; }

/* Hero screenshot (real Telegram digest) */
.hero-phone {
  position: relative; z-index: 1;
  width: 100%; max-width: 300px; margin-left: auto;
}

/* See-it-in-action showcase */
.showcase { background: var(--surface-2); border-block: 1px solid var(--line); }
.showcase-row { display: grid; grid-template-columns: 1fr 300px; gap: var(--s8); align-items: center; }
.showcase-row + .showcase-row { margin-top: var(--s8); padding-top: var(--s8); border-top: 1px solid var(--line); }
.showcase-row:nth-of-type(1) { margin-top: 0; }
.showcase-row.reverse { grid-template-columns: 300px 1fr; }
.showcase-row.reverse .showcase-text { grid-column: 2; grid-row: 1; }
.showcase-row.reverse .showcase-phone { grid-column: 1; grid-row: 1; }
.showcase-text h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: var(--s3); }
.showcase-text p { color: var(--ink-soft); font-size: 17px; max-width: 46ch; text-wrap: pretty; }
.showcase-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; color: var(--accent-ink); background: var(--accent-tint);
  border: 1px solid var(--accent-tint-2); padding: 4px 11px; border-radius: var(--radius-pill);
  margin-bottom: var(--s4);
}
.showcase-phone { display: flex; justify-content: center; }
.phone {
  position: relative; width: 100%; max-width: 320px; padding: 10px;
  border-radius: 46px;
  background: linear-gradient(152deg, #3c3c44 0%, #1b1b20 36%, #111115 64%, #30303a 100%);
  box-shadow: 0 30px 66px rgba(26,26,46,.30), 0 8px 20px rgba(26,26,46,.16), inset 0 0 0 1.5px rgba(255,255,255,.12);
}
.phone::before {
  content: ""; position: absolute; right: -2.5px; top: 31%;
  width: 3.5px; height: 64px; border-radius: 3px;
  background: linear-gradient(#34343c, #141417);
}
.phone::after {
  content: ""; position: absolute; left: -2.5px; top: 25%;
  width: 3.5px; height: 44px; border-radius: 3px;
  background: linear-gradient(#34343c, #141417);
  box-shadow: 0 58px 0 -0.5px #1a1a1e;
}
.phone-screen {
  position: relative; border-radius: 37px; overflow: hidden;
  aspect-ratio: var(--phone-ratio, 9 / 19.5); background: #000;
}
.phone-screen video, .phone-screen img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center top;
}
.showcase-phone .phone { max-width: 244px; }

/* Telegram chat mockup */
.chat-mock {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: var(--s4);
  min-height: 520px; /* reserve box → low CLS */
  max-width: 440px; margin-left: auto; width: 100%;
}
.chat-head {
  display: flex; align-items: center; gap: var(--s3);
  padding: 6px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: var(--s4);
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 19px;
  flex: 0 0 auto;
}
[data-theme="dark"] .chat-avatar { color: #08231F; }
.chat-name { font-weight: 600; font-size: 16px; }
.chat-sub { font-size: 12px; color: var(--ink-mute); }
.chat-time { margin-left: auto; font-size: 12px; color: var(--ink-mute); }
.chat-body { display: flex; flex-direction: column; gap: var(--s3); }
.bubble {
  background: var(--surface-2); border-radius: 16px 16px 16px 5px;
  padding: 11px 15px; font-size: 15px; max-width: 92%; color: var(--ink);
}
.video-card {
  border: 1px solid var(--line); border-radius: 14px; background: var(--canvas);
  padding: 13px; display: flex; flex-direction: column; gap: 8px;
}
.vc-channel { font-size: 12px; font-weight: 600; color: var(--accent-ink); letter-spacing: .01em; }
.vc-title { font-weight: 600; font-size: 15px; line-height: 1.25; color: var(--ink); }
.vc-bullets { display: flex; flex-direction: column; gap: 4px; margin: 2px 0; }
.vc-bullets li {
  position: relative; padding-left: 16px; font-size: 13px; color: var(--ink-soft); line-height: 1.4;
}
.vc-bullets li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.vc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.vc-duration {
  font-size: 12px; font-weight: 600; color: var(--ink-mute); white-space: nowrap;
  background: var(--surface-2); padding: 3px 9px; border-radius: var(--radius-pill);
}
[data-theme="dark"] .video-card .vc-duration { background: var(--surface); }
.vc-watch {
  font-size: 13px; font-weight: 600; color: var(--accent-ink); text-decoration: none; white-space: nowrap;
  background: var(--accent-tint); border: 1px solid var(--accent-tint-2);
  padding: 5px 12px; border-radius: var(--radius-pill);
}

/* Hero entrance (non-essential) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .6s cubic-bezier(.2,.7,.3,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .05s; }
  .hero-copy > *:nth-child(3) { animation-delay: .1s; }
  .hero-copy > *:nth-child(4) { animation-delay: .15s; }
  .chat-mock, .hero-phone { animation: rise .7s cubic-bezier(.2,.7,.3,1) both .12s; }
  /* transform-only: content stays fully opaque even if the animation clock stalls */
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}

/* ----- Trust strip ------------------------------------------------------ */
.trust-strip { padding-block: var(--s6); border-block: 1px solid var(--line); background: var(--surface); }
.trust-pills { display: flex; flex-wrap: wrap; gap: var(--s5); align-items: center; }
.trust-pill { display: flex; align-items: center; gap: var(--s3); font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.trust-pill .ic {
  width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-ink);
}
.trust-pill .ic svg { width: 20px; height: 20px; }

/* ----- Problem → Solution ---------------------------------------------- */
.problem { text-align: center; }
.problem-inner { max-width: 760px; margin-inline: auto; }
.problem h2 { font-size: clamp(28px, 4.4vw, 44px); margin-bottom: var(--s5); text-wrap: balance; }
.problem p { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); text-wrap: pretty; }

/* ----- How it works ----------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); margin: 0; padding: 0; list-style: none; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3);
}
.step-num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-ink); border: 1px solid var(--accent-tint-2);
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}
.step h3 { font-size: 19px; }
.step .step-result { font-size: 15px; color: var(--ink-soft); text-wrap: pretty; }
.step code, .result-code {
  font-family: var(--font-mono); font-size: .92em; background: var(--surface-2);
  padding: 1px 6px; border-radius: 6px; color: var(--accent-ink); white-space: nowrap;
}
.how-cta { margin-top: var(--s7); display: flex; justify-content: center; }

/* ----- Features --------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s5); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.feature:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
@media (prefers-reduced-motion: reduce) { .feature { transition: none; } }
.feature .f-ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-ink); margin-bottom: var(--s4);
}
.feature .f-ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature h3 .pro-tag {
  font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--accent-ink); background: var(--accent-tint); border: 1px solid var(--accent-tint-2);
  padding: 2px 7px; border-radius: var(--radius-pill); margin-left: 6px; vertical-align: middle;
}
.feature p { font-size: 15px; color: var(--ink-soft); text-wrap: pretty; }

/* ----- Showcase (real Telegram example) -------------------------------- */
.showcase { background: var(--canvas); }
.showcase-inner { text-align: center; }
.showcase-inner .section-head { margin-inline: auto; margin-bottom: var(--s5); }
.showcase-media {
  margin-top: var(--s6);
}
.showcase-media img {
  width: 100%; max-width: 372px; height: auto; margin-inline: auto; display: block;
}
.showcase-caps {
  display: flex; gap: var(--s5); justify-content: center; margin-top: var(--s5); flex-wrap: wrap;
}
.showcase-cap {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
}
.showcase-cap .n {
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 700; font-size: 13px; color: #fff; background: var(--tg);
}

/* ----- CTA bands -------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-tint), var(--accent-tint));
  border-block: 1px solid var(--line);
}
.cta-band-inner { text-align: center; padding-block: var(--s8); }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: var(--s5); text-wrap: balance; }
.cta-band .cta-sub { margin-top: var(--s4); font-size: 14px; color: var(--ink-mute); }

/* ----- Privacy ---------------------------------------------------------- */
.privacy { background: var(--surface); border-block: 1px solid var(--line); }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; }
.privacy h2 { font-size: clamp(26px, 3.6vw, 38px); text-wrap: balance; }
.readonly-block {
  margin-top: var(--s5); padding: var(--s5); border-radius: var(--radius);
  background: var(--accent-tint); border: 1px solid var(--accent-tint-2);
  font-size: 16px; color: var(--ink-soft); text-wrap: pretty;
}
.never-list { display: flex; flex-direction: column; gap: var(--s4); margin-bottom: var(--s5); }
.never-item { display: flex; gap: var(--s3); align-items: flex-start; font-size: 16px; color: var(--ink-soft); text-wrap: pretty; }
.never-item .ic {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-ink); margin-top: 1px;
}
.never-item .ic svg { width: 17px; height: 17px; }
.privacy-meta { padding-top: var(--s5); border-top: 1px solid var(--line); }
.privacy-meta p { font-size: 15px; color: var(--ink-soft); margin-bottom: var(--s3); text-wrap: pretty; }
.privacy-meta a { color: var(--accent-ink); font-weight: 600; }

/* ----- Pricing ---------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); align-items: stretch; max-width: 1100px; margin-inline: auto; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4);
}
.price-card.pro {
  border: 1.5px solid var(--accent); box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, var(--accent-tint), var(--surface) 38%);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); white-space: nowrap;
}
[data-theme="dark"] .price-badge { color: #08231F; }
.price-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.price-amount { font-family: var(--font-display); font-weight: 700; font-size: 42px; line-height: 1; color: var(--ink); }
.price-amount .per { font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--ink-mute); }
.price-features { display: flex; flex-direction: column; gap: var(--s3); margin: var(--s2) 0 var(--s4); }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.price-features li svg { width: 18px; height: 18px; color: var(--accent-ink); flex: 0 0 auto; margin-top: 2px; }
.price-card .btn { margin-top: auto; }
.price-note, .price-reassure {
  font-size: 13px; color: var(--ink-soft); text-align: center; text-wrap: pretty;
  margin-top: var(--s3); padding-top: var(--s4);
  border-top: 1px dashed var(--line-strong);
}
.price-note a, .price-reassure a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.price-note a:hover, .price-reassure a:hover { text-decoration: underline; }
.price-badge.alt { background: var(--brand); }
.price-amount .cur { font-size: 0.6em; vertical-align: super; font-weight: 600; }
.paysupport-note {
  text-align: center; margin-top: var(--s6); font-size: 15px; color: var(--ink-soft); max-width: 880px; margin-inline: auto;
}

/* ----- FAQ -------------------------------------------------------------- */
.faq-list { max-width: 680px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--s3); }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.faq-item > summary {
  list-style: none; cursor: pointer; padding: var(--s5);
  display: flex; align-items: center; gap: var(--s4);
  font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary .chev {
  margin-left: auto; flex: 0 0 auto; width: 22px; height: 22px; color: var(--ink-mute);
  transition: transform .2s ease;
}
.faq-item[open] > summary .chev { transform: rotate(180deg); }
.faq-item[open] > summary { color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { .faq-item > summary .chev { transition: none; } }
.faq-answer { padding: 0 var(--s5) var(--s5); font-size: 16px; color: var(--ink-soft); text-wrap: pretty; }
.faq-answer a, .paysupport-note a, .support-pay a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.faq-answer a:hover, .paysupport-note a:hover, .support-pay a:hover { text-decoration: underline; }
.faq-answer code {
  font-family: var(--font-mono); font-size: .9em; background: var(--surface-2);
  padding: 1px 6px; border-radius: 6px; color: var(--accent-ink);
}

/* ----- Support ---------------------------------------------------------- */
.support { background: var(--surface-2); border-block: 1px solid var(--line); }
.support-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.support h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: var(--s4); }
.support p.support-body { font-size: 17px; color: var(--ink-soft); margin-bottom: var(--s5); text-wrap: pretty; }
.support-btns { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-bottom: var(--s6); }
.support-contact { font-size: 14px; color: var(--ink-mute); line-height: 1.9; word-break: break-word; }
.support-contact a { color: var(--accent-ink); text-decoration: none; }
.support-contact a:hover { text-decoration: underline; }
.support-pay { margin-top: var(--s3); font-size: 14px; color: var(--ink-mute); }
.support-pay code { font-family: var(--font-mono); color: var(--accent-ink); }

/* ----- Footer ----------------------------------------------------------- */
.site-footer { background: var(--canvas); border-top: 1px solid var(--line); padding-block: var(--s7) var(--s8); }
.footer-top {
  display: flex; flex-wrap: wrap; gap: var(--s5); align-items: center; justify-content: space-between;
  padding-bottom: var(--s5); border-bottom: 1px solid var(--line); margin-bottom: var(--s5);
}
.footer-actions { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; flex-shrink: 0;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  padding: 8px 14px; border-radius: var(--radius-pill); font-weight: 600; font-size: 14px;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-ink); }
.theme-toggle--icon { padding: 8px; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ic-moon { display: none; }
[data-theme="dark"] .theme-toggle .ic-sun { display: none; }
[data-theme="dark"] .theme-toggle .ic-moon { display: block; }

.footer-links { display: flex; flex-wrap: wrap; gap: var(--s5); align-items: center; font-size: 14px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-emails { font-size: 13px; color: var(--ink-mute); margin-top: var(--s4); line-height: 1.9; word-break: break-word; }
.footer-emails a { color: var(--ink-soft); text-decoration: none; }
.footer-emails a:hover { color: var(--accent-ink); }
.footer-tagline { font-size: 14px; color: var(--ink-mute); margin-top: var(--s5); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; margin-top: var(--s5); }

/* ----- Responsive ------------------------------------------------------- */
@media (max-width: 1100px) {
  .main-nav, .header-cta-desktop { display: none; }
  .hamburger { display: inline-flex; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .chat-mock, .hero-phone { margin-inline: auto; }
  .privacy-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; gap: var(--s6); justify-items: center; text-align: center; }
  .showcase-row .showcase-text, .showcase-row.reverse .showcase-text { grid-column: 1; grid-row: 1; }
  .showcase-row .showcase-phone, .showcase-row.reverse .showcase-phone { grid-column: 1; grid-row: 2; }
  .showcase-text p { margin-inline: auto; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding-block: var(--s8); }
  .header-actions { gap: var(--s3); }
  .trust-strip { padding-block: var(--s5); }
  .trust-pills { flex-direction: column; align-items: flex-start; gap: var(--s4); }
  .trust-pill { font-size: 15.5px; }
  .hero { padding-top: var(--s6); padding-bottom: var(--s8); }
  .hero-phone { max-width: 274px; }
  .showcase-phone .phone { max-width: 230px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
}

@media (max-width: 480px) {
  .section { padding-block: var(--s7); }
  .section-head { margin-bottom: var(--s6); }
  .price-card { padding: var(--s5); }
  .faq-item > summary { font-size: 16.5px; padding: var(--s4); }
  .faq-answer { padding: 0 var(--s4) var(--s4); }
}

@media (max-width: 420px) {
  .shell { padding-inline: var(--s4); }
}
