/* ==========================================================================
   Reliable Automations — Design System
   Dark-first, gradient-accented marketing site
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand channels. Every accent on the site is derived from these — change
     them here and everything follows. High chroma on purpose: this palette is
     meant to read vivid, not tasteful-grey. */
  --brand-rgb:   157, 92, 255;   /* electric violet */
  --brand-2-rgb: 255, 46, 154;   /* hot magenta     */
  --brand-3-rgb: 0, 240, 255;    /* electric cyan   */
  --ok-rgb:      168, 255, 62;   /* lime — the pop  */

  /* The canvas is a saturated indigo, NOT near-black. This is what makes the
     accents read as vivid: colour on near-black desaturates optically, so no
     accent choice can rescue a #06070b page. Don't flatten these to grey. */
  --bg:          #0a0618;
  --bg-2:        #0f0a26;
  --surface:     #171040;
  --surface-2:   #1f1652;
  --surface-3:   #2a1e68;

  --line:        rgba(var(--brand-rgb), 0.22);
  --line-2:      rgba(var(--brand-rgb), 0.38);

  --text:        #f6f3ff;
  --text-2:      #d5cdf2;
  --muted:       #a99ed0;
  --faint:       #9186bd;   /* AA on both --bg and the lightest surface */

  --brand:       rgb(var(--brand-rgb));
  --brand-2:     rgb(var(--brand-2-rgb));
  --brand-3:     rgb(var(--brand-3-rgb));
  --ok:          rgb(var(--ok-rgb));
  --accent:      #ffa83d;   /* handmade layer only — the sole orange on the
                               site, so it stays a separate voice from lime */

  /* Decorative ramp — gradient text, hairline borders, markers. Never put
     small text ON this: the cyan stop is only ~1.5:1 against white. */
  --grad:        linear-gradient(115deg, #00f0ff 0%, #9d5cff 45%, #ff2e9a 100%);
  /* Use this anywhere white label text sits on the gradient. Both stops clear
     4.5:1 against #fff, so button copy stays AA at normal weight. */
  --grad-cta:    linear-gradient(115deg, #7b34f0 0%, #e2126f 100%);
  --grad-soft:   linear-gradient(115deg, rgba(var(--brand-rgb),.34), rgba(var(--brand-2-rgb),.24));

  --radius-sm:   10px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --max:         1180px;
  --gutter:      clamp(20px, 5vw, 40px);

  /* Violet-tinted rather than black — a neutral shadow on an indigo canvas
     pulls the surface back toward grey, which is the dullness we're fixing. */
  --shadow:      0 1px 0 rgba(255,255,255,.06) inset, 0 20px 50px -20px rgba(8,2,32,.95);
  --shadow-lift: 0 1px 0 rgba(255,255,255,.09) inset, 0 34px 70px -24px rgba(8,2,32,1),
                 0 0 60px -22px rgba(var(--brand-rgb),.65);

  --ease:        cubic-bezier(.22, 1, .36, 1);

  --font:        "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display:"Sora", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:   "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

::selection { background: rgba(var(--brand-2-rgb), .45); color: #fff; }

/* Ambient background wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(820px 520px at 10% -10%, rgba(var(--brand-rgb), .55), transparent 66%),
    radial-gradient(760px 520px at 92% 0%,   rgba(var(--brand-2-rgb), .42), transparent 64%),
    radial-gradient(900px 560px at 78% 55%,  rgba(var(--brand-3-rgb), .22), transparent 62%),
    radial-gradient(760px 520px at 18% 68%,  rgba(var(--brand-rgb), .30), transparent 64%),
    radial-gradient(950px 700px at 50% 110%, rgba(var(--brand-2-rgb), .34), transparent 66%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(var(--brand-3-rgb),.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-3-rgb),.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 118px); }
.section--tight { padding-block: clamp(48px, 6vw, 78px); }
.section--edge { border-top: 1px solid var(--line); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.15rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.95rem, 4vw, 2.95rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
h4 { font-size: 1.02rem; letter-spacing: -.01em; }

p { color: var(--text-2); text-wrap: pretty; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--muted); line-height: 1.68; }
.small { font-size: .875rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Eyebrow / Pill ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(var(--brand-rgb),.14);
  backdrop-filter: blur(10px);
  font-size: .765rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(var(--ok-rgb),.18);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1;  transform: scale(1); }
  50%      { opacity: .55; transform: scale(.82); }
}

/* ---------- Section heading block ---------- */
.head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 60px); }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { margin-block: 18px 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .935rem;
  font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background .22s var(--ease), border-color .22s var(--ease), opacity .2s;
}

.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(var(--brand-rgb),.85),
              0 10px 34px -14px rgba(var(--brand-2-rgb),.7);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -12px rgba(var(--brand-rgb),1),
              0 18px 50px -16px rgba(var(--brand-2-rgb),.85);
}

