/* ===================================================================
   Launchplate Free — Startup Landing Page Template
   One stylesheet. No build step. No dependencies.

   REBRAND IN 30 SECONDS
   Change the six variables in the "BRAND" block below and the whole
   page — light theme and dark theme — follows.
   =================================================================== */

/* -------------------------------------------------------------------
   1. BRAND  ←  edit these six
   ------------------------------------------------------------------- */
:root {
  --brand:        #f2541b;   /* accent: logo, highlights, focus ring   */
  --ink:          #0b0c0f;   /* the darkest colour in the system       */
  --paper:        #ffffff;   /* the lightest colour in the system      */
  --radius:       14px;      /* corner rounding                        */
  --max:          1180px;    /* content width                          */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

/* -------------------------------------------------------------------
   2. DERIVED TOKENS — light theme (default)
   ------------------------------------------------------------------- */
:root {
  --font-quote: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;

  --bg:          var(--paper);
  --bg-soft:     #f8f8f6;
  --bg-elev:     #ffffff;
  --line:        #e7e7e2;
  --line-strong: #d3d3cc;
  --text:        var(--ink);
  --text-dim:    #55585f;
  --text-mute:   #6d717a;

  --brand-fg:    #c1380b;                 /* brand as readable text    */
  --brand-soft:  rgba(242, 84, 27, .10);
  --brand-line:  rgba(242, 84, 27, .28);

  --btn-bg:      var(--ink);
  --btn-fg:      var(--paper);

  --band-bg:     #0b0c0f;                 /* always-dark stats band    */
  --band-text:   #f6f6f4;
  --band-dim:    #a1a5ad;
  --band-line:   #22252b;

  --grid:        rgba(11, 12, 15, .055);
  --glow:        rgba(242, 84, 27, .14);
  --shadow-sm:   0 1px 2px rgba(11,12,15,.06), 0 1px 1px rgba(11,12,15,.04);
  --shadow-md:   0 10px 30px -12px rgba(11,12,15,.18), 0 2px 6px rgba(11,12,15,.05);
  --shadow-lg:   0 40px 80px -40px rgba(11,12,15,.42), 0 8px 24px -12px rgba(11,12,15,.14);
  --scrim:       rgba(255,255,255,.78);

  --ok:          #0f8a5f;
  --warn:        #b06600;
  --del:         #c0392b;
}

/* -------------------------------------------------------------------
   3. DARK THEME
   Applied when the OS asks for it (unless the user forced light),
   and whenever the toggle sets data-theme="dark".
   ------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0a0b0e;
    --bg-soft:     #0e1013;
    --bg-elev:     #131519;
    --line:        #22252b;
    --line-strong: #31353d;
    --text:        #f3f4f6;
    --text-dim:    #a8adb7;
    --text-mute:   #8c919b;

    --brand-fg:    #ff8354;
    --brand-soft:  rgba(242, 84, 27, .14);
    --brand-line:  rgba(242, 84, 27, .34);

    --btn-bg:      #f3f4f6;
    --btn-fg:      #0a0b0e;

    --band-bg:     #101318;
    --band-text:   #f3f4f6;
    --band-dim:    #a8adb7;
    --band-line:   #262a31;

    --grid:        rgba(255, 255, 255, .05);
    --glow:        rgba(242, 84, 27, .115);
    --shadow-sm:   0 1px 2px rgba(0,0,0,.5);
    --shadow-md:   0 10px 30px -12px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.4);
    --shadow-lg:   0 40px 80px -40px rgba(0,0,0,.9), 0 8px 24px -12px rgba(0,0,0,.5);
    --scrim:       rgba(10,11,14,.74);

    --ok:          #3ddc9a;
    --warn:        #f0b429;
    --del:         #ff6b5e;
  }
}

:root[data-theme="dark"] {
  --bg:          #0a0b0e;
  --bg-soft:     #0e1013;
  --bg-elev:     #131519;
  --line:        #22252b;
  --line-strong: #31353d;
  --text:        #f3f4f6;
  --text-dim:    #a8adb7;
  --text-mute:   #8c919b;

  --brand-fg:    #ff8354;
  --brand-soft:  rgba(242, 84, 27, .14);
  --brand-line:  rgba(242, 84, 27, .34);

  --btn-bg:      #f3f4f6;
  --btn-fg:      #0a0b0e;

  --band-bg:     #101318;
  --band-text:   #f3f4f6;
  --band-dim:    #a8adb7;
  --band-line:   #262a31;

  --grid:        rgba(255, 255, 255, .05);
  --glow:        rgba(242, 84, 27, .115);
  --shadow-sm:   0 1px 2px rgba(0,0,0,.5);
  --shadow-md:   0 10px 30px -12px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.4);
  --shadow-lg:   0 40px 80px -40px rgba(0,0,0,.9), 0 8px 24px -12px rgba(0,0,0,.5);
  --scrim:       rgba(10,11,14,.74);

  --ok:          #3ddc9a;
  --warn:        #f0b429;
  --del:         #ff6b5e;
}

/* -------------------------------------------------------------------
   4. RESET & BASE
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
::selection { background: var(--brand); color: #fff; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: 14px;
  transition: top .16s ease;
}
.skip-link:focus { top: 16px; }

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

/* -------------------------------------------------------------------
   5. TYPE SCALE
   ------------------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 640; letter-spacing: -.022em; line-height: 1.12; }

h1 {
  font-size: clamp(2.45rem, 1.35rem + 4.6vw, 4.5rem);
  letter-spacing: -.035em;
  line-height: 1.03;
  font-weight: 660;
}
h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.9rem); letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: 1.125rem; letter-spacing: -.015em; }

.serif {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
}

.lede {
  font-size: clamp(1.0625rem, .98rem + .42vw, 1.235rem);
  line-height: 1.6;
  color: var(--text-dim);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-fg);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: var(--brand); opacity: .7;
}

/* -------------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding-inline: 20px;
  border-radius: 10px; border: 1px solid transparent;
  font-size: .9375rem; font-weight: 560; letter-spacing: -.01em;
  white-space: nowrap; cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.btn svg { width: 16px; height: 16px; }

.btn--primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); background: var(--bg-elev); }
.btn--ghost:hover { border-color: var(--text-mute); transform: translateY(-1px); }

.btn--quiet { color: var(--text-dim); padding-inline: 12px; }
.btn--quiet:hover { color: var(--text); }

.btn--lg { height: 52px; padding-inline: 26px; font-size: 1rem; border-radius: 12px; }
.btn--block { width: 100%; }

.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -10px var(--brand); }
.btn--brand:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -10px var(--brand); }

.arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* -------------------------------------------------------------------
   7. HEADER / NAV
   ------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--scrim);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.header.is-stuck { border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 640; font-size: 1.0625rem; letter-spacing: -.03em; }
.brand__mark { width: 26px; height: 26px; flex: 0 0 26px; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav__links a {
  padding: 8px 12px; border-radius: 8px;
  font-size: .9125rem; color: var(--text-dim); font-weight: 480;
  transition: color .15s ease, background-color .15s ease;
}
.nav__links a:hover { color: var(--text); background: var(--bg-soft); }

.nav__spacer { flex: 1; }
.nav__actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--text-dim); background: var(--bg-elev);
  transition: color .15s ease, border-color .15s ease;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }
.icon-btn svg { width: 17px; height: 17px; }

/* theme toggle: show the icon for the theme you'd switch TO */
.icon-sun  { display: none; }
:root[data-theme="dark"] .icon-sun  { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun  { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

.nav__burger { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: inline-grid; }
}

/* mobile menu panel */
.menu {
  position: fixed; inset: 68px 0 auto; z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 10px 24px 22px;
  display: none;
  box-shadow: var(--shadow-md);
}
.menu[data-open="true"] { display: block; }
.menu { max-height: calc(100dvh - 68px); overflow-y: auto; }
/* :not(.btn) so the CTA below keeps its button styling */
.menu a:not(.btn) {
  display: block; padding: 13px 4px; font-size: 1.0625rem; font-weight: 520;
  border-bottom: 1px solid var(--line); color: var(--text);
}
.menu a:not(.btn):hover { color: var(--brand-fg); }
.menu a:not(.btn):last-of-type { border-bottom: 0; }
.menu .btn { margin-top: 18px; }
@media (min-width: 901px) { .menu { display: none !important; } }

/* -------------------------------------------------------------------
   8. SECTION RHYTHM
   ------------------------------------------------------------------- */
.section { padding-block: clamp(64px, 8vw, 116px); }
.section--tight { padding-block: clamp(44px, 5vw, 68px); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-block: 14px 16px; }

/* -------------------------------------------------------------------
   9. HERO
   ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 104px) 0; }

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 4%, #000 22%, transparent 76%);
          mask-image: radial-gradient(ellipse 78% 62% at 50% 4%, #000 22%, transparent 76%);
}
.hero__bg::after {
  content: ""; position: absolute; left: 50%; top: -240px; transform: translateX(-50%);
  width: min(880px, 116vw); height: 430px; border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--glow), transparent 68%);
}

.hero__inner { position: relative; max-width: 820px; margin-inline: auto; text-align: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-elev);
  font-size: .8125rem; color: var(--text-dim); box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.pill b {
  background: var(--brand-soft); color: var(--brand-fg);
  border: 1px solid var(--brand-line);
  padding: 2px 8px; border-radius: 999px; font-size: .6875rem;
  font-weight: 640; letter-spacing: .04em; text-transform: uppercase;
}
.pill span { color: var(--text); font-weight: 500; }

.hero h1 { margin-bottom: 22px; text-wrap: balance; }
.hero .lede { max-width: 620px; margin-inline: auto; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero__note {
  margin-top: 20px; font-size: .8125rem; color: var(--text-mute);
  display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center;
}
.hero__note span { display: inline-flex; align-items: center; gap: 6px; }
.hero__note svg { width: 14px; height: 14px; color: var(--ok); }

@media (max-width: 520px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* ---- CSS-drawn product mockup ---- */
.mock {
  position: relative; margin: clamp(44px, 6vw, 76px) auto 0; max-width: 1060px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--bg-elev);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock::after {
  content: ""; position: absolute; inset: auto 0 0; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.mock__bar {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding-inline: 14px;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock__url {
  margin-left: 10px; flex: 1; max-width: 300px; height: 22px; border-radius: 6px;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; padding-inline: 9px;
  font-size: .6875rem; color: var(--text-mute); letter-spacing: -.01em;
}
.mock__body { display: grid; grid-template-columns: 188px 1fr; min-height: 380px; }

.mock__side { border-right: 1px solid var(--line); padding: 16px 14px; background: var(--bg-soft); }
.mock__side .s-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.mock__side .s-logo i { width: 18px; height: 18px; border-radius: 5px; background: var(--brand); display: block; }
.mock__side .s-logo b { font-size: .8125rem; letter-spacing: -.02em; }
.s-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 9px; border-radius: 7px; font-size: .75rem; color: var(--text-mute);
}
.s-item i { width: 13px; height: 13px; border-radius: 4px; background: var(--line-strong); display: block; flex: none; }
.s-item.is-on { background: var(--bg-elev); color: var(--text); font-weight: 560; box-shadow: var(--shadow-sm); }
.s-item.is-on i { background: var(--brand); }

.mock__main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.m-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m-head h4 { font-size: .9375rem; }
.m-head .m-badge {
  white-space: nowrap; font-size: .6875rem; font-weight: 620; padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok);
  border: 1px solid color-mix(in srgb, var(--ok) 32%, transparent);
}
.m-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.m-kpi { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: var(--bg); }
.m-kpi small { display: block; font-size: .625rem; color: var(--text-mute); letter-spacing: .05em; text-transform: uppercase; }
.m-kpi b { font-size: 1.0625rem; font-weight: 620; letter-spacing: -.03em; display: block; margin-top: 3px; }
.m-kpi u { text-decoration: none; font-size: .625rem; color: var(--ok); }

.m-chart {
  border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: var(--bg);
  display: grid; gap: 12px;
}
.m-chart .c-top { display: flex; align-items: baseline; justify-content: space-between; }
.m-chart .c-top small { font-size: .6875rem; color: var(--text-mute); }
.m-bars { display: flex; align-items: flex-end; gap: 6px; height: 108px; }
.m-bars i {
  flex: 1; display: block; border-radius: 3px 3px 0 0;
  background: var(--line-strong); opacity: .85;
}
.m-bars i.hi { background: var(--brand); opacity: 1; }

.m-rows { display: grid; gap: 6px; }
.m-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; background: var(--bg);
  font-size: .75rem;
}
.m-row span { color: var(--text-mute); white-space: nowrap; }
.m-row b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-row b { font-weight: 560; letter-spacing: -.01em; }
.dotdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 7px; }

