/* =========================================================
   Dunes Digital: retro 80s, built for reading.
   Colors live in :root. Text colors are checked against their
   backgrounds for WCAG AA contrast.

   Map of this file:
   1 Base            5 Sections and lists    9 Contact form
   2 Buttons         6 Work showcase        10 Footer
   3 Header          7 Pricing and planner  11 Motion rules
   4 Sunset scene    8 FAQ and CTA
   ========================================================= */

@font-face { font-family: "Audiowide"; src: url("fonts/audiowide.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("fonts/orbitron.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }

:root {
  --night-950: #07061a;
  --night-900: #0d0b26;
  --night-850: #110e30;
  --night-800: #17133d;
  --night-700: #221c55;
  --line: #2f2870;

  --text: #f5f2ff;
  --text-dim: #cfc8ee;
  --text-mute: #a9a1d4;

  --magenta: #ff3ea5;
  --pink: #ff7ac6;
  --cyan: #3ee7f0;
  --orange: #ff8a3d;
  --gold: #ffd166;
  --violet: #a98bfa;

  --sunset: linear-gradient(90deg, #ffd166 0%, #ff8a3d 45%, #ff3ea5 100%);
  --neon-line: linear-gradient(90deg, #3ee7f0, #8b5cf6 50%, #ff3ea5);

  --display: "Audiowide", "Trebuchet MS", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --code: ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 14px;
  --wrap: 1160px;
  --header-h: 72px;
  --bg: var(--night-900);
}

/* ---------- 1 Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-dim);
  background: var(--night-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Keep this line: images keep their shape at every width */
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #9ff6fa; }
h1, h2, h3 { color: var(--text); line-height: 1.15; margin: 0 0 0.6em; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; }
h1 { font-size: clamp(2rem, 4.1vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-family: var(--body); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; list-style: none; }
strong { color: var(--text); }
::selection { background: var(--magenta); color: #1a0826; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a0826; padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none; }

/* Sunset gradient words. Every stop passes AA on the dark backgrounds. */
.neon {
  background: var(--sunset);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Small label that says what kind of thing follows (case study, demo, and so on) */
.kicker { font-weight: 700; font-size: 0.95rem; color: var(--cyan); margin: 0 0 10px; }

/* ---------- 2 Buttons ---------- */
.btn {
  --lift: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font-family: var(--body); font-weight: 700; font-size: 1.02rem; text-decoration: none;
  border-radius: 10px; border: 2px solid transparent; cursor: pointer;
  transform: translateY(var(--lift));
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { --lift: -2px; }
.btn:active { --lift: 0px; }
.btn-primary {
  color: #1a0826; background: var(--sunset); background-size: 160% 100%; background-position: 0 0;
  box-shadow: 0 6px 24px -6px rgba(255, 62, 165, .55);
  transition: transform .2s ease, box-shadow .25s ease, background-position .4s ease;
}
.btn-primary:hover { color: #1a0826; background-position: 100% 0; box-shadow: 0 10px 34px -6px rgba(255, 62, 165, .75), 0 0 0 1px rgba(255, 209, 102, .4); }
.btn-outline { color: var(--cyan); border-color: var(--cyan); background: rgba(62, 231, 240, .06); }
.btn-outline:hover { color: #07061a; background: var(--cyan); box-shadow: 0 0 26px -4px rgba(62, 231, 240, .7); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.actions.center { justify-content: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- 3 Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; transition: box-shadow .3s ease; view-transition-name: site-header; }
/* The blur sits on a pseudo element so the fixed mobile menu still covers the whole screen */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 6, 26, .82);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  transition: background-color .3s ease;
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--neon-line); opacity: .75; }
.site-header.scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); }
.site-header.scrolled::before { background: rgba(7, 6, 26, .97); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.04em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand svg { width: 42px; height: 42px; flex: none; transition: transform .4s cubic-bezier(.2,.8,.2,1.4); }
.brand:hover svg { transform: translateY(-2px) rotate(-4deg) scale(1.05); }
.brand b { font-weight: 400; color: var(--cyan); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 14px; border-radius: 8px;
  color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: 0.98rem;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--neon-line); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:not(.btn)[aria-current="page"] { color: var(--text); }
.nav .btn { margin-left: 10px; }

.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; border-radius: 10px;
  background: transparent; border: 2px solid var(--line); cursor: pointer; color: var(--text);
}
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .js .menu-toggle { display: block; }
  .js .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px;
    padding: 28px 24px 40px;
    background:
      radial-gradient(120% 60% at 50% 110%, rgba(255, 62, 165, .28), transparent 60%),
      linear-gradient(180deg, #0d0b26, #07061a);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s ease, transform .3s ease, visibility 0s linear .3s;
    overflow-y: auto;
  }
  .js .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s ease, visibility 0s; }
  .js .nav a:not(.btn) { font-family: var(--display); font-weight: 400; font-size: 1.6rem; padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .js .nav a:not(.btn)::after { left: 6px; right: auto; width: 60px; bottom: -1px; }
  .js .nav a:not(.btn)[aria-current="page"] { color: var(--cyan); }
  .js .nav .btn { margin: 22px 0 0; min-height: 56px; font-size: 1.05rem; }
  body.menu-open { overflow: hidden; }
  html:not(.js) .site-header .wrap { height: auto; flex-wrap: wrap; padding: 12px 0; }
  html:not(.js) .nav { flex-wrap: wrap; }
}

/* ---------- 4 Sunset scene: Lake Michigan from the dunes ----------
   --set runs from 0 (sun up) to 1 (sun down). site.js moves it as you scroll.
   Without JS it stays at 0 and the scene simply sits there looking pretty. */
.hero, .page-hero {
  --set: 0;
  --sun-x: 50%;
  --sun-d: clamp(170px, 20vw, 290px);
  --hz: 54%;
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  background: linear-gradient(180deg, #07061a 0%, #100a31 36%, #2a0f4d 64%, #5b1659 86%, #8f2a5e 100%);
}
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky::before, .sky::after { content: ""; position: absolute; inset: 0 0 24% 0; }
/* stars are tiny gradients, tiled at two different sizes so the pattern never lines up */
.sky::before { background-image: radial-gradient(1.6px 1.6px at 32.7% 15.8%, rgba(255,255,255,0.49) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 53.5% 36.8%, rgba(201,251,255,0.56) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 9.4% 42.0%, rgba(255,255,255,0.73) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 6.8% 56.4%, rgba(201,251,255,0.92) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 57.6% 39.9%, rgba(255,255,255,0.73) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 14.1% 42.1%, rgba(255,255,255,0.74) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 55.9% 67.8%, rgba(201,251,255,0.74) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 19.4% 10.5%, rgba(255,255,255,0.73) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 61.7% 49.6%, rgba(255,217,240,0.84) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 46.6% 91.5%, rgba(255,255,255,0.57) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 18.6% 77.4%, rgba(201,251,255,0.60) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 49.5% 34.7%, rgba(255,255,255,0.75) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 8.2% 51.2%, rgba(255,255,255,0.53) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 48.9% 4.8%, rgba(255,255,255,0.83) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 57.2% 86.8%, rgba(255,255,255,0.80) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 59.2% 57.8%, rgba(255,255,255,0.87) 50%, transparent 51%); background-size: 430px 310px; opacity: calc(.5 + var(--set) * .5); }
.sky::after { background-image: radial-gradient(2.5px 2.5px at 17.2% 68.6%, rgba(255,217,240,0.87) 50%, transparent 51%), radial-gradient(2.1px 2.1px at 98.0% 47.5%, rgba(201,251,255,0.71) 50%, transparent 51%), radial-gradient(2.5px 2.5px at 78.3% 2.4%, rgba(255,255,255,0.52) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 74.6% 91.3%, rgba(255,255,255,0.67) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 98.5% 76.5%, rgba(201,251,255,0.67) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 94.8% 53.9%, rgba(255,255,255,0.77) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 92.9% 3.3%, rgba(255,255,255,0.51) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 91.9% 45.4%, rgba(255,255,255,0.65) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 15.8% 66.2%, rgba(255,255,255,0.49) 50%, transparent 51%); background-size: 610px 390px; animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .3; } to { opacity: 1; } }
/* night falls over the sky as the sun goes down */
.sky i { position: absolute; inset: 0; background: linear-gradient(180deg, #05041a 0%, #0a0726 55%, #1b0c3d 100%); opacity: calc(var(--set) * .9); }

.scene { position: relative; height: clamp(230px, 27vw, 380px); pointer-events: none; }
.scene-sm { height: clamp(150px, 16vw, 215px); }
.sun-clip { position: absolute; left: 0; right: 0; top: -260px; height: calc(var(--hz) + 260px); overflow: hidden; }
.sun-glow {
  position: absolute; left: var(--sun-x); bottom: 0; width: calc(var(--sun-d) * 3.4); aspect-ratio: 2 / 1;
  transform: translate(-50%, 50%);
  background: radial-gradient(closest-side, rgba(255, 138, 61, .5), rgba(255, 62, 165, .22) 48%, transparent 72%);
  opacity: calc(1 - var(--set) * .75);
}
.sun {
  position: absolute; left: var(--sun-x); bottom: 0; width: var(--sun-d); height: var(--sun-d);
  transform: translate(-50%, calc(20% + var(--set) * 82%));
  filter: drop-shadow(0 0 28px rgba(255, 120, 130, .45));
  animation: sun-in 1.5s cubic-bezier(.2, .8, .2, 1) backwards;
}
@keyframes sun-in { from { transform: translate(-50%, 92%); } }
.sun-bars rect { animation: sun-bar 8s linear infinite; }
.sun-bars rect:nth-child(2) { animation-delay: -1.6s; }
.sun-bars rect:nth-child(3) { animation-delay: -3.2s; }
.sun-bars rect:nth-child(4) { animation-delay: -4.8s; }
.sun-bars rect:nth-child(5) { animation-delay: -6.4s; }
@keyframes sun-bar { from { transform: translateY(84px) scaleY(.05); } to { transform: translateY(206px) scaleY(1); } }

/* Chicago, way out across the water */
.skyline { position: absolute; left: var(--sun-x); bottom: calc(100% - var(--hz)); width: calc(var(--sun-d) * .96); height: auto; transform: translateX(-50%); overflow: visible; }
.skyline .sk-shape { fill: #170938; }
.skyline .sk-lights { opacity: calc(var(--set) * 1.6 - .35); }

.lake {
  position: absolute; left: 0; right: 0; top: var(--hz); bottom: 0; overflow: hidden;
  perspective: 240px; perspective-origin: 50% 0;
  background: linear-gradient(180deg, #4a1763 0%, #1f0d47 28%, #0c0828 70%, #07061a 100%);
  border-top: 2px solid rgba(255, 170, 110, .85);
  box-shadow: 0 -1px 18px rgba(255, 138, 61, .55);
}
.lake::before {
  content: ""; position: absolute; left: -100%; right: -100%; top: -64px; height: 300%;
  background-image:
    linear-gradient(rgba(255, 62, 165, .8) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 62, 165, .55) 2px, transparent 2px);
  background-size: 64px 64px;
  transform-origin: 50% 64px; transform: rotateX(74deg);
  animation: grid-run 1.6s linear infinite; will-change: transform;
}
.lake::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at var(--sun-x) 0%, rgba(255, 122, 198, .3), transparent 70%),
    linear-gradient(180deg, transparent 45%, rgba(7, 6, 26, .8) 100%);
}
@keyframes grid-run { to { transform: rotateX(74deg) translateY(64px); } }
/* the sun's path on the water */
.glint {
  position: absolute; z-index: 1; left: var(--sun-x); top: 0; width: calc(var(--sun-d) * 1.1); height: 78%;
  transform: translateX(-50%); overflow: hidden;
  clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%);
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .55) 55%, transparent);
          mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .55) 55%, transparent);
  opacity: calc(.9 - var(--set));
}
.glint::before {
  content: ""; position: absolute; inset: -9px 0 0 0;
  background: repeating-linear-gradient(180deg, #ffd88a 0 2px, transparent 2px 9px);
  animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { to { transform: translateY(9px); } }

.dunes { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(84px, 11vw, 158px); z-index: 2; }
.dunes > svg:first-child { width: 100%; height: 100%; }
.grass { position: absolute; width: clamp(38px, 4.6vw, 66px); height: auto; overflow: visible; transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite alternate; }
.grass path { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; opacity: .9; }
.grass-a { left: 11.2%; bottom: 62%; }
.grass-b { left: 19%; bottom: 57%; transform: scale(.75); animation-delay: -1.8s; }
.grass-c { left: 88.4%; bottom: 58%; animation-delay: -3s; }
.grass-d { left: 81.5%; bottom: 47%; transform: scale(.7); animation-delay: -.9s; }
.grass-b path, .grass-d path { stroke: var(--violet); }
@keyframes sway { from { rotate: -3deg; } to { rotate: 4deg; } }

/* light scanlines over the hero art only */
.scene::after { content: ""; position: absolute; inset: -40px 0 0; z-index: 3; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px); }

/* the art rests while it is off screen (site.js adds .asleep) */
.asleep .scene *, .asleep .scene *::before, .asleep .scene *::after, .asleep .sky::after { animation-play-state: paused; }

/* night version (404) and sunrise version (thanks) */
.sky-night { --set: .92; }
.sky-dawn .sun { animation: sun-in 2.8s cubic-bezier(.2, .7, .2, 1) .25s backwards; }

/* ----- Home hero: copy on the left, live preview on the right ----- */
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(28px, 4.5vw, 64px); align-items: center;
  padding-block: clamp(36px, 5.5vw, 68px) clamp(8px, 2vw, 28px);
}
.hero h1 { font-size: clamp(1.9rem, 3.25vw, 2.7rem); margin-bottom: 18px; }
.lede { font-size: clamp(1.03rem, 1.5vw, 1.15rem); color: var(--text); max-width: 56ch; margin: 0 0 22px; }
.hero-note { margin: 16px 0 0; font-size: 0.93rem; color: var(--text-dim); }