.btn--ghost {
  background: rgba(var(--brand-rgb),.16);
  border-color: var(--line-2);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(var(--brand-rgb),.28); border-color: rgba(var(--brand-rgb),.6); transform: translateY(-2px); }

.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--brand-2);
  transition: gap .25s var(--ease), color .2s;
}
.link-arrow:hover { gap: 12px; color: #ff6fb4; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(var(--brand-rgb),.22), rgba(var(--brand-2-rgb),.08) 60%, transparent),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card:hover::after { opacity: .9; }

.card h3 { margin-bottom: 10px; }
.card p  { font-size: .945rem; color: var(--muted); }

.card-ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 20px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: var(--grad-soft);
  color: var(--brand-2);
}
.card-ico svg { width: 21px; height: 21px; }

.card-list {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
  display: grid;
  gap: 9px;
}
.card-list li {
  position: relative;
  padding-left: 20px;
  font-size: .87rem;
  color: var(--faint);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--grad);
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s;
}
.header.is-stuck {
  background: rgba(10,6,24,.72);
  backdrop-filter: blur(18px) saturate(190%);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.03rem;
  letter-spacing: -.03em;
  margin-right: auto;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad-cta);
  box-shadow: 0 6px 18px -6px rgba(var(--brand-rgb),.9);
  flex: none;
}
.logo-mark svg { width: 18px; height: 18px; color: #fff; }
.logo span small {
  display: block;
  font-family: var(--font);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1;
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .91rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(var(--brand-rgb),.18); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(var(--brand-rgb),.16);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 17px; height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 4.5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.1px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.1px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .burger { display: grid; }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(12,7,30,.97);
  backdrop-filter: blur(20px);
  padding: 18px var(--gutter) 26px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-2);
}
.mobile-menu .btn { margin-top: 20px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-block: clamp(56px, 9vw, 104px) clamp(50px, 7vw, 90px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(36px, 5vw, 62px);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-block: 24px 22px; }
.hero .lede { max-width: 58ch; }
.hero .btn-row { margin-top: 34px; }

.hero-note {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: .845rem;
  color: var(--faint);
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 15px; height: 15px; color: var(--ok); flex: none; }

/* Hero pipeline visual */
.pipeline {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(165deg, rgba(var(--brand-rgb),.30), rgba(var(--brand-2-rgb),.10) 55%, transparent),
    linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(12px);
}
.pipeline::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(var(--brand-rgb),.7), transparent 45%, rgba(var(--brand-2-rgb),.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pipeline-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.pipeline-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}
.pipeline-bar i:first-child { background: #ff5f57; }
.pipeline-bar i:nth-child(2) { background: #febc2e; }
.pipeline-bar i:nth-child(3) { background: #28c840; }
.pipeline-bar b {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--faint);
}

.node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(var(--brand-rgb),.16);
  opacity: 0;
  animation: nodeIn .7s var(--ease) forwards;
}
.node:nth-child(2) { animation-delay: .15s; }
.node:nth-child(3) { animation-delay: .45s; }
.node:nth-child(4) { animation-delay: .75s; }
.node:nth-child(5) { animation-delay: 1.05s; }
.node:nth-child(6) { animation-delay: 1.35s; }

@keyframes nodeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.node + .node::before {
  content: "";
  position: absolute;
  left: 33px; top: -15px;
  width: 1.6px; height: 15px;
  background: linear-gradient(180deg, transparent, var(--brand-2));
}

.node-ico {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad-soft);
  border: 1px solid var(--line-2);
  color: var(--brand-2);
  flex: none;
}
.node-ico svg { width: 18px; height: 18px; }

.node-body { min-width: 0; flex: 1; }
.node-body strong { display: block; font-size: .9rem; font-weight: 600; letter-spacing: -.01em; }
.node-body span  { display: block; font-size: .78rem; color: var(--faint); font-family: var(--font-mono); }

.node-tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(var(--ok-rgb),.12);
  color: var(--ok);
  border: 1px solid rgba(var(--ok-rgb),.25);
  flex: none;
}
.node-tag--run { background: rgba(var(--brand-2-rgb),.18); color: var(--brand-2); border-color: rgba(var(--brand-2-rgb),.38); }

