/* ==========================================================================
   BisoDay — Official website stylesheet
   Palette aligned with the app (lib/core/theme/app_colors.dart):
   chocolate (#6B4226) + gold (#D4AF37). "Soft UI Evolution" style:
   generous whitespace, soft depth, 200–300ms transitions, WCAG AA.
   ========================================================================== */

/* Fonts are loaded via <link rel="stylesheet"> + preconnect in each page <head>
   (faster first paint and less layout shift than a CSS @import). */

/* Metric-compatible fallbacks: sized to match the web fonts so text does not
   re-wrap (and the page does not shift) while the real fonts are loading.
   Ratios measured with fontTools against Georgia / Segoe UI. */
@font-face {
  font-family: 'Cormorant Garamond Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Noto Serif');
  size-adjust: 88%;
  ascent-override: 106%;
  descent-override: 33%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Segoe UI'), local('Roboto'), local('Helvetica Neue'), local('Arial');
  size-adjust: 107.3%;
  ascent-override: 88%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --brand-900: #2c1a0e;
  --brand-800: #3e2312;
  --brand-700: #6b4226;
  --brand-600: #855233;
  --brand-500: #9c6b4b;
  --brand-100: #f3ece4;
  --brand-50: #faf7f3;

  --gold-600: #b8960f;
  --gold-500: #d4af37;
  --gold-300: #e8d48b;
  --gold-100: #f7efd6;

  --bg: #fbf9f6;
  --bg-alt: #f6f1ea;
  --surface: #ffffff;
  --ink: #1d1d1d;
  --ink-soft: #4a4a4a;
  --ink-mute: #6e6e6e;
  --line: #ede6dd;
  --line-strong: #ded3c6;

  --success: #2e7d32;
  --warning: #ef6c00;
  --error: #c62828;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(44, 26, 14, .06);
  --shadow-sm: 0 4px 10px rgba(44, 26, 14, .06);
  --shadow-md: 0 12px 28px -14px rgba(44, 26, 14, .22);
  --shadow-lg: 0 28px 60px -30px rgba(44, 26, 14, .34);
  --shadow-gold: 0 14px 34px -16px rgba(212, 175, 55, .55);

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 72px;

  --font-display: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Great Vibes', 'Cormorant Garamond', cursive;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 240ms;

  /* The site is intentionally light-only: a single, controlled art direction
     guarantees optimal contrast and a consistent, professional look. */
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand-700); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--brand-500); }
ul { list-style: none; }
button { font-family: inherit; }

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