/* "I run a ___ called ___" */
.tryon { margin: 0 0 22px; padding: 14px 18px 16px; border-radius: 14px; background: rgba(7, 6, 26, .6); border: 1px solid rgba(62, 231, 240, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tryon-label { margin: 0 0 2px; font-weight: 700; font-size: 0.93rem; color: var(--cyan); }
.tryon-line { margin: 0; font-size: 1.12rem; line-height: 2.25; color: var(--text); }
.tryon select, .tryon input {
  font: inherit; font-weight: 700; color: var(--gold); background: transparent;
  border: 0; border-bottom: 2px dashed rgba(255, 209, 102, .75); border-radius: 4px 4px 0 0;
  padding: 1px 6px; margin: 0 2px; line-height: 1.5; max-width: 100%;
}
.js .tryon select { width: 11.7em; }
.tryon select { appearance: none; padding-right: 24px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd166' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 4px center / 14px no-repeat; }
.tryon select option { background: #0a0822; color: var(--text); font-weight: 500; }
.tryon input { width: 17ch; field-sizing: content; min-width: 17ch; }
.tryon input::placeholder { color: rgba(255, 209, 102, .62); opacity: 1; font-weight: 600; }
.tryon select:hover, .tryon input:hover { background-color: rgba(255, 209, 102, .08); }
.tryon select:focus-visible, .tryon input:focus-visible { outline: none; border-bottom-style: solid; border-bottom-color: var(--cyan); background-color: rgba(62, 231, 240, .1); }

.stage { position: relative; padding: 0 6% 0 0; perspective: 1400px; }
.stage-tilt { position: relative; padding-bottom: 9%; }
.stage-tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.stage-note { margin: 14px 0 0; font-size: 0.86rem; color: var(--text-dim); max-width: 46ch; }

.monitor {
  position: relative; display: block; border-radius: 16px; padding: 12px; text-decoration: none;
  background: linear-gradient(160deg, #2a2366, #120e30);
  border: 1px solid #3d3488;
  box-shadow: 0 30px 70px -30px rgba(255, 62, 165, .55), 0 0 0 1px rgba(62, 231, 240, .12) inset;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}
a.monitor:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 40px 80px -30px rgba(255, 62, 165, .75), 0 0 0 1px rgba(62, 231, 240, .35) inset; }
.monitor-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 12px; }
.monitor-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--magenta); }
.monitor-bar i:nth-child(2) { background: var(--gold); }
.monitor-bar i:nth-child(3) { background: var(--cyan); }
.monitor-bar span { margin-left: 10px; flex: 1; padding: 3px 12px; border-radius: 6px; background: rgba(7, 6, 26, .7); font-family: var(--code); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monitor-screen { position: relative; overflow: hidden; border-radius: 8px; }
.monitor-screen img { width: 100%; }
.monitor-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, .1), transparent 38%); }

