/* ==========================================================================
   Blogizon — main.css
   Original design system. Scalient-style motion language, Blogizon content.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #080d0d;
  --surface: #111616;
  --text: #ffffff;
  --muted: #899698;
  --lime: #bcea3e;
  --lime-soft: rgba(208, 255, 122, .10);
  --white-6: rgba(255, 255, 255, .06);
  --white-8: rgba(255, 255, 255, .08);
  --ghost: #0d1313;

  --r-card: 20px;
  --r-btn: 10px;
  --r-tile: 12px;
  --r-pill: 999px;

  --container: 1390px;
  --pad: 15px;

  --ease-out-quart: cubic-bezier(.165, .84, .44, 1);
  --ease-swing: cubic-bezier(.34, 1.56, .64, 1);
  --ease-btn: cubic-bezier(.55, .055, .675, .19);

  --pill-white: #ffffff;
  --pill-lime: #bcea3e;
  --pill-orange: #ff6b35;
  --pill-purple: #8b7cf8;
  --pill-gray: #3a4444;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--lime);
  color: #080d0d;
  padding: 12px 18px;
  border-radius: var(--r-btn);
  font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

.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;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: 120px; position: relative; }
.section--tight { padding-block: 88px; }

.grid { display: grid; gap: 20px; }

/* --------------------------------------------------------------------------
   4. Type scale
   -------------------------------------------------------------------------- */