::selection { background: var(--gold-200, #f0e3b8); color: var(--brand-900); }

/* ── Layout helpers ───────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.bg-alt { background: var(--bg-alt); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack-sm > * + * { margin-top: 12px; }

/* ── Typography ───────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--brand-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); line-height: 1.7; }
.script { font-family: var(--font-script); color: var(--brand-600); font-weight: 400; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-500); }
.section-head { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 14px; }
.gold { color: var(--gold-600); }
.label-mini { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin: 6px 0 8px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 1px solid transparent; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .97rem; line-height: 1; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #2c1a0e; box-shadow: var(--shadow-gold), var(--shadow-md); }
.btn--gold:hover { color: #2c1a0e; transform: translateY(-2px); box-shadow: var(--shadow-gold), var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--brand-800); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand-700); color: var(--brand-700); background: var(--brand-50); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ── Site header ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 246, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-xs); }
.nav { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--brand-900); }
.brand:hover { color: var(--brand-900); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: .2px; }
.brand__by { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
.nav__links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__link {
  padding: 10px 14px; border-radius: var(--radius-pill); font-size: .93rem; font-weight: 500;
  color: var(--brand-800); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__link:hover { background: var(--brand-100); color: var(--brand-700); }
.nav__link.is-active { background: var(--brand-100); color: var(--brand-700); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; background: var(--brand-100); border-radius: var(--radius-pill); padding: 3px; }
.lang a { padding: 6px 12px; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600; color: var(--brand-700); }
.lang a[aria-current="true"] { background: var(--surface); color: var(--brand-900); box-shadow: var(--shadow-xs); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; border-radius: 10px; cursor: pointer; color: var(--brand-800); }
.nav__toggle:hover { background: var(--brand-100); }

@media (max-width: 940px) {
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 24px; margin: 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { padding: 14px 12px; border-radius: 12px; }
  .nav__toggle { display: inline-flex; }
  .nav__actions { margin-left: auto; }
  .nav__actions .btn--header-desktop { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(212, 175, 55, .16), transparent 62%),
    radial-gradient(52% 48% at 6% 12%, rgba(156, 107, 75, .14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(107, 66, 38, .10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 78%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__copy h1 { margin: 20px 0 0; }
.hero__copy .lead { margin-top: 20px; max-width: 17.6em; }
.hero__cta { margin-top: 30px; }
.hero__note { margin-top: 16px; font-size: .85rem; color: var(--ink-mute); display: flex; align-items: center; gap: 8px; }
.hero__note svg { width: 15px; height: 15px; color: var(--success); }
.hero__trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 500; color: var(--brand-700); }
.hero__trust svg { width: 16px; height: 16px; color: var(--gold-600); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__copy .lead { margin-inline: auto; }
  .hero__cta .btn-row { justify-content: center; }
  .hero__note, .hero__trust { justify-content: center; }
}

/* ── Device mockup ────────────────────────────────────────────────────── */
.device-stage { position: relative; display: flex; justify-content: center; padding: 12px; }
.device {
  position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 610;
  background: linear-gradient(160deg, #241408, #3e2312);
  border-radius: 42px; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
}
.device__screen { position: relative; height: 100%; border-radius: 32px; background: var(--surface); overflow: hidden; }
.device__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 6px; border-radius: 999px; background: rgba(0,0,0,.22); }
.mini { padding: 34px 16px 16px; height: 100%; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #fff, #fbf7f2); }
.mini__top { display: flex; align-items: center; justify-content: space-between; }
.mini__brand { font-family: var(--font-display); font-weight: 700; color: var(--brand-800); font-size: 1.05rem; }
.mini__pill { font-size: .62rem; font-weight: 700; color: var(--success); background: rgba(46,125,50,.12); padding: 4px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.mini__pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); display: inline-block; }
.mini__hero { background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); color: #fff; border-radius: 16px; padding: 14px; }
.mini__hero small { opacity: .82; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.mini__hero b { display: block; font-family: var(--font-display); font-size: 1.5rem; margin-top: 2px; }
.mini__hero .bar { margin-top: 10px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.28); overflow: hidden; }
.mini__hero .bar > i { display: block; height: 100%; width: 78%; background: var(--gold-300); border-radius: 999px; }
.mini__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini__card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-xs); }
.mini__card small { font-size: .6rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .06em; }
.mini__card b { display: block; font-size: 1.15rem; color: var(--brand-800); }
.mini__list { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.mini__row { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; }
.mini__row .av { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-size: .7rem; font-weight: 700; flex: none; }
.mini__row .who { font-size: .76rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.mini__row .who em { display: block; font-style: normal; font-weight: 500; font-size: .64rem; color: var(--ink-mute); }
.mini__row .ok { margin-left: auto; color: var(--success); }
.mini__row .ok svg { width: 16px; height: 16px; }

.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 11px 14px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
  animation: floaty 5.5s var(--ease) infinite;
}
.float-card small { display: block; font-size: .62rem; color: var(--ink-mute); font-weight: 600; letter-spacing: .04em; }
.float-card b { font-size: .86rem; color: var(--brand-800); }
.float-card .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card--tl { top: 8%; left: -6%; animation-delay: .2s; }
.float-card--bl { bottom: 12%; left: -4%; animation-delay: 1.4s; }
.float-card--tr { top: 20%; right: -7%; animation-delay: .8s; }
.ic--gold { background: var(--gold-100); color: var(--gold-600); }
.ic--green { background: rgba(46,125,50,.12); color: var(--success); }
.ic--brand { background: var(--brand-100); color: var(--brand-700); }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 900px) {
  .float-card--tl, .float-card--tr, .float-card--bl { display: none; }
}
@media (max-width: 420px) { .device { width: min(270px, 84vw); } }