@media (max-width: 720px) {
  .mock__body { grid-template-columns: 1fr; min-height: 0; }
  .mock__side { display: none; }
  .m-kpis { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------------------------------------------------------
   10. LOGO STRIP
   ------------------------------------------------------------------- */
.proof { padding-block: 40px; border-top: 1px solid var(--line); }
.proof p {
  text-align: center; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 26px;
}
.proof__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(26px, 5vw, 56px);
}
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text); opacity: .58; transition: opacity .2s ease;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -.035em;
}
.logo:hover { opacity: .95; }
@media (max-width: 560px) {
  .proof__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; justify-items: center; }
}
.logo svg { width: 21px; height: 21px; }

/* -------------------------------------------------------------------
   11. FEATURE GRID
   ------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-elev); padding: 26px 24px 28px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-fg);
  margin-bottom: 18px;
}
.card__icon svg { width: 19px; height: 19px; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--text-dim); font-size: .9375rem; }

/* -------------------------------------------------------------------
   12. ALTERNATING FEATURE ROWS
   ------------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.split > * { min-width: 0; }
.split + .split { margin-top: clamp(64px, 8vw, 110px); }
.split--flip .split__media { order: -1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--flip .split__media { order: 0; }
}

.split__text h2 { margin-block: 14px 16px; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem); }
.split__text p { color: var(--text-dim); }

.ticks { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; font-size: .9375rem; color: var(--text-dim); }
.ticks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand); }
.ticks b { color: var(--text); font-weight: 560; }

.panel {
  min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-elev); box-shadow: var(--shadow-md); overflow: hidden;
}
.panel__top {
  display: flex; align-items: center; gap: 10px; padding: 11px 15px;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
  font-size: .75rem; color: var(--text-mute);
}
.panel__top .tag {
  margin-left: auto; font-size: .6875rem; padding: 3px 8px; border-radius: 6px;
  background: var(--brand-soft); color: var(--brand-fg); border: 1px solid var(--brand-line); font-weight: 600;
}

/* diff panel */
.diff {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .75rem; padding: 12px 0; overflow-x: auto;
}
.diff div { display: flex; gap: 12px; padding: 2px 15px; white-space: nowrap; overflow: hidden; }
.diff span { color: var(--text-mute); width: 18px; flex: none; text-align: right; user-select: none; }
.diff code { color: var(--text-dim); }
.diff .add { background: color-mix(in srgb, var(--ok) 12%, transparent); }
.diff .add code { color: var(--ok); }
.diff .del { background: color-mix(in srgb, var(--del) 12%, transparent); }
.diff .del code { color: var(--del); }