.pipeline-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--faint);
}
.pipeline-foot b { color: var(--ok); font-weight: 500; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: scroll 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

.marquee-track span {
  font-family: var(--font-display);
  font-size: .96rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--faint);
  white-space: nowrap;
  transition: color .25s;
}
.marquee-track span:hover { color: var(--text-2); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: 30px 24px;
  background: var(--bg-2);
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat small {
  display: block;
  margin-top: 6px;
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .01em;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process { display: grid; gap: 18px; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr 1.05fr;
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(var(--brand-rgb),.20), rgba(var(--brand-2-rgb),.07) 60%, transparent),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.step:hover { border-color: var(--line-2); transform: translateX(5px); }

@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .step:hover { transform: none; }
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .95;
}
.step-num small {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  -webkit-text-fill-color: var(--faint);
}

.step-main h3 { margin-bottom: 9px; }
.step-main p  { font-size: .945rem; color: var(--muted); }

.step-side { display: grid; gap: 10px; align-content: start; }
.step-side h4 {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.step-side li {
  position: relative;
  padding-left: 22px;
  font-size: .885rem;
  color: var(--text-2);
}
.step-side li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 12px; height: 1.5px;
  background: var(--grad);
  border-radius: 2px;
}

/* ---------- Chips / Industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(var(--brand-rgb),.14);
  font-size: .89rem;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color .25s, background .25s, transform .3s var(--ease), color .25s;
}
.chip:hover {
  border-color: rgba(var(--brand-2-rgb),.65);
  background: rgba(var(--brand-2-rgb),.16);
  color: var(--text);
  transform: translateY(-2px);
}
.chip em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--faint);
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: 16px; margin-top: 28px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  flex: none;
  margin-top: 2px;
  border-radius: 8px;
  background: rgba(var(--ok-rgb),.12);
  border: 1px solid rgba(var(--ok-rgb),.28);
  color: var(--ok);
}
.checklist .tick svg { width: 13px; height: 13px; }
.checklist strong { display: block; font-size: .96rem; font-weight: 600; letter-spacing: -.01em; }
.checklist p { font-size: .89rem; color: var(--muted); margin-top: 2px; }

/* ---------- Case / result cards ---------- */
.case { display: flex; flex-direction: column; }
.case-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(var(--brand-rgb),.16);
  font-family: var(--font-mono);
  font-size: .69rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.case-metric {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.case h3 { font-size: 1.03rem; margin-bottom: 8px; }
.case p { font-size: .9rem; }
.case-foot {
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--faint);
}

/* ---------- Stack columns ---------- */
.stack-col h4 {
  font-family: var(--font-mono);
  font-size: .71rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.stack-col li {
  padding: 7px 0;
  font-size: .885rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; gap: 20px; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: .6;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote blockquote { font-size: .985rem; color: var(--text-2); line-height: 1.72; }
.quote-by { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 8px; }
.avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
}
.quote-by strong { display: block; font-size: .89rem; font-weight: 600; }
.quote-by span  { display: block; font-size: .79rem; color: var(--faint); }

/* ---------- Pricing / engagement ---------- */
.plan { display: flex; flex-direction: column; }
.plan--featured {
  border-color: rgba(var(--brand-2-rgb),.55);
  background: linear-gradient(180deg, rgba(var(--brand-rgb),.24), rgba(var(--brand-2-rgb),.09));
}
.plan--featured::after { opacity: .85; }

.plan-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--grad-cta);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -.035em;
  margin-block: 16px 4px;
}
.plan-price small { font-size: .82rem; font-weight: 400; color: var(--faint); letter-spacing: 0; }
.plan .card-list { flex: 1; }
.plan .btn { margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(var(--brand-rgb),.11);
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq-item.is-open { border-color: var(--line-2); background: rgba(var(--brand-rgb),.22); }

.faq-q {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 19px 22px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--text);
}
.faq-q i {
  position: relative;
  margin-left: auto;
  width: 15px; height: 15px;
  flex: none;
}
.faq-q i::before, .faq-q i::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 15px; height: 1.7px;
  background: var(--brand-2);
  border-radius: 2px;
  transition: transform .35s var(--ease);
}
.faq-q i::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q i::after { transform: rotate(0deg); }

