/* ============================================================================
   Tovak — landing page, "Cofactr" variant
   Light, spacious, clean B2B SaaS. GRIFTER (display) + Satoshi (body).
   ========================================================================== */

@font-face {
  font-family: "Grifter";
  src: url("/fonts/Grifter-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-VariableItalic.ttf") format("truetype");
  font-weight: 300 900; font-style: italic; font-display: swap;
}

:root {
  --brand: #000092;
  --brand-2: #2a2ce0;
  --brand-tint: #eef0ff;
  --brand-tint-2: #f5f6ff;

  --bg: #ffffff;
  --bg-soft: #f6f7fb;       /* alternating section wash */
  --ink: #0a0c1b;           /* near-black headings */
  --body: #3b4054;          /* body text */
  --muted: #6b7186;
  --line: #e7e9f2;
  --line-2: #d7dae8;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --step: clamp(80px, 12vh, 150px);
  --radius: 16px;
  --btn-radius: 10px;   /* uniform radius for all buttons / nav pills */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);   /* overshoot = spring feel */

  /* shared component theme (nav2 + bf) — light page */
  --nav-chip-bg: #0a0a1e;
  --nav-chip-border: transparent;
  --nav-chip-logo: #fff;
  --nav-pill-bg: #fff;
  --nav-pill-border: var(--line);
  --nav-pill-text: var(--ink);
  --nav-pill-hover: var(--brand);
  --nav-pill-shadow: var(--shadow);
  --nav-cta-bg: var(--brand);
  --nav-cta-text: #fff;
  --nav-cta-shadow: 0 8px 20px -8px rgba(0, 0, 146, 0.5);

  --bf-bg: #0a0a1e;
  --bf-head: #888dca;
  --bf-text: #c9cce6;
  --bf-dim: #565b86;
  --bf-line: rgba(255, 255, 255, 0.10);
  --bf-blue: #2733e0;
  --bf-link: #e6e8f5;
  --bf-link-hover: #fff;
  --bf-wordmark: #4a4fc4;
  --bf-btn-bg: #fff;
  --bf-btn-text: #0a0a1e;
  --bf-solico-bg: rgba(39, 51, 224, 0.20);
  --bf-solico-fill: #aeb4ff;
  --shadow: 0 1px 2px rgba(10, 12, 27, 0.04), 0 12px 32px -16px rgba(10, 12, 27, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--body);
  font-family: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

/* ---- Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--step); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.center { text-align: center; }
.center .lede, .center .eyebrow { margin-inline: auto; }

/* ---- Type ----------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 20px;
}
.display {
  font-family: "Grifter", "Satoshi", sans-serif;
  font-weight: 700; color: var(--ink);
  text-transform: uppercase; line-height: 0.98; letter-spacing: -0.01em;
}
h1.display { font-size: clamp(2.6rem, 6vw, 5rem); }
h2.display { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-family: "Grifter", sans-serif; text-transform: uppercase; color: var(--ink); }

.lede { font-size: clamp(1.08rem, 1.4vw, 1.3rem); color: var(--muted); max-width: 62ch; line-height: 1.6; }
.section > .wrap > h2.display { margin-bottom: 18px; }
.accent { color: var(--brand); }
em { font-style: italic; }

/* asterisk divider — Cofactr homage */
.stars { color: var(--line-2); letter-spacing: 0.6em; font-size: 1rem; text-align: center; padding-block: 8px; user-select: none; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 10px;
  font-weight: 600; font-size: 0.96rem; letter-spacing: 0.005em;
  border: 1px solid transparent; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 146, 0.5); }
