/* ─── SkyRender landing — design tokens & base ─────────────────────────── */
:root {
  --ink: #0B1020;
  --ink-2: #1A2138;
  --ink-3: #2A3354;
  --paper: #FAFAF7;
  --paper-2: #F2F1EC;
  --line: #E3E2DC;
  --line-dark: rgba(255,255,255,0.10);
  --muted: #6E7388;
  --muted-on-dark: #98A0B8;
  --brand: #3B5BFF;
  --brand-2: #6A86FF;
  --brand-soft: #E8EDFF;
  --copper: #C98A5E;
  --copper-soft: #F5E9DC;
  --green: #1F8A5B;
  --shadow: 0 1px 0 rgba(15,20,40,0.04), 0 14px 40px -18px rgba(15,20,40,0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
}

/* Selection */
::selection { background: var(--brand); color: white; }

/* Layout container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ─── Typography ──────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 6.5vw, 84px); letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.03em; font-weight: 500; }
h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; }
h4 { font-size: 18px; font-weight: 500; }

.serif-i {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.mono { font-family: 'Geist Mono', ui-monospace, 'JetBrains Mono', monospace; }

p { margin: 0; }

/* Eyebrow / section label */
.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow.on-dark { color: var(--muted-on-dark); }

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 8px 24px -8px rgba(59,91,255,0.55);
}
.btn-primary:hover { background: #2F4DEB; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(15,20,40,0.18);
}
.btn-ghost:hover { background: rgba(15,20,40,0.04); }

.btn-ghost.on-dark { color: white; border-color: rgba(255,255,255,0.22); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,0.06); }

.btn-lg { height: 58px; padding: 0 28px; font-size: 17px; }

.arrow { display: inline-block; transform: translateY(-1px); }

/* ─── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: relative;
  z-index: 10;
  padding: 22px 0;
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: white; text-decoration: none;
}
.brand img {
  height: 36px;
  width: auto;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-family: 'Geist', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: white;
}
.brand-text__sub {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: -0.005em;
}

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none; font-size: 15px;
  transition: color .15s ease;
}
.nav-links a:hover { color: white; }

.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { height: 40px; padding: 0 16px; font-size: 14px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* Hero badge pill */
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  width: max-content;
  max-width: 100%;
}
.hero-pill-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: #38D08D;
  box-shadow: 0 0 0 3px rgba(56,208,141,0.18);
  animation: hero-pulse 2.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes hero-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(56,208,141,0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(56,208,141,0); }
}
.hero-pill-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.16); }
.hero-pill-link {
  color: white; text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px;
}
.hero-pill-link:hover { color: var(--brand-2); }

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }

/* ─── Hero ────────────────────────────────────────────────────────────── */
.hero {
  background: radial-gradient(1100px 700px at 78% -10%, rgba(59,91,255,0.30) 0%, rgba(59,91,255,0) 60%),
              radial-gradient(900px 600px at 10% 100%, rgba(106,134,255,0.15) 0%, rgba(106,134,255,0) 60%),
              linear-gradient(180deg, #0B1020 0%, #0E1430 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding-bottom: 110px;
}

/* Canvas-driven wave grid covers the entire hero — uniformly faint, no
   radial mask so the grid stays visible even in the corners. Wave physics
   in JS distorts the lines around the cursor (organic ripple feel). */
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Soft mouse-following glow — cloudy blue light that drifts with the cursor.
   Defaults centered when no mouse activity. JS sets --mx/--my on .hero (so
   both this and .hero::before can read them via inheritance). */
.hero-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  transform: translate(-50%, -50%) translate3d(var(--mx, 0px), var(--my, 0px), 0);
  background: radial-gradient(
    circle,
    rgba(106, 134, 255, 0.18) 0%,
    rgba(106, 134, 255, 0.09) 25%,
    rgba(59, 91, 255, 0.035) 50%,
    transparent 72%
  );
  filter: blur(72px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;        /* sits above the wave grid (z-index 0) */
  will-change: transform;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hero > .container { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .hero::before,
  .mock-window { transition: none; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 100px;
  position: relative;
}
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; padding-top: 64px; }
}

/* Hero stacks at 1040 — keep the mock card at a desktop-like width
   instead of spanning the full viewport, otherwise the dashboard mock
   feels enormous on iPad/Surface widths (768–1040). */
@media (max-width: 1040px) {
  .hero-mock { max-width: 560px; width: 100%; margin-left: auto; margin-right: auto; align-self: center; }
  .hero-copy { max-width: 640px; margin-left: auto; margin-right: auto; }
}

.hero h1 .accent { color: var(--brand-2); }
.hero h1 em { font-style: normal; }
.hero h1 .strike {
  position: relative;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.hero h1 .strike::after {
  content: '';
  position: absolute; left: -2%; right: -2%; top: 54%;
  height: 4px; background: var(--copper); border-radius: 2px;
  transform: rotate(-2.5deg);
}

.hero-sub {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
}

.hero-cta-row {
  margin-top: 38px;
  display: flex; gap: 14px; flex-wrap: wrap;
}

.hero-trust {
  margin-top: 38px;
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}
.hero-trust .dots { display: flex; gap: 4px; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.4); }

/* Sweep shine — metallic band passes left→right over the trust text.
   Sequential timing: first span shines, then second, then ~1.2s rest, loop.
   Each span has 6s cycle; sweep occupies 40% (2.4s), hold occupies 60% (3.6s).
   Second span's animation-delay = first delay + sweep duration so it starts
   exactly when the first finishes. .dots excluded (visual separator). */
.hero-trust > span:not(.dots) {
  background: linear-gradient(
    100deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.55) 40%,
    rgba(255,255,255,1.00) 50%,
    rgba(255,255,255,0.55) 60%,
    rgba(255,255,255,0.55) 100%
  );
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hero-trust-shine 6s ease-in-out infinite;
  animation-delay: 1.2s;
}
.hero-trust > span:not(.dots):last-of-type {
  animation-delay: 3.6s;  /* 1.2 + 2.4 (sweep duration) — starts when first ends */
}
@keyframes hero-trust-shine {
  0%   { background-position: 100% 0; }
  40%  { background-position: -20% 0; }
  100% { background-position: -20% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-trust > span:not(.dots) {
    animation: none;
    background: none;
    -webkit-text-fill-color: rgba(255,255,255,0.55);
    color: rgba(255,255,255,0.55);
  }
}

.hero-strip {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  color: rgba(255,255,255,0.55);
  font-family: 'Geist Mono', monospace; font-size: 12px;
  letter-spacing: 0.04em;
}
.hero-strip span { display: inline-flex; align-items: center; gap: 8px; }
.hero-strip span::before { content: '·'; color: rgba(255,255,255,0.3); }
.hero-strip span:first-child::before { display: none; }

/* Hero right — the "receipt" mock */
.hero-mock {
  position: relative;
}
.mock-window {
  background: white;
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center;
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 350ms ease-out;
  will-change: transform;
}
.hero-mock:hover .mock-window {
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.12);
}
.mock-titlebar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #F4F4F0;
  border-bottom: 1px solid #E8E7E1;
  font-size: 12px; color: #555;
}
.mock-titlebar .tl-dots { display: flex; gap: 6px; }
.mock-titlebar .tl-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mock-titlebar .tl-dots i:nth-child(1) { background: #FF5F57; }
.mock-titlebar .tl-dots i:nth-child(2) { background: #FEBC2E; }
.mock-titlebar .tl-dots i:nth-child(3) { background: #28C840; }
.mock-titlebar .tl-title {
  margin-left: 6px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: #0B1020;
}
.mock-titlebar .tl-title .mini-mark {
  width: 14px; height: 14px; border-radius: 3px;
  background: linear-gradient(140deg, #6A86FF, #3B5BFF);
}
.mock-titlebar .conn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  color: #1F8A5B; font-size: 11px;
}
.mock-titlebar .conn::before {
  content:''; width: 7px; height: 7px; border-radius: 50%; background: #1F8A5B;
  box-shadow: 0 0 0 3px rgba(31,138,91,0.18);
}

.mock-tabs {
  display: flex; gap: 22px; padding: 12px 18px 0;
  border-bottom: 1px solid #EFEEE9;
  font-size: 13px; color: #6E7388;
}
.mock-tabs span { padding-bottom: 12px; position: relative; }
.mock-tabs .active { color: #3B5BFF; font-weight: 500; }
.mock-tabs .active::after {
  content:''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: #3B5BFF; border-radius: 2px;
}

.mock-body { padding: 18px; }
.mock-toolbar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.mock-toolbar .pill {
  height: 28px; padding: 0 12px; border-radius: 6px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.03em;
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid transparent;
}
.mock-toolbar .pill.blue { background: #EEF2FF; color: #3B5BFF; }
.mock-toolbar .pill.orange { background: #FFF1E1; color: #C95E1A; }
.mock-toolbar .pill.ghost { background: white; color: #0B1020; border-color: #E3E2DC; }
.mock-toolbar .balance {
  display: inline-flex; align-items: center; gap: 6px; color: #0B1020;
  font-family: 'Geist Mono', monospace; font-size: 12px;
}

.mock-row {
  display: grid;
  grid-template-columns: 1.5fr 1.3fr 0.8fr 0.7fr;
  gap: 14px;
  padding: 14px 14px;
  border: 1px solid #ECEBE5;
  border-radius: 10px;
  align-items: center;
  background: #FBFBF8;
}
.mock-row + .mock-row { margin-top: 8px; }
.mock-row .jobname { font-size: 13px; font-weight: 500; color: #0B1020; }
.mock-row .jobname .icon {
  display: inline-block; width: 14px; height: 14px;
  background: #FF8000; border-radius: 3px; margin-right: 6px; vertical-align: -2px;
}
.mock-row .progress-wrap { font-size: 11px; color: #6E7388; }
.mock-row .progress-bar {
  margin-top: 5px; height: 5px; background: #E8E7E1; border-radius: 4px; overflow: hidden;
}
.mock-row .progress-bar i { display: block; height: 100%; background: #1F8A5B; border-radius: 4px; }
.mock-row .cost { font-family: 'Geist Mono', monospace; font-size: 13px; color: #3B5BFF; font-weight: 500; }
.mock-row .status { font-size: 12px; color: #1F8A5B; display: inline-flex; align-items: center; gap: 6px;}
.mock-row .status::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: #1F8A5B; }

/* Callout on the mock */
.mock-callout {
  position: absolute;
  right: -8px;
  top: 58%;
  transform: translateY(-50%);
  background: var(--copper-soft);
  color: #6B3F1E;
  border: 1px solid #E8C9A8;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  width: 220px;
  box-shadow: 0 18px 30px -16px rgba(0,0,0,0.4);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  line-height: 1.3;
}
.mock-callout b { font-family: 'Geist Mono', monospace; font-style: normal; font-weight: 500; color: #0B1020; }
.mock-callout .arrow-line {
  position: absolute; left: -34px; top: 50%;
  width: 34px; height: 1px; background: #C98A5E;
}
.mock-callout .arrow-line::before {
  content:''; position: absolute; left: 0; top: -3px;
  width: 7px; height: 7px; border-left: 1px solid #C98A5E; border-bottom: 1px solid #C98A5E;
  transform: rotate(45deg);
}
@media (max-width: 1180px) {
  .mock-callout {
    position: static;
    width: auto;
    transform: none;
    margin-top: 18px;
    font-size: 13px;
  }
  .mock-callout .arrow-line { display: none; }
}/* Quote ticket below the mock */
.quote-ticket {
  position: absolute;
  left: -28px;
  bottom: -28px;
  background: #0F1430;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
  display: grid; grid-template-columns: auto auto; column-gap: 32px; row-gap: 4px;
}
.quote-ticket .lbl { color: rgba(255,255,255,0.5); letter-spacing: 0.06em; }
.quote-ticket .val { color: white; }
.quote-ticket .val.match { color: #38D08D; display: inline-flex; align-items: center; gap: 6px; }
.quote-ticket .val.match::before { content:'✓'; }
@media (max-width: 1180px) {
  .quote-ticket { position: relative; left: 0; bottom: 0; margin-top: 24px; }
}

/* ─── Section ──────────────────────────────────────────────────────────── */
.section { padding: 120px 0; }
.section.tight { padding: 88px 0; }
.section.dark { background: var(--ink); color: white; position: relative; overflow: hidden; }
.section.dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(900px 500px at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.section.dark > .container { position: relative; z-index: 1; }
.section.paper-2 { background: var(--paper-2); }

/* ─── Section background images (Why + Software) ─────────────────────
   Image at ~50% effective opacity by layering a half-transparent
   section-color overlay on top. Sits BENEATH .warm pseudo decorations
   (halo + grid) so the photo shows through subtly. */
.section.warm#why {
  background:
    linear-gradient(rgba(247,247,245,0.95), rgba(247,247,245,0.5)),
    url('https://static.wixstatic.com/media/2f6170_9cc31c66292f40a397541bcefd7c88a8~mv2.jpg') center / cover no-repeat,
    #F7F7F5;
}
.section#software {
  background:
    linear-gradient(rgba(250,250,247,0.95), rgba(250,250,247,0.5)),
    url('https://static.wixstatic.com/media/2f6170_1ad5de537ac84e19b344c299d1bf5181~mv2.jpg') center / cover no-repeat,
    var(--paper);
}

/* Warm light section (matches uploaded v3 hero background — off-white + soft blue halo + faint grid) */
.section.warm {
  background: #F7F7F5;
  position: relative;
  overflow: hidden;
}
.section.warm::before {
  content: '';
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 70%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(37,99,235,0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(99,102,241,0.08), transparent 60%);
}
.section.warm::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(to right, rgba(10,14,30,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,14,30,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center top, black 15%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 15%, transparent 65%);
}
.section.warm > .container { position: relative; z-index: 1; }

/* Image-bg section — for "Why" section over hero render */
.section.image-bg {
  position: relative;
  color: white;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8,11,24,0.92) 0%, rgba(8,11,24,0.78) 30%, rgba(8,11,24,0.78) 70%, rgba(8,11,24,0.94) 100%),
    url('assets/why-bg.jpg') center / cover no-repeat;
  background-attachment: scroll;
}
.section.image-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(8,11,24,0.35), transparent 70%),
    radial-gradient(ellipse 80% 60% at 80% 80%, rgba(59,91,255,0.18), transparent 60%);
}
.section.image-bg > .container { position: relative; z-index: 1; }
.section.image-bg .eyebrow { color: rgba(255,255,255,0.7); }
.section.image-bg .section-head h2 { color: white; }
.section.image-bg .section-head p { color: rgba(255,255,255,0.78); }

/* Pillar cards on image-bg — glass treatment */
.section.image-bg .pillar {
  background: rgba(11,16,32,0.6);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: white;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.55);
}
.section.image-bg .pillar:hover {
  background: rgba(11,16,32,0.72);
  box-shadow: 0 38px 70px -25px rgba(0,0,0,0.7);
}
.section.image-bg .pillar .num { color: rgba(255,255,255,0.55); }
.section.image-bg .pillar h3 { color: white; }
.section.image-bg .pillar p { color: rgba(255,255,255,0.78); }
.section.image-bg .pillar.featured {
  background: linear-gradient(150deg, rgba(59,91,255,0.55) 0%, rgba(27,54,204,0.55) 100%);
  border-color: rgba(106,134,255,0.45);
}
.section.image-bg .pillar.featured .num { color: rgba(255,255,255,0.7); }
.section.image-bg .pillar.featured p { color: rgba(255,255,255,0.88); }

/* Inside pillar visuals on dark */
.section.image-bg .viz-receipts .r {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
}
.section.image-bg .viz-receipts .r .lbl { color: rgba(255,255,255,0.55); }
.section.image-bg .viz-receipts .r .v { color: white; }
.section.image-bg .viz-receipts .r .meta { color: rgba(255,255,255,0.55); }
.section.image-bg .viz-receipts .r.match {
  background: rgba(56,208,141,0.12);
  border-color: rgba(56,208,141,0.4);
}
.section.image-bg .viz-receipts .r.match .v { color: #38D08D; }
.section.image-bg .viz-app {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}
.section.image-bg .viz-app .tabs { color: rgba(255,255,255,0.55); border-bottom-color: rgba(255,255,255,0.12); }
.section.image-bg .viz-app .tabs .a { color: var(--brand-2); }
.section.image-bg .viz-app .tabs .a::after { background: var(--brand-2); }
.section.image-bg .viz-app .l { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }

.section-head { max-width: 760px; margin-bottom: 72px; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head p {
  margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 620px;
}
.section.dark .section-head p { color: var(--muted-on-dark); }

/* ─── Why SkyRender ────────────────────────────────────────────────────── */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  will-change: transform;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 1px 0 rgba(15,20,40,0.04), 0 10px 30px -16px rgba(15,20,40,0.18);
  transition: transform 2000ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}
.pillar:hover { transform: scale(1.03); box-shadow: 0 1px 0 rgba(15,20,40,0.04), 0 22px 50px -18px rgba(15,20,40,0.3); }
.pillar .num {
  font-family: 'Geist Mono', monospace; font-size: 12px;
  color: var(--muted);
}
.pillar h3 { letter-spacing: -0.02em; }
.pillar p { color: var(--muted); }
.pillar .visual {
  margin-top: auto; padding-top: 22px;
}
.pillar.featured { background: var(--ink); color: white; border-color: var(--ink); }
.pillar.featured .num { color: var(--muted-on-dark); }
.pillar.featured p { color: var(--muted-on-dark); }

/* visual: receipts comparison */
.viz-receipts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-family: 'Geist Mono', monospace; font-size: 11px; }
.viz-receipts .r { border: 1px dashed var(--line); border-radius: 8px; padding: 10px; background: var(--paper); }
.viz-receipts .r.match { border-color: #B9DAC8; background: #EFFAF3; }
.viz-receipts .lbl { color: var(--muted); letter-spacing: 0.08em; font-size: 10px; }
.viz-receipts .v { font-size: 16px; color: var(--ink); margin-top: 6px; }
.viz-receipts .r.match .v { color: var(--green); }
.viz-receipts .r .meta { margin-top: 8px; color: var(--muted); font-size: 10px; }

/* visual: team signatures */
.viz-team { display: flex; flex-direction: column; gap: 8px; }
.viz-team .row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 8px 10px;
}
.viz-team .av {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #6A86FF, #C98A5E);
  flex-shrink: 0;
}
.viz-team .role { font-size: 12px; color: rgba(255,255,255,0.85); }
.viz-team .yrs { margin-left: auto; font-family: 'Geist Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.55); }

/* visual: desktop app illustration */
.viz-app {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 10px;
}
.viz-app .tabs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 10px; }
.viz-app .tabs .a { color: var(--brand); font-weight: 500; position: relative; }
.viz-app .tabs .a::after { content:''; position: absolute; left:0; right:0; bottom:-9px; height: 2px; background: var(--brand); border-radius: 2px;}
.viz-app .lines { display: flex; flex-direction: column; gap: 6px; }
.viz-app .l { height: 8px; background: white; border: 1px solid var(--line); border-radius: 4px; }
.viz-app .l.short { width: 60%; }

/* How it works — split header (copy left, image right) */
.how-head {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.how-head-copy {
  max-width: 540px;
}
.how-head-copy .eyebrow { display: inline-flex; }
.how-head-copy p {
  margin-top: 20px;
  font-size: 19px;
  color: var(--muted);
  max-width: 480px;
}
.how-head-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow:
    0 1px 0 rgba(15,20,40,0.06),
    0 30px 70px -25px rgba(15,20,40,0.45);
  border: 1px solid rgba(15,20,40,0.08);
}
.how-head-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.how-head-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8,11,24,0) 60%, rgba(8,11,24,0.35) 100%);
}
@media (max-width: 980px) {
  .how-head { grid-template-columns: 1fr; gap: 40px; }
  .how-head-media { aspect-ratio: 16 / 9; }
}

/* ─── Stats ───────────────────────────────────────────────────────────── */
.section.dark.stats-section {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(59,91,255,0.22), transparent 60%),
    linear-gradient(180deg, #0B1020 0%, #0E1430 100%);
  padding-block: clamp(40px, 4vw, 64px);
}
.section.dark.stats-section::before {
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.stats-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}
.stats-head .eyebrow { justify-content: center; }
.stats-head .eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.stats-head h2 { margin-top: 18px; max-width: 22ch; margin-left: auto; margin-right: auto; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.stat {
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.stat .num {
  display: block;
  font-family: 'Geist', sans-serif;
  font-size: clamp(28px, 2.6vw + 0.4rem, 42px);
  letter-spacing: -0.035em;
  font-weight: 600;
  line-height: 1;
  color: white;
  font-feature-settings: 'tnum';
  margin-bottom: 10px;
}
.stat .lbl {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  color: var(--muted-on-dark);
  line-height: 1.4;
  letter-spacing: -0.005em;
  text-transform: none;
  max-width: 24ch;
}

/* ─── How it works ────────────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  position: relative;
}
@media (max-width: 1040px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step {
  will-change: transform;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
  box-shadow: 0 1px 0 rgba(15,20,40,0.04), 0 10px 30px -16px rgba(15,20,40,0.18);
  transition: transform 2000ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step:hover { transform: scale(1.03); box-shadow: 0 1px 0 rgba(15,20,40,0.04), 0 22px 50px -18px rgba(15,20,40,0.3); }
.step .num {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', monospace; font-size: 13px; font-weight: 500;
}
.step h4 { font-size: 20px; letter-spacing: -0.015em; margin-top: 6px; }
.step p { color: var(--muted); font-size: 15px; }
.step .meta {
  margin-top: auto;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ─── Software grid ───────────────────────────────────────────────────── */
.sw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .sw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sw-grid { grid-template-columns: 1fr; } }
.sw-card {
  will-change: transform;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 130px;
  box-shadow: 0 1px 0 rgba(15,20,40,0.04), 0 8px 24px -14px rgba(15,20,40,0.18);
  transition: transform 2000ms cubic-bezier(0.22, 1, 0.36, 1), border-color 400ms ease-out, box-shadow 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}
.sw-card:hover { border-color: var(--ink-3); transform: scale(1.03); box-shadow: 0 1px 0 rgba(15,20,40,0.04), 0 18px 40px -16px rgba(15,20,40,0.3); }
.sw-card .head { display: flex; align-items: center; gap: 10px; }
.sw-card .badge {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--paper-2);
  color: var(--muted);
}
.sw-card .badge.soon {
  background: #FFF1E1;
  color: #C95E1A;
  border: 1px solid #F3DBBE;
}
.sw-card.coming { opacity: 0.92; }
.sw-card .soon-text {
  margin-top: auto;
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.sw-card .logo {
  width: 36px; height: 36px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.sw-card .logo svg { width: 62%; height: 62%; display: block; }
.sw-card .logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
  border-radius: 8px;
  display: block;
}
.sw-card .logo.bg-blender   { background: #F5792A; }
.sw-card .logo.bg-max       { background: #16365A; }
.sw-card .logo.bg-maya      { background: #16A0AE; }
.sw-card .logo.bg-c4d       { background: #1153B7; }
.sw-card .logo.bg-houdini   { background: #FF4713; }
.sw-card .logo.bg-unreal    { background: #0B0B0B; }
.sw-card .name { font-weight: 500; font-size: 16px; }
.sw-card .renderers {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.sw-card .renderers span {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  padding: 3px 6px; border-radius: 4px;
  background: var(--paper); color: var(--muted);
  border: 1px solid var(--line);
}

.sw-footer {
  margin-top: 36px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: white;
  font-size: 15px;
  color: var(--muted);
}
.sw-footer b { color: var(--ink); font-weight: 500; }
@media (max-width: 700px) { .sw-footer { flex-direction: column; gap: 12px; align-items: flex-start; } }

/* ─── Testimonials ────────────────────────────────────────────────────── */
/* Logo ticker above testimonials */
.logo-ticker {
  padding: 56px 0 24px;
  position: relative;
}
.logo-ticker .lt-eyebrow {
  text-align: center;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.logo-ticker .lt-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid rgba(11,16,32,0.08);
  border-bottom: 1px solid rgba(11,16,32,0.08);
}
.lt-col {
  height: 96px;
  overflow: hidden;
  position: relative;
  border-right: 1px solid rgba(11,16,32,0.06);
}
.lt-col:last-child { border-right: none; }
.lt-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.lt-slot {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lt-wm {
  color: rgba(11,16,32,0.5);
  white-space: nowrap;
  font-family: 'Geist', sans-serif;
  line-height: 1;
  user-select: none;
  transition: color .2s ease;
}
.lt-col:hover .lt-wm { color: rgba(11,16,32,0.78); }

@media (max-width: 900px) {
  .logo-ticker .lt-grid { grid-template-columns: repeat(3, 1fr); }
  .lt-col:nth-child(3) { border-right: none; }
  .lt-col:nth-child(4), .lt-col:nth-child(5), .lt-col:nth-child(6) {
    border-top: 1px solid rgba(11,16,32,0.06);
  }
  .lt-col { height: 80px; }
  .lt-slot { height: 80px; }
}
@media (max-width: 560px) {
  .logo-ticker .lt-grid { grid-template-columns: repeat(2, 1fr); }
  .lt-col:nth-child(2) { border-right: none; }
  .lt-col:nth-child(n+3) { border-top: 1px solid rgba(11,16,32,0.06); }
}

/* ─── Testimonials cards ──────────────────────────────────────────────── */
.quotes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 980px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  will-change: transform;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 30px;
  display: flex; flex-direction: column; gap: 22px;
  box-shadow: 0 1px 0 rgba(15,20,40,0.04), 0 10px 30px -16px rgba(15,20,40,0.18);
  transition: transform 2000ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}
.quote:hover { transform: scale(1.03); box-shadow: 0 1px 0 rgba(15,20,40,0.04), 0 22px 50px -18px rgba(15,20,40,0.3); }
.quote p {
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.quote .person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .av {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #6A86FF, #1B36CC);
  color: white; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.quote .who .n { font-weight: 500; font-size: 15px; }
.quote .who .r { font-size: 13px; color: var(--muted); }
.quote.featured { background: var(--ink); color: white; border-color: var(--ink); }
.quote.featured p { color: white; }
.quote.featured .who .r { color: var(--muted-on-dark); }

/* ─── Pricing: section-head with discount badge ──────────────────────── */
.section-head--with-badge {
  max-width: none;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
.section-head--with-badge .section-head-text {
  flex: 1;
  max-width: 760px;
}
.discount-badge {
  flex-shrink: 0;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 35%),
    radial-gradient(circle, #FF8A3C 0%, #E86A12 60%, #C95E1A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Geist', sans-serif;
  transform: rotate(-8deg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 14px 36px -10px rgba(245,121,42,0.55),
    0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  animation: discount-pulse 3.6s ease-in-out infinite;
}
.discount-badge::before {
  /* dashed outer ring — sticker feel */
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.4);
  pointer-events: none;
}
.discount-badge__num {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.discount-badge__pct {
  font-size: 28px;
  font-weight: 600;
  margin-left: 2px;
}
.discount-badge__off {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-top: 2px;
  opacity: 0.95;
}
.discount-badge__platform {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  background: rgba(0,0,0,0.22);
  padding: 4px 9px 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
}
.discount-badge__platform img {
  width: 14px; height: 14px;
  border-radius: 3px;
  background: white;
}

@keyframes discount-pulse {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50%      { transform: rotate(-6deg) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .discount-badge { animation: none; }
}

@media (max-width: 820px) {
  .section-head--with-badge {
    gap: 28px;
  }
  .discount-badge {
    width: 132px; height: 132px;
  }
  .discount-badge__num { font-size: 42px; }
  .discount-badge__pct { font-size: 22px; }
  .discount-badge__off { font-size: 10px; letter-spacing: 0.18em; }
  .discount-badge__platform { font-size: 9px; padding: 3px 7px 3px 5px; }
  .discount-badge__platform img { width: 12px; height: 12px; }
}

@media (max-width: 640px) {
  .section-head--with-badge {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .section-head--with-badge .section-head-text {
    text-align: left;
    width: 100%;
  }
}

/* ─── Pricing tiers (CPU / GPU / Custom) ──────────────────────────────── */
.price-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.price-tier-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  box-shadow: 0 1px 0 rgba(15,20,40,0.04), 0 10px 30px -16px rgba(15,20,40,0.18);
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.price-tier-card:hover {
  transform: scale(1.03);
  box-shadow: 0 1px 0 rgba(15,20,40,0.04), 0 22px 50px -18px rgba(15,20,40,0.3);
}
.price-tier-card--featured {
  background: linear-gradient(160deg, #FFFFFF 0%, #F2F5FF 100%);
  border-color: rgba(106,134,255,0.35);
  box-shadow:
    0 1px 0 rgba(15,20,40,0.04),
    0 14px 36px -14px rgba(59,91,255,0.28);
}
.price-tier-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.price-tier-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.price-tier-title {
  font-family: 'Geist', sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.price-tier-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}
.price-tier-price .num {
  font-family: 'Geist', sans-serif;
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.price-tier-price .unit {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.price-tier-sub {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-top: -2px;
}
.price-tier-per {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.price-tier-foot {
  margin-top: auto;
  padding-top: 18px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--brand);
  border-top: 1px dashed var(--line);
  width: 100%;
}
.price-tier-custom {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.price-tier-cta {
  margin-top: auto;
  padding-top: 18px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--brand);
  text-decoration: none;
  border-top: 1px dashed var(--line);
  width: 100%;
}
.price-tier-cta:hover { color: #2F4DEB; }

.price-promise {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}
.price-promise b {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 900px) {
  .price-tiers { grid-template-columns: 1fr; gap: 14px; }
  .price-tier-card { padding: 30px 24px 26px; }
  .price-tier-price .num { font-size: 44px; }
  .price-tier-price .unit { font-size: 22px; }
  .price-promise { font-size: 16px; margin-bottom: 36px; }
}

/* ─── Pricing ─────────────────────────────────────────────────────────── */
.pricing-card {
  background: linear-gradient(140deg, #0F1430 0%, #16204B 100%);
  border-radius: 24px;
  padding: 64px 56px;
  color: white;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content:''; position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,91,255,0.4) 0%, rgba(59,91,255,0) 70%);
  pointer-events: none;
}
.pricing-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 980px) {
  .pricing-card { padding: 44px 32px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 36px; }
}
.pricing-card h2 { font-size: clamp(32px, 3.4vw, 48px); }
.pricing-card .sub {
  margin-top: 20px;
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
}
.price-bullets { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.price-bullets li {
  list-style: none; padding-left: 28px; position: relative; font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.price-bullets li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--brand-2); font-weight: 600;
}
.pricing-cta { margin-top: 38px; display: flex; gap: 12px; flex-wrap: wrap; }
.pricing-cta .btn-primary { background: white; color: var(--ink); box-shadow: none; }
.pricing-cta .btn-primary:hover { background: #F0F0EC; }
.pricing-cta .btn-ghost.on-dark { color: rgba(255,255,255,0.9); }

.calc-widget {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(20px);
}
.calc-widget .row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.calc-widget .row:last-of-type { border-bottom: 0; }
.calc-widget .row .v { color: white; font-size: 14px; }
.calc-widget .total {
  margin-top: 14px;
  padding: 18px 0 6px;
  border-top: 2px solid rgba(255,255,255,0.18);
  display: flex; justify-content: space-between; align-items: baseline;
}
.calc-widget .total .lbl { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--muted-on-dark); }
.calc-widget .total .amt {
  font-family: 'Geist', sans-serif; font-size: 38px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1;
}
.calc-widget .total .amt .frac { color: var(--brand-2); }
.calc-widget .promise {
  margin-top: 16px;
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 16px; line-height: 1.35; color: rgba(255,255,255,0.85);
}
.calc-widget .promise b { color: var(--brand-2); font-style: normal; font-family: 'Geist', sans-serif; font-weight: 500; }

/* ─── FAQ (accordion: <details name="faq"> — only one open at a time) ── */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  color: var(--ink);
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { display: none; }
.faq .icon {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.faq details[open] .icon {
  transform: rotate(45deg);
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.faq .a {
  margin-top: 14px; max-width: 760px;
  color: var(--muted); font-size: 16px; line-height: 1.6;
}
.faq .a b { color: var(--ink); font-weight: 500; }
@media (max-width: 640px) { .faq summary { font-size: 18px; gap: 14px; } }
@media (max-width: 820px) {
  .faq details { padding: 22px 0; }
  .faq summary { min-height: 44px; }
}

/* ─── Final CTA ───────────────────────────────────────────────────────── */
.final-cta {
  background: var(--ink);
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(800px 500px at 50% 100%, rgba(59,91,255,0.35) 0%, rgba(59,91,255,0) 70%);
  pointer-events: none;
}
.final-cta h2 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.035em; max-width: 900px; margin: 0 auto; }
.final-cta h2 .accent { color: var(--brand-2); }
.final-cta p { margin-top: 24px; font-size: 19px; color: rgba(255,255,255,0.7); max-width: 580px; margin-left: auto; margin-right: auto; }
.final-cta .cta-row { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.final-cta .micro {
  margin-top: 22px; font-family: 'Geist Mono', monospace;
  font-size: 12px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}

/* ─── Footer ──────────────────────────────────────────────────────────── */
.footer {
  background: #060914;
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
  font-size: 13px;
  text-align: center;
}
.footer .container { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }
.footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer a:hover { color: white; }

/* ─── Reveal animations ───────────────────────────────────────────────── */
/* Reveal delay is set per-element via inline CSS var (--reveal-delay) so it
   does NOT bleed into the card's hover transition. Hover stays instant. */
.reveal {
  opacity: 0;
  translate: 0 16px;
  transition: opacity .7s ease var(--reveal-delay, 0s), translate .7s ease var(--reveal-delay, 0s);
}
.reveal.in {
  opacity: 1;
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: 0 0; }
}

/* ─── Card hover transitions (combined with reveal) ─────────────────────
   IMPORTANT: This rule is placed AFTER .reveal to win the source-order
   tiebreak (both selectors have specificity 0,1,0). .reveal's transition
   only lists opacity+translate, so transform/box-shadow on cards changed
   instantly on hover before this fix. This combines both. */
.pillar, .step, .quote {
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity .7s ease var(--reveal-delay, 0s),
    translate .7s ease var(--reveal-delay, 0s);
}
.sw-card {
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 400ms ease-out,
    box-shadow 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity .7s ease var(--reveal-delay, 0s),
    translate .7s ease var(--reveal-delay, 0s);
}

/* ─── Mobile fixes ──────────────────────────────────────────────────────
   Grid items default to min-width: auto, so wide inner content (the mock
   window's 4-column rows, the quote-ticket's monospace columns) expands
   the parent grid track past the viewport. .hero has overflow: hidden so
   the spill is invisible but content gets clipped. Lock items to 0. */
.hero-copy, .hero-mock { min-width: 0; }
.mock-window, .mock-body, .mock-row { min-width: 0; }
.pricing-grid > *, .how-head > *, .pillars > *, .steps > *, .sw-grid > *, .quotes > * { min-width: 0; }

/* ── Tablet & small-screen breakpoint (820px) ─────────────────────────
   Covers iPad Mini (768) — Chrome reports 768.x for that viewport which
   misses an exact 768 max-width — and any preview pane that's wider
   than 640 but still narrow enough to break the desktop layout. */
@media (max-width: 820px) {
  /* Hero pill — single-line, smaller font */
  .hero-pill {
    font-size: 11px;
    padding: 5px 12px 5px 9px;
    gap: 8px;
    white-space: nowrap;
  }
  .hero-pill > span:not(.hero-pill-dot):not(.hero-pill-divider) {
    white-space: nowrap;
  }
  .hero-pill-link { font-size: 11px; }
  .hero-pill-divider { height: 12px; }

  /* Mock window: drop the 3D perspective on mobile (foreshortening
     makes the right edge unreadable at narrow widths) */
  .mock-window { transform: none; border-radius: 12px; }

  /* Hero mock row: 4-col grid → stacked */
  .mock-row {
    grid-template-columns: 1fr !important;
    gap: 8px;
    padding: 12px 14px;
  }
  .mock-row .cost, .mock-row .status { justify-self: start; }
  .mock-row .progress-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .mock-toolbar { flex-wrap: wrap; gap: 6px; }
  .mock-toolbar .pill { font-size: 10px; padding: 0 10px; height: 24px; }
  .mock-toolbar .balance { font-size: 11px; }
  .mock-tabs { gap: 16px; padding: 10px 14px 0; font-size: 12px; overflow-x: auto; white-space: nowrap; }
  .mock-tabs::-webkit-scrollbar { display: none; }
  .mock-tabs span { padding-bottom: 10px; }
  .mock-titlebar { padding: 8px 12px; font-size: 11px; }
  .mock-titlebar .tl-dots i { width: 9px; height: 9px; }
  .mock-titlebar .conn { font-size: 10px; }
  .mock-body { padding: 14px; }
}

@media (max-width: 640px) {

  /* Callout: pull into flow, drop fixed width */
  .mock-callout {
    position: static;
    width: auto;
    transform: none;
    margin-top: 18px;
    font-size: 14px;
  }
  .mock-callout .arrow-line { display: none; }

  /* Quote ticket: tighter */
  .quote-ticket {
    position: static;
    margin-top: 16px;
    column-gap: 18px;
    padding: 12px 14px;
    font-size: 11px;
  }

  /* Hero trust row wraps */
  .hero-trust { flex-wrap: wrap; gap: 10px; }

  /* Hero CTAs full-width on phone */
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta-row .btn { width: 100%; }

  /* Final CTA buttons too */
  .final-cta .cta-row { flex-direction: column; align-items: stretch; }
  .final-cta .cta-row .btn { width: 100%; }

  /* Pricing CTAs */
  .pricing-cta { flex-direction: column; align-items: stretch; }
  .pricing-cta .btn { width: 100%; }

  /* Pillar / step / quote / sw-card padding shrink */
  .pillar { padding: 28px 22px 24px; min-height: 0; }
  .step { padding: 22px; min-height: 0; }
  .sw-card { padding: 16px; }
  .quote { padding: 26px 22px; }
  .quote p { font-size: 17px; }
  .pricing-card { padding: 36px 22px; border-radius: 18px; }
  .pricing-card h2 { font-size: 30px; }
  .calc-widget { padding: 22px; }
  .calc-widget .total .amt { font-size: 32px; }

  /* Section padding shrink */
  .section { padding: 72px 0; }

  /* Section-head margin shrink */
  .section-head { margin-bottom: 44px; }
  .section-head p { font-size: 16px; }
  .stats-head h2 { font-size: 30px; }
  .how-head { margin-bottom: 44px; }

  /* Hero body padding */
  .hero { padding-bottom: 72px; }
  .hero-inner { padding-top: 48px; gap: 44px; }
  .hero-sub { font-size: 17px; margin-top: 22px; }
  .hero h1 { font-size: 44px; }

  /* Final CTA padding */
  .final-cta { padding: 80px 0; }
  .final-cta p { font-size: 17px; }

  /* SW footer text smaller */
  .sw-footer { padding: 18px 20px; font-size: 14px; }

  /* Inline fixed heights on sections (How=1000, Software=920, Pricing=1120)
     break when content stacks on phone — let them grow naturally */
  section[style*="height"] { height: auto !important; }
}

/* Larger tap targets on touch devices for hero-pill link */
@media (max-width: 820px) {
  .hero-pill { padding: 8px 14px 8px 10px; }
  .hero-pill-link { padding: 4px 2px; min-height: 24px; }
}

/* ── Extra-narrow phones (≤380px: Galaxy Fold front, old iPhones) ──────
   Big H1 + nowrap CTA buttons overflow the 280px content area. Shrink
   container gutters, h1, and let buttons wrap. */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 36px; line-height: 1.08; }
  .hero-sub { font-size: 16px; }
  .hero-strip { font-size: 11px; gap: 8px 16px; }
  .btn-lg { font-size: 15px; padding: 0 18px; height: 54px; }
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
  .section-head h2, .final-cta h2 { font-size: 30px; }
  .pricing-card h2 { font-size: 26px; }
  .stats-head h2 { font-size: 26px; }
  .pillar h3, .step h4 { font-size: 18px; }
  .quote p { font-size: 16px; }
  .faq summary { font-size: 16px; gap: 12px; }
  .calc-widget .total .amt { font-size: 28px; }
  .mock-callout { font-size: 13px; }
  .quote-ticket { font-size: 10px; padding: 10px 12px; }
}

/* ── Touch devices: disable hover transforms (no pointer) ─────────────
   Hover scale on touch fires after tap and feels glitchy. */
@media (hover: none) {
  .pillar:hover,
  .step:hover,
  .sw-card:hover,
  .quote:hover {
    transform: none;
  }
}