/* ── Stats band ───────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--brand-700); font-weight: 700; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .86rem; color: var(--ink-mute); font-weight: 500; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

/* ── Feature cards ────────────────────────────────────────────────────── */
.grid-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.feature::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(212,175,55,.10), transparent 45%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.feature:hover::after { opacity: 1; }
.feature__ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-700), var(--brand-500)); color: #fff;
  box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.feature__ic svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .95rem; }
.feature__tag { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 600; color: var(--gold-600); }
.feature__tag svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .grid-features { grid-template-columns: 1fr; } }

/* ── Extra features (chips) ───────────────────────────────────────────── */
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.chip {
  display: flex; align-items: flex-start; gap: 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.chip:hover { border-color: var(--gold-300); transform: translateY(-2px); }
.chip svg { width: 20px; height: 20px; color: var(--brand-600); flex: none; margin-top: 2px; }
.chip b { font-size: .92rem; color: var(--brand-900); display: block; }
.chip span { font-size: .82rem; color: var(--ink-mute); }
@media (max-width: 880px) { .chips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .chips { grid-template-columns: 1fr; } }

/* ── How it works ─────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; }
.step__n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--gold-100); color: var(--brand-800); font-family: var(--font-display);
  font-weight: 700; font-size: 1.3rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { font-size: .93rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -14px; width: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}

/* ── Pricing ──────────────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan--featured { border-color: var(--gold-500); box-shadow: var(--shadow-gold), var(--shadow-md); transform: translateY(-6px); }
.plan--featured:hover { transform: translateY(-10px); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #2c1a0e;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow-gold); white-space: nowrap;
}
.plan__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); margin-bottom: 16px; }
.plan--featured .plan__icon { background: var(--gold-100); color: var(--gold-600); }
.plan__icon svg { width: 24px; height: 24px; }
.plan h3 { font-size: 1.5rem; }
.plan__sub { font-size: .85rem; color: var(--ink-mute); margin-top: 4px; min-height: 2.4em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 4px; }
.plan__price b { font-family: var(--font-display); font-size: 2.7rem; font-weight: 700; color: var(--brand-800); line-height: 1; }
.plan--featured .plan__price b { color: var(--gold-600); }
.plan__price span { font-size: .86rem; color: var(--ink-mute); }
.plan__alt { font-size: .8rem; color: var(--brand-600); font-weight: 600; min-height: 1.2em; }
.plan__features { margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.plan__features li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.plan__features svg { width: 18px; height: 18px; flex: none; color: var(--success); margin-top: 2px; }
.plan--featured .plan__features svg { color: var(--gold-600); }
.plan .btn { margin-top: auto; }
.pricing__note { margin-top: 26px; text-align: center; font-size: .85rem; color: var(--ink-mute); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pricing__note .methods { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pricing__note .methods span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .76rem; font-weight: 500; color: var(--brand-700); }
@media (max-width: 940px) {
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-4px); }
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 22px; margin-bottom: 12px; overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.02rem;
  color: var(--brand-900); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  border-right: 2px solid var(--brand-600); border-bottom: 2px solid var(--brand-600);
  transform: rotate(45deg); transition: transform var(--dur) var(--ease); margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { padding: 0 0 20px; font-size: .93rem; }

/* ── Contact ──────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.card-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--brand-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: .95rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-700); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(107, 66, 38, .12);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { margin-top: 14px; font-size: .88rem; font-weight: 600; display: none; padding: 12px 14px; border-radius: var(--radius-sm); }
.form-status.is-visible { display: block; }
.form-status.is-ok { background: rgba(46,125,50,.1); color: var(--success); }
.form-status.is-note { background: var(--gold-100); color: var(--gold-600); }
.form-status.is-error { background: rgba(198,40,40,.1); color: var(--error); }
.hp { position: absolute; left: -9999px; }

.contact__aside { display: flex; flex-direction: column; gap: 14px; }
.contact__item { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.contact__item:hover { border-color: var(--gold-300); transform: translateY(-2px); }
.contact__item .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); flex: none; }
.contact__item .ic svg { width: 20px; height: 20px; }
.contact__item b { display: block; font-size: .92rem; color: var(--brand-900); }
.contact__item span { font-size: .82rem; color: var(--ink-mute); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--brand-700); transition: all var(--dur) var(--ease); }
.socials a:hover { background: var(--brand-700); color: #fff; border-color: var(--brand-700); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field--row { grid-template-columns: 1fr; } }

/* ── CTA band ─────────────────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--brand-800), var(--brand-600));
  color: #fff; padding: clamp(34px, 5vw, 60px); text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background: radial-gradient(50% 80% at 85% 0%, rgba(212,175,55,.5), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 54ch; margin: 14px auto 26px; }
.cta-band .btn--primary { background: #fff; color: var(--brand-800); }
.cta-band .btn--primary:hover { background: var(--gold-100); color: var(--brand-800); }

/* ── Screenshots carousel ─────────────────────────────────────────────── */
.shots { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: none; -ms-overflow-style: none; }
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: 264px; scroll-snap-align: center; }
.shot .device { width: 100%; }
.shot figcaption { margin-top: 14px; text-align: center; font-size: .84rem; font-weight: 600; color: var(--brand-800); }
.shots-nav { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.shots-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--brand-700); cursor: pointer; display: grid; place-items: center; transition: all var(--dur) var(--ease); }
.shots-nav button:hover { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.shots-nav button:disabled { opacity: .35; cursor: default; }
.shots-nav svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .shot { width: 224px; } }

