/* =========================================================
   Runmorphic — AI Automation Agency
   One accent family across both themes: coral #EF8557 + editorial blue #226192.
     dark  — Ink #0A0E14 · Coral #EF8557 · Blue glow
     light — Warm Ivory #EAE6DE · Deep Editorial Blue #226192 · Coral #EF8557
     Display type is Instrument Serif in both themes.
   ========================================================= */

/* display type: same serif in both themes */
:root {
  --df: 'Instrument Serif', serif;
  --dw: 400;
  --dt: -0.01em;
  --dsz: 1;
  --tt: none;
}

:root,
[data-theme="dark"] {
  --bg: #0A0E14;
  --surface: #101722;
  --surface2: #17202E;
  --line: rgba(238, 234, 226, .1);
  --ink: #EEEAE2;
  --muted: #98A1AE;
  --display: #F3EFE7;
  --accent: #EF8557;
  --accent-text: #EF8557;
  --on-accent: #1A1410;
  --block: linear-gradient(135deg, #226192 0%, #14385A 100%);
  --on-block: #F3F0EA;
  --block-line: rgba(255, 255, 255, .25);

  /* atmosphere */
  --orb-a: rgba(239, 133, 87, .32);
  --orb-b: rgba(76, 143, 209, .30);
  --dot: rgba(238, 234, 226, .2);
  --spot: rgba(239, 133, 87, .14);
  --header-bg: rgba(10, 14, 20, .78);
  --em-color: var(--accent);
  --em-bar: transparent;

  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #EAE6DE;
  --surface: #F3F0EA;
  --surface2: #E0DBD1;
  --line: rgba(34, 97, 146, .22);
  --ink: #18232E;
  --muted: #555A5E;
  --display: #226192;
  --accent: #EF8557;
  --accent-text: #226192;
  --on-accent: #1A1410;
  --block: #226192;
  --on-block: #F3F0EA;
  --block-line: rgba(255, 255, 255, .25);

  /* atmosphere */
  --orb-a: rgba(239, 133, 87, .30);
  --orb-b: rgba(239, 133, 87, .14);
  --dot: rgba(34, 97, 146, .22);
  --spot: rgba(239, 133, 87, .18);
  --header-bg: rgba(234, 230, 222, .82);
  /* coral stays decorative in light mode: blue text + a coral bar under emphasised words */
  --em-color: var(--display);
  --em-bar: var(--accent);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background .4s, color .4s;
}

a { color: var(--ink); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--accent-text); }

button { font: inherit; color: inherit; }

h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

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

::selection { background: var(--accent); color: var(--on-accent); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--on-accent); }

/* ---------- Utilities ---------- */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}

.mono { font-family: 'JetBrains Mono', monospace; }
.muted { color: var(--muted); }
.stack-20 { display: flex; flex-direction: column; gap: 20px; }

.display {
  font-family: var(--df);
  font-weight: var(--dw);
  letter-spacing: var(--dt);
  color: var(--display);
}

.h-section {
  line-height: .98;
  font-size: calc(clamp(40px, 5vw, 76px) * var(--dsz));
  text-wrap: balance;
}

/* emphasised words: coral text in dark, coral bar under blue text in light */
.display em {
  font-style: italic;
  color: var(--em-color);
  background: linear-gradient(var(--em-bar), var(--em-bar)) 0 88% / 100% .055em no-repeat;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--on-block { color: inherit; }

.rule { width: 80px; height: 1px; background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: opacity .2s, background .2s, color .2s;
}
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { opacity: .88; color: var(--on-accent); }
.btn--outline { border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--header { padding: 11px 18px; font-size: 13px; }
.btn--pulse { animation: ring 2.4s ease-out infinite; }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(239, 133, 87, .55); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(239, 133, 87, 0); }
}
.btn--lg { padding: 18px 28px; font-size: 15px; }

.segmented {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
}
.segmented button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  letter-spacing: inherit;
  background: transparent;
  color: var(--muted);
  transition: background .25s, color .25s;
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
/* sliding thumb (pricing toggle): two equal buttons, thumb follows aria-pressed */
.segmented--slide { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.segmented--slide::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform .35s cubic-bezier(.6, .1, .2, 1);
}
.segmented--slide:has(button:last-child[aria-pressed="true"])::before { transform: translateX(100%); }
.segmented--slide button { position: relative; z-index: 1; white-space: nowrap; }
.segmented--slide button[aria-pressed="true"] { background: transparent; color: var(--bg); }
.segmented--sm { padding: 3px; font-size: 10px; }
.segmented--sm button { padding: 7px 12px; }

.circle-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.circle-link__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--accent-text);
  transition: background .25s, color .25s, transform .25s;
}
.circle-link:hover .circle-link__icon { background: var(--accent); color: var(--on-accent); transform: translateX(3px); }