/* timeline panel */
.tl { padding: 8px; display: grid; gap: 4px; }
.tl__item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 10px; transition: background-color .15s ease;
}
.tl__item:hover { background: var(--bg-soft); }
.av {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: .6875rem; font-weight: 640; letter-spacing: -.02em;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-dim);
}
.av--b { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-fg); }
.tl__item > div { min-width: 0; }
.tl__item p { font-size: .8125rem; color: var(--text); font-weight: 500; line-height: 1.35; }
.tl__item small { font-size: .6875rem; color: var(--text-mute); }
.chip {
  font-size: .6875rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line); color: var(--text-dim); background: var(--bg-soft);
}
.chip--ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 34%, transparent); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.chip--warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 36%, transparent); background: color-mix(in srgb, var(--warn) 12%, transparent); }

.spark { padding: 12px 15px 16px; border-top: 1px solid var(--line); }
.spark svg { width: 100%; height: 56px; }
.spark__legend { display: flex; justify-content: space-between; font-size: .6875rem; color: var(--text-mute); margin-top: 8px; }

/* -------------------------------------------------------------------
   13. STATS BAND
   ------------------------------------------------------------------- */
.band { background: var(--band-bg); color: var(--band-text); border-block: 1px solid var(--band-line); }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 0; }
.band__cell { padding: clamp(28px, 4vw, 44px) 26px; border-left: 1px solid var(--band-line); }
.band__cell:first-child { border-left: 0; padding-left: 0; }
.band__cell b {
  display: block; font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 640; letter-spacing: -.045em; line-height: 1;
  color: var(--band-text);
}
.band__cell b em { font-style: normal; color: var(--brand); }
.band__cell span { display: block; margin-top: 10px; font-size: .875rem; color: var(--band-dim); }
@media (max-width: 860px) {
  .band__grid { grid-template-columns: repeat(2, 1fr); }
  .band__cell { padding-inline: 20px; border-top: 1px solid var(--band-line); }
  .band__cell:nth-child(-n+2) { border-top: 0; }
  .band__cell:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 420px) {
  .band__grid { grid-template-columns: 1fr; }
  .band__cell { border-left: 0; padding-left: 0; }
  .band__cell:nth-child(2) { border-top: 1px solid var(--band-line); }
}