.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; font-size: .935rem; color: var(--muted); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 64px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(var(--brand-rgb),.42), transparent 66%),
    radial-gradient(600px 320px at 88% 100%, rgba(var(--brand-2-rgb),.32), transparent 64%),
    radial-gradient(500px 300px at 60% 20%, rgba(var(--brand-3-rgb),.14), transparent 60%),
    var(--surface);
  overflow: hidden;
  text-align: center;
}
.cta h2 { margin-bottom: 16px; }
.cta p { max-width: 60ch; margin-inline: auto; }
.cta .btn-row { margin-top: 32px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.form-card { padding: clamp(26px, 3.4vw, 38px); }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label span { color: var(--brand-3); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(var(--brand-rgb),.14);
  color: var(--text);
  font-size: .945rem;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(var(--brand-rgb),.9);
  background: rgba(var(--brand-rgb),.20);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb),.26);
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--surface-2); color: var(--text); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.form-note { margin-top: 14px; font-size: .8rem; color: var(--faint); text-align: center; }

.form-msg {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(var(--ok-rgb),.3);
  background: rgba(var(--ok-rgb),.1);
  color: var(--ok);
  font-size: .9rem;
}
.form-msg.is-visible { display: block; }

.contact-item {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item .card-ico { margin-bottom: 0; width: 40px; height: 40px; border-radius: 11px; }
.contact-item strong { display: block; font-size: .93rem; }
.contact-item span, .contact-item a { display: block; font-size: .875rem; color: var(--muted); }
.contact-item a:hover { color: var(--brand-2); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { padding-block: clamp(52px, 7vw, 88px) clamp(30px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-block: 22px 20px; }
.page-hero .lede { max-width: 66ch; }

.crumb {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.crumb a:hover { color: var(--brand-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: clamp(40px, 6vw, 70px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(var(--brand-rgb),.12));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-block: clamp(44px, 6vw, 66px);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { font-size: .9rem; color: var(--muted); margin-top: 18px; max-width: 38ch; }
.footer h5 {
  font-family: var(--font-mono);
  font-size: .71rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.footer li { margin-bottom: 10px; }
.footer li a { font-size: .89rem; color: var(--muted); transition: color .2s; }
.footer li a:hover { color: var(--text); }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--faint);
}
.footer-bar nav { display: flex; gap: 20px; }
.footer-bar nav a:hover { color: var(--text-2); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Available to screen readers, invisible on screen. Used where a <legend> or
   surrounding copy already says the same thing out loud but an input still
   needs its own associated label. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Self-selection picker — "Where are you right now?"
   Four whole-card links. The entire card is the hit area, not just the CTA,
   because on mobile this is the primary navigation of the site.
   ========================================================================== */
.picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .picker { grid-template-columns: 1fr; } }

.pick {
  display: flex;
  flex-direction: column;
  padding: 26px;
  cursor: pointer;
  /* Comfortable one-handed target on a phone, per WCAG 2.5.5. */
  min-height: 168px;
}
.pick h3 { font-size: clamp(1.18rem, 2.2vw, 1.4rem); margin-bottom: 9px; }
.pick p { flex: 1; font-size: .95rem; color: var(--muted); }

.pick-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--brand-2);
  transition: gap .25s var(--ease), color .2s;
}
.pick-cta svg { width: 16px; height: 16px; flex: none; }
.pick:hover .pick-cta { gap: 13px; color: #ff6fb4; }

/* Keep the whole card visibly focused when tabbed to, not just the text. */
.pick:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 4px; }

/* ==========================================================================
   Service pillars
   A pillar is a card plus a worked example. The example is the point: it is
   what turns an abstract capability into something a reader recognises.
   ========================================================================== */
.pillars { display: grid; gap: 20px; }

.pillar { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(22px, 4vw, 48px); align-items: start; padding: clamp(26px, 3.2vw, 36px); }
@media (max-width: 900px) { .pillar { grid-template-columns: 1fr; } }

.pillar-num {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.pillar-num b {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pillar h3 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); margin-bottom: 12px; }
.pillar > div > p { font-size: 1rem; color: var(--text-2); }
.pillar .btn-row { margin-top: 26px; }

/* The worked example. Dashed border and mono label mark it as an aside from
   the pitch — a scenario, not a claim. */
.pillar-eg {
  padding: 22px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: rgba(var(--brand-rgb), .12);
}
.pillar-eg h4 {
  font-family: var(--font-mono);
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 14px;
}
.pillar-eg p { font-size: .92rem; color: var(--muted); }
.pillar-eg .card-list { border-top-style: solid; border-top-color: var(--line); }

/* Free badge — used on the training pillar. */
.badge-free {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(var(--ok-rgb), .32);
  background: rgba(var(--ok-rgb), .12);
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ok);
  vertical-align: middle;
}

/* ==========================================================================
   Routing strip — sends the wrong-fit visitor somewhere better
   ========================================================================== */
.strip {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(22px, 3vw, 30px) clamp(24px, 3.4vw, 36px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 260px at 8% 0%, rgba(var(--brand-3-rgb), .20), transparent 66%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    var(--bg-2);
}
@media (max-width: 780px) { .strip { flex-direction: column; align-items: flex-start; } }

.strip .card-ico { margin-bottom: 0; flex: none; }
.strip-body { flex: 1; min-width: 0; }
.strip-body strong { display: block; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.strip-body p { font-size: .93rem; color: var(--muted); }
.strip .btn { flex: none; }
@media (max-width: 780px) { .strip .btn { width: 100%; } }

/* ==========================================================================
   Funnel pages (/start)
   Logo-only header, no nav. Nothing on this page competes with the
   questionnaire, because this is where paid traffic lands.
   ========================================================================== */
.funnel-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 6, 24, .55);
  backdrop-filter: blur(14px);
}
.funnel-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
}
.funnel-header .logo { margin-right: auto; }
.funnel-back {
  font-size: .85rem;
  font-weight: 500;
  color: var(--faint);
  transition: color .2s;
}
.funnel-back:hover { color: var(--text-2); }

/* Trust row — three short facts, not badges we can't back up. */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 22px;
  font-size: .85rem;
  color: var(--faint);
}
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 15px; height: 15px; color: var(--ok); flex: none; }