.underline-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.underline-link:hover { border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .4s;
}
.site-header__inner {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { width: 14px; height: 14px; fill: var(--accent); flex: none; transition: transform .4s; }
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .32em;
  font-weight: 500;
  color: var(--display);
}
.brand__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.site-nav a { position: relative; padding: 4px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--accent-text); }
.site-nav__cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--ink);
  transition: transform .3s, top .3s;
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 22px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}
.hero__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero__lead { display: flex; flex-direction: column; gap: 28px; }
.hero__title {
  text-transform: var(--tt);
  line-height: .92;
  font-size: calc(clamp(56px, 7.6vw, 124px) * var(--dsz));
  text-wrap: balance;
}
.hero__sub {
  max-width: 440px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}
.hero__meta span:first-child { white-space: nowrap; }
.hero__meta .rule { flex: 0 1 80px; min-width: 24px; }

.hero__block {
  position: relative;
  isolation: isolate;
  background: var(--block);
  border-radius: 4px;
  min-height: 540px;
  overflow: hidden;
  padding: clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background .4s;
}
.hero__numeral {
  position: absolute;
  top: -40px;
  right: -10px;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(220px, 26vw, 380px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--on-block);
  opacity: .35;
  pointer-events: none;
  user-select: none;
}
.hero__block-label {
  position: absolute;
  top: 28px;
  left: clamp(20px, 3vw, 36px);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--on-block);
  opacity: .85;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.run-card {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
  transition: background .4s;
}
.run-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.run-card__title { font-size: 14px; font-weight: 600; }
.run-card__clock { font-size: 10px; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }

.run-step {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  font-size: 13px;
  opacity: .45;
  transition: opacity .4s;
}
.run-step__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 4px transparent;
  transition: background .3s, box-shadow .3s;
}
.run-step__status { font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.run-step.is-done,
.run-step.is-running { opacity: 1; }
.run-step.is-done .run-step__dot { background: var(--accent); }
.run-step.is-running .run-step__dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--line);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 6px var(--line); }
}

.progress { height: 2px; background: var(--surface2); margin-top: 10px; border-radius: 2px; overflow: hidden; }
.progress__bar { height: 100%; width: 0; background: var(--accent); transition: width .6s; }

/* ---------- Sections ---------- */
.section { border-top: 1px solid var(--line); }
.section--surface { background: var(--surface); transition: background .4s; }
.section__inner { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.section-head { margin-bottom: 56px; }
.section-head--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 32px;
  align-items: end;
}
.section-head__aside {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  justify-self: end;
  text-wrap: pretty;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--bg);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: background .4s;
}
.service__body { display: flex; flex-direction: column; gap: 12px; }
.service__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}
.service__title { font-size: calc(36px * var(--dsz)); line-height: 1; }
.service p { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 460px; }

.panel {
  background: var(--surface);
  border-radius: 4px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: background .4s, transform .4s;
}
.service:hover .panel { transform: translateY(-3px); }
.panel--gap { gap: 14px; justify-content: space-between; }
.panel__label { font-size: 10px; letter-spacing: .14em; color: var(--muted); padding-bottom: 10px; }
.panel--gap .panel__label { padding-bottom: 0; }
.panel__label--split { display: flex; justify-content: space-between; }
.panel__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.panel__row--3 { display: grid; grid-template-columns: 1fr 1fr auto; }
.panel__prompt { font-size: 15px; line-height: 1.45; }

.tag { font-size: 10px; color: var(--muted); white-space: nowrap; }
.tag--accent { color: var(--accent-text); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; }
.chip--accent { border-color: transparent; background: var(--accent); color: var(--on-accent); margin-left: auto; }

