/* PrismCore Systems — 2026 refresh
   Clean white canvas, logo purple + green, generous spacing. */

:root {
  --ink: #17131f;
  --ink-2: #2b2536;
  --muted: #5e5870;
  --faint: #8b859b;
  --line: #ebe8f1;
  --line-2: #dcd7e6;
  --bg: #ffffff;
  --soft: #faf9fc;
  --tint-purple: #f6f1fb;
  --tint-green: #eef8f3;

  --purple: #5b2a86;
  --purple-600: #6c34a0;
  --purple-300: #b99ad8;
  --green: #1b8f61;
  --green-500: #2fb67c;
  --teal: #1f7f7b;
  --teal-400: #3fb3ad;

  --grad: linear-gradient(115deg, #5b2a86 0%, #7a3fb0 32%, #2a9d98 70%, #2fb67c 100%);
  --grad-soft: linear-gradient(115deg, rgba(91, 42, 134, .10), rgba(47, 182, 124, .10));

  --font-display: "Syne", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(23, 19, 31, .04), 0 1px 1px rgba(23, 19, 31, .03);
  --shadow: 0 1px 2px rgba(23, 19, 31, .04), 0 12px 32px -12px rgba(62, 30, 94, .14);
  --shadow-lg: 0 2px 4px rgba(23, 19, 31, .04), 0 30px 60px -20px rgba(62, 30, 94, .22);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 12vw, 168px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; margin: 0; color: var(--ink); }
::selection { background: rgba(91, 42, 134, .16); }
:focus-visible { outline: 2px solid var(--purple-600); outline-offset: 3px; border-radius: 6px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--soft); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 2px solid var(--soft); }
::-webkit-scrollbar-thumb:hover { background: var(--purple-300); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--soft { background: var(--soft); }
.section--line { border-top: 1px solid var(--line); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--purple);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--green { color: var(--teal); }
.display { font-size: clamp(42px, 6.4vw, 86px); letter-spacing: -.04em; line-height: .98; }
.h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.035em; }
.h3 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: sheen 9s var(--ease) infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }
.section-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head--split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 32px 80px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 15.5px/1 var(--font-body); letter-spacing: -.005em; cursor: pointer; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, border-color .3s, color .3s;
  isolation: isolate; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); transition: transform .2s var(--spring); }
.btn--primary { --bg: var(--purple); }
.btn--primary::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .5s var(--ease); z-index: -1; }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost { --bg: #fff; --fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--purple); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(23, 19, 31, .2); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: 10px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted); transition: color .25s, background-color .25s;
}
.nav-links a:hover { color: var(--ink); background: var(--soft); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-500); transform: translateX(-50%);
}
.nav-new { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; padding: 3px 7px; margin-left: 6px; border-radius: 999px; background: var(--tint-green); color: var(--green); vertical-align: 2px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav { height: 72px; }
  .brand img { height: 36px; }
  .menu-btn { display: flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px var(--gutter) 28px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(23, 19, 31, .25);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links a { padding: 14px 12px; font-size: 18px; border-radius: 12px; }
  .nav-links a[aria-current="page"]::after { left: 0; top: 50%; bottom: auto; width: 3px; height: 20px; border-radius: 3px; transform: translateY(-50%); }
  .nav-links .mobile-cta { display: block; margin-top: 12px; }
}
@media (min-width: 961px) { .nav-links .mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(72px, 10vw, 140px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  background: radial-gradient(closest-side, rgba(47, 182, 124, .10), transparent 70%),
              radial-gradient(closest-side at 30% 60%, rgba(91, 42, 134, .10), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero h1 { margin: 28px 0 28px; }
.hero .lead { margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--muted); box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .5s var(--ease);
}
.pill:hover { border-color: var(--purple-300); transform: scale(1.02); }
.pill b { font-weight: 600; color: var(--ink); }
.pill-text { line-height: 1.35; }
.pill-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--grad); color: #fff; }
.pill svg { width: 14px; height: 14px; color: var(--faint); }

.prism { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.prism-mark { position: relative; width: 62%; z-index: 2; filter: drop-shadow(0 30px 40px rgba(62, 30, 94, .28)); animation: float 7s ease-in-out infinite; }
.prism-ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.prism-ring--1 { inset: 4%; }
.prism-ring--2 { inset: 17%; border-style: dashed; border-color: var(--line-2); animation: spin 60s linear infinite; }
.prism-glow { position: absolute; inset: 18%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(91, 42, 134, .35), rgba(47, 182, 124, .35), rgba(42, 157, 152, .3), rgba(122, 63, 176, .35), rgba(91, 42, 134, .35)); filter: blur(48px); opacity: .55; animation: spin 18s linear infinite; }
.prism-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--green-500); box-shadow: 0 0 0 6px rgba(47, 182, 124, .12); }
.orbit { position: absolute; inset: 4%; animation: spin 26s linear infinite; }
.orbit--rev { inset: 17%; animation-duration: 34s; animation-direction: reverse; }
.orbit .prism-dot { top: -5px; left: calc(50% - 5px); }
.orbit--rev .prism-dot { border-color: var(--purple-600); box-shadow: 0 0 0 6px rgba(91, 42, 134, .1); top: auto; bottom: -5px; }
.prism-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: float 8s ease-in-out infinite;
}
.prism-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.prism-chip--a { top: 12%; left: -4%; }
.prism-chip--b { bottom: 16%; right: -6%; animation-delay: -3s; }
.prism-chip--b i { background: var(--purple-600); }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .prism { max-width: 380px; width: 100%; margin: 12px auto 0; order: -1; }
  .prism-chip--a { left: 0; } .prism-chip--b { right: 0; }
}
@media (max-width: 560px) { .prism { max-width: 280px; } .prism-chip { font-size: 11px; } }

