/* language: CSS, file: assets/css/style.css
   Advexo — performance advertising & measurement agency.
   One stylesheet, no dependencies, no webfonts, no CDN, no @import.
   Palette lives in :root below — change it there and the whole site follows. */

/* --- 1. TOKENS ----------------------------------------------------------- */

:root {
  /* surface */
  --ink:        #07080C;
  --ink-2:      #0B0D14;
  --surface:    #10131D;
  --surface-2:  #161A26;
  --line:       rgba(255, 255, 255, .08);
  --line-2:     rgba(255, 255, 255, .14);

  /* text */
  --text:       #E9ECF4;
  --text-2:     #A7B0C0;
  --text-3:     #6F798C;

  /* brand */
  --violet:     #6C5CE7;
  --violet-2:   #8B7CFF;
  --teal:       #00D9C0;
  --amber:      #FFB35C;
  --rose:       #FF6B8A;
  --accent:     var(--violet-2);
  --ok:         #35D07F;

  /* gradients */
  --grad-brand: linear-gradient(115deg, #8B7CFF 0%, #6C5CE7 38%, #00D9C0 100%);
  --grad-text:  linear-gradient(100deg, #FFFFFF 0%, #C9C4FF 42%, #7FF0E0 100%);

  /* type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(.82rem, .79rem + .15vw, .9rem);
  --step-0:  clamp(.95rem, .92rem + .18vw, 1.05rem);
  --step-1:  clamp(1.15rem, 1.08rem + .38vw, 1.35rem);
  --step-2:  clamp(1.45rem, 1.3rem + .7vw, 1.9rem);
  --step-3:  clamp(1.85rem, 1.55rem + 1.4vw, 2.7rem);
  --step-4:  clamp(2.3rem, 1.75rem + 2.6vw, 4rem);
  --step-5:  clamp(2.8rem, 1.9rem + 4.2vw, 5.2rem);

  /* space */
  --gap:   clamp(1rem, .8rem + 1vw, 1.6rem);
  --pad-x: clamp(1.1rem, .5rem + 3vw, 2.5rem);
  --sect:  clamp(4rem, 3rem + 6vw, 8.5rem);

  /* shape */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* depth */
  --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
  --shadow-2: 0 2px 4px rgba(0,0,0,.35), 0 24px 60px -24px rgba(0,0,0,.7);
  --glow:     0 0 0 1px rgba(139,124,255,.35), 0 18px 60px -20px rgba(108,92,231,.55);

  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- 2. RESET ------------------------------------------------------------ */

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 650;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -.04em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); letter-spacing: -.02em; }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
li::marker { color: var(--violet-2); }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

::selection { background: rgba(139,124,255,.32); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--surface); color: var(--text);
  padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* --- 3. LAYOUT ----------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.wrap-narrow { max-width: 800px; }
.wrap-wide   { max-width: 1340px; }

.sect { padding-block: var(--sect); position: relative; }
.sect-tight { padding-block: calc(var(--sect) * .6); }

.grid { display: grid; gap: var(--gap); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }

.center { text-align: center; }

/* --- 4. BACKGROUND FX ---------------------------------------------------- */

/* Aurora: three blurred colour fields drifting behind the hero. */
.aurora {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: .5;
}
.aurora span {
  position: absolute; display: block;
  width: 46vw; height: 46vw;
  min-width: 340px; min-height: 340px;
  border-radius: 50%;
  will-change: transform;
}
.aurora span:nth-child(1) {
  background: radial-gradient(circle at 50% 50%, #6C5CE7, transparent 68%);
  top: -6%; left: -4%;
  animation: drift-a 24s var(--ease) infinite alternate;
}
.aurora span:nth-child(2) {
  background: radial-gradient(circle at 50% 50%, #00D9C0, transparent 68%);
  top: 4%; right: -8%;
  animation: drift-b 30s var(--ease) infinite alternate;
}
.aurora span:nth-child(3) {
  background: radial-gradient(circle at 50% 50%, #FF6B8A, transparent 70%);
  top: 34%; left: 32%; opacity: .5;
  animation: drift-c 36s var(--ease) infinite alternate;
}
@keyframes drift-a { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(9vw,7vh,0) scale(1.18); } }
@keyframes drift-b { from { transform: translate3d(0,0,0) scale(1.1); } to { transform: translate3d(-11vw,10vh,0) scale(.92); } }
@keyframes drift-c { from { transform: translate3d(0,0,0) scale(.95); } to { transform: translate3d(6vw,-9vh,0) scale(1.2); } }

/* Hairline grid — reads as instrumentation, costs no request. */
.gridlines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 80%);
}

.sect > .wrap { position: relative; z-index: 2; }

/* --- 5. HEADER ----------------------------------------------------------- */

.hdr {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.hdr.is-stuck {
  background: rgba(7,8,12,.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 1.4rem; min-height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 680; font-size: 1.06rem; letter-spacing: -.03em;
  color: var(--text); flex: none;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 26px; height: 26px; flex: none; position: relative;
  border-radius: 8px;
  background: var(--grad-brand);
  box-shadow: 0 6px 18px -8px rgba(108,92,231,.9);
}
.brand-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 2px; background: var(--ink); }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav a {
  color: var(--text-2); font-size: var(--step--1);
  padding: .5rem .8rem; border-radius: var(--r-pill); white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.08); }
.hdr-cta { margin-left: .4rem; }

.burger {
  margin-left: auto; display: none;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
  cursor: pointer; padding: 0; place-items: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 17px; height: 1.5px; background: var(--text);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span { position: relative; }
.burger span::before { content: ""; position: absolute; top: -5.5px; }
.burger span::after  { content: ""; position: absolute; top: 5.5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

.drawer {
  display: none;
  border-bottom: 1px solid var(--line);
  background: rgba(7,8,12,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.drawer.is-open { display: block; }
.drawer nav { display: flex; flex-direction: column; padding: 1rem 0 1.6rem; }
.drawer nav a {
  color: var(--text-2); padding: .8rem .2rem;
  border-bottom: 1px solid var(--line); font-size: 1.02rem;
}
.drawer nav a:last-of-type { border-bottom: 0; margin-bottom: .8rem; }

/* --- 6. BUTTONS ---------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.35rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: var(--step--1); font-weight: 600; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { color: var(--text); transform: translateY(-2px); border-color: rgba(255,255,255,.26); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #0A0B12;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 10px 30px -12px rgba(108,92,231,.85);
}
.btn-primary:hover { color: #0A0B12; box-shadow: 0 16px 44px -14px rgba(108,92,231,1); border-color: transparent; }

.btn-ghost { background: transparent; }
.btn-sm { padding: .55rem 1rem; font-size: .84rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--step--1); font-weight: 600; }
.link-arrow::after { content: "\2192"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --- 7. TYPE HELPERS ----------------------------------------------------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .76rem; font-weight: 650;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--violet-2); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: linear-gradient(90deg, transparent, var(--violet-2)); }

.lede { font-size: var(--step-1); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.small { font-size: var(--step--1); }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: -.02em; }

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

.sect-head { max-width: 66ch; margin-bottom: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); }
.sect-head.center { margin-inline: auto; }

/* --- 8. PILLS / BADGES --------------------------------------------------- */

.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .34rem .78rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: rgba(255,255,255,.045);
  font-size: .78rem; font-weight: 600; color: var(--text-2);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 3px rgba(53,208,127,.16); }
.pill-live { animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.pill-accent { border-color: rgba(139,124,255,.4); background: rgba(108,92,231,.14); color: #CFC7FF; }

.tag {
  display: inline-block; font-family: var(--mono); font-size: .74rem;
  padding: .18rem .5rem; border-radius: 6px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text-2);
}

/* --- 9. CARDS ------------------------------------------------------------ */

.card {
  position: relative; overflow: hidden;
  padding: clamp(1.3rem, 1rem + 1vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(139,124,255,.13), transparent 62%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.card:hover::before { opacity: 1; }

.card-flat { background: rgba(255,255,255,.025); }
.card-flat:hover { transform: none; box-shadow: none; }

.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-2); font-size: var(--step--1); }

.card-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: rgba(139,124,255,.14); border: 1px solid rgba(139,124,255,.28); color: var(--violet-2);
}
.card-ico svg { width: 21px; height: 21px; }
.card-ico.teal  { background: rgba(0,217,192,.12);  border-color: rgba(0,217,192,.3);  color: var(--teal); }
.card-ico.amber { background: rgba(255,179,92,.12); border-color: rgba(255,179,92,.3); color: var(--amber); }
.card-ico.rose  { background: rgba(255,107,138,.12); border-color: rgba(255,107,138,.3); color: var(--rose); }

.card-num { font-family: var(--mono); font-size: .78rem; color: var(--text-3); letter-spacing: .1em; margin-bottom: .9rem; display: block; }

/* --- 10. HERO ------------------------------------------------------------ */

.hero { position: relative; padding-block: clamp(3.5rem, 2rem + 7vw, 7.5rem) clamp(3rem, 2rem + 5vw, 6rem); overflow: hidden; }
.hero-in { position: relative; z-index: 2; max-width: 62rem; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lede { font-size: clamp(1.05rem, 1rem + .5vw, 1.32rem); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  margin-top: 2.4rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1); color: var(--text-3);
}
.hero-meta b { color: var(--text); font-weight: 620; }

/* --- 11. STATS ----------------------------------------------------------- */

.stats {
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: rgba(255,255,255,.018);
}
.stat { padding: clamp(1.2rem, 1rem + 1vw, 1.9rem); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-v {
  font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem);
  font-weight: 680; letter-spacing: -.045em; line-height: 1; display: block;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-k { margin-top: .5rem; font-size: var(--step--1); color: var(--text-2); }
.stat-s { margin-top: .3rem; font-size: .78rem; color: var(--text-3); }

/* --- 12. MARQUEE --------------------------------------------------------- */

.marquee {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.4rem;
  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; width: max-content; gap: 3.2rem; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 1.02rem; font-weight: 620; letter-spacing: -.02em;
  color: var(--text-3); white-space: nowrap; transition: color .25s var(--ease);
}
.marquee-track span:hover { color: var(--text); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- 13. STEPS ----------------------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: 0; }
.step { position: relative; padding-left: 3.6rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.5rem;
  font-family: var(--mono); font-size: .82rem; color: var(--violet-2); letter-spacing: .06em;
}
.step h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.step p { color: var(--text-2); font-size: var(--step--1); max-width: 70ch; }

/* --- 14. LISTS ----------------------------------------------------------- */

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; font-size: var(--step--1); color: var(--text-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 7px;
  border-left: 1.6px solid var(--teal); border-bottom: 1.6px solid var(--teal);
  transform: rotate(-45deg) translateY(-2px);
}
.ticks li b { color: var(--text); font-weight: 620; }

.xlist { list-style: none; padding: 0; margin: 0; }
.xlist li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; font-size: var(--step--1); color: var(--text-3); }
.xlist li::before { content: "\00D7"; position: absolute; left: .25rem; top: 0; color: var(--rose); font-weight: 700; }

/* --- 15. PRICING --------------------------------------------------------- */

.plans { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }

.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-2); }

.plan-featured {
  border-color: rgba(139,124,255,.5);
  background: linear-gradient(180deg, rgba(108,92,231,.14), rgba(108,92,231,.03) 55%, rgba(255,255,255,.012));
  box-shadow: var(--glow);
}
.plan-flag {
  position: absolute; top: -12px; left: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: var(--r-pill);
  background: var(--grad-brand); color: #0A0B12;
}
.plan h3 { font-size: var(--step-2); margin-bottom: .35rem; }
.plan-for { color: var(--text-2); font-size: var(--step--1); min-height: 3.2em; }
.plan-price {
  display: flex; align-items: baseline; gap: .4rem;
  margin: 1.2rem 0 1.4rem; padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.plan-price .amt { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); font-weight: 680; letter-spacing: -.04em; }
.plan-price .per { font-size: var(--step--1); color: var(--text-3); }
.plan .ticks { flex: 1 1 auto; margin-bottom: 1.5rem; }
.plan .btn { margin-top: auto; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
caption { text-align: left; padding: 1rem 1.1rem; color: var(--text-2); font-size: var(--step--1); border-bottom: 1px solid var(--line); }
th, td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: var(--step--1); }
thead th { color: var(--text); font-weight: 640; background: rgba(255,255,255,.03); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 560; color: var(--text); }
td.yes { color: var(--teal); font-weight: 620; }
td.no  { color: var(--text-3); }
td.num { font-family: var(--mono); color: var(--text-2); }

/* --- 16. FAQ ------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.3rem .2rem; cursor: pointer;
  font-weight: 600; font-size: var(--step-0); list-style: none;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; flex: none;
  font-family: var(--mono); font-size: 1.15rem; color: var(--violet-2);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--violet-2); }
.faq .faq-body { padding: 0 2.5rem 1.4rem .2rem; color: var(--text-2); font-size: var(--step--1); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* --- 17. QUOTES ---------------------------------------------------------- */

.quote {
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: rgba(255,255,255,.022);
}
.quote p { font-size: var(--step-0); color: var(--text); margin-bottom: 1.2rem; }
.quote footer { display: flex; align-items: center; gap: .8rem; font-size: var(--step--1); color: var(--text-3); }
.quote .who { color: var(--text); font-weight: 620; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-weight: 680; font-size: .82rem; color: #0A0B12;
  background: var(--grad-brand);
}

/* --- 18. FORMS ----------------------------------------------------------- */

.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--text-2); }
.field .hint { font-size: .78rem; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.035);
  color: var(--text); font-size: var(--step--1);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(139,124,255,.6);
  background: rgba(255,255,255,.055);
  box-shadow: 0 0 0 3px rgba(108,92,231,.18);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* --- 19. PROSE ----------------------------------------------------------- */

