/* ============================================================
   Novantea — design system v2
   Purple & white. Display serifless type, layered smoke, grain.
   ============================================================ */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --ink:      #120c1d;
  --ink-2:    #453b5c;
  --ink-3:    #7d7492;
  --white:    #ffffff;
  --paper:    #faf9fd;
  --lav:      #f4f1fb;
  --v-950:    #0e0620;
  --v-900:    #170b30;
  --v-800:    #2a1458;
  --v-600:    #6d28d9;
  --v-500:    #7c3aed;
  --v-400:    #a78bfa;
  --v-300:    #c4b5fd;
  --v-100:    #ece5fb;
  --line:     rgba(35, 18, 74, .10);
  --line-dark: rgba(196, 181, 253, .14);
  --grad:     linear-gradient(120deg, #8b5cf6 0%, #6d28d9 55%, #5b21b6 100%);
  --display:  "Space Grotesk", -apple-system, sans-serif;
  --body:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw:     74rem;
  --r:        20px;
  --grain:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--v-100); color: var(--v-800); }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

h1, h2, h3, .display { font-family: var(--display); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.9rem; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--body); font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease, border-color .25s ease;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn .arr { transition: transform .25s cubic-bezier(.2,.8,.2,1); font-family: var(--display); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary {
  color: #fff; background: var(--grad);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(0,0,0,.18),
              0 12px 32px -12px rgba(109, 40, 217, .55);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-110%);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 18px 40px -14px rgba(109, 40, 217, .65); }
.btn-primary:hover::after { transform: translateX(110%); transition: transform .7s ease; }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  color: var(--ink); background: rgba(255,255,255,.7); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--v-400); color: var(--v-600); transform: translateY(-2px); }

.btn-white { color: var(--v-800); background: #fff; box-shadow: 0 16px 40px -16px rgba(0,0,0,.45); }
.btn-white:hover { transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; height: 4.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: .65rem; font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.logo svg { width: 1.9rem; height: 1.9rem; }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.nav-links { display: flex; gap: 2.2rem; font-size: .93rem; font-weight: 500; color: var(--ink-2); }
.nav-links a { position: relative; padding: .3rem 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--grad); border-radius: 2px; transition: right .25s ease;
}
.nav-links a:hover { color: var(--v-600); }
.nav-links a:hover::after { right: 0; }
.nav .btn { padding: .6rem 1.4rem; font-size: .88rem; }

/* ---------- Smoke & texture ---------- */
.smoke { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.smoke i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.smoke .s1 { width: 44rem; height: 44rem; top: -16rem; left: -12rem;
  background: radial-gradient(circle at 35% 35%, rgba(139,92,246,.34), rgba(139,92,246,.10) 45%, transparent 68%);
  animation: drift1 30s ease-in-out infinite alternate; }
.smoke .s2 { width: 36rem; height: 36rem; top: 2rem; right: -14rem;
  background: radial-gradient(circle at 60% 40%, rgba(109,40,217,.22), rgba(167,139,250,.10) 50%, transparent 70%);
  animation: drift2 38s ease-in-out infinite alternate; }
.smoke .s3 { width: 30rem; height: 30rem; bottom: -12rem; left: 24%;
  background: radial-gradient(circle, rgba(196,181,253,.42), rgba(196,181,253,.12) 50%, transparent 70%);
  animation: drift3 44s ease-in-out infinite alternate; }
.smoke .s4 { width: 20rem; height: 20rem; top: 30%; left: 42%;
  background: radial-gradient(circle, rgba(233,213,255,.5), transparent 65%);
  animation: drift2 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(7rem, 3.5rem) scale(1.18) rotate(8deg); } }
@keyframes drift2 { to { transform: translate(-6rem, 5rem) scale(.92); } }
@keyframes drift3 { to { transform: translate(5rem, -4rem) scale(1.22); } }

.grain::before {
  content: ""; position: absolute; inset: 0; background: var(--grain);
  background-size: 200px; opacity: .05; pointer-events: none; mix-blend-mode: multiply;
}
.dark .grain::before, .grain.on-dark::before { mix-blend-mode: overlay; opacity: .07; }

.grid-lines::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(109,40,217,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,40,217,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 75%);
}