.display {
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.05em;
}
.h2 {
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.h3 { font-size: 34px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.lead { font-size: 18px; color: var(--muted); line-height: 1.5; }
.eyebrow {
  font-size: 16px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--lime);
  border-radius: 2px;
  flex: none;
}
.eyebrow--plain::before { display: none; }

.accent { color: var(--lime); }

/* --------------------------------------------------------------------------
   5. Badge pill
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--lime);
  background: var(--lime-soft);
  color: var(--lime);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 40px;
  line-height: 1;
}
.badge .chip {
  background: #fff;
  color: #080d0d;
  font-weight: 600;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 20px;
}

/* --------------------------------------------------------------------------
   6. Buttons — dual-text-slide + orb hover
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--r-btn);
  padding: 14px 22px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  isolation: isolate;
  white-space: nowrap;
}
.btn__rows {
  position: relative;
  display: inline-grid;
  z-index: 2;
}
.btn__t {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 500ms var(--ease-btn);
}
.btn__t .arrow {
  display: inline-block;
  transition: transform 280ms ease;
}
.btn__t1 { transform: translateY(0); }
.btn__t2 { transform: translateY(200%); }
.btn__orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 224px;
  height: 224px;
  margin-left: -112px;
  margin-top: -112px;
  border-radius: 50%;
  transform: translateY(100%);
  transition: transform 500ms var(--ease-btn);
  z-index: 1;
  pointer-events: none;
}
.btn:hover .btn__t1,
.btn:focus-visible .btn__t1 { transform: translateY(-200%); }
.btn:hover .btn__t2,
.btn:focus-visible .btn__t2 { transform: translateY(0); }
.btn:hover .btn__orb,
.btn:focus-visible .btn__orb { transform: translateY(0); }
.btn:hover .btn__t .arrow,
.btn:focus-visible .btn__t .arrow { transform: translateX(4px); }
/* Down-pointing arrow CTAs nudge down so motion matches the glyph */
.btn:hover .btn__t .arrow--down,
.btn:focus-visible .btn__t .arrow--down { transform: translateY(4px); }

/* variants */
.btn-lime { background: var(--lime); color: #080d0d; }
.btn-lime .btn__orb { background: #080d0d; }
.btn-lime .btn__t2 { color: #ffffff; }

.btn-dark { background: var(--surface); color: #ffffff; border: 1px solid var(--white-8); }
.btn-dark .btn__orb { background: var(--lime); }
.btn-dark .btn__t2 { color: #080d0d; }

.btn-white { background: #ffffff; color: #080d0d; }
.btn-white .btn__orb { background: var(--lime); }
.btn-white .btn__t2 { color: #080d0d; }

.btn--block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   7. Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
}
.nav-bar {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(17, 22, 22, .7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--white-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__word { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  position: relative;
  font-size: 16px;
  color: var(--muted);
  overflow: hidden;
  display: inline-block;
  height: 1.4em;
  line-height: 1.4em;
  transition: color 280ms ease;
}
.nav-link:hover { color: #fff; }
/* letter-stagger (JS wraps each link's text) */
.nav-link .ls-row { display: flex; }
.nav-link .ls-row--dup {
  position: absolute;
  left: 0; top: 100%;
}
.nav-link .ls-char {
  display: inline-block;
  transition: transform 280ms ease;
  white-space: pre;
}
.nav-link:hover .ls-char { transform: translateY(-100%); }
.nav-link .ls-row--dup .ls-char { color: #fff; }

.nav-cta { display: inline-flex; align-items: center; gap: 16px; }
.nav-cta .btn { padding: 11px 18px; font-size: 16px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--white-8);
}
.nav-toggle span {
  position: relative;
  width: 20px; height: 2px;
  background: #fff;
  display: block;
  transition: transform 240ms ease, opacity 240ms ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: #fff;
  transition: transform 240ms ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
/* Morph the hamburger into an X while the overlay is open */
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(8, 13, 13, .98);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 100px 28px 40px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 420ms var(--ease-out-quart), visibility 0s linear 420ms;
}
.mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 460ms var(--ease-out-quart);
}
.mobile-menu a {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.03em;
  padding: 10px 0;
  color: #fff;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 460ms var(--ease-out-quart), transform 460ms var(--ease-out-quart);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-of-type(1) { transition-delay: .08s; }
.mobile-menu.open a:nth-of-type(2) { transition-delay: .16s; }
.mobile-menu.open a:nth-of-type(3) { transition-delay: .24s; }
.mobile-menu.open a:nth-of-type(4) { transition-delay: .32s; }
.mobile-menu .mobile-cta {
  margin-top: 18px;
  font-size: 20px;
  color: var(--lime);
}
.mobile-close {
  position: absolute;
  top: 26px; right: 24px;
  width: 46px; height: 46px;
  border: 1px solid var(--white-8);
  border-radius: 12px;
  font-size: 26px;
  color: #fff;
}
body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 190px;
  padding-bottom: 90px;
  text-align: center;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 1100px; height: 700px;
  left: 50%; top: 6%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(188, 234, 62, .10), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; }
.hero .badge { margin-bottom: 26px; }
.hero h1 { margin: 0 auto 24px; max-width: 14ch; }
.hero h1 .accent { display: inline; }
.hero__sub {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.5;
}
.hero__cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 30px;
}
.hero__niches {
  font-size: 15px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  letter-spacing: .01em;
}

/* hero proof strip */
.hero-strip {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  align-items: end;
  gap: 20px;
}
.hero-shot {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--white-8);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.hero-shot--left { transform: rotate(-1deg); }
.hero-shot--right { transform: rotate(1deg); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }

.hero-minis {
  display: grid;
  gap: 16px;
}
.mini-stat {
  background: #fff;
  color: #080d0d;
  border-radius: 16px;
  padding: 22px 24px;
  text-align: left;
}
.mini-stat .num { font-size: 38px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.mini-stat .cap { font-size: 14px; color: #4a5557; margin-top: 8px; }
.mini-stat--lime { background: var(--lime); }
.mini-stat--dark { background: var(--surface); color: #fff; border: 1px solid var(--white-8); }
.mini-stat--dark .cap { color: var(--muted); }

/* --------------------------------------------------------------------------
   9. Tech marquee
   -------------------------------------------------------------------------- */
.techbar { padding-block: 26px 4px; }
.techbar__eyebrow { text-align: center; margin-bottom: 22px; }
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-x 28s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}
.tech-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 20px;
  padding-inline: 26px;
  white-space: nowrap;
}
.tech-item::after {
  content: "·";
  color: rgba(137, 150, 152, .5);
}
@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   10. Section heading rows
   -------------------------------------------------------------------------- */
.head-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  margin-bottom: 56px;
}
.head-row__title .eyebrow { margin-bottom: 18px; }
.head-row__aside {
  max-width: 320px;
  text-align: left;
}
.head-row__aside .lead { margin-bottom: 20px; }
.head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.head-center .eyebrow { margin-bottom: 16px; }
.head-center .lead { margin-top: 18px; }

/* --------------------------------------------------------------------------
   11. Feature cards (fill-rise + icon swap)
   -------------------------------------------------------------------------- */
.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}
.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 32px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
}
.feature-card .fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0;
  background: #fff;
  transition: height 400ms ease;
  z-index: 0;
}
.feature-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.icon-window {
  width: 34px;
  height: 34px;
  overflow: hidden;
  position: relative;
}
.icon-window svg { width: 34px; height: 34px; display: block; transition: transform 400ms ease; }
.icon-window .ic-dark { position: absolute; left: 0; top: 100px; }
.feature-card__title {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.12;
  margin-top: 20px;
  color: #fff;
  transition: color 400ms ease;
}
.feature-card__desc {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 24px;
  transition: color 400ms ease;
}
.feature-card:hover .fill { height: 100%; }
.feature-card:hover .icon-window svg { transform: translateY(-100px); }
.feature-card:hover .feature-card__title { color: #080d0d; }
.feature-card:hover .feature-card__desc { color: #4a5557; }

/* --------------------------------------------------------------------------
   12. How it works steps
   -------------------------------------------------------------------------- */
.steps-grid { grid-template-columns: repeat(4, 1fr); }
.step-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--white-6);
}
.step-card__num {
  font-size: 60px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: -.04em;
  line-height: 1;
}
.step-card__title {
  font-size: 22px;
  font-weight: 600;
  margin-top: 28px;
  letter-spacing: -.02em;
}
.step-card__text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   13. Ghost watermark
   -------------------------------------------------------------------------- */
.ghost-word {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(120px, 22vw, 330px);
  font-weight: 700;
  color: var(--ghost);
  letter-spacing: -.04em;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}
.section--ghost { overflow: hidden; }
.section--ghost > .container { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   14. Pricing
   -------------------------------------------------------------------------- */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white-6);
  border-radius: var(--r-btn);
  padding: 3px;
  margin: 0 auto 50px;
}
.pricing-toggle button {
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  transition: background 240ms ease, color 240ms ease;
}
.pricing-toggle button[aria-pressed="true"] {
  background: var(--lime);
  color: #080d0d;
}
.toggle-save {
  margin-left: 6px;
  font-size: 13px;
  color: var(--lime);
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.price-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 30px 30px 40px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--white-6);
}
.price-card .fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0;
  background: #fff;
  transition: height 400ms ease;
  z-index: 0;
}
.price-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }
.price-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.icon-tile {
  width: 62px; height: 62px;
  border-radius: var(--r-tile);
  background: var(--white-6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background 400ms ease;
}
.icon-tile svg { width: 28px; height: 28px; }
.price-card__price { text-align: right; }
.price-card__amount {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  transition: color 400ms ease;
}
.price-card__per {
  font-size: 16px;
  color: var(--muted);
  margin-top: 6px;
  transition: color 400ms ease;
}
.price-card__name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-top: 30px;
  transition: color 400ms ease;
}
.price-card__desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 10px;
  transition: color 400ms ease;
}
.price-card .btn { margin-top: 26px; }
.price-card__featlabel {
  font-size: 20px;
  font-weight: 600;
  margin-top: 30px;
  transition: color 400ms ease;
}
.feat-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.4;
  transition: color 400ms ease;
}
.feat-list .tick {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: border-color 400ms ease, color 400ms ease;
}
.feat-list .tick svg { width: 11px; height: 11px; }

