/* =====================================================================
   The CAIO — custom design system
   Dark, premium, executive. iMentiX DNA shifted toward a refined purple.
   All styling is hand-written here — no framework, no runtime CSS engine.
   ===================================================================== */

:root {
  --bg: #0B0A1C;
  --bg-card: #0F0E1E;
  --bg-glass: rgba(15, 14, 32, 0.75);
  --bg-elevated: #14122a;

  --accent: #7C6DC8;
  --accent-2: #5B4BA0;
  --grad-from: #6D5CBF;
  --grad-to: #4A3F8F;

  --text: #F0F0F8;
  --text-muted: #9898B0;
  --text-accent: #B0A4E0;

  --border: rgba(124, 109, 200, 0.12);
  --border-strong: rgba(124, 109, 200, 0.28);
  --cta-hover: #9080D4;

  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;

  --font-head: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --shadow-glow: 0 0 0 1px var(--border), 0 24px 60px -28px rgba(109, 92, 191, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ambient purple field behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 78% -5%, rgba(109, 92, 191, 0.20), transparent 60%),
    radial-gradient(50% 45% at 12% 8%, rgba(91, 75, 160, 0.16), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(74, 63, 143, 0.18), transparent 65%);
  pointer-events: none;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
a { color: var(--text-accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--cta-hover); }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(124, 109, 200, 0.35); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.text-accent { color: var(--text-accent); }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.gradient-text {
  background: linear-gradient(100deg, #cbbffa 0%, var(--accent) 45%, #7e74d6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #0b0a1c; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.85em 1.5em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.2s var(--ease);
  text-align: center; line-height: 1.1; white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--grad-from), var(--grad-to));
  box-shadow: 0 12px 34px -12px rgba(109, 92, 191, 0.75), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(124, 109, 200, 0.85), inset 0 1px 0 rgba(255,255,255,0.18); background: linear-gradient(135deg, #7a68d2, #56499c); color: #fff; }
.btn--ghost { color: var(--text); background: rgba(124, 109, 200, 0.06); border-color: var(--border-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { color: #fff; border-color: var(--accent); background: rgba(124, 109, 200, 0.14); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(11, 10, 28, 0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,0.8);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: baseline; gap: 1px; font-family: var(--font-head); font-size: 1.32rem; letter-spacing: -0.02em; color: var(--text); }
.brand b { font-weight: 700; }
.brand span:first-child { font-weight: 300; color: var(--text-muted); margin-right: 0.32em; }
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; margin-left: 4px; box-shadow: 0 0 12px 2px rgba(124,109,200,0.7); align-self: center; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--accent); transition: width 0.25s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--text); align-items: center; justify-content: center; }
.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { gap: 0; }
  .nav__mobile {
    position: fixed; inset: 72px 0 auto 0; z-index: 99;
    background: rgba(11, 10, 28, 0.96); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    padding: 8px 0 22px;
  }
  .nav__mobile.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__mobile ul { list-style: none; margin: 0; padding: 0; }
  .nav__mobile a { display: block; padding: 14px 24px; color: var(--text); font-weight: 500; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav__mobile .btn { margin: 16px 24px 0; display: flex; }
}
.nav__mobile { display: none; }
@media (max-width: 900px) { .nav__mobile { display: block; } }

/* ---------- layout sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-accent); margin-bottom: 16px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: rgba(124,109,200,0.06); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 1px var(--accent); }
h2.section__title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section__sub { color: var(--text-muted); font-size: 1.08rem; }

/* ---------- glass card ---------- */
.card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(109,92,191,0.28), rgba(74,63,143,0.18)); border: 1px solid var(--border-strong); }
.card__icon svg { width: 26px; height: 26px; color: var(--text-accent); }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--text-muted); margin-bottom: 0; }

/* ---------- hero ---------- */
.hero { padding: 168px 0 110px; position: relative; overflow: hidden; }
.hero__mesh { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; filter: blur(60px); opacity: 0.9; pointer-events: none; }
.hero__mesh span { position: absolute; border-radius: 50%; }
.hero__mesh .m1 { width: 520px; height: 520px; left: 8%; top: -8%; background: radial-gradient(circle, rgba(109,92,191,0.55), transparent 65%); animation: drift1 18s ease-in-out infinite; }
.hero__mesh .m2 { width: 440px; height: 440px; right: 6%; top: 4%; background: radial-gradient(circle, rgba(91,75,160,0.5), transparent 65%); animation: drift2 22s ease-in-out infinite; }
.hero__mesh .m3 { width: 360px; height: 360px; left: 42%; top: 30%; background: radial-gradient(circle, rgba(124,109,200,0.4), transparent 65%); animation: drift3 26s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,30px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-36px,26px)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-30px)} }
@media (prefers-reduced-motion: reduce) { .hero__mesh span { animation: none !important; } }

.hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(124,109,200,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(124,109,200,0.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); }