.build-line { display: flex; justify-content: space-between; font-size: 14px; }
.build-line strong { font-weight: 600; }
.meter { height: 4px; background: var(--surface2); border-radius: 4px; overflow: hidden; }
.meter__fill {
  height: 100%;
  width: 90%;
  background: var(--accent);
  transform-origin: left;
  transition: transform 1.6s cubic-bezier(.2, .7, .1, 1) .3s;
}
.js .reveal:not(.is-in) .meter__fill { transform: scaleX(0); }

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}
.week span { padding: 6px 0; border: 1px solid var(--line); border-radius: 3px; }
.week .is-today { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.week .is-off { opacity: .5; border-color: transparent; }
.week span:not(.is-today):not(.is-off) { animation: tick 4.2s ease-in-out infinite; }
.week span:nth-child(1) { animation-delay: 0s; }
.week span:nth-child(2) { animation-delay: .5s; }
.week span:nth-child(4) { animation-delay: 1.5s; }
.week span:nth-child(5) { animation-delay: 2s; }
@keyframes tick {
  0%, 70%, 100% { border-color: var(--line); color: var(--muted); }
  80% { border-color: var(--accent); color: var(--ink); }
}

/* ---------- Process ---------- */
.process { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.process__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 24px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.process__num {
  font-family: 'Instrument Serif', serif;
  font-size: 72px;
  line-height: .8;
  color: var(--accent-text);
}
.process__row h3 { font-size: 22px; font-weight: 600; }
.process__row p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.process__when { font-size: 11px; letter-spacing: .14em; color: var(--muted); justify-self: end; }

/* tiny looping visuals, one per step (decorative, aria-hidden) */
.viz { display: flex; align-items: center; gap: 5px; width: 120px; height: 36px; }
.viz i { display: block; background: var(--line); border-radius: 2px; }

.viz--audit { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; }
.viz--audit i { height: 3px; animation: scan 3.2s ease-in-out infinite; }
.viz--audit i:nth-child(1) { width: 100%; }
.viz--audit i:nth-child(2) { width: 68%; animation-delay: .25s; }
.viz--audit i:nth-child(3) { width: 86%; animation-delay: .5s; }
.viz--audit i:nth-child(4) { width: 52%; animation-delay: .75s; }
@keyframes scan {
  0%, 55%, 100% { background: var(--line); }
  20% { background: var(--accent); }
}

.viz--build i { flex: 1; height: 8px; animation: fill 3.6s ease-in-out infinite; }
.viz--build i:nth-child(2) { animation-delay: .3s; }
.viz--build i:nth-child(3) { animation-delay: .6s; }
.viz--build i:nth-child(4) { animation-delay: .9s; }
.viz--build i:nth-child(5) { animation-delay: 1.2s; }
@keyframes fill {
  0%, 12% { background: var(--line); }
  28%, 80% { background: var(--accent); }
  100% { background: var(--line); }
}

.viz--link b { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--accent); }
.viz--link i { position: relative; flex: 1; height: 1px; border-radius: 0; }
.viz--link i::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: travel 2.2s cubic-bezier(.5, 0, .5, 1) infinite;
}
@keyframes travel {
  from { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  to { left: calc(100% - 5px); opacity: 0; }
}

.viz--refine { align-items: flex-end; }
.viz--refine i { flex: 1; height: 100%; background: var(--accent); transform-origin: bottom; animation: rise-bar 3s ease-in-out infinite; }
.viz--refine i:nth-child(1) { animation-delay: 0s; }
.viz--refine i:nth-child(2) { animation-delay: .4s; }
.viz--refine i:nth-child(3) { animation-delay: .8s; }
.viz--refine i:nth-child(4) { animation-delay: 1.2s; }
.viz--refine i:nth-child(5) { animation-delay: 1.6s; }
@keyframes rise-bar {
  0%, 100% { transform: scaleY(.25); opacity: .5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Outcomes ---------- */
.outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 5vw, 80px);
}
.outcomes__head { align-self: start; position: sticky; top: 100px; }
.outcomes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px 32px;
}
.outcome {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.outcome::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .7, .1, 1);
}
.outcome:hover::before { transform: scaleX(1); }
.outcome__num { font-size: 11px; color: var(--accent-text); }
.outcome h3 { font-size: 19px; font-weight: 600; }
.outcome p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}
.plan {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: background .4s;
}
.plan__name { font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.plan__name--split { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { background: var(--accent); color: var(--on-accent); padding: 4px 10px; border-radius: 999px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__amount {
  font-family: 'Instrument Serif', serif;
  font-size: 72px;
  line-height: .9;
  color: var(--display);
  font-variant-numeric: tabular-nums;
}
.plan__per { color: var(--muted); font-size: 14px; }
.plan__desc { font-size: 15px; line-height: 1.55; color: var(--muted); }
.plan__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.plan__features li::before { content: "— "; }

.plan--featured { background: var(--block); color: var(--on-block); border-color: transparent; }
.plan--featured::before {
  content: "";
  position: absolute;
  bottom: -140px;
  right: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 190, 245, .38), transparent 65%);
  pointer-events: none;
}
.plan > * { position: relative; }
.plan--featured .plan__name,
.plan--featured .plan__amount { color: inherit; }
.plan--featured .plan__per { color: inherit; opacity: .85; }
.plan--featured .plan__desc { color: inherit; opacity: .9; }
.plan--featured .plan__features { border-top-color: var(--block-line); }

.pricing-note { margin-top: 24px; font-size: 11px; letter-spacing: .14em; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 5vw, 80px);
}
.faq-layout__head { align-self: start; }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font: inherit; }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: none;
  border: 0;
  padding: 24px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  text-align: left;
}
.faq__q:hover { color: var(--accent-text); }
.faq__sign { font-family: 'JetBrains Mono', monospace; font-size: 18px; color: var(--accent-text); flex: none; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0 0 24px; max-width: 560px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
/* Without JS, keep every answer readable */
html:not(.js) .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--block); color: var(--on-block); transition: background .4s; }
.cta__glow {
  position: absolute;
  right: -10%;
  bottom: -60%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 190, 245, .34), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  animation: drift-b 16s ease-in-out infinite alternate;
}
.cta__inner { position: relative; }
.cta__inner {
  padding-top: clamp(72px, 10vw, 140px);
  padding-bottom: clamp(72px, 10vw, 140px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.cta__title em { color: inherit; background-image: linear-gradient(var(--accent), var(--accent)); }
.cta__title {
  max-width: 1100px;
  color: inherit;
  text-transform: var(--tt);
  line-height: .92;
  font-size: calc(clamp(56px, 8vw, 132px) * var(--dsz));
  text-wrap: balance;
}
.cta__actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.cta__email { font-size: 12px; letter-spacing: .12em; color: inherit; }
.cta__email:hover { color: inherit; opacity: .75; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease, background .4s;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Atmosphere: hero glow + dot grid ---------- */
main { position: relative; }
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(980px, 110vh);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
/* dot grid fades out from the top-centre; orbs sit outside that mask */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 28%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 28%, #000 10%, transparent 75%);
}
.hero-bg__orb { position: absolute; border-radius: 50%; filter: blur(40px); }
.hero-bg__orb--a {
  top: -14%;
  right: -6%;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--orb-a), transparent 64%);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.hero-bg__orb--b {
  top: 22%;
  left: -14%;
  width: min(54vw, 640px);
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--orb-b), transparent 64%);
  animation: drift-b 22s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(-8%, 10%, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(10%, -8%, 0) scale(1.1); } }