/* ==========================================================================
   Questionnaire
   ========================================================================== */
.q-shell {
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(22px, 3.4vw, 34px);
}

/* ---- Progress ---- */
.q-progress { margin-bottom: clamp(24px, 3.4vw, 32px); }
.q-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}
.q-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), .20);
  overflow: hidden;
}
.q-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad);
  transition: width .45s var(--ease);
}

/* ---- Step ---- */
.q-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-step[hidden] { display: none; }

.q-step legend {
  display: block;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
  color: var(--text);
}
.q-help { margin-top: 12px; font-size: .93rem; color: var(--muted); }
.q-body { margin-top: clamp(22px, 3vw, 28px); }

/* ---- Options ----
   A real radio/checkbox inside a label: full keyboard support, arrow-key
   groups and screen-reader semantics come free. The input is clipped rather
   than display:none so it stays focusable and announceable.
   ========================================================================== */
.opts { display: grid; gap: 12px; }

.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  /* 60px: comfortable one-handed target, and roomy enough for two lines of
     label text on a narrow phone without the box shifting. */
  min-height: 60px;
  padding: 15px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(var(--brand-rgb), .12);
  cursor: pointer;
  transition: border-color .22s, background .22s, transform .28s var(--ease);
}
.opt:hover { background: rgba(var(--brand-rgb), .22); border-color: rgba(var(--brand-rgb), .6); }
.opt:active { transform: scale(.995); }