/* -------------------------------------------------------------------
   14. TESTIMONIAL
   ------------------------------------------------------------------- */
.quote { max-width: 860px; margin-inline: auto; text-align: center; }
.stars { display: flex; gap: 4px; justify-content: center; color: var(--brand); margin-bottom: 26px; }
.stars svg { width: 17px; height: 17px; }
.quote blockquote {
  font-family: var(--font-quote);
  font-size: clamp(1.375rem, 1rem + 1.7vw, 2.05rem);
  line-height: 1.34; letter-spacing: -.022em; text-wrap: balance;
}
.quote blockquote em { font-style: italic; color: var(--brand-fg); }
.quote figcaption {
  display: flex; align-items: center; justify-content: center; gap: 13px;
  margin-top: 30px; font-size: .9rem;
}
.quote figcaption .av { width: 42px; height: 42px; font-size: .8125rem; }
.quote figcaption b { display: block; font-weight: 600; }
.quote figcaption span { color: var(--text-mute); font-size: .8125rem; }
.quote figcaption div { text-align: left; }

/* -------------------------------------------------------------------
   15. PRICING
   ------------------------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 940px) { .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.tier {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev);
  padding: 28px 26px 30px; display: flex; flex-direction: column; height: 100%;
}
.tier--best {
  position: relative; background: var(--bg-elev);
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-lg);
}
@media (min-width: 941px) { .tier--best { margin-block: -14px; padding-block: 42px 44px; } }
.tier__flag {
  position: absolute; top: 14px; right: 14px;
  font-size: .625rem; font-weight: 660; letter-spacing: .09em; text-transform: uppercase;
  background: var(--brand); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.tier h3 { font-size: 1rem; }
.tier__price { display: flex; align-items: baseline; gap: 6px; margin-block: 14px 6px; }
.tier__price b { font-size: 2.75rem; font-weight: 640; letter-spacing: -.045em; line-height: 1; }
.tier__price span { color: var(--text-mute); font-size: .875rem; }
.tier__note { color: var(--text-dim); font-size: .875rem; min-height: 42px; flex: none; }
.tier .btn { margin-block: 22px 24px; flex: none; }   /* never squash in the column flexbox */
.tier ul { list-style: none; padding: 0; display: grid; gap: 11px; font-size: .875rem; color: var(--text-dim); }
.tier li { display: flex; gap: 10px; }
.tier ul, .tier hr, .tier h3, .tier__price { flex: none; }
.tier li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--brand); }
.tier hr { border: 0; border-top: 1px solid var(--line); margin-bottom: 20px; }
.pricing-note { text-align: center; margin-top: 30px; font-size: .875rem; color: var(--text-mute); }