/* page hero (inner pages) */
.page-hero { padding: clamp(64px, 10vw, 136px) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.page-hero h1 { margin: 24px 0; font-size: clamp(42px, 6.4vw, 84px); letter-spacing: -.04em; line-height: 1; max-width: 16ch; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 182, 124, .09), transparent); z-index: -1; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: #fff; }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 56px; font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 600; color: var(--faint); letter-spacing: -.01em; white-space: nowrap; }
.marquee-item::after { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 44px 40px 8px 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: 40px; }
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar-num { font-family: var(--font-mono); font-size: 13px; color: var(--faint); margin-bottom: 56px; display: block; }
.pillar h3 { margin-bottom: 16px; }
.pillar p { color: var(--muted); }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar-num { margin-bottom: 20px; }
}

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 36px 32px 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
  scroll-margin-top: 110px;
}
.card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); border-color: transparent; }
.card::before {
  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); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s var(--ease); pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:target { border-color: var(--purple-300); box-shadow: 0 0 0 4px var(--tint-purple); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--tint-purple); color: var(--purple); margin-bottom: 18px; transition: transform .6s var(--spring); }
.card-icon svg { width: 24px; height: 24px; }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.card--green .card-icon { background: var(--tint-green); color: var(--green); }
.card-kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.card h3 { font-size: 23px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; list-style: none; padding-left: 0; margin-bottom: 0; }
.tags li { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); }
.card--feature { background: var(--ink); color: #fff; border-color: var(--ink); overflow: hidden; }
.card--feature h3, .card--feature .card-kicker { color: #fff; }
.card--feature p { color: rgba(255, 255, 255, .72); }
.card--feature .card-icon { background: rgba(255, 255, 255, .1); color: #7fe0b4; }
.card--feature .tags li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.card--feature::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--grad); filter: blur(60px); opacity: .45; pointer-events: none; }
.badge-new { position: absolute; top: 24px; right: 24px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--green-500); color: #06281a; }

/* ---------- AI feature band ---------- */
.ai-band { position: relative; border-radius: 32px; padding: clamp(40px, 6vw, 88px); background: var(--tint-purple); overflow: hidden; isolation: isolate; }
.ai-band::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 182, 124, .22), transparent); z-index: -1; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ai-grid h2 { margin: 22px 0 24px; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }
.platforms { display: grid; gap: 16px; }
.platform {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .6s var(--ease);
}
.platform:hover { transform: scale(1.02); }
.platform-logo { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; }
.platform-logo--claude { background: linear-gradient(135deg, #c96a4a, #d98b6a); }
.platform-logo--copilot { background: linear-gradient(135deg, #2a6fd6, #1b9e8a 55%, #7a3fb0); }
.platform-logo--gov { background: var(--ink); }
.platform-logo svg { width: 26px; height: 26px; }
.platform h3 { font-size: 20px; margin-bottom: 6px; }
.platform p { margin: 0; color: var(--muted); font-size: 15.5px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid rgba(91, 42, 134, .16); }
.step { position: relative; padding: 28px 28px 0 0; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-mono); font-size: 12px; color: var(--purple); margin-bottom: 14px; }
.step::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 5px var(--tint-purple); }
.step h4 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding: 36px 0 0; border-top: 1px solid var(--ink); }
.stat-num { font-family: var(--font-display); font-size: clamp(44px, 5.4vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat-label { margin-top: 14px; color: var(--muted); max-width: 30ch; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.split--sticky > :first-child { position: sticky; top: 120px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--sticky > :first-child { position: static; } }

.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--tint-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b8f61' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Tracks (workshops) ---------- */
.track { padding: 28px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease); }
.track:last-child { border-bottom: 1px solid var(--line); }
.track:hover { padding-left: 10px; }
.track-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.track-meta { font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.track h3 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 8px; }
.track p { color: var(--muted); margin: 0; max-width: 62ch; font-size: 16px; }
.track-for { font-size: 13px; font-weight: 600; color: var(--purple); padding: 3px 10px; border-radius: 999px; background: var(--tint-purple); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--font-display); font-size: clamp(19px, 1.9vw, 23px); font-weight: 600; letter-spacing: -.015em;
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--purple); }
.faq-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .5s var(--ease), background-color .3s, border-color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-body { padding: 0 64px 32px 0; color: var(--muted); max-width: 72ch; }
.faq details[open] .faq-body { animation: rise .6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(48px, 8vw, 112px) clamp(28px, 6vw, 96px); background: var(--ink); color: #fff; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; background: conic-gradient(from 90deg, #5b2a86, #2a9d98, #2fb67c, #7a3fb0, #5b2a86); filter: blur(90px); opacity: .5; z-index: -1; animation: spin 30s linear infinite; }
.cta h2 { color: #fff; max-width: 16ch; margin: 20px 0 20px; }
.cta p { color: rgba(255, 255, 255, .72); max-width: 52ch; font-size: 18px; }
.cta .eyebrow { color: #7fe0b4; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta .btn--primary { --bg: #fff; --fg: var(--ink); }
.cta .btn--primary::before { display: none; }
.cta .btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .28); }
.cta .btn--ghost:hover { border-color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: 24px; background: #fff; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.panel h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 8px; }
.form { display: grid; gap: 20px; margin-top: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label span { color: var(--faint); font-weight: 400; }
.input {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--soft);
  font: 400 16px/1.4 var(--font-body); color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.input::placeholder { color: var(--faint); }
.input:hover { border-color: #c8c1d6; }
.input:focus { outline: none; border-color: var(--green-500); background: #fff; box-shadow: 0 0 0 4px rgba(47, 182, 124, .15); }
.input:user-invalid { border-color: #c2413b; box-shadow: 0 0 0 4px rgba(194, 65, 59, .1); }
textarea.input { min-height: 150px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e5870' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13.5px; color: var(--faint); margin: 0; }
.form-status { display: none; padding: 16px 18px; border-radius: 14px; font-size: 15px; }
.form-status.is-error { display: block; background: #fdf0ef; color: #8f2a25; border: 1px solid #f3cfcc; }
.form-success { display: none; text-align: center; padding: 48px 12px 24px; }
.form-success.is-visible { display: block; animation: rise .7s var(--ease); }
.form-success .tick { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center; background: var(--tint-green); color: var(--green); }
.form-success .tick svg { width: 32px; height: 32px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: block; }
.is-loading .btn-arrow { display: none; }

.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.contact-list li a, .contact-list li > div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 14px; margin: 0 -14px; border-radius: 14px; transition: background-color .25s; }
.contact-list li a:hover { background: var(--soft); }
.contact-list .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-purple); color: var(--purple); }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.contact-list strong { font-weight: 600; }

.calendar-wrap { margin-top: 24px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.calendar-wrap iframe { display: block; width: 100%; height: 720px; border: 0; background: #fff; }
.calendar-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 80px 0 40px; background: var(--soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid img { height: 44px; width: auto; margin-bottom: 20px; }
.footer-grid p { color: var(--muted); font-size: 15px; max-width: 38ch; }
.footer-title { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-links a { color: var(--ink-2); transition: color .2s; }
.footer-links a:hover { color: var(--purple); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint); }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* overflow guards */
.contact-grid > *, .contact-list span, .split > *, .ai-grid > * { min-width: 0; }
.contact-list strong { overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .ai-band { padding: 32px 20px; border-radius: 24px; }
  .platform { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .platform-logo { width: 48px; height: 48px; }
  .cta { border-radius: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