.opt input {
  position: absolute;
  width: 1px; height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.opt-mark {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  flex: none;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  color: transparent;
  transition: border-color .2s, background .2s, color .2s;
}
.opt-mark svg { width: 13px; height: 13px; }
/* Square mark for multi-select, so "pick several" is visible before you try */
.opts--multi .opt-mark { border-radius: 8px; }

.opt-label { font-size: 1rem; font-weight: 500; color: var(--text); line-height: 1.4; }

.opt:has(input:checked) {
  border-color: var(--brand-2);
  background: rgba(var(--brand-2-rgb), .18);
}
.opt:has(input:checked) .opt-mark {
  border-color: var(--brand-2);
  background: var(--grad-cta);
  color: #fff;
}
/* Focus ring on the box, not the clipped input */
.opt:has(input:focus-visible) { outline: 2px solid var(--brand-2); outline-offset: 3px; }

/* Free-text companion for a "Something else" option */
.opt-other { margin-top: 12px; }
.opt-other[hidden] { display: none; }

/* ---- Inline note (e.g. the CareOps offer on a healthcare answer) ---- */
.q-note {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(var(--brand-3-rgb), .34);
  border-radius: var(--radius);
  background: rgba(var(--brand-3-rgb), .10);
  font-size: .91rem;
  color: var(--text-2);
}
.q-note[hidden] { display: none; }
.q-note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand-3); }
.q-note a { color: var(--brand-3); text-decoration: underline; font-weight: 500; }

/* ---- Validation message ---- */
.q-err {
  display: none;
  margin-top: 16px;
  padding: 12px 15px;
  border: 1px solid rgba(var(--brand-2-rgb), .45);
  border-radius: 12px;
  background: rgba(var(--brand-2-rgb), .14);
  font-size: .89rem;
  color: #ffb3d6;
}
.q-err.is-visible { display: block; }

/* ---- Step navigation ---- */
.q-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(24px, 3.4vw, 30px);
}
.q-nav .btn--primary { flex: 1; }
.q-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 8px;
  border: 0;
  background: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--faint);
  cursor: pointer;
  transition: color .2s;
}
.q-nav-back:hover { color: var(--text-2); }
.q-nav-back[hidden] { display: none; }
.q-nav-back svg { width: 15px; height: 15px; }

.q-foot { margin-top: 18px; font-size: .8rem; color: var(--faint); text-align: center; }

/* ==========================================================================
   Thank-you state
   ========================================================================== */
.thanks { text-align: center; }
.thanks[hidden] { display: none; }
.thanks-ico {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 1px solid rgba(var(--ok-rgb), .3);
  background: rgba(var(--ok-rgb), .12);
  color: var(--ok);
}
.thanks-ico svg { width: 28px; height: 28px; }
.thanks h2 { font-size: clamp(1.55rem, 4vw, 2.1rem); margin-bottom: 14px; }
.thanks p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.thanks .btn-row { margin-top: 28px; justify-content: center; }