/* -------------------------------------------------------------------
   16. FAQ
   ------------------------------------------------------------------- */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 4px; font-size: 1.0625rem; font-weight: 560; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-fg); }
.faq summary .plus {
  margin-left: auto; flex: none; width: 20px; height: 20px; color: var(--text-mute);
  transition: transform .22s ease, color .2s ease;
}
.faq details[open] summary .plus { transform: rotate(45deg); color: var(--brand); }
.faq details[open] summary { color: var(--text); }
.faq__a { padding: 0 44px 24px 4px; color: var(--text-dim); font-size: .9375rem; }
.faq__a a { color: var(--brand-fg); text-decoration: underline; text-underline-offset: 2px; }

/* -------------------------------------------------------------------
   17. FINAL CTA
   ------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px; background: var(--bg-elev);
  padding: clamp(44px, 6vw, 76px) clamp(24px, 4vw, 56px); text-align: center;
  box-shadow: var(--shadow-md);
}
.cta::before {
  content: ""; position: absolute; left: 50%; top: -180px; transform: translateX(-50%);
  width: 720px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--glow), transparent 68%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { margin-bottom: 16px; text-wrap: balance; }
.cta .lede { max-width: 520px; margin-inline: auto; }
.cta__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 520px) {
  .cta__row { flex-direction: column; align-items: stretch; }
  .cta__row .btn { width: 100%; }
}

/* -------------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 34px; background: var(--bg-soft); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px 28px;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

.footer__about p { color: var(--text-dim); font-size: .875rem; margin-top: 14px; max-width: 300px; }
.footer h4 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: .875rem; }
.footer ul a { color: var(--text-dim); }
.footer ul a:hover { color: var(--text); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--text-mute);
}
.footer__bottom a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom a:hover { color: var(--brand-fg); }
.socials { display: flex; gap: 6px; }
.socials a {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--text-mute); text-decoration: none;
}
.socials a:hover { color: var(--text); border-color: var(--line-strong); }
.socials svg { width: 16px; height: 16px; }

/* -------------------------------------------------------------------
   19. SCROLL REVEAL
   ------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

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

/* -------------------------------------------------------------------
   20. PRINT
   ------------------------------------------------------------------- */
@media print {
  .header, .menu, .hero__bg, .cta::before, .socials { display: none !important; }
  body { background: #fff; color: #000; }
  .mock, .panel, .card, .tier { box-shadow: none; }
}