.btn--primary:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.tlink { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.tlink:hover { gap: 10px; }

/* ---- Nav ------------------------------------------------------------------ */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--body); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--brand); }
.logo svg { height: 28px; width: auto; }   /* colored logo on light bg — no recolour */
.nav__cta { padding: 10px 20px; font-size: 0.9rem; }
@media (max-width: 720px) { .nav__links { display: none; } }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(128px, 18vh, 200px) var(--step); overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(50% 42% at 50% -6%, rgba(0, 0, 146, 0.14), transparent 70%),
    radial-gradient(46% 40% at 82% 6%, rgba(42, 44, 224, 0.10), transparent 62%),
    radial-gradient(40% 36% at 14% 2%, rgba(0, 0, 146, 0.07), transparent 62%);
}
/* dot-grid texture, fading from the centre — Cofactr's hero motif */
.hero__dots {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  color: #b9bee0;
  background-image: radial-gradient(circle at center, currentColor 1px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(62% 60% at 50% 30%, #000 0%, transparent 76%);
  mask-image: radial-gradient(62% 60% at 50% 30%, #000 0%, transparent 76%);
}
.hero__inner { max-width: 22ch; }
.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 36px; max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hero__note { margin-top: 22px; font-size: 0.88rem; color: var(--muted); }
.hero__note b { color: var(--brand); font-weight: 700; }

/* flow strip under hero */
.flowstrip { margin-top: 64px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.flowstrip__cell { padding: 28px 24px; text-align: center; }
.flowstrip__cell .k { font-family: "Grifter", sans-serif; text-transform: uppercase; font-size: 1.25rem; color: var(--ink); }
.flowstrip__cell .s { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--muted); }
.flowstrip__cell--mid { background: var(--brand); }
.flowstrip__cell--mid .k { color: #fff; }
.flowstrip__cell--mid .s { color: rgba(255, 255, 255, 0.7); }
.flowstrip__arr { color: var(--brand); font-size: 1.3rem; padding-inline: 14px; }
@media (max-width: 680px) {
  .flowstrip { grid-template-columns: 1fr; }
  .flowstrip__arr { transform: rotate(90deg); padding-block: 6px; }
}

/* ---- Solution cards ------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 22px; }
.card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---- Metrics (the leaks, clean) ------------------------------------------- */
.metrics__head { max-width: 60ch; margin-bottom: 12px; }
.metrics__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.metric__n { font-family: "Grifter", sans-serif; font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--brand); line-height: 1; margin-bottom: 14px; }
.metric__n.time { color: var(--ink); }
.metric h3 { font-size: 1rem; margin-bottom: 8px; text-transform: none; font-family: "Satoshi", sans-serif; font-weight: 700; color: var(--ink); }
.metric p { color: var(--muted); font-size: 0.92rem; }
.metrics__total { margin-top: 28px; text-align: center; font-size: 1.05rem; color: var(--body); }
.metrics__total b { font-family: "Grifter", sans-serif; color: var(--brand); font-size: 1.4em; }
.metrics__foot { margin-top: 18px; text-align: center; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 860px) { .metrics__grid { grid-template-columns: 1fr; } }

/* ---- Steps ---------------------------------------------------------------- */
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.stepc { padding-top: 22px; border-top: 2px solid var(--brand); }
.stepc__n { font-family: "Grifter", sans-serif; color: var(--brand); font-size: 0.8rem; letter-spacing: 0.2em; margin-bottom: 14px; }
.stepc h3 { font-size: 1.05rem; margin-bottom: 10px; }
.stepc p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) { .steps__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps__grid { grid-template-columns: 1fr; } }

/* ---- Compare -------------------------------------------------------------- */
.cmp { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cmp__row { display: grid; grid-template-columns: 1fr 1.4fr 1.6fr; }
.cmp__row + .cmp__row { border-top: 1px solid var(--line); }
.cmp__row > div { padding: 22px 26px; }
.cmp__row > div + div { border-left: 1px solid var(--line); }
.cmp__head { background: var(--brand-tint-2); }
.cmp__head > div { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.cmp__name { font-weight: 700; color: var(--ink); }
.cmp__stop { color: var(--muted); font-size: 0.94rem; }
.cmp__do { color: var(--body); font-size: 0.94rem; }
.cmp__do b { color: var(--brand); }
@media (max-width: 720px) {
  .cmp__row { grid-template-columns: 1fr; }
  .cmp__row > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .cmp__head { display: none; }
}

/* ---- Trust ---------------------------------------------------------------- */
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 52px; }
.trustc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px; }
.trustc h3 { font-size: 1.05rem; margin-bottom: 10px; }
.trustc p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 720px) { .trust__grid { grid-template-columns: 1fr; } }

/* ---- Big stat band -------------------------------------------------------- */
.statband { background: var(--brand); color: #fff; border-radius: var(--radius); padding: clamp(40px, 6vw, 72px); text-align: center; margin-top: 8px; }
.statband .big { font-family: "Grifter", sans-serif; font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1; }
.statband p { color: rgba(255, 255, 255, 0.8); margin-top: 16px; font-size: 1.05rem; }

/* ---- Early access --------------------------------------------------------- */
.access__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.access h2 { margin-bottom: 18px; }
.access .lede { margin-bottom: 22px; }
.access__list { list-style: none; display: grid; gap: 12px; }
.access__list li { display: flex; gap: 12px; color: var(--body); font-size: 0.98rem; }
.access__list li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow); }
.form__field { margin-bottom: 18px; }
.form__field label { display: block; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.form__field input { width: 100%; padding: 14px 16px; background: var(--bg-soft); border: 1px solid var(--line-2); color: var(--ink); font: inherit; border-radius: 10px; transition: border-color 0.2s, background 0.2s; }
.form__field input::placeholder { color: #aab0c2; }
.form__field input:focus { outline: none; border-color: var(--brand); background: #fff; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form button { width: 100%; justify-content: center; margin-top: 8px; }
.form__msg { margin-top: 16px; font-size: 0.9rem; min-height: 1.2em; }
.form__msg.ok { color: #0a7d4b; }
.form__msg.err { color: #c0392b; }
.hp { position: absolute; left: -9999px; opacity: 0; }
@media (max-width: 860px) { .access__grid { grid-template-columns: 1fr; } .form__row { grid-template-columns: 1fr; } }

/* ---- Footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px; background: var(--bg-soft); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; }
.footer__brand { max-width: 32ch; }
.footer__brand .logo { margin-bottom: 16px; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; }
.footer__cols { display: flex; gap: clamp(36px, 6vw, 72px); flex-wrap: wrap; }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer__col a, .footer__col span { display: block; color: var(--body); font-size: 0.92rem; margin-bottom: 9px; transition: color 0.2s; }
.footer__col a:hover { color: var(--brand); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }

/* ============================================================================
   home2 — cofactr-faithful additions
   ========================================================================== */

/* centred sections */
.center { text-align: center; }
.center .lede, .center .hero__sub, .center .hero__small { margin-inline: auto; }

/* nav extras */
.nav__inner { gap: 24px; }
.nav__links { flex: 1; justify-content: center; }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__login { font-size: 0.92rem; font-weight: 600; color: var(--body); transition: color 0.2s; }
.nav__login:hover { color: var(--brand); }
@media (max-width: 860px) { .nav__login { display: none; } }

/* nav2 (floating-pill nav) lives in components.css — themed via :root vars below. */

/* hero — centred variant */
.hero.center .wrap > * { margin-inline: auto; }
.hero.center .display { max-width: 16ch; }
.hero__sub { font-family: "Grifter", sans-serif; text-transform: uppercase; color: var(--brand); font-size: clamp(0.95rem, 1.5vw, 1.2rem); letter-spacing: 0.02em; margin-bottom: 22px; }
.hero.center .lede { max-width: 58ch; margin-bottom: 14px; }
.hero__small { color: var(--muted); max-width: 48ch; font-size: 0.98rem; margin-bottom: 30px; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.hero.center .flowstrip { margin-inline: auto; max-width: 860px; }
.hero.center .hero__cta { justify-content: center; }

/* hero entrance — headline rises and fades in, children stagger after it */
@keyframes heroRise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero.center .display,
.hero__sub,
.hero.center .lede,
.hero__small,
.hero__cta,
.hero__note,
.hero .flowstrip { animation: heroRise 0.85s var(--ease) both; }
.hero.center .display { animation-delay: 0.08s; }
.hero__sub { animation-delay: 0.18s; }
.hero.center .lede { animation-delay: 0.26s; }
.hero__small { animation-delay: 0.32s; }
.hero__cta { animation-delay: 0.38s; }
.hero__note { animation-delay: 0.44s; }
.hero .flowstrip { animation-delay: 0.54s; }

/* trust line */
.trustline { padding-block: clamp(56px, 8vh, 96px); border-bottom: 1px solid var(--line); }
.trustline__h { font-family: "Satoshi", sans-serif; font-weight: 700; text-transform: none; color: var(--ink); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.25; max-width: 24ch; margin: 0 auto 18px; letter-spacing: -0.01em; }

/* solution card extras */
.card__punch { color: var(--ink); font-weight: 600; font-size: 1.02rem; margin-bottom: 10px; }
.card p { margin-bottom: 16px; }
.card .tlink { font-size: 0.92rem; }

/* ---- Results (rotating metrics) ------------------------------------------ */
/* ---- How it works: sticky-stacking step cards ---------------------------- */
.steps2 { position: relative; padding-bottom: 0; }
/* full-width sticky title bar; title sits top-left in the container */
.steps2__head { position: sticky; top: 0; z-index: 4; background: var(--bg); padding-block: clamp(80px, 10vh, 100px) 20px; }
.steps2__head .eyebrow { margin-bottom: 8px; }
.steps2__head .display { font-size: clamp(1.6rem, 3vw, 2.5rem); margin: 0; max-width: 26ch; }
/* cards are full-bleed (edge to edge) and stack under the title */
.steps2__stack { position: relative; }
.stepcard { position: sticky; display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: calc(100vh - 196px); width: 100%; background: #fff; border-top: 1px solid var(--line); border-radius: 0; overflow: hidden; box-shadow: 0 -12px 44px -22px rgba(10, 12, 40, 0.22); }
.stepcard:nth-child(1) { top: 188px; }
.stepcard:nth-child(2) { top: 212px; }
.stepcard:nth-child(3) { top: 236px; }
.stepcard:nth-child(4) { top: 260px; }
/* dim overlay: fades in on a card as the next one covers it (driven by JS) */
.stepcard__overlay { position: absolute; inset: 0; background: #070a18; opacity: 0; pointer-events: none; z-index: 6; }
.stepcard__visual { position: relative; display: grid; place-items: center; color: #fff; overflow: hidden; padding: clamp(28px, 4vw, 60px); }
.stepcard__v1 { background: linear-gradient(150deg, var(--brand), var(--brand-2)); }
.stepcard__v2 { background: linear-gradient(150deg, #14149a, #3a40d0); }
.stepcard__v3 { background: linear-gradient(150deg, #1a1aa6, #5b3cf0); }
.stepcard__v4 { background: linear-gradient(150deg, var(--brand), #2a2ce0 60%, #28d6ff); }
.stepcard__bg { position: absolute; font-family: "Grifter", sans-serif; font-size: clamp(180px, 34vh, 360px); line-height: 0.7; opacity: 0.13; color: #fff; user-select: none; }
/* mini mockups on each card's visual panel */
.vmock { width: min(380px, 100%); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 28px 60px -26px rgba(0, 0, 0, 0.55); color: var(--ink); text-align: left; }
.vmock--chat .chat__body { gap: 8px; }
.vmock__bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #f4f5fa; border-bottom: 1px solid var(--line); }
.vmock__t { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.vmock__pad { padding: 16px; }
.vvoice { display: inline-flex; align-items: center; gap: 9px; font-size: 0.78rem; color: var(--ink); }
.vvoice__play { color: var(--brand); font-size: 0.7rem; }
.vvoice__wave { width: 86px; height: 14px; background: repeating-linear-gradient(90deg, var(--brand) 0 2px, transparent 2px 5px); opacity: 0.5; border-radius: 3px; }
.vvoice__time { color: var(--muted); }
.vnote { font-size: 0.88rem; color: var(--ink); margin: 12px 0 0; font-weight: 500; }
.vstage { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vstage li { font-size: 0.72rem; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.vstage li.done { background: #e6f6ec; color: #1a7d4b; }
.vstage li.active { background: var(--brand-tint); color: var(--brand); font-weight: 600; }
.vbill__row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: var(--muted); padding: 7px 0; }
.vbill__row b { color: var(--ink); font-weight: 600; }
.vbill__tot { display: flex; justify-content: space-between; font-size: 0.98rem; font-weight: 700; color: var(--ink); padding: 11px 0 4px; border-top: 1px solid var(--line); margin-top: 6px; }
.vchip { margin-top: 14px; display: inline-block; font-size: 0.74rem; font-weight: 600; color: var(--brand); background: var(--brand-tint); padding: 6px 12px; border-radius: 999px; }
.vupi { font-family: ui-monospace, Menlo, monospace; font-size: 0.78rem !important; opacity: 0.92; }
.stepcard__body { padding: clamp(44px, 6vh, 88px) clamp(36px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.stepcard__n { font-family: "Grifter", sans-serif; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brand); font-size: 0.92rem; margin-bottom: 16px; }
.stepcard h3 { font-family: "Grifter", sans-serif; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1; color: var(--ink); margin-bottom: 18px; }
.stepcard__lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 600; color: var(--ink); margin-bottom: 4px; max-width: 32ch; }
.stepcard__label { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 28px 0 16px; }
.stepcard__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.stepcard__list li { display: flex; align-items: center; gap: 16px; font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.stepcard__ico { flex: none; width: 50px; height: 50px; border-radius: 13px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.stepcard__ico svg { width: 24px; height: 24px; }
@media (max-width: 760px) {
  .stepcard { grid-template-columns: 1fr; min-height: 0; position: relative; top: auto !important; }
  .stepcard__visual { min-height: 180px; }
}

.results { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.results .wrap { width: 100%; position: relative; z-index: 1; }
/* faint outline elements in the background */
.results::before, .results::after { content: ""; position: absolute; z-index: 0; border: 1px solid var(--line-2); pointer-events: none; }
.results::before { width: clamp(280px, 32vw, 460px); aspect-ratio: 1; border-radius: 32%; top: -8%; left: -7%; transform: rotate(18deg); opacity: 0.7; }
.results::after { width: clamp(220px, 26vw, 380px); aspect-ratio: 1; border-radius: 50%; bottom: -10%; right: 6%; opacity: 0.55; }
.results__art { position: absolute; inset: 0; z-index: 0; pointer-events: none; color: var(--line-2); opacity: 0.7; }
.results__art svg { position: absolute; }
/* uniform outline width across all decorative line-art (non-scaling so SVG
   scale doesn't change the rendered stroke) */
.trustline__art .art, .trustline__art .art *, .results__art, .results__art * { vector-effect: non-scaling-stroke; stroke-width: 1px; }
.results::before, .results::after { border-width: 1px; }
.results__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.results__head h2 { margin-block: 12px 26px; }
.results__stage { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); padding: clamp(30px, 4vw, 48px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.results__track { position: relative; }
.rstat { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease); }
.rstat[data-active] { position: relative; opacity: 1; visibility: visible; }
.rstat__n { font-family: "Grifter", sans-serif; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--brand); margin-bottom: 18px; }
.rstat__n span { display: inline-block; font-size: 0.32em; color: var(--muted); margin-left: 10px; vertical-align: middle; text-transform: uppercase; letter-spacing: 0.1em; }
.rstat figcaption { color: var(--body); font-size: 1.02rem; line-height: 1.6; max-width: 42ch; }
.results__nav { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.results__btn { width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--btn-radius); color: var(--ink); font-size: 1.1rem; display: grid; place-items: center; transition: all 0.2s; }
.results__btn:hover { border-color: var(--brand); color: var(--brand); }
.results__dots { display: flex; gap: 8px; margin-left: auto; }
.results__dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: all 0.2s; }
.results__dots button[data-on] { background: var(--brand); width: 22px; border-radius: 4px; }
@media (max-width: 860px) { .results__inner { grid-template-columns: 1fr; } }

/* ---- Cases (case-study style) -------------------------------------------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.case__num { font-family: "Grifter", sans-serif; font-size: 1.6rem; color: var(--brand); }
.case__tags { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.case h3 { font-size: 1.15rem; margin-bottom: 12px; }
.case p { color: var(--muted); font-size: 0.94rem; margin-bottom: 18px; flex: 1; }
.cases__note { margin-top: 26px; text-align: center; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }

/* footer extras */
.footer__props { list-style: none; margin-top: 18px; display: grid; gap: 7px; }
.footer__props li { color: var(--muted); font-size: 0.88rem; display: flex; gap: 9px; }
.footer__props li::before { content: "→"; color: var(--brand); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { transition: color 0.2s; }
.footer__legal a:hover { color: var(--brand); }

/* ============================================================================
   Hero v2 — left copy + product mockups (dashboard + WhatsApp chat)
   ========================================================================== */
.hero2 { position: relative; overflow: hidden; padding-block: clamp(120px, 16vh, 180px) clamp(56px, 8vh, 104px); }
.hero2__dots {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; color: #c4c9e6;
  background-image: radial-gradient(circle at center, currentColor 1px, transparent 1.6px);
  background-size: 26px 26px; opacity: 0.4;
  -webkit-mask-image: radial-gradient(85% 55% at 72% -5%, #000, transparent 72%);
  mask-image: radial-gradient(85% 55% at 72% -5%, #000, transparent 72%);
}
.hero2 .wrap { max-width: 1240px; }
.hero2__copy { max-width: 720px; }
.hero2__copy .eyebrow { margin-bottom: 18px; }
.hero2 h1.display { font-size: clamp(2.5rem, 5.4vw, 4.6rem); margin-bottom: 22px; }
.hero2__muted { color: var(--muted); }
.hero2__sub { font-size: clamp(1.05rem, 1.4vw, 1.28rem); color: var(--muted); max-width: 56ch; line-height: 1.6; margin-bottom: 30px; }
.hero2__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hero2__note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); }
.hero2__note b { color: var(--brand); font-weight: 700; }
.hero2__stage { position: relative; margin-top: clamp(48px, 7vw, 88px); }

/* window mock */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 32px 64px -32px rgba(10, 12, 40, 0.4), 0 2px 8px rgba(10, 12, 40, 0.06); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #f4f5fa; border-bottom: 1px solid var(--line); }
.mock__dots { display: flex; gap: 7px; }
.mock__dots i { width: 11px; height: 11px; border-radius: 50%; background: #d6d9e6; }
.mock__dots i:nth-child(1) { background: #ff5f57; }
.mock__dots i:nth-child(2) { background: #febc2e; }
.mock__dots i:nth-child(3) { background: #28c840; }
.mock__title { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* dashboard */
.mock--dash { width: min(860px, 92%); margin-left: auto; }
.dash { padding: 26px clamp(20px, 2.6vw, 30px); }
.dash__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.dash__eyebrow { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.dash__big { font-family: "Grifter", sans-serif; font-size: 1.55rem; color: var(--ink); margin-top: 5px; }
.dash__live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: #1a7d4b; background: #e6f6ec; padding: 6px 12px; border-radius: 999px; }
.dash__live i { width: 7px; height: 7px; border-radius: 50%; background: #1a7d4b; animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.dash__thead, .dash__row { display: grid; grid-template-columns: 0.55fr 1.3fr 1fr 0.9fr; align-items: center; gap: 10px; padding: 12px 0; }
.dash__thead { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.dash__thead span:last-child { text-align: right; }
.dash__row { border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.dash__row span:first-child { font-weight: 700; color: var(--ink); }
.dash__row span:nth-child(2) { color: var(--body); }
.dash__row span:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.badge { display: inline-block; font-size: 0.74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge--ship { background: #e8edff; color: #2a3ce0; }
.badge--make { background: #fff3e0; color: #b5730a; }
.badge--paid { background: #e6f6ec; color: #1a7d4b; }
.badge--due { background: #ffeaea; color: #c0392b; }

/* whatsapp chat */
.mock--chat { position: absolute; left: 0; bottom: -26px; width: min(330px, 80%); }
.chat__bar { display: flex; align-items: center; gap: 11px; padding: 12px 14px; background: #128c7e; }
.chat__av { width: 36px; height: 36px; border-radius: 50%; background: #0c6b60; display: grid; place-items: center; flex: none; }
.chat__av svg { width: 20px; height: 20px; }
.chat__who { display: flex; flex-direction: column; line-height: 1.2; color: #fff; }
.chat__who b { font-size: 0.92rem; }
.chat__who i { font-size: 0.74rem; font-style: normal; opacity: 0.85; }
.chat__body { background: #e9e4dc; padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; }
.bubble { max-width: 86%; font-size: 0.84rem; line-height: 1.4; padding: 8px 11px; border-radius: 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); color: #111; }
.bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.bubble--out { align-self: flex-end; background: #d8fdc8; border-top-right-radius: 3px; }
.bubble__t { display: block; text-align: right; font-size: 0.62rem; color: #5a7a52; margin-top: 2px; }

@media (max-width: 820px) {
  .mock--dash { width: 100%; }
  .mock--chat { position: static; width: 100%; margin-top: 18px; }
}

/* ---- scroll-reveal + float (spring physics, vanilla) --------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.8s var(--spring); will-change: transform, opacity; }
.js [data-reveal].in { opacity: 1; transform: none; }
/* staggered children (grids) */
.js [data-reveal="grid"] > * { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease), transform 0.75s var(--spring); }
.js [data-reveal="grid"].in > * { opacity: 1; transform: none; }
.js [data-reveal="grid"].in > *:nth-child(2) { transition-delay: 0.09s; }
.js [data-reveal="grid"].in > *:nth-child(3) { transition-delay: 0.18s; }
.js [data-reveal="grid"].in > *:nth-child(4) { transition-delay: 0.27s; }
.js [data-reveal="grid"] { opacity: 1; transform: none; }   /* grid container itself stays; children animate */
@media (prefers-reduced-motion: no-preference) {
  [data-float] { animation: floatA 7s ease-in-out infinite; }
  [data-float="2"] { animation: floatB 6s ease-in-out infinite; }
}
@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---- WhatsApp · Tovak · Tally accordion ---------------------------------- */
.acc { max-width: 840px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.acc__item { border: 1px solid var(--line); border-radius: var(--radius); transition: background 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; }
.acc__row { display: flex; align-items: center; gap: 22px; width: 100%; text-align: left; padding: 22px 26px; }
.acc__ico { flex: none; width: 68px; height: 68px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); transition: background 0.25s, color 0.25s; }
.acc__ico svg { width: 32px; height: 32px; }
.acc__text { display: flex; flex-direction: column; gap: 5px; }
.acc__title { font-family: "Grifter", sans-serif; text-transform: uppercase; font-size: 1.3rem; line-height: 1; color: var(--ink); }
.acc__sub { color: var(--muted); font-size: 0.98rem; line-height: 1.5; max-width: 54ch; }
.acc__more { display: none; }
.acc__item.acc--on { background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.acc__item.acc--on .acc__row { padding-block: 30px; }
.acc__item.acc--on .acc__ico { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.acc__item.acc--on .acc__more { display: block; text-align: center; padding: 0 26px 24px; color: var(--brand); font-weight: 600; }
.acc__item.acc--on .acc__more:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .acc__row { gap: 16px; padding: 18px; }
  .acc__ico { width: 54px; height: 54px; border-radius: 13px; }
  .acc__ico svg { width: 26px; height: 26px; }
}

/* ---- Trust band: brand-blue background + animated outline art ------------ */
.trustline { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(155deg, #18189e 0%, var(--brand) 52%, #2a2ce0 100%); color: #fff; }
.trustline > .wrap { position: relative; z-index: 2; width: 100%; }
.trustline__h { color: #fff; }
.trustline__art { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; pointer-events: none; }
.trustline__art .art { position: absolute; width: max(108vw, 108vh); height: auto; color: rgba(255, 255, 255, 0.14); opacity: 0; transform: scale(0.92) rotate(-5deg); transition: opacity 0.7s var(--ease), transform 1s var(--spring); }
.trustline:has(.acc[data-active="0"]) .art--0,
.trustline:has(.acc[data-active="1"]) .art--1,
.trustline:has(.acc[data-active="2"]) .art--2,
.trustline:not(:has(.acc[data-active])) .art--0 { opacity: 1; transform: scale(1) rotate(0); }
/* accordion on the blue band */
.trustline .acc__item { border-color: rgba(255, 255, 255, 0.22); }
.trustline .acc__title { color: #fff; }
.trustline .acc__sub { color: rgba(255, 255, 255, 0.7); }
.trustline .acc__ico { background: rgba(255, 255, 255, 0.14); color: #fff; }
.trustline .acc__item.acc--on { background: #fff; border-color: transparent; box-shadow: 0 24px 56px -24px rgba(0, 0, 0, 0.45); }
.trustline .acc__item.acc--on .acc__title { color: var(--ink); }
.trustline .acc__item.acc--on .acc__sub { color: var(--muted); }
.trustline .acc__item.acc--on .acc__ico { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }

/* Big grid footer (.bf) lives in components.css — themed via :root vars below. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