.prose { max-width: 74ch; }
.prose h2 { font-size: var(--step-3); margin-top: 2.8rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 620; }
.prose .meta-line {
  font-family: var(--mono); font-size: .8rem; color: var(--text-3);
  padding-bottom: 1.4rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line);
}
.callout {
  padding: 1.1rem 1.3rem; margin: 1.6rem 0;
  border-radius: var(--r);
  border: 1px solid rgba(139,124,255,.3);
  background: rgba(108,92,231,.09);
}
.callout p { margin: 0; color: var(--text); font-size: var(--step--1); }

/* --- 20. CTA BAND -------------------------------------------------------- */

.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
  padding: clamp(1.8rem, 1.3rem + 3vw, 3.6rem);
  background:
    radial-gradient(120% 160% at 12% 0%, rgba(108,92,231,.22), transparent 60%),
    radial-gradient(100% 140% at 92% 100%, rgba(0,217,192,.16), transparent 62%),
    rgba(255,255,255,.02);
}
.cta-band h2 { font-size: var(--step-3); }
.cta-band .lede { margin-bottom: 1.8rem; }

/* --- 21. FOOTER ---------------------------------------------------------- */

.ftr {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.6rem, 2rem + 3vw, 4.5rem) 2rem;
  margin-top: var(--sect);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.014));
}
.ftr-grid {
  display: grid; gap: 2.2rem;
  grid-template-columns: minmax(min(100%, 260px), 1.5fr) repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  margin-bottom: 2.6rem;
}
.ftr h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 1rem; font-weight: 650; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: .55rem; }
.ftr a { color: var(--text-2); font-size: var(--step--1); }
.ftr a:hover { color: var(--text); }
.ftr-brand p { color: var(--text-3); font-size: var(--step--1); max-width: 34ch; margin-top: 1rem; }
.ftr-bottom {
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem;
  align-items: center; justify-content: space-between;
  padding-top: 1.8rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--text-3);
}
.ftr-legal { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.ftr-legal a { color: var(--text-3); }
.ftr-legal a:hover { color: var(--text-2); }

/* --- 22. MISC ------------------------------------------------------------ */

.split {
  display: grid; gap: clamp(1.6rem, 1rem + 3vw, 3.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  align-items: center;
}

.panel {
  padding: clamp(1.3rem, 1rem + 1.5vw, 2.2rem);
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}

.kv { display: grid; gap: 0; margin: 0; }
.kv-row {
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between;
  padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: var(--step--1);
}
.kv-row:last-child { border-bottom: 0; }
.kv-row dt { color: var(--text-3); }
.kv-row dd { margin: 0; color: var(--text); font-weight: 560; text-align: right; }

.bar { height: 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad-brand); transition: width 1.1s var(--ease); }
.bar-row { display: grid; gap: .5rem; margin-bottom: 1.1rem; }
.bar-row .bar-top { display: flex; justify-content: space-between; font-size: var(--step--1); }
.bar-row .bar-top span:last-child { font-family: var(--mono); color: var(--text-2); }

.divider-glow {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, rgba(139,124,255,.5), rgba(0,217,192,.4), transparent);
}

/* --- 23. REVEAL ---------------------------------------------------------- */

[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* --- 24. RESPONSIVE ------------------------------------------------------ */

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

@media (max-width: 640px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .hero-meta { gap: .5rem 1.1rem; }
  .step { padding-left: 2.7rem; }
  .plan-for { min-height: 0; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}

@media (max-width: 400px) {
  .ftr-grid { grid-template-columns: 1fr; }
}

/* --- 25. MOTION / PRINT -------------------------------------------------- */

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

@media print {
  .hdr, .drawer, .ftr, .aurora, .gridlines { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal] { opacity: 1; transform: none; }
}