/* fill-rise: white cards */
.price-card:hover .fill { height: 100%; }
.price-card:hover .price-card__amount,
.price-card:hover .price-card__per,
.price-card:hover .price-card__name,
.price-card:hover .price-card__desc,
.price-card:hover .price-card__featlabel,
.price-card:hover .feat-list li { color: #080d0d; }
.price-card:hover .price-card__per,
.price-card:hover .price-card__desc,
.price-card:hover .feat-list li { color: #4a5557; }
.price-card:hover .feat-list .tick { border-color: #080d0d; color: #080d0d; }
.price-card:hover .icon-tile { background: rgba(8, 13, 13, .08); }

/* featured / middle card */
.price-card--featured {
  border: 1px solid rgba(188, 234, 62, .25);
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(188, 234, 62, .35), transparent 60%),
    var(--surface);
}
.price-card--featured .fill { background: var(--lime); }
.price-card--featured:hover .feat-list .tick { border-color: #080d0d; }
.price-tag {
  position: absolute;
  /* centered in the empty gap between the icon tile (left) and the price
     (right) — the card has overflow:hidden, so it cannot straddle the edge */
  top: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  background: var(--lime);
  color: #080d0d;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.price-card--featured:hover .price-tag { background: #080d0d; color: var(--lime); }
/* the featured card's lime button would vanish against the lime fill-rise —
   invert it to dark while the card is hovered */
.price-card--featured:hover .btn-lime { background: #080d0d; }
.price-card--featured:hover .btn-lime .btn__t { color: #fff; }
.price-card--featured:hover .btn-lime .btn__orb { background: rgba(255, 255, 255, .18); }

/* --------------------------------------------------------------------------
   15. Swing-in pills
   -------------------------------------------------------------------------- */
.swing-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 14px;
  justify-content: center;
  margin-top: 64px;
}
.swing-pill {
  font-size: 17px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transform: translateY(-500px);
  /* invisible until triggered — otherwise the pills hang 500px up,
     overlapping the pricing cards above */
  opacity: 0;
}
.swing-pill.in {
  transform: translateY(0) rotate(var(--rot, 0deg));
  opacity: 1;
  transition: transform 400ms var(--ease-swing), opacity 120ms linear;
}
.swing-pill--white { background: var(--pill-white); color: #080d0d; }
.swing-pill--lime { background: var(--pill-lime); color: #080d0d; }
.swing-pill--orange { background: var(--pill-orange); color: #fff; }
.swing-pill--purple { background: var(--pill-purple); color: #fff; }
.swing-pill--gray { background: var(--pill-gray); color: #fff; }

/* --------------------------------------------------------------------------
   16. Proof / stat cards (odometer)
   -------------------------------------------------------------------------- */
.stat-grid { grid-template-columns: repeat(4, 1fr); }
.stat-card {
  border-radius: var(--r-card);
  padding: 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-card--lime { background: var(--lime); color: #080d0d; }
.stat-card--white { background: #fff; color: #080d0d; }
.stat-card--dark { background: var(--surface); color: #fff; border: 1px solid var(--white-6); }
.stat-card__num {
  font-size: 96px;
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1;
  display: flex;
  align-items: flex-start;
}
.stat-card__unit {
  font-size: 34px;
  font-weight: 600;
  margin-left: 4px;
  margin-top: 6px;
  letter-spacing: -.02em;
}
.stat-card__cap { font-size: 16px; margin-top: 18px; opacity: .9; }
.stat-card--white .stat-card__cap,
.stat-card--lime .stat-card__cap { color: #4a5557; }

/* odometer digit roller */
.odo {
  display: inline-flex;
  align-items: flex-start;
}
.odo__digit {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  line-height: 1;
}
.odo__col {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}
.odo.run .odo__col {
  transition: transform 1600ms var(--ease-out-quart);
}
.odo__col span { height: 1em; line-height: 1; display: block; }
/* Match static glyphs (".", "+") to the digit column box so they sit on the
   same baseline as the rolling digits instead of drifting up/down. The digit
   boxes are 1em tall and aligned to flex-start; give the static glyph the same
   box so it shares that edge. */
.odo__static {
  display: inline-block;
  height: 1em;
  line-height: 1;
  align-self: flex-start;
}

/* proof screenshots */
.proof-shots {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
}
.proof-fig { margin: 0; }
.proof-fig figure { margin: 0; }
.shot-card {
  background: var(--surface);
  border: 1px solid var(--white-6);
  border-radius: var(--r-card);
  overflow: hidden;
}
.shot-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--white-6);
  font-size: 13px;
  color: var(--muted);
}
.shot-chrome .dots { display: inline-flex; gap: 6px; }
.shot-chrome .dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: block;
}
.shot-card img { width: 100%; height: auto; display: block; background: #0a0f0f; }
.proof-cap {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  padding-inline: 4px;
}
.proof-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   17. Standard equipment checklist
   -------------------------------------------------------------------------- */
.equip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
}
.equip li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--white-6);
}
.equip .tick {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--lime-soft);
  border: 1px solid var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.equip .tick svg { width: 13px; height: 13px; }

/* --------------------------------------------------------------------------
   18. Testimonial
   -------------------------------------------------------------------------- */
.quote {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.quote blockquote em { color: var(--lime); font-style: italic; }
.quote figcaption {
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
}
.quote .qmark {
  font-size: 60px;
  color: var(--lime);
  line-height: .6;
  margin-bottom: 24px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   19. FAQ accordion
   -------------------------------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.faq-list { display: grid; gap: 16px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--white-6);
  border-radius: var(--r-card);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 24px 26px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #fff;
}
.faq-plus {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
  transition: transform 320ms var(--ease-out-quart);
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  background: var(--lime);
  border-radius: 2px;
}
.faq-plus::before { left: 50%; top: 4px; width: 2px; height: 18px; transform: translateX(-50%); }
.faq-plus::after { top: 50%; left: 4px; height: 2px; width: 18px; transform: translateY(-50%); }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
}
.faq-a__inner {
  padding: 0 26px 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   20. CTA marquee ribbons
   -------------------------------------------------------------------------- */
.ribbons {
  position: relative;
  overflow: hidden;
  height: 230px;
}
.ribbon {
  position: absolute;
  left: -10%;
  width: 120%;
  padding-block: 18px;
}
.ribbon--dark {
  background: var(--surface);
  color: #fff;
  transform: rotate(-3deg);
  top: 50%;
  margin-top: -76px;
  z-index: 2;
  border-block: 1px solid var(--white-8);
}
.ribbon--lime {
  background: var(--lime);
  color: #080d0d;
  transform: rotate(2.5deg);
  top: 50%;
  margin-top: -4px;
  z-index: 1;
}
.ribbon .marquee__track { animation-duration: 22s; }
.ribbon--lime .marquee__track { animation-direction: reverse; }
.ribbon__item {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -.02em;
  padding-inline: 30px;
  white-space: nowrap;
}
.ribbon__item .star { color: currentColor; opacity: .7; }

.cta-band-section { padding-block: 120px 70px; }
.cta-band { text-align: center; }
.cta-band h2 { max-width: 16ch; margin: 0 auto 18px; }
.cta-band p { max-width: 520px; margin: 0 auto 30px; color: var(--muted); font-size: 18px; }
.cta-band p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--white-8);
  padding-top: 80px;
  padding-bottom: 36px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--white-8);
}
.footer-top h3 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -.03em;
}
.footer-top__cta { display: inline-flex; align-items: center; gap: 18px; }
.footer-top__cta a.muted-link { color: var(--muted); font-size: 16px; }
.footer-top__cta a.muted-link:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-block: 56px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a {
  color: var(--muted);
  font-size: 16px;
  transition: color 240ms ease;
}
.footer-col a:hover { color: #fff; }
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--white-8);
  color: var(--muted);
  font-size: 14px;
}
.footer-base .brand__mark { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   22. Inner page hero
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 70px;
  overflow: hidden;
}
.page-hero .badge { margin-bottom: 24px; }
.page-hero h1 { max-width: 16ch; }
.page-hero__intro {
  max-width: 640px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   23. Reveal classes
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(100px);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1000ms var(--ease-out-quart), transform 1000ms var(--ease-out-quart);
}
.reveal[data-delay="1"].in { transition-delay: 100ms; }
.reveal[data-delay="2"].in { transition-delay: 200ms; }
.reveal[data-delay="3"].in { transition-delay: 300ms; }

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  .section { padding-block: 96px; }
  .nav-menu, .nav-cta .signin, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { gap: 0; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-shots { grid-template-columns: 1fr 1fr; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-shot--left, .hero-shot--right { transform: none; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .head-row { grid-template-columns: 1fr; align-items: start; }
  .head-row__aside { max-width: none; }
  .display { font-size: 48px; }
}

@media (max-width: 767px) {
  .section { padding-block: 72px; }
  .hero { padding-top: 150px; }
  .display { font-size: 40px; }
  .h2 { font-size: 38px; }
  .h3, .feature-card__title { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .equip { grid-template-columns: 1fr; }
  .proof-shots { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card__num { font-size: 72px; }
  .ribbon__item { font-size: 30px; }
  .ribbons { height: 180px; }
  .cta-band-section { padding-block: 80px 50px; }
  .hero__cta { width: 100%; }
  .footer-top__cta { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 320px; }
}

/* --------------------------------------------------------------------------
   25. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .swing-pill { transform: none !important; opacity: 1 !important; }
  .swing-pill.in { transform: rotate(var(--rot, 0deg)) !important; }
  .marquee__track { animation: none !important; transform: none !important; }
  .btn__t1, .btn__t2, .btn__orb { transition: none !important; }
  .odo__col { transition: none !important; }
  .icon-window svg { transition: none; }
}

/* === about.html ===
   Appended by the About page builder. Append-only — do not modify rules above.
   -------------------------------------------------------------------------- */

/* Gradient highlight on the hero phrase (about.md: "the niche web." via <b>) */
.page-hero h1 b.accent {
  font-weight: inherit;
  background: linear-gradient(92deg, var(--lime) 0%, #d8ff8c 55%, var(--pill-purple) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--lime); /* fallback if background-clip:text unsupported */
}

/* Two-column prose block: sticky heading on the left, prose on the right */
.prose-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.prose-block__head { position: sticky; top: 110px; }
.prose-block__head .eyebrow { margin-bottom: 18px; }
.prose-block__body { max-width: 720px; }

.prose-p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
}
.prose-p + .prose-p { margin-top: 22px; }
.prose-p em { color: var(--text); font-style: italic; }
.prose-p--lead {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -.01em;
}
.prose-link {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 240ms ease;
}
.prose-link:hover { opacity: .75; }

/* "What the engine does" — numbered prose list */
.engine-list { display: grid; gap: 0; }
.engine-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--white-6);
}
.engine-item:last-child { border-bottom: 1px solid var(--white-6); }
.engine-item__num {
  font-size: 22px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: -.02em;
  line-height: 1.25;
}
.engine-item__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text);
}
.engine-item__text p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}

/* Founder card */
.founder-card {
  display: flex;
  align-items: center;
  gap: 26px;
  background: var(--surface);
  border: 1px solid var(--white-6);
  border-radius: var(--r-card);
  padding: 30px;
  max-width: 620px;
}
.founder-card__avatar {
  flex: none;
  width: 92px;
  height: 92px;
  border-radius: var(--r-tile);
  overflow: hidden;
  background: var(--ghost);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.founder-card__avatar svg { width: 100%; height: 100%; display: block; }
.founder-card__name {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.founder-card__role {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
  max-width: 38ch;
}
.founder-card__email {
  display: inline-block;
  margin-top: 14px;
  font-size: 16px;
  color: var(--lime);
  transition: opacity 240ms ease;
}
.founder-card__email:hover { opacity: .75; color: var(--lime); }

/* Responsive — About prose layout */
@media (max-width: 991px) {
  .prose-block { grid-template-columns: 1fr; gap: 28px; }
  .prose-block__head { position: static; top: auto; }
  .prose-block__body { max-width: none; }
}
@media (max-width: 767px) {
  .engine-item { grid-template-columns: 1fr; gap: 8px; }
  .engine-item__num { font-size: 18px; }
  .founder-card { flex-direction: column; align-items: flex-start; gap: 20px; }
  .founder-card__avatar { width: 80px; height: 80px; }
}

/* === privacy.html === */
/* Legal page hero — title + effective date */
.legal-hero { padding-bottom: 40px; }
.legal-hero__date {
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: .01em;
}

/* Legal prose column (760px) */
.legal { padding-top: 30px; }
.prose {
  max-width: 760px;
  margin-inline: auto;
}
.prose__intro {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
}
.prose__block { margin-top: 48px; }
.prose__block h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.prose__list {
  display: grid;
  gap: 16px;
}
.prose__list li {
  position: relative;
  padding-left: 26px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.prose__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 2px;
}
.prose__list strong { color: var(--text); font-weight: 600; }
.prose em { font-style: italic; }
.prose__link {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 240ms ease;
}
.prose__link:hover { opacity: .78; }

@media (max-width: 767px) {
  .prose__intro { font-size: 18px; }
  .prose__block { margin-top: 40px; }
  .prose__block h2 { font-size: 24px; }
}

/* === terms.html === */
/* Legal page: inner hero tweak + 760px prose column. Self-contained
   (terms-namespaced) so this page does not depend on other agents' rules. */
.page-hero--legal { padding-bottom: 40px; }
.page-hero--legal .page-hero__intro {
  margin-top: 22px;
  font-size: 16px;
  color: var(--muted);
  letter-spacing: .01em;
}

.legal { padding-top: 30px; }
.legal__prose {
  max-width: 760px;
}
.legal__intro {
  font-size: 19px;
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -.01em;
  margin-bottom: 48px;
}
.legal__block { margin-top: 48px; }
.legal__block:first-of-type { margin-top: 0; }
.legal__h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.legal__prose p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}
.legal__list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.legal__list li {
  position: relative;
  padding-left: 24px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}
.legal__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--lime);
}
.legal__link {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 200ms ease;
}
.legal__link:hover { opacity: .75; }

@media (max-width: 767px) {
  .legal__h2 { font-size: 24px; }
  .legal__intro { font-size: 18px; margin-bottom: 40px; }
  .legal__block { margin-top: 40px; }
}

/* === contact.html === */
.contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--white-6);
  border-radius: var(--r-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

/* founder card */
.contact-card__avatar {
  width: 62px;
  height: 62px;
  border-radius: var(--r-tile);
  background: var(--white-6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-bottom: 28px;
}
.contact-card__avatar img { width: 34px; height: 34px; }

/* founder card email heading */
.contact-card__email {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15;
  word-break: break-word;
}
.contact-card__email a { transition: color 240ms ease; }
.contact-card__email a:hover { color: var(--lime); }

.contact-card__role {
  font-size: 16px;
  color: var(--muted);
  margin-top: 12px;
}
.contact-card__link {
  margin-top: auto;
  padding-top: 30px;
  font-size: 18px;
  font-weight: 600;
}
.contact-card__link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
}
.contact-card__link a .arrow { transition: transform 240ms ease; }
.contact-card__link a:hover .arrow { transform: translateX(4px); }

/* big lime mailto card */
.contact-card--cta {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(188, 234, 62, .16), transparent 60%),
    var(--surface);
  border-color: rgba(188, 234, 62, .25);
  justify-content: space-between;
  gap: 36px;
}
.contact-card__eyebrow { margin-bottom: 18px; }
.contact-card__eyebrow::before { display: none; }
.contact-card__heading {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  max-width: 14ch;
}
.contact-card--cta .btn {
  font-size: clamp(16px, 1.6vw, 18px);
  padding-block: 16px;
}
/* Allow the long email CTA label to wrap instead of being clipped on
   narrow screens (the email string can exceed a 320–360px button). */
.contact-card--cta .btn { white-space: normal; }
.contact-card--cta .btn__t { text-align: center; flex-wrap: wrap; justify-content: center; }

/* prose block */
.contact-prose { max-width: 760px; }
.contact-prose .h2 { margin-bottom: 22px; }
.contact-prose__lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.5;
}
.contact-prose__list {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}
.contact-prose__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 18px;
  color: var(--text);
  line-height: 1.45;
}
.contact-prose__list .tick {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--lime-soft);
  border: 1px solid var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.contact-prose__list .tick svg { width: 13px; height: 13px; }
.contact-prose__signin {
  margin-top: 30px;
  font-size: 18px;
  color: var(--muted);
}
.contact-prose__signin a {
  color: var(--lime);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 240ms ease;
}
.contact-prose__signin a:hover { color: #fff; }

@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 30px; }
  .contact-prose__list li { font-size: 17px; }
}