@media (prefers-reduced-motion: reduce) {
  .smoke i { animation: none !important; }
  .btn, .btn .arr { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 12.5rem 0 7rem;
  background: linear-gradient(180deg, var(--lav) 0%, var(--white) 88%);
}
.hero-inner { position: relative; z-index: 2; max-width: 52rem; }
.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--v-600); background: rgba(255,255,255,.75); border: 1px solid var(--v-100);
  border-radius: 999px; padding: .45rem 1.1rem; margin-bottom: 2rem;
  box-shadow: 0 4px 16px -8px rgba(109,40,217,.25);
}
.chip::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px var(--v-100); }
h1 {
  font-size: clamp(2.8rem, 6.4vw, 4.9rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 700;
}
h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead {
  margin-top: 1.8rem; font-size: clamp(1.08rem, 1.9vw, 1.3rem); font-weight: 400;
  color: var(--ink-2); max-width: 40rem; line-height: 1.7;
}
.hero-cta { margin-top: 2.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-meta {
  margin-top: 4.5rem; display: flex; gap: 2.5rem; flex-wrap: wrap;
  color: var(--ink-3); font-size: .92rem;
}
.hero-meta div { display: flex; align-items: center; gap: .6rem; }
.hero-meta b { color: var(--ink); font-weight: 600; }
.hero-meta div::before { content: "✦"; color: var(--v-400); font-size: .7rem; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 1.15rem 0; background: var(--white); position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 8rem; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: scroll 36s linear infinite; }
.marquee span {
  font-family: var(--display); font-size: .85rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 3.5rem; white-space: nowrap;
}
.marquee span::after { content: "✦"; color: var(--v-300); letter-spacing: 0; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
section { position: relative; padding: 7rem 0; }
.section-head { max-width: 44rem; margin-bottom: 4rem; position: relative; z-index: 2; }
.kicker {
  display: flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--v-600); margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 1px; background: var(--v-400); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.025em; line-height: 1.08; font-weight: 700; }
.section-head p { margin-top: 1.2rem; color: var(--ink-2); font-size: 1.08rem; max-width: 38rem; }
.dark .kicker { color: var(--v-300); }
.dark h2 { color: #fff; }
.dark .section-head p { color: rgba(228,220,248,.75); }

/* ---------- Services ---------- */
.services { background: var(--white); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; position: relative; z-index: 2; }
.svc {
  position: relative; background: linear-gradient(180deg, #fff, var(--paper));
  border: 1px solid var(--line); border-radius: var(--r); padding: 2.4rem 2.1rem 2.1rem;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
  overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .3s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 32px 64px -32px rgba(46,16,101,.28); }
.svc:hover::before { opacity: 1; }
.svc .num {
  font-family: var(--display); font-size: .82rem; font-weight: 600; letter-spacing: .22em;
  color: var(--v-400); margin-bottom: 1.6rem;
}
.svc .icon {
  width: 3.4rem; height: 3.4rem; border-radius: 14px; margin-bottom: 1.5rem;
  background: linear-gradient(145deg, var(--v-100), #fff);
  border: 1px solid var(--v-100);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px -10px rgba(109,40,217,.3);
}
.svc .icon svg { width: 1.6rem; height: 1.6rem; stroke: var(--v-600); }
.svc h3 { font-size: 1.35rem; letter-spacing: -.015em; margin-bottom: .7rem; }
.svc > p { color: var(--ink-2); font-size: .97rem; }
.svc ul { margin-top: 1.4rem; list-style: none; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.svc ul li { font-size: .93rem; color: var(--ink-2); padding: .38rem 0 .38rem 1.5rem; position: relative; }
.svc ul li::before {
  content: "→"; position: absolute; left: 0; color: var(--v-500);
  font-family: var(--display); font-size: .85rem;
}
.svc .foot {
  margin-top: 1.5rem; font-size: .82rem; color: var(--ink-3);
  border-top: 1px dashed var(--line); padding-top: 1.1rem;
}
.svc .foot b { color: var(--v-600); font-weight: 600; }

/* ---------- Build (dark) ---------- */
.build { background: var(--v-950); color: #fff; overflow: hidden; }
.build .smoke .s1 { background: radial-gradient(circle, rgba(124,58,237,.35), transparent 65%); }
.build .smoke .s2 { background: radial-gradient(circle, rgba(88,28,180,.4), transparent 65%); }
.build .smoke .s3 { background: radial-gradient(circle, rgba(167,139,250,.22), transparent 65%); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; position: relative; z-index: 2; }
.tile {
  background: rgba(255,255,255,.035); border: 1px solid var(--line-dark);
  border-radius: var(--r); padding: 1.9rem 1.7rem;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.tile:hover { background: rgba(255,255,255,.07); border-color: rgba(196,181,253,.35); transform: translateY(-4px); }
.tile .t-ico {
  width: 2.6rem; height: 2.6rem; border-radius: 10px; margin-bottom: 1.2rem;
  background: rgba(139,92,246,.16); border: 1px solid rgba(167,139,250,.25);
  display: flex; align-items: center; justify-content: center;
}
.tile .t-ico svg { width: 1.25rem; height: 1.25rem; stroke: var(--v-300); }
.tile h3 { font-size: 1.08rem; letter-spacing: -.01em; margin-bottom: .5rem; color: #fff; }
.tile p { font-size: .92rem; color: rgba(228,220,248,.68); }

/* ---------- Approach ---------- */
.approach { background: var(--white); }
.steps { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 0 1.8rem 0 0; }
.step + .step { padding-left: 1.8rem; border-left: 1px solid var(--line); }
.step .s-num {
  font-family: var(--display); font-size: 2.6rem; font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, var(--v-300), var(--v-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1.2rem;
}
.step .s-tag { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--v-500); margin-bottom: .5rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .55rem; letter-spacing: -.01em; }
.step p { font-size: .93rem; color: var(--ink-2); }

/* ---------- Training ---------- */
.training { background: linear-gradient(180deg, var(--lav), var(--white)); }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; position: relative; z-index: 2; }
.prog {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 2.2rem 2rem; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.prog:hover { transform: translateY(-6px); box-shadow: 0 32px 64px -32px rgba(46,16,101,.25); }
.prog.featured { border: 1px solid transparent; background:
  linear-gradient(#fff, #fff) padding-box,
  var(--grad) border-box; }
.prog .p-tag {
  align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--v-600); background: var(--v-100); border-radius: 999px; padding: .3rem .9rem; margin-bottom: 1.4rem;
}
.prog h3 { font-size: 1.3rem; letter-spacing: -.015em; margin-bottom: .6rem; }
.prog > p { color: var(--ink-2); font-size: .95rem; margin-bottom: 1.5rem; }
.prog dl { border-top: 1px solid var(--line); margin-top: auto; }
.prog dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.prog dt { color: var(--ink-3); font-weight: 500; }
.prog dd { color: var(--ink); font-weight: 600; text-align: right; }

/* ---------- Principles ---------- */
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 3.5rem; position: relative; z-index: 2; }
.pr { display: flex; gap: 1.4rem; align-items: flex-start; padding: 1.6rem; border-radius: var(--r); transition: background .25s ease; }
.pr:hover { background: var(--paper); }
.pr .pr-num {
  flex: none; font-family: var(--display); font-weight: 700; font-size: 1rem;
  width: 2.8rem; height: 2.8rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; background: var(--grad);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 20px -8px rgba(109,40,217,.5);
}
.pr h3 { font-size: 1.12rem; margin-bottom: .35rem; letter-spacing: -.01em; }
.pr p { font-size: .95rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-list { max-width: 50rem; position: relative; z-index: 2; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.6rem .4rem; font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; color: var(--v-500);
  width: 2.2rem; height: 2.2rem; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item summary:hover { color: var(--v-600); }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--v-600); color: #fff; border-color: var(--v-600); }
.faq-item .a { padding: 0 3.5rem 1.7rem .4rem; color: var(--ink-2); font-size: .98rem; max-width: 44rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--v-950); overflow: hidden; padding: 8.5rem 0; }
.cta-band .smoke .s1 { background: radial-gradient(circle, rgba(124,58,237,.4), transparent 65%); }
.cta-band .smoke .s2 { background: radial-gradient(circle, rgba(167,139,250,.25), transparent 65%); }
.cta-band .smoke .s3 { background: radial-gradient(circle, rgba(88,28,180,.45), transparent 65%); }
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 46rem; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-inner h2 .grad { background: linear-gradient(120deg, #c4b5fd, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-inner p { margin: 1.4rem auto 2.6rem; color: rgba(228,220,248,.7); font-size: 1.1rem; max-width: 34rem; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--white), var(--lav)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; position: relative; z-index: 2; }
.contact-info p.blurb { color: var(--ink-2); margin-top: 1.2rem; max-width: 27rem; font-size: 1.02rem; }
.contact-info .email {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--v-600);
}
.contact-info .email::after { content: "→"; transition: transform .25s ease; }
.contact-info .email:hover::after { transform: translateX(4px); }
.contact-facts { margin-top: 2.6rem; border-top: 1px solid var(--line); }
.contact-facts div { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.contact-facts b { flex: none; width: 9rem; color: var(--ink-3); font-weight: 500; }

.form {
  background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: var(--r);
  padding: 2.4rem; position: relative;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -48px rgba(46,16,101,.35);
}
.form::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: var(--r) var(--r) 0 0;
  background: var(--grad);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink-2); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--body); font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237d7492' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--v-500); box-shadow: 0 0 0 4px rgba(139,92,246,.14);
}
.form .btn { width: 100%; justify-content: center; margin-top: .6rem; padding: 1.05rem; }
.form-note { margin-top: 1rem; font-size: .82rem; color: var(--ink-3); text-align: center; }
.form-note a { color: var(--v-600); font-weight: 500; }

/* ---------- Footer ---------- */
footer { background: var(--v-950); color: rgba(228,220,248,.65); position: relative; overflow: hidden; }
.foot-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem;
  padding: 4.5rem 0 3rem; border-bottom: 1px solid var(--line-dark);
  position: relative; z-index: 2;
}
.foot-brand .logo { color: #fff; margin-bottom: 1rem; }
.foot-brand p { font-size: .92rem; max-width: 22rem; }
.foot-col h4 {
  font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--v-300); margin-bottom: 1.2rem;
}
.foot-col a { display: block; font-size: .92rem; padding: .3rem 0; transition: color .2s ease; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.8rem 0 2.2rem; font-size: .85rem; position: relative; z-index: 2;
}

/* ---------- Legal pages ---------- */
.legal { padding: 10rem 0 5.5rem; max-width: 47rem; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); letter-spacing: -.025em; margin-bottom: .6rem; }
.legal .updated { color: var(--ink-3); font-size: .9rem; margin-bottom: 3rem; }
.legal h2 { font-size: 1.3rem; letter-spacing: -.015em; margin: 2.6rem 0 .8rem; }
.legal p, .legal li { color: var(--ink-2); font-size: .98rem; }
.legal ul { padding-left: 1.3rem; margin: .6rem 0; }
.legal .company-box {
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  border: 1px solid transparent; border-radius: var(--r);
  padding: 1.6rem 1.8rem; margin: 1.4rem 0;
  box-shadow: 0 20px 48px -32px rgba(46,16,101,.3);
}
.legal a { color: var(--v-600); font-weight: 500; }
.legal a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .svc-grid, .programs { grid-template-columns: 1fr; max-width: 34rem; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 0; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .foot-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 1.25rem; }
  .nav-inner { padding: 0 1.25rem; }
  section { padding: 4.5rem 0; }
  .hero { padding: 9rem 0 5rem; }
  .hero-meta { flex-direction: column; gap: .9rem; }
  .tiles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; padding-left: 0; }
  .principles-grid { grid-template-columns: 1fr; gap: .6rem; }
  .pr { padding: 1.1rem .6rem; }
  .form { padding: 1.6rem 1.3rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .faq-item .a { padding-right: .4rem; }
  .cta-band { padding: 6rem 0; }
}