/* Shown only when the webhook failed twice and the answers are held locally */
.thanks-fallback {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(var(--accent), .4);
  border-color: rgba(255, 168, 61, .4);
  border-radius: var(--radius);
  background: rgba(255, 168, 61, .10);
  font-size: .89rem;
  color: var(--text-2);
  text-align: left;
}
.thanks-fallback[hidden] { display: none; }
.thanks-fallback a { color: var(--accent); text-decoration: underline; font-weight: 500; }

/* ==========================================================================
   Placeholder blocks — embeds and assets that aren't wired up yet
   Deliberately loud. These must be impossible to miss in review.
   ========================================================================== */
.placeholder {
  padding: clamp(26px, 4vw, 40px);
  border: 2px dashed rgba(255, 168, 61, .45);
  border-radius: var(--radius-lg);
  background: rgba(255, 168, 61, .07);
  text-align: center;
}
.placeholder h3 { color: var(--accent); margin-bottom: 12px; }
.placeholder p { font-size: .92rem; color: var(--text-2); max-width: 54ch; margin-inline: auto; }
.placeholder code {
  font-family: var(--font-mono);
  font-size: .84rem;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .3);
  color: var(--accent);
}

/* Calendar / iframe embed shell */
.embed-shell {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  min-height: 640px;
}
.embed-shell[hidden] { display: none; }
.embed-shell iframe { display: block; width: 100%; height: 700px; border: 0; }

/* ==========================================================================
   Demo call block (/voice-agents)
   ========================================================================== */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-num {
  display: block;
  margin-block: 16px 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.demo-num:hover { opacity: .85; }

audio {
  width: 100%;
  margin-top: 18px;
  border-radius: 999px;
}

/* ==========================================================================
   Module path (/learn)
   ========================================================================== */
.modules { display: grid; gap: 16px; counter-reset: module; }
.module {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: clamp(16px, 2.6vw, 26px);
  align-items: start;
  padding: 26px;
}
@media (max-width: 620px) { .module { grid-template-columns: 1fr; gap: 14px; } }

.module-num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: var(--grad-soft);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.module h3 { margin-bottom: 9px; }
.module p { font-size: .95rem; color: var(--muted); }

/* ==========================================================================
   The handmade layer
   Everything below deliberately breaks the grid. Gold accent (--accent) is
   reserved exclusively for these — it's the only gold on the site and sits far
   enough from the magenta brand accent to still read as a person's aside
   rather than product chrome. Don't reuse it for UI.
   ========================================================================== */

/* ---------- Hand-drawn underline ---------- */
.sketch { position: relative; display: inline-block; }
.sketch svg {
  position: absolute;
  left: -2%;
  bottom: -.34em;
  width: 104%;
  height: .42em;
  overflow: visible;
  pointer-events: none;
}
.sketch path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: .85;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: draw 1.1s var(--ease) .75s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Handwritten asides ---------- */
.scrawl {
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 1.28rem;
  line-height: 1.35;
  color: var(--accent);
  letter-spacing: .01em;
}

/* Margin note with a little arrow — sits off-axis on purpose */
.margin-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 30ch;
  transform: rotate(-2.5deg);
}
.margin-note svg {
  width: 34px;
  height: 30px;
  flex: none;
  margin-top: 4px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .75;
}

/* ---------- Honest-limitations list ---------- */
.nope { display: grid; gap: 2px; }
.nope li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
  color: var(--text-2);
}
.nope li:last-child { border-bottom: 0; }
.nope li b {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 500;
  color: var(--accent);
  flex: none;
  margin-top: 2px;
  opacity: .8;
}
.nope li span { display: block; font-size: .85rem; color: var(--faint); margin-top: 3px; }

@media (max-width: 640px) {
  .margin-note { transform: none; max-width: none; }
}
