/* =====================================================================
   Lessli — marketing site
   Design tokens mirror docs/DESIGN_SYSTEM.md (brand teal-green + amber).
   Mood: calm, present, trustworthy, encouraging. Light-first, airy.
   ===================================================================== */

:root {
  /* Brand */
  --accent: #0FB892;
  --accent-pressed: #0A9276;
  --accent-subtle: #DFF6EF;
  --accent-text: #066B55;
  --energy: #F5A623;
  --energy-subtle: #FCEFD6;
  --live-glow: rgba(15, 184, 146, 0.28);

  /* Surfaces */
  --canvas: #F4F7F6;
  --surface: #FFFFFF;
  --surface-2: #F7F9F8;
  --surface-3: #EEF3F1;

  /* Text */
  --text: #0A0A0B;
  --text-2: rgba(20, 22, 24, 0.62);
  --text-3: rgba(20, 22, 24, 0.40);
  --on-accent: #FFFFFF;

  /* Status */
  --deferred: #C77D0A;
  --deferred-subtle: #FCEFD6;
  --danger: #D64545;
  --danger-subtle: #FBE3E3;
  --info: #2D7FF9;
  --success: #0FB892;

  /* Lines */
  --separator: rgba(20, 22, 24, 0.08);
  --separator-strong: rgba(20, 22, 24, 0.14);

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Spacing (4pt) */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 24px;
  --s-2xl: 32px;
  --s-3xl: 48px;
  --s-4xl: 72px;
  --s-5xl: 112px;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(10, 20, 18, 0.04), 0 8px 24px rgba(10, 20, 18, 0.06);
  --shadow-raised: 0 2px 6px rgba(10, 20, 18, 0.06), 0 20px 50px rgba(10, 20, 18, 0.12);
  --shadow-phone: 0 30px 80px rgba(10, 40, 35, 0.22), 0 8px 24px rgba(10, 40, 35, 0.12);

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  --font-rounded: "SF Pro Rounded", ui-rounded, var(--font);

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

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #2EE0B0;
    --accent-pressed: #23B892;
    --accent-subtle: #103A30;
    --accent-text: #5BE9C2;
    --energy: #FFB938;
    --energy-subtle: #3A2E12;
    --live-glow: rgba(46, 224, 176, 0.30);
    --canvas: #0B0E0D;
    --surface: #141817;
    --surface-2: #1A201E;
    --surface-3: #202725;
    --text: #FFFFFF;
    --text-2: rgba(235, 240, 238, 0.66);
    --text-3: rgba(235, 240, 238, 0.42);
    --on-accent: #04231C;
    --separator: rgba(235, 240, 238, 0.10);
    --separator-strong: rgba(235, 240, 238, 0.16);
    --deferred-subtle: #3A2E12;
    --danger-subtle: #3A1414;
    --shadow-card: 0 1px 2px rgba(0,0,0,0.4), 0 10px 30px rgba(0,0,0,0.5);
    --shadow-raised: 0 2px 6px rgba(0,0,0,0.4), 0 24px 60px rgba(0,0,0,0.6);
    --shadow-phone: 0 30px 80px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.5);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s-xl); }
.section { padding-block: var(--s-5xl); }
@media (max-width: 720px) { .section { padding-block: var(--s-4xl); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-sm);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-text); background: var(--accent-subtle);
  padding: 6px 12px; border-radius: var(--r-pill);
}
.section-head { max-width: 720px; margin-bottom: var(--s-3xl); }
.section-head.center { margin-inline: auto; text-align: center; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text-2); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-sm);
  font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.975); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px rgba(15,184,146,0.32); }