.hero__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); letter-spacing: -0.035em; margin-bottom: 0.5em; }
.hero__sub { font-size: clamp(1.08rem, 2.2vw, 1.32rem); color: var(--text-muted); max-width: 680px; margin: 0 auto 36px; }
.hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 54px; }
.trustbar { border-top: 1px solid var(--border); padding-top: 28px; max-width: 760px; margin: 0 auto; }
.trustbar__label { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 16px; }
.trustbar__stats { display: flex; gap: 14px 34px; justify-content: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.03em; color: var(--text-accent); }
.trustbar__stats span { display: inline-flex; align-items: center; gap: 10px; }
.trustbar__stats span + span::before { content: "|"; color: var(--border-strong); margin-right: 24px; }
@media (max-width: 620px) {
  .trustbar__stats { flex-direction: column; gap: 10px; }
  .trustbar__stats span + span::before { content: none; }
}

/* ---------- grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* ---------- offerings ---------- */
.offer { display: flex; flex-direction: column; height: 100%; }
.offer__price { font-family: var(--font-mono); font-size: 1.55rem; color: #fff; margin: 6px 0 4px; letter-spacing: -0.01em; }
.offer__price small { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-body); }
.offer h3 { font-size: 1.5rem; margin-bottom: 4px; }
.offer__desc { color: var(--text-muted); }
.offer__list { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 12px; }
.offer__list li { position: relative; padding-left: 30px; color: var(--text); font-size: 0.97rem; }
.offer__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--grad-from), var(--grad-to)); box-shadow: 0 0 0 4px rgba(124,109,200,0.08); }
.offer__list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.offer .btn { margin-top: auto; }
.offer--featured { border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.tag { position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-accent); border: 1px solid var(--border-strong); padding: 5px 11px; border-radius: 999px; background: rgba(124,109,200,0.08); }

/* ---------- assessment wizard ---------- */
.assess { position: relative; }
.assess__shell { max-width: 820px; margin: 0 auto; }
.free-badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.16em; font-size: 0.8rem; color: #0b0a1c; background: linear-gradient(135deg, #c9bdf7, #8b7be0); padding: 8px 18px; border-radius: 999px; text-transform: uppercase; box-shadow: 0 10px 30px -10px rgba(124,109,200,0.8); }
.free-badge::before { content: "✓ NO COST"; font-size: 0.72rem; }

.wizard { margin-top: 36px; }
.wizard__progress { margin-bottom: 28px; }
.wizard__bar { height: 6px; border-radius: 999px; background: rgba(124,109,200,0.12); overflow: hidden; }
.wizard__fill { height: 100%; width: 16%; border-radius: 999px; background: linear-gradient(90deg, var(--grad-from), var(--accent)); transition: width 0.45s var(--ease); }
.wizard__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-mono); }
.wizard__step-name { color: var(--text-accent); }