/* staggered blur-fade-up on load */
.rise { animation: rise .9s cubic-bezier(.2, .7, .1, 1) both; }
.rise.d1 { animation-delay: .08s; }
.rise.d2 { animation-delay: .18s; }
.rise.d3 { animation-delay: .3s; }
.rise.d4 { animation-delay: .42s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

.pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--header-bg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: ring 2s ease-out infinite;
}

/* ---------- Works with your stack (marquee) ---------- */
.stack-strip { padding-bottom: clamp(48px, 6vw, 80px); position: relative; z-index: 1; }
.stack-strip__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
}
.stack-strip__head .rule { flex: 0 1 80px; }
.marquee {
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  flex: none;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 48px;
  padding: 22px 24px;
}
.marquee__track li {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--display);
  opacity: .8;
}
.marquee__track li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.js .marquee__track { animation: marquee 48s linear infinite; justify-content: flex-start; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Cursor spotlight (hover devices only) ---------- */
.spot { position: relative; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
}
@media (hover: hover) {
  .spot:hover::after { opacity: 1; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 40;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ---------- Live panel bits ---------- */
.panel__prompt .ghost { opacity: 0; }
.panel__prompt.is-typing > span:first-child::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--accent);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.service__tags { margin-top: 6px; }
.h-section--wide { max-width: 900px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .brand__tag { display: none; }
}

@media (min-width: 1100px) {
  /* two-column services grid: keep card headings level across a row */
  .panel { min-height: 168px; }
}

@media (max-width: 900px) {
  .section-head__aside { justify-self: start; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px clamp(20px, 4vw, 56px) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s, transform .25s;
  }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .site-nav .site-nav__cta {
    display: block;
    margin-top: 20px;
    padding: 14px;
    border: 0;
    border-radius: 999px;
    text-align: center;
    background: var(--accent);
    color: var(--on-accent);
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
  }
}

@media (max-width: 640px) {
  .btn--header { display: none; }
  .site-header__actions { gap: 8px; }
  .hero__block { min-height: 480px; }
  .section-head__aside { justify-self: start; }
  .process__row { gap: 12px; padding: 28px 0; }
  .process__num { font-size: 56px; margin-bottom: 8px; }
  .process__when { justify-self: start; }
  .faq__q { font-size: 17px; }
}

@media (max-width: 380px) {
  .brand__name { letter-spacing: .2em; }
  .segmented--sm button { padding: 7px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal:not(.is-in) .meter__fill { transform: none; }
  .js .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; }
  .scroll-progress { display: none; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 100vh; display: flex; flex-direction: column; padding-top: 32px; padding-bottom: 32px; }
.not-found__body { margin: auto 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.not-found__title {
  text-transform: var(--tt);
  line-height: .92;
  font-size: calc(clamp(56px, 9vw, 140px) * var(--dsz));
  text-wrap: balance;
}