.btn-primary:hover { background: var(--accent-pressed); box-shadow: 0 10px 26px rgba(15,184,146,0.40); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--separator-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-lg { padding: 17px 32px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--separator); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s-xl); width: 100%; }
.nav-links { display: flex; gap: var(--s-xl); margin-inline: auto; }
.nav-links a { color: var(--text-2); font-weight: 600; font-size: 0.97rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: var(--s-md); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--text); }
.logo-dot {
  width: 11px; height: 11px; border-radius: 50%; background: var(--accent);
  position: relative; box-shadow: 0 0 0 0 var(--live-glow);
}
.logo-dot::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  background: var(--accent); opacity: 0; animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(0.7); opacity: 0; } 50% { transform: scale(1.5); opacity: 0.28; } }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  border-radius: var(--r-pill); border: 1.5px solid var(--separator-strong);
  color: var(--text-2); font-weight: 600; font-size: 0.9rem;
}
.lang-btn:hover { border-color: var(--accent); color: var(--text); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 200;
  background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-md);
  box-shadow: var(--shadow-raised); padding: 6px; width: 200px; max-height: 340px; overflow-y: auto;
  display: none;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; width: 100%; align-items: center; gap: 8px; text-align: start;
  padding: 9px 12px; border-radius: var(--r-sm); color: var(--text); font-size: 0.95rem; font-weight: 500;
}
.lang-menu button:hover { background: var(--surface-3); }
.lang-menu button[aria-current="true"] { color: var(--accent-text); font-weight: 700; background: var(--accent-subtle); }

/* Mobile menu toggle */
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--text); }
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-links { display: none; position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--surface); padding: var(--s-md); border-bottom: 1px solid var(--separator); box-shadow: var(--shadow-card); margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; border-radius: var(--r-sm); font-size: 1.05rem; }
  .nav-links a:hover { background: var(--surface-3); }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn:not(.btn-primary) { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: var(--s-4xl); padding-bottom: var(--s-4xl); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: -1;
  background:
    radial-gradient(60% 60% at 18% 12%, rgba(15,184,146,0.16), transparent 70%),
    radial-gradient(50% 50% at 88% 8%, rgba(245,166,35,0.14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-3xl); align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 { margin-bottom: var(--s-lg); }
.hero h1 .grad { background: linear-gradient(100deg, var(--accent), var(--accent-pressed)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: var(--s-xl); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-md); align-items: center; margin-bottom: var(--s-lg); }
.hero-trust { display: flex; align-items: center; gap: var(--s-md); color: var(--text-2); font-size: 0.92rem; }
.stars { color: var(--energy); letter-spacing: 2px; }
.disclaimer-mini { font-size: 0.8rem; color: var(--text-3); margin-top: var(--s-md); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-3xl); text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
}

/* App Store badge */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff;
  padding: 11px 18px; border-radius: var(--r-md); transition: transform .15s, opacity .2s;
}
.store-badge:hover { transform: translateY(-1px); opacity: 0.9; }
.store-badge svg { width: 26px; height: 26px; }
.store-badge .sb-small { font-size: 0.62rem; line-height: 1; opacity: 0.85; }
.store-badge .sb-big { font-size: 1.18rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }

/* ---------- Phone mockup (the live broadcast) ---------- */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-stage .blob { position: absolute; inset: 8% 4%; border-radius: 40px; background: linear-gradient(160deg, var(--accent-subtle), var(--energy-subtle)); filter: blur(8px); z-index: -1; transform: rotate(-4deg); }
.phone {
  width: 300px; max-width: 78vw; aspect-ratio: 300 / 620; background: #06100E; border-radius: 46px;
  padding: 11px; box-shadow: var(--shadow-phone); position: relative;
}
.phone-screen { width: 100%; height: 100%; background: var(--surface); border-radius: 36px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #06100E; border-radius: 14px; z-index: 5; }
.bc-header { padding: 38px var(--s-lg) var(--s-md); background: var(--surface); }
.bc-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--accent-text); }
.bc-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative; }
.bc-live .dot::after { content:""; position:absolute; inset:-5px; border-radius:50%; background: var(--accent); opacity:0; animation: pulse 2.2s ease-in-out infinite; }
.bc-now { font-size: 0.78rem; color: var(--text-2); margin-top: 3px; }
.bc-feed { flex: 1; overflow: hidden; padding: var(--s-sm) var(--s-lg) var(--s-lg); display: flex; flex-direction: column; gap: 10px; background: var(--canvas); }
.bc-card { background: var(--surface); border-radius: var(--r-md); padding: 12px 13px; box-shadow: var(--shadow-card); display: flex; gap: 11px; align-items: flex-start; }
.bc-card.live { border: 1.5px solid var(--accent); box-shadow: 0 0 0 4px var(--live-glow); }
.bc-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-subtle); color: var(--accent-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.bc-ic.energy { background: var(--energy-subtle); color: var(--deferred); }
.bc-ic.done { background: var(--accent); color: var(--on-accent); }
.bc-tt { font-size: 0.86rem; font-weight: 700; letter-spacing: -0.01em; }
.bc-sub { font-size: 0.72rem; color: var(--text-2); margin-top: 1px; }
.bc-card.done .bc-tt { color: var(--text-3); text-decoration: line-through; }
.bc-check { margin-inline-start: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--separator-strong); flex-shrink: 0; }
.bc-card.done .bc-check { background: var(--accent); border-color: var(--accent); }
.bc-ring { display:flex; align-items:center; gap: 11px; }
.ring { --p: 78; width: 46px; height: 46px; border-radius: 50%; flex-shrink:0;
  background: conic-gradient(var(--accent) calc(var(--p)*1%), var(--accent-subtle) 0); display:flex; align-items:center; justify-content:center; }