/* ── Extra mini-screen widgets (reused in carousel) ───────────────────── */
.mini__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini__tbl { background: var(--brand-50); border: 1px solid var(--line); border-radius: 10px; padding: 9px 6px; text-align: center; font-size: .6rem; font-weight: 700; color: var(--brand-700); }
.mini__tbl.full { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.mini__seg { display: flex; flex-direction: column; gap: 9px; }
.mini__segrow { display: flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 600; color: var(--brand-700); }
.mini__segrow span { width: 44px; flex: none; color: var(--ink-mute); font-weight: 500; }
.mini__segbar { flex: 1; height: 8px; border-radius: 999px; background: var(--brand-100); overflow: hidden; }
.mini__segbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-600), var(--gold-500)); }

/* ── QR code block (CTA band) ─────────────────────────────────────────── */
.cta-qr { display: inline-flex; align-items: center; gap: 16px; margin-top: 4px; padding: 14px 20px 14px 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); text-align: left; }
.cta-qr img { width: 88px; height: 88px; background: #fff; border-radius: 10px; padding: 6px; flex: none; }
.cta-qr b { display: block; color: #fff; font-size: .92rem; }
.cta-qr span { color: rgba(255,255,255,.82); font-size: .8rem; }
.cta-band .btn-row + .cta-qr { margin-top: 26px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--brand-900); color: rgba(255,255,255,.72); padding: clamp(48px, 6vw, 72px) 0 28px; margin-top: clamp(40px, 6vw, 80px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer .brand__by { color: rgba(255,255,255,.55); }
.footer__title { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .9rem; }
.site-footer a:hover { color: var(--gold-300); }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__about p { color: rgba(255,255,255,.66); font-size: .9rem; max-width: 34ch; margin-top: 16px; }
.footer__socials { margin-top: 18px; }
.footer__socials a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: rgba(255,255,255,.8); }
.footer__socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--brand-900); }
.footer__legal {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.6);
}
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal p { color: rgba(255,255,255,.72); }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } .footer__legal { flex-direction: column; align-items: flex-start; } }