.step { animation: stepIn 0.4s var(--ease); }
.step[hidden] { display: none; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step h3 { font-size: 1.5rem; margin-bottom: 6px; }
.step__hint { color: var(--text-muted); margin-bottom: 26px; font-size: 0.98rem; }

.field { margin-bottom: 20px; }
.field label.field__label, .q__text { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.98rem; color: var(--text); }
.field .req { color: var(--text-accent); }
.input, .select, .textarea {
  width: 100%; background: rgba(20, 18, 42, 0.7); border: 1px solid var(--border-strong); color: var(--text);
  border-radius: var(--radius-sm); padding: 13px 15px; font-family: var(--font-body); font-size: 1rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.textarea { min-height: 110px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #9090ac; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,109,200,0.16); background: rgba(20,18,42,0.9); }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239898B0' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; cursor: pointer; }
.select option { background: #14122a; color: var(--text); }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .fields-2 { grid-template-columns: 1fr; } }

/* Likert question (rendered as fieldset/legend — reset native chrome) */
.q { border: none; min-inline-size: 0; margin: 0; padding: 20px 0; border-top: 1px solid var(--border); }
.q:first-of-type { border-top: none; padding-top: 4px; }
.q__text { margin-bottom: 14px; padding: 0; width: 100%; }
.q__num { font-family: var(--font-mono); color: var(--text-accent); font-size: 0.82rem; margin-right: 8px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale__opt { position: relative; }
.scale__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.scale__opt label { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--border-strong); border-radius: 12px; cursor: pointer; transition: all 0.18s var(--ease); background: rgba(124,109,200,0.04); height: 100%; text-align: center; }
.scale__opt .scale__val { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 600; color: var(--text); }
.scale__opt .scale__lab { font-size: 0.68rem; color: var(--text-muted); line-height: 1.25; letter-spacing: 0.01em; }
.scale__opt label:hover { border-color: var(--accent); background: rgba(124,109,200,0.1); }
.scale__opt input:checked + label { border-color: var(--accent); background: linear-gradient(135deg, rgba(109,92,191,0.45), rgba(74,63,143,0.3)); box-shadow: 0 8px 24px -12px rgba(124,109,200,0.8); }
.scale__opt input:checked + label .scale__val { color: #fff; }
.scale__opt input:checked + label .scale__lab { color: var(--text-accent); }
.scale__opt input:focus-visible + label { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 680px) {
  .scale { grid-template-columns: 1fr; gap: 6px; }
  .scale__opt label { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 11px 14px; }
  .scale__opt .scale__lab { font-size: 0.8rem; }
}

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 22px; }
.consent input { width: 24px; height: 24px; margin-top: 1px; accent-color: var(--accent); flex: 0 0 auto; cursor: pointer; }
.consent label { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

.wizard__nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.wizard__nav .btn--ghost.is-hidden { visibility: hidden; }
.form-error { color: #ff9d9d; font-size: 0.88rem; margin-top: 12px; min-height: 1.2em; }
.field-invalid .input, .field-invalid .select { border-color: #c97070; box-shadow: 0 0 0 3px rgba(201,112,112,0.18); }

/* spinner */
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- results ---------- */
.results[hidden] { display: none; }
.results { animation: stepIn 0.5s var(--ease); }
.results__top { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; margin-bottom: 12px; }
@media (max-width: 720px) { .results__top { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.score-ring { position: relative; width: min(220px, 100%); aspect-ratio: 1; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-ring__num b { font-family: var(--font-mono); font-size: 3.4rem; font-weight: 700; color: #fff; line-height: 1; }
.score-ring__num small { display: block; font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 6px; }
.results__maturity .eyebrow { margin-bottom: 12px; }
.results__maturity h3 { font-size: 2rem; margin-bottom: 8px; }
.results__maturity h3 .gradient-text { display: inline; }
.results__maturity p { color: var(--text-muted); margin-bottom: 0; }

.results__grid { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: center; margin: 34px 0; padding-top: 30px; border-top: 1px solid var(--border); }
@media (max-width: 720px) { .results__grid { grid-template-columns: 1fr; } }
.radar { width: 100%; max-width: 320px; margin: 0 auto; aspect-ratio: 1; }
.dims { display: grid; gap: 16px; }
.dim__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.dim__name { font-size: 0.95rem; font-weight: 500; }
.dim__val { font-family: var(--font-mono); color: var(--text-accent); font-size: 0.95rem; }
.dim__track { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: rgba(124,109,200,0.12); overflow: hidden; }
.dim__bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--grad-from), var(--accent)); transition: width 0.9s var(--ease); }
.results__cta { text-align: center; padding-top: 26px; border-top: 1px solid var(--border); }
.results__cta p { color: var(--text-muted); max-width: 480px; margin: 0 auto 20px; }

/* ---------- timeline / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.stepcard { position: relative; padding-top: 14px; }
.stepcard__n { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-accent); border: 1px solid var(--border-strong); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(124,109,200,0.06); }
.stepcard h4 { font-size: 1.18rem; margin-bottom: 8px; }
.stepcard p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0; }
.stepcard::after { content: ""; position: absolute; top: 35px; left: 58px; right: -11px; height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }
.stepcard:last-child::after { display: none; }
@media (max-width: 900px) { .stepcard::after { display: none; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }
.about__card { text-align: center; }
.about__avatar { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 18px; display: grid; place-items: center; font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--grad-from), var(--grad-to)); box-shadow: var(--shadow-glow); }
.about__name { font-size: 1.3rem; margin-bottom: 2px; }
.about__role { color: var(--text-accent); font-size: 0.92rem; font-family: var(--font-mono); margin-bottom: 18px; }
.creds { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; text-align: left; }
.creds li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--text-muted); }
.creds li svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.about__eco { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(124,109,200,0.05); font-size: 0.92rem; color: var(--text-muted); }

/* ---------- contact ---------- */
.contact { max-width: 720px; margin: 0 auto; text-align: center; }
.contact__email { font-family: var(--font-mono); font-size: 1.05rem; color: var(--text-accent); }
.contact__alt { color: var(--text-muted); font-size: 0.95rem; margin-top: 18px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; margin-top: 40px; }
.footer__grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer__links a { color: var(--text-muted); font-size: 0.92rem; }
.footer__links a:hover { color: var(--text); }
.footer__meta { color: var(--text-muted); font-size: 0.85rem; margin-top: 26px; line-height: 1.7; }
.footer__meta a { color: var(--text-accent); }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 140px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal .updated { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.85rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text-muted); }
.legal a { color: var(--text-accent); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }

/* ---------- very small screens: let long button labels wrap ---------- */
@media (max-width: 480px) {
  .btn { white-space: normal; }
  .btn--lg { padding: 0.9em 1.4em; }
  .wizard__nav .btn { flex: 1 1 auto; }
}