.ring::after { content:""; width: 34px; height: 34px; background: var(--surface); border-radius: 50%; }
.ring .ring-v { position:absolute; font-size: 0.72rem; font-weight: 800; font-family: var(--font-rounded); }

/* ---------- Logos / trust strip ---------- */
.trust-strip { border-block: 1px solid var(--separator); background: var(--surface); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: var(--s-xl) var(--s-3xl); align-items: center; justify-content: center; padding-block: var(--s-xl); }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-weight: 600; font-size: 0.95rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

/* ---------- Generic grid cards ---------- */
.grid { display: grid; gap: var(--s-xl); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-lg);
  padding: var(--s-xl); box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.card .ic {
  width: 52px; height: 52px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  background: var(--accent-subtle); color: var(--accent-text); margin-bottom: var(--s-lg);
}
.card .ic svg { width: 26px; height: 26px; }
.card .ic.energy { background: var(--energy-subtle); color: var(--deferred); }
.card h3 { margin-bottom: var(--s-sm); }
.card p { color: var(--text-2); font-size: 0.98rem; }

/* ---------- Feature rows (alternating) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4xl); align-items: center; }
.feature-row + .feature-row { margin-top: var(--s-5xl); }
.feature-row.flip .feature-media { order: -1; }
.feature-media img { border-radius: var(--r-xl); box-shadow: var(--shadow-raised); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-media.portrait img { aspect-ratio: 4/5; max-width: 420px; margin-inline: auto; }
.feature-copy .eyebrow { margin-bottom: var(--s-md); }
.feature-copy h2 { margin-bottom: var(--s-md); }
.feature-copy p { color: var(--text-2); font-size: 1.05rem; margin-bottom: var(--s-lg); }
.feature-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-md); }
.feature-list li { display: flex; gap: var(--s-md); align-items: flex-start; font-size: 1rem; }
.feature-list svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: var(--s-xl); }
  .feature-row + .feature-row { margin-top: var(--s-4xl); }
  .feature-row.flip .feature-media { order: 0; }
}

/* ---------- How it works ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-xl); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--s-xl); }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
  font-family: var(--font-rounded); margin-bottom: var(--s-md);
}
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 0.96rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-xl); max-width: 860px; margin-inline: auto; align-items: stretch; }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-xl); padding: var(--s-2xl); display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-raised); position: relative; }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--on-accent); font-size: 0.78rem; font-weight: 800; padding: 6px 16px; border-radius: var(--r-pill); letter-spacing: 0.02em; }
.plan h3 { font-size: 1.25rem; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-block: var(--s-md); }
.plan .price .amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; font-family: var(--font-rounded); }
.plan .price .per { color: var(--text-2); font-weight: 600; }
.plan .price-sub { color: var(--accent-text); font-weight: 700; font-size: 0.92rem; margin-bottom: var(--s-lg); }
.plan ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-md); margin-bottom: var(--s-xl); }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; color: var(--text); }
.plan li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.plan li.muted { color: var(--text-3); }
.plan li.muted svg { color: var(--text-3); }
.plan .btn { margin-top: auto; }
.pricing-terms { max-width: 720px; margin: var(--s-xl) auto 0; text-align: center; font-size: 0.82rem; color: var(--text-3); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--separator); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s-lg); padding: var(--s-xl) 0; text-align: start; font-weight: 700; font-size: 1.08rem; color: var(--text); }
.faq-q .chev { width: 22px; height: 22px; flex-shrink: 0; transition: transform .25s ease; color: var(--accent); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding-bottom: var(--s-xl); color: var(--text-2); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--accent), var(--accent-pressed)); border-radius: var(--r-xl); padding: var(--s-4xl); text-align: center; color: var(--on-accent); position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(40% 60% at 80% 20%, rgba(255,255,255,0.18), transparent 60%); }
.cta-band h2 { color: var(--on-accent); margin-bottom: var(--s-md); position: relative; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 560px; margin: 0 auto var(--s-xl); position: relative; }
.cta-band .btn-primary { background: #fff; color: var(--accent-pressed); position: relative; }
.cta-band .btn-primary:hover { background: #f0f0f0; }

/* ---------- Feedback form ---------- */
.form-wrap { max-width: 640px; margin-inline: auto; background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-xl); padding: var(--s-2xl); box-shadow: var(--shadow-card); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-lg); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-lg); }
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.form-row input, .form-row textarea, .form-row select {
  font: inherit; font-size: 1rem; padding: 13px 15px; border-radius: var(--r-md);
  border: 1.5px solid var(--separator-strong); background: var(--surface-2); color: var(--text); width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--live-glow); }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--text-3); margin-top: var(--s-sm); }