/* ── Legal / document pages ───────────────────────────────────────────── */
.doc-hero { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.doc-hero .eyebrow { margin-bottom: 14px; }
.doc-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.doc-meta { margin-top: 16px; font-size: .88rem; color: var(--ink-mute); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.doc-meta span { display: inline-flex; align-items: center; gap: 7px; }
.doc-meta svg { width: 15px; height: 15px; color: var(--brand-600); }
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; padding: clamp(36px, 5vw, 60px) 0 clamp(56px, 7vw, 90px); }
.doc-toc { position: sticky; top: calc(var(--header-h) + 20px); }
.doc-toc h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.doc-toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.doc-toc a { display: block; font-size: .86rem; color: var(--ink-soft); padding: 7px 10px; border-radius: 9px; border-left: 2px solid transparent; }
.doc-toc a:hover { background: var(--brand-50); color: var(--brand-700); border-left-color: var(--gold-500); }
.doc-body { max-width: 760px; }
.doc-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 36px 0 12px; scroll-margin-top: calc(var(--header-h) + 20px); }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p { margin-bottom: 14px; }
.doc-body ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 9px; }
.doc-body li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: .95rem; }
.doc-body li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.doc-body strong { color: var(--brand-900); font-weight: 700; }
.doc-body a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.doc-callout { background: var(--brand-50); border: 1px solid var(--line); border-left: 3px solid var(--gold-500); border-radius: var(--radius-sm); padding: 16px 20px; margin: 20px 0; font-size: .92rem; }
.doc-callout strong { color: var(--brand-800); }
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .doc-toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
  .doc-body { max-width: none; }
}

/* ── Reveal on scroll (only when JS is active) ────────────────────────── */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ── "Coming soon" badges ─────────────────────────────────────────────── */
/* Injected by site.js next to every CTA that points to the (not-yet-live)
   web app or Google Play listing. The link structure itself is preserved. */
.soon-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-body); font-size: .58rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; line-height: 1;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  background: var(--gold-500); color: #2c1a0e;
  box-shadow: inset 0 0 0 1px rgba(44, 26, 14, .08);
}
.soon-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #2c1a0e; opacity: .6; flex: none;
}
.btn--gold .soon-badge { background: rgba(44, 26, 14, .9); color: var(--gold-100); }
.btn--gold .soon-badge::before { background: var(--gold-500); opacity: 1; }
.soon-badge--mini { font-size: .53rem; padding: 3px 7px; gap: 4px; }
.soon-badge--mini::before { width: 5px; height: 5px; }

/* On small screens, let CTA labels wrap and stretch full width so the
   badge never pushes the layout past the viewport edge. */
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; }
  .hero__cta .btn-row .btn,
  .cta-band .btn-row .btn { width: 100%; }
}

/* ── "Coming soon" modal ──────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 22px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(28, 17, 9, .55);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.modal__dialog {
  position: relative; width: min(468px, 100%); max-height: calc(100vh - 44px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 38px); box-shadow: var(--shadow-lg); text-align: center;
  transform: translateY(18px) scale(.975); opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg); color: var(--brand-800); cursor: pointer;
  display: grid; place-items: center; transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.modal__close:hover { background: var(--brand-100); transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }
.modal__icon {
  width: 68px; height: 68px; border-radius: 21px; margin: 6px auto 18px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--gold-100), #fff); border: 1px solid var(--gold-300);
  color: var(--gold-600); box-shadow: var(--shadow-sm);
}
.modal__icon svg { width: 32px; height: 32px; }
.modal__pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600);
  background: var(--gold-100); border: 1px solid var(--gold-300); border-radius: 999px; padding: 6px 14px;
}
.modal__pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.modal h2 { margin-top: 16px; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.modal p { margin-top: 12px; font-size: .96rem; color: var(--ink-soft); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
body.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