.handset {
  position: absolute; right: -6.4%; bottom: 0; width: 25.5%; aspect-ratio: 9 / 18.6; padding: 1.7%;
  border-radius: 13% / 6.4%; background: linear-gradient(160deg, #2b2456, #0b0920 70%);
  box-shadow: 0 0 0 2px rgba(62, 231, 240, .5), 0 26px 50px -18px rgba(0, 0, 0, .9), 0 30px 60px -24px rgba(255, 62, 165, .7);
  transform: translateZ(40px);
}
.handset-screen { width: 100%; height: 100%; overflow: hidden; border-radius: 10.5% / 5%; }

/* ----- The mock site inside the preview. Sizes are in cqw so it scales with its frame. ----- */
.mock {
  --m-brand: #17603a; --m-on-brand: #f6f7ef; --m-bg: #f6f7ef; --m-ink: #14261b; --m-accent: #f2b632; --m-on-accent: #241a00;
  --m-art: repeating-linear-gradient(100deg, #2f8f46 0 9%, #3aa655 9% 18%);
  --m-font: var(--body);
  container-type: inline-size; position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; display: flex; flex-direction: column;
  background: var(--m-bg); color: var(--m-ink); font-family: var(--body); line-height: 1.25; text-align: left;
}
.mock.swap > * { animation: mock-swap .45s ease both; }
@keyframes mock-swap { from { opacity: 0; transform: translateY(1.5cqw); } }
.mk-top { flex: none; display: flex; align-items: center; gap: 2cqw; height: 9.4cqw; padding: 0 3.2cqw; background: var(--m-brand); color: var(--m-on-brand); }
.mk-logo { display: flex; align-items: center; gap: 1.3cqw; min-width: 0; font-weight: 800; font-size: 2.55cqw; letter-spacing: -.01em; }
.mk-logo svg { width: 3.8cqw; height: 3.8cqw; flex: none; color: var(--m-accent); }
.mk-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-links { margin-left: auto; display: flex; gap: 2.6cqw; font-size: 1.75cqw; font-weight: 600; opacity: .88; white-space: nowrap; }
.mk-call { padding: 1.05cqw 2.1cqw; border-radius: 99px; background: var(--m-accent); color: var(--m-on-accent); font-weight: 800; font-size: 1.75cqw; white-space: nowrap; }
.mk-burger { display: none; }
.mk-hero { flex: 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: 3.4cqw; padding: 3.4cqw 3.2cqw; align-items: center; }
.mk-h { margin: 0 0 1.5cqw; font-family: var(--m-font); font-weight: var(--m-weight, 800); font-size: 5.7cqw; line-height: 1.02; letter-spacing: var(--m-track, -.025em); text-transform: var(--m-case, none); font-style: var(--m-style, normal); color: var(--m-ink); }
.mk-sub { margin: 0 0 2.4cqw; font-size: 1.95cqw; line-height: 1.42; color: var(--m-ink); opacity: .78; }
.mk-btn { display: inline-block; padding: 1.5cqw 2.8cqw; border-radius: 1.2cqw; background: var(--m-brand); color: var(--m-on-brand); font-weight: 800; font-size: 1.9cqw; }
.mk-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 2cqw; background: var(--m-art); overflow: hidden; box-shadow: 0 1.6cqw 3.2cqw -1.6cqw rgba(0, 0, 0, .4); }
.mk-photo span { position: absolute; left: 1.6cqw; bottom: 1.6cqw; padding: .7cqw 1.5cqw; border-radius: 99px; background: rgba(0, 0, 0, .58); color: #fff; font-size: 1.45cqw; font-weight: 600; }
.mk-services { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 0 3.2cqw 3.6cqw; }
.mk-services span { padding: 1.5cqw 2cqw; border-radius: 1.3cqw; background: #fff; color: #1b1b1f; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); border-top: .6cqw solid var(--m-accent); font-weight: 700; font-size: 1.9cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-callbar { display: none; }

.mock.is-phone { aspect-ratio: auto; height: 100%; }
.is-phone .mk-top { height: 15cqw; padding: 0 5cqw; }
.is-phone .mk-logo { font-size: 5.4cqw; gap: 2.4cqw; }
.is-phone .mk-logo svg { width: 7.4cqw; height: 7.4cqw; }
.is-phone .mk-links, .is-phone .mk-call { display: none; }
.is-phone .mk-burger { display: block; margin-left: auto; flex: none; width: 6cqw; height: 4.4cqw; border-block: .8cqw solid currentColor; position: relative; }
.is-phone .mk-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .8cqw; margin-top: -.4cqw; background: currentColor; }
.is-phone .mk-hero { flex: none; grid-template-columns: 1fr; gap: 4.5cqw; padding: 5cqw 5cqw 4.5cqw; }
.is-phone .mk-photo { order: -1; aspect-ratio: 16 / 9; border-radius: 4cqw; }
.is-phone .mk-photo span { font-size: 3.4cqw; left: 3cqw; bottom: 3cqw; padding: 1.4cqw 3cqw; }
.is-phone .mk-h { font-size: 10.6cqw; margin-bottom: 3cqw; }
.is-phone .mk-sub { font-size: 4.7cqw; margin-bottom: 4.5cqw; }
.is-phone .mk-btn { display: block; text-align: center; font-size: 4.8cqw; padding: 3.4cqw; border-radius: 3cqw; }
.is-phone .mk-services { grid-template-columns: 1fr; gap: 2.6cqw; padding: 0 5cqw 22cqw; }
.is-phone .mk-services span { font-size: 4.6cqw; padding: 3cqw 4cqw; border-radius: 2.4cqw; border-top: 0; border-left: 1.4cqw solid var(--m-accent); }
.is-phone .mk-callbar { display: flex; position: absolute; left: 0; right: 0; bottom: 0; height: 16.5cqw; align-items: center; justify-content: center; gap: 2.4cqw; background: var(--m-accent); color: var(--m-on-accent); font-weight: 800; font-size: 4.9cqw; box-shadow: 0 -2cqw 5cqw rgba(0, 0, 0, .18); }
.is-phone .mk-callbar svg { width: 5.4cqw; height: 5.4cqw; }

/* ----- Inner page hero ----- */
.page-hero { --sun-x: 76%; --sun-d: clamp(110px, 13vw, 180px); --hz: 52%; }
.page-hero .hero-copy { position: relative; z-index: 2; padding: clamp(44px, 6vw, 76px) 0 0; max-width: 780px; margin-left: 0; }
.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 0.4em; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .scene { margin-top: clamp(-44px, -3vw, -12px); }
.crumbs { font-weight: 600; font-size: 0.93rem; color: var(--text-dim); margin-bottom: 14px; }
.crumbs a { color: var(--cyan); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.simple main { min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; }
.simple .page-hero { flex: 1; display: flex; flex-direction: column; justify-content: space-between; --sun-x: 50%; --sun-d: clamp(150px, 18vw, 250px); }
.simple .page-hero .hero-copy { margin-inline: auto; text-align: center; }
.simple .page-hero .lede { margin-inline: auto; }
.simple .actions { margin-top: 28px; justify-content: center; }

/* ---------- 5 Sections and lists ---------- */
section { position: relative; }
.band, .band-alt, .band-glow { padding: clamp(64px, 8vw, 108px) 0; }
.band { --bg: var(--night-900); background: var(--bg); }
.band-alt { --bg: var(--night-850); background: var(--bg); }
.band-glow { --bg: var(--night-900); background: radial-gradient(80% 60% at 50% 0%, rgba(139, 92, 246, .16), transparent 70%), var(--bg); }
.band.tight-top, .band-alt.tight-top { padding-top: clamp(8px, 2vw, 28px); }
.band.flush-top { padding-top: 0; }
.divider { height: 2px; background: var(--neon-line); opacity: .45; border: 0; margin: 0; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head > :last-child { margin-bottom: 0; }
.section-head p { font-size: 1.1rem; }
.section-head.spaced { margin-top: clamp(56px, 7vw, 84px); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.narrow { max-width: 780px; margin-inline: auto; }
@media (max-width: 1020px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Promise strip: four short facts in a row */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.promises div { padding: 26px 24px 24px; border-left: 1px solid var(--line); }
.promises div:first-child { border-left: 0; padding-left: 0; }
.promises strong { display: block; font-family: var(--mono); font-weight: 800; font-size: clamp(1.5rem, 2.7vw, 2.05rem); line-height: 1.1; margin-bottom: 6px; color: var(--gold); }
.promises div:nth-child(even) strong { color: var(--cyan); }
.promises span { font-size: 0.97rem; color: var(--text-dim); }
@media (max-width: 760px) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises div { padding: 20px 16px; }
  .promises div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .promises div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Service rows: name, what it is, what it costs. The whole row is the link. */
.rows { --accent: var(--cyan); border-top: 1px solid var(--line); }
.rows a {
  position: relative; display: grid; grid-template-columns: 230px minmax(0, 1fr) 190px 22px; gap: 10px 32px; align-items: center;
  padding: 26px 18px 26px 22px; border-bottom: 1px solid var(--line);
  color: var(--text-dim); text-decoration: none;
  transition: background-color .25s ease;
}
.rows a::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 14px var(--accent); transform: scaleY(.35); opacity: .55; transition: transform .25s ease, opacity .25s ease; }
.rows a:hover, .rows a:focus-visible { background: color-mix(in srgb, var(--accent) 7%, transparent); color: var(--text-dim); }
.rows a:hover::before, .rows a:focus-visible::before { transform: scaleY(1); opacity: 1; }
.rows h3 { margin: 0; font-size: 1.4rem; }
.rows p { margin: 0; }
.rows .cost { font-family: var(--mono); font-weight: 800; font-size: 1.02rem; color: var(--accent); white-space: nowrap; text-align: right; }
.rows .go { width: 22px; height: 22px; color: var(--accent); transition: transform .25s ease; }
.rows a:hover .go { transform: translateX(5px); }
@media (max-width: 820px) {
  .rows a { grid-template-columns: 1fr auto; padding: 22px 8px 22px 18px; }
  .rows p { grid-column: 1 / -1; grid-row: 2; }
  .rows .go { display: none; }
}

/* Feature list: icon, short title, a line or two. No boxes. */
.features { --accent: var(--cyan); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 44px; }
.features.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.features .icon { width: 34px; height: 34px; margin-bottom: 14px; color: var(--accent); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 55%, transparent)); }
.features .icon svg { width: 100%; height: 100%; }
.features h3 { font-size: 1.14rem; margin-bottom: 6px; }
.features p { margin: 0; font-size: 1rem; }
.features .kicker { color: var(--accent); margin-bottom: 8px; }
@media (max-width: 1020px) { .features.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; } }
@media (max-width: 560px) { .features, .features.cols-4 { grid-template-columns: 1fr; } }

/* Cards: only where things are compared side by side (packages and plans) */
.card {
  --accent: var(--cyan);
  position: relative; padding: 30px 26px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--night-800), var(--night-850));
  border: 1px solid var(--line);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.card::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
/* soft light that follows the pointer (site.js sets --mx and --my) */
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.card:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 22px 50px -28px color-mix(in srgb, var(--accent) 70%, transparent); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 34px; height: 34px; margin-bottom: 18px; color: var(--accent); }
.card .icon svg { width: 100%; height: 100%; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.card-link:hover { color: var(--text); }
/* accent colors: add one of these to a card, a row or a list item */
.c-magenta { --accent: var(--magenta); }
.c-gold { --accent: var(--gold); }
.c-violet { --accent: var(--violet); }
.c-orange { --accent: var(--orange); }
.c-cyan { --accent: var(--cyan); }

.checks li { position: relative; padding-left: 30px; margin: 10px 0; color: var(--text-dim); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 5px;
  background: rgba(62, 231, 240, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ee7f0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(62, 231, 240, .5);
}
.checks.no li::before { background: rgba(255, 62, 165, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7ac6' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: rgba(255, 62, 165, .5); }

/* Steps: a real sequence, so they get numbers and a line that joins them */
.steps { counter-reset: step; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 30px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; border-radius: 2px; background: var(--neon-line); transform-origin: left; }
.js .steps::before { transform: scaleX(0); transition: transform 1.5s cubic-bezier(.3, .7, .2, 1); }
.js .steps.in::before { transform: scaleX(1); }
.steps li { position: relative; padding-top: 64px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 800; font-size: 1.1rem; color: #1a0826; background: var(--sunset);
  box-shadow: 0 0 0 7px var(--bg), 0 0 26px -2px rgba(255, 62, 165, .8);
}
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 1rem; }
.steps.down { grid-template-columns: 1fr; gap: 26px; }
.steps.down::before { left: 21px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, #3ee7f0, #8b5cf6 50%, #ff3ea5); transform-origin: top; }
.js .steps.down::before { transform: scaleY(0); }
.js .steps.down.in::before { transform: scaleY(1); }
.steps.down li { padding: 4px 0 0 68px; min-height: 44px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 21px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, #3ee7f0, #8b5cf6 50%, #ff3ea5); transform-origin: top; }
  .js .steps::before { transform: scaleY(0); }
  .js .steps.in::before { transform: scaleY(1); }
  .steps li { padding: 4px 0 0 68px; min-height: 44px; }
}

/* Two column layouts */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.top { align-items: start; }
.split.text-first { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 900px) { .split, .split.text-first { grid-template-columns: 1fr; } }
.panel { padding: 30px 28px; border-radius: var(--radius); background: var(--night-800); border: 1px solid var(--line); }
.panel h3 { margin-bottom: 8px; }
.panel .checks li:last-child { margin-bottom: 0; }
.aside-line { margin: 26px 0 0; padding-left: 18px; border-left: 3px solid var(--magenta); color: var(--text); font-size: 1.12rem; font-weight: 600; }
.note { font-size: 0.95rem; color: var(--text-dim); }
.fine { margin: 30px auto 0; text-align: center; color: var(--text-dim); font-size: 0.98rem; max-width: 760px; }
.split .fine, .fine.left { text-align: left; margin: 26px 0 0; max-width: none; }
.split .fine { margin-top: 18px; }

/* facts panel (apps at a glance) */
.facts { display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts div:first-child { padding-top: 0; }
.facts dt { color: var(--text-dim); }
.facts dd { margin: 0; font-family: var(--mono); font-weight: 800; color: var(--gold); text-align: right; }

/* ---------- 6 Work showcase ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.tags li { padding: 6px 13px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; color: var(--text); background: rgba(139, 92, 246, .14); border: 1px solid rgba(139, 92, 246, .5); }

.open-slot {
  margin-top: 56px; padding: 26px 28px; border-radius: var(--radius);
  border: 2px dashed rgba(62, 231, 240, .5); background: rgba(62, 231, 240, .04);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.open-slot p { margin: 0; color: var(--text); font-size: 1.08rem; }
.demo .card { margin-top: 22px; }

/* Demo app in a phone frame */
.phone-demo { display: flex; justify-content: center; }
.phone { position: relative; width: min(340px, 100%); aspect-ratio: 340 / 716; padding: 30px 12px 14px; border-radius: 48px; background: linear-gradient(160deg, #2b2456, #0b0920 70%); box-shadow: 0 0 0 2px rgba(62, 231, 240, .45), 0 0 0 7px rgba(7, 6, 26, .9), 0 40px 80px -30px rgba(255, 62, 165, .75); }
.phone::before { content: ""; position: absolute; top: 11px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #05040f; box-shadow: 0 0 0 2px rgba(255, 255, 255, .08); z-index: 2; pointer-events: none; }
.phone-screen { width: 100%; height: 100%; border-radius: 22px 22px 36px 36px; overflow: hidden; background: #f2f4f6; }
.phone-screen iframe { display: block; width: 100%; height: 100%; border: 0; }
.phone-open { display: none; }
@media (max-width: 900px) { .phone-demo { order: 2; } }
@media (max-width: 640px), (pointer: coarse) and (max-width: 900px) {
  .phone { width: min(300px, 84vw); }
  .phone-screen iframe { pointer-events: none; }
  .phone-open { display: flex; position: absolute; inset: 0; align-items: flex-end; justify-content: center; padding-bottom: 22%; border-radius: 48px; background: linear-gradient(180deg, transparent 50%, rgba(7, 6, 26, .6)); text-decoration: none; z-index: 3; }
}

/* ---------- 7 Pricing and planner ---------- */
.price-card { display: flex; flex-direction: column; padding-top: 34px; }
.price-card .from { font-weight: 600; font-size: 0.9rem; color: var(--text-mute); }
.price { font-family: var(--mono); font-weight: 800; font-size: 2.6rem; line-height: 1.1; color: var(--text); margin: 4px 0 18px; }
.price small { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--text-dim); margin-left: 2px; }
.price-card .checks { margin-bottom: 24px; }
.price-card .btn { margin-top: auto; }
.price-card.featured {
  --accent: var(--magenta);
  background: linear-gradient(180deg, #2a1554, var(--night-850));
  border-color: rgba(255, 62, 165, .7);
  box-shadow: 0 0 0 1px rgba(255, 62, 165, .35), 0 30px 60px -30px rgba(255, 62, 165, .7);
}
.badge {
  position: absolute; z-index: 2; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 5px 14px; border-radius: 999px; font-weight: 800; font-size: 0.82rem;
  color: #1a0826; background: var(--sunset);
}

/* Add it up: pick a build and a plan, see the starting numbers */
html:not(.js) #plan { display: none; }
.planner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .planner { grid-template-columns: 1fr; } }
.planner fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.planner fieldset:last-of-type { margin-bottom: 0; }
.planner legend { padding: 0; margin-bottom: 12px; font-weight: 800; font-size: 1.12rem; color: var(--text); }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px 14px 48px; border-radius: 12px; border: 2px solid var(--line); background: var(--night-800); cursor: pointer; font-weight: 600; color: var(--text); transition: border-color .2s ease, background-color .2s ease; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 2px solid #5a4fb0; background: #0a0822; transition: border-color .2s ease, box-shadow .2s ease; }
.opt:hover { border-color: #5a4fb0; }
.opt:has(input:checked) { border-color: var(--cyan); background: rgba(62, 231, 240, .07); }
.opt:has(input:checked)::before { border-color: var(--cyan); box-shadow: inset 0 0 0 4px #0a0822, inset 0 0 0 10px var(--cyan); }
.opt:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 3px; }
.opt:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.opt b { font-family: var(--mono); font-weight: 800; color: var(--gold); white-space: nowrap; }
.planner .hint { margin: 10px 0 0; font-size: 0.93rem; color: var(--text-dim); min-height: 1.6em; }
.readout { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px 26px 28px; border-radius: 18px; background: linear-gradient(180deg, #1c1647, var(--night-850)); border: 1px solid #3d3488; box-shadow: 0 30px 70px -40px rgba(255, 62, 165, .8); }
.readout h3 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; margin-bottom: 14px; }
.readout dl { margin: 0 0 6px; }
.readout dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px dashed #3d3488; }
.readout dt { color: var(--text-dim); }
.readout dt small { display: block; font-size: 0.86rem; color: var(--text-mute); }
.readout dd { margin: 0; font-family: var(--mono); font-weight: 800; font-size: 1.25rem; color: var(--text); white-space: nowrap; }
.readout .total { border-bottom: 0; padding-top: 16px; }
.readout .total dt { color: var(--text); font-weight: 700; }
.readout .total dd { font-size: 1.7rem; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.readout .btn { width: 100%; margin-top: 12px; }
.readout .note { margin: 14px 0 0; }

/* ---------- 8 FAQ and CTA ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-list details { border-radius: 12px; background: var(--night-800); border: 1px solid var(--line); transition: border-color .25s ease; }
.faq-list details[open] { border-color: rgba(62, 231, 240, .55); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 700; color: var(--text); font-size: 1.06rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.5rem; color: var(--cyan); transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--magenta); }
.faq-list details p { margin: 0; padding: 0 22px 22px; }

.cta {
  position: relative; overflow: hidden; text-align: center; padding: clamp(72px, 9vw, 120px) 0;
  background:
    radial-gradient(70% 120% at 50% 120%, rgba(255, 62, 165, .45), transparent 60%),
    linear-gradient(180deg, #0b0828, #2a0f4d);
}
.cta::before {
  content: ""; position: absolute; left: -50%; right: -50%; bottom: 0; height: 55%; z-index: 0;
  background-image: linear-gradient(rgba(255, 62, 165, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 62, 165, .28) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(300px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%);
}
.cta::after { content: ""; position: absolute; inset: 0 0 62% 0; background-image: radial-gradient(1.6px 1.6px at 32.7% 15.8%, rgba(255,255,255,0.49) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 53.5% 36.8%, rgba(201,251,255,0.56) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 9.4% 42.0%, rgba(255,255,255,0.73) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 6.8% 56.4%, rgba(201,251,255,0.92) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 57.6% 39.9%, rgba(255,255,255,0.73) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 14.1% 42.1%, rgba(255,255,255,0.74) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 55.9% 67.8%, rgba(201,251,255,0.74) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 19.4% 10.5%, rgba(255,255,255,0.73) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 61.7% 49.6%, rgba(255,217,240,0.84) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 46.6% 91.5%, rgba(255,255,255,0.57) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 18.6% 77.4%, rgba(201,251,255,0.60) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 49.5% 34.7%, rgba(255,255,255,0.75) 50%, transparent 51%), radial-gradient(1.1px 1.1px at 8.2% 51.2%, rgba(255,255,255,0.53) 50%, transparent 51%), radial-gradient(1.6px 1.6px at 48.9% 4.8%, rgba(255,255,255,0.83) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 57.2% 86.8%, rgba(255,255,255,0.80) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 59.2% 57.8%, rgba(255,255,255,0.87) 50%, transparent 51%); background-size: 430px 310px; opacity: .7; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta p { color: var(--text); max-width: 56ch; margin: 0 auto 28px; font-size: 1.12rem; }

/* ---------- 9 Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.perks { margin-top: 34px; }
.perks li { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--text); font-weight: 600; }
.perks svg { width: 22px; height: 22px; flex: none; color: var(--cyan); }
form.quote {
  position: relative; padding: clamp(24px, 4vw, 36px); border-radius: 18px;
  background: linear-gradient(180deg, var(--night-800), var(--night-850));
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -40px rgba(139, 92, 246, .8);
}
form.quote::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--neon-line); }
form.quote h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.quote label { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.optional { font-weight: 500; color: var(--text-mute); }
.quote input, .quote select, .quote textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 14px; border-radius: 10px;
  background: #0a0822; border: 2px solid #3b3380;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.quote select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ee7f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.quote select option { background: #0a0822; color: var(--text); }
.quote textarea { min-height: 130px; resize: vertical; }
.quote ::placeholder { color: var(--text-mute); opacity: 1; }
.quote input:hover, .quote select:hover, .quote textarea:hover { border-color: #5a4fb0; }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(62, 231, 240, .22); }
form.quote .btn { width: 100%; margin-top: 6px; }
form.quote .btn[disabled] { opacity: .7; cursor: progress; }
.form-note { margin: 14px 0 0; font-size: 0.92rem; color: var(--text-dim); text-align: center; }
.carried { margin: -6px 0 18px; padding: 10px 14px; border-radius: 10px; font-size: 0.95rem; color: var(--text); background: rgba(62, 231, 240, .08); border: 1px solid rgba(62, 231, 240, .4); }

/* ---------- 10 Footer ---------- */
.site-footer { position: relative; background: #050414; padding: 56px 0 34px; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--neon-line); opacity: .6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h2 { margin: 0 0 12px; font-family: var(--body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0; color: var(--cyan); }
.site-footer p { margin: 14px 0 0; color: var(--text-dim); font-size: 0.98rem; max-width: 34ch; }
.site-footer ul li { margin: 8px 0; }
.site-footer ul a { color: var(--text-dim); text-decoration: none; }
.site-footer ul a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: 0.9rem; color: var(--text-mute); }
.to-top { color: var(--text-dim); text-decoration: none; font-weight: 600; }

/* ---------- 11 Motion rules ---------- */
/* Page to page: a soft cross fade while the header stays put (Chrome, Edge, Safari) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
}

/* First paint on the home page: the words are simply there, the preview slides in */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .stage-tilt { animation: settle .9s cubic-bezier(.2, .8, .2, 1) .15s backwards; }
}
@keyframes settle { from { opacity: 0; translate: 0 22px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .steps::before { transform: none; }
  .stage-tilt { transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 980px) {
  /* one column: the preview sits right under the box you type in, then the buttons */
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-grid > .hero-copy { display: contents; }
  .hero-grid h1 { order: 1; }
  .hero-grid .lede { order: 2; }
  .hero-grid .tryon { order: 3; }
  .stage { order: 4; max-width: 560px; width: 100%; margin: 8px auto 30px; }
  .hero-grid .actions { order: 5; }
  .hero-grid .hero-note { order: 6; margin-bottom: 18px; }
  /* inner pages: keep the sun clear of the words */
  .page-hero .hero-copy { padding-bottom: 30px; }
  .page-hero .scene { margin-top: 0; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand { font-size: 1rem; gap: 10px; }
  .brand svg { width: 36px; height: 36px; }
  .hero .actions .btn, .cta .actions .btn, .simple .actions .btn { width: 100%; }
  .hero h1 { font-size: clamp(1.75rem, 8.4vw, 2.2rem); }
  .tryon-line { font-size: 1.05rem; }
  .card { padding: 26px 22px 24px; }
  .stage { padding: 0; }
  .stage-tilt { padding-bottom: 0; }
  .stage .monitor { display: none; }
  .handset { position: relative; right: auto; width: min(58vw, 230px); margin-inline: auto; padding: 2.2vw; transform: none; }
  .stage-note { text-align: center; margin-inline: auto; }
}