.form-status { margin-top: var(--s-md); padding: 13px 16px; border-radius: var(--r-md); font-size: 0.95rem; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--accent-subtle); color: var(--accent-text); }
.form-status.err { background: var(--danger-subtle); color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--separator); padding-block: var(--s-3xl) var(--s-xl); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-xl); margin-bottom: var(--s-2xl); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-xl); } }
.footer-brand p { color: var(--text-2); font-size: 0.92rem; margin-top: var(--s-md); max-width: 280px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin-bottom: var(--s-md); }
.footer-col a { display: block; color: var(--text-2); font-size: 0.95rem; padding-block: 5px; }
.footer-col a:hover { color: var(--accent-text); }
.footer-bottom { border-top: 1px solid var(--separator); padding-top: var(--s-lg); display: flex; flex-wrap: wrap; gap: var(--s-md); justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--text-3); font-size: 0.85rem; }
.footer-disclaimer { color: var(--text-3); font-size: 0.8rem; line-height: 1.6; margin-top: var(--s-lg); max-width: 760px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: var(--s-sm); }
.legal .updated { color: var(--text-3); font-size: 0.9rem; margin-bottom: var(--s-2xl); }
.legal h2 { font-size: 1.4rem; margin-top: var(--s-2xl); margin-bottom: var(--s-md); }
.legal h3 { font-size: 1.12rem; margin-top: var(--s-xl); margin-bottom: var(--s-sm); }
.legal p, .legal li { color: var(--text-2); font-size: 1rem; margin-bottom: var(--s-md); line-height: 1.7; }
.legal ul, .legal ol { padding-inline-start: var(--s-xl); margin-bottom: var(--s-md); }
.legal li { margin-bottom: var(--s-sm); }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }
.legal .callout { background: var(--accent-subtle); border-radius: var(--r-md); padding: var(--s-lg); color: var(--accent-text); margin-bottom: var(--s-lg); }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: var(--s-lg); font-size: 0.92rem; }
.legal th, .legal td { text-align: start; padding: 10px 12px; border: 1px solid var(--separator); color: var(--text-2); }
.legal th { background: var(--surface-3); color: var(--text); font-weight: 700; }

/* ---------- RTL ---------- */
[dir="rtl"] .bc-check, [dir="rtl"] .feature-list svg { transform: scaleX(-1); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0; z-index: 999; }
.skip:focus { left: 0; }
