/* TrinityBrains — company site. Plain CSS, no build step. */

:root {
  --navy-950: #050a1c;
  --navy-900: #0a1330;
  --navy-800: #121e47;
  --ink: #0d1a3a;
  --ink-2: #47536f;
  --ink-3: #6b7691;
  --page: #f5f7fc;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --line: #e2e8f5;
  --blue: #2458d3;
  --blue-2: #2f6bff;
  --cyan: #17b6ef;
  --violet: #6d3cf0;
  --grad: linear-gradient(100deg, #17b6ef 0%, #2f6bff 48%, #6d3cf0 100%);
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(13, 26, 58, .05), 0 4px 14px rgba(13, 26, 58, .05);
  --shadow: 0 18px 40px -18px rgba(13, 26, 58, .35);
  --font-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.shine {
  background: linear-gradient(90deg, #2f6bff, #6d3cf0, #17b6ef, #2f6bff);
  background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 300% center; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
  text-align: center;
}
.btn .icon { width: 18px; height: 18px; }
.btn .icon--arrow { transition: transform .2s ease; }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 14.5px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(47, 107, 255, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(47, 107, 255, .85); }
.btn--ghost { color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); }
.btn--ghost:hover { background: rgba(255, 255, 255, .13); }
.btn--outline { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.btn--outline:hover { border-color: #c4cfe8; transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  color: #fff;
  background: rgba(5, 10, 28, .9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background-color .3s ease;
}
.site-header.is-scrolled { background: rgba(5, 10, 28, .96); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .6); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; }
.brand b { font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .75); transition: color .2s, background-color .2s; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .18); }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter) 20px;
    background: rgba(5, 10, 28, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 16px; }
  .nav .btn { margin: 10px 0 0; padding: 13px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-950); color: #fff;
  padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 9vw, 120px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 35%, #000 15%, transparent 70%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: float 18s ease-in-out infinite alternate; }
.blob--1 { width: 520px; height: 520px; background: #1d5cff; left: -180px; top: -200px; }
.blob--2 { width: 460px; height: 460px; background: #6d3cf0; right: -140px; top: 20px; animation-delay: -6s; }
.blob--3 { width: 380px; height: 380px; background: #14b8e6; left: 35%; bottom: -260px; opacity: .35; animation-delay: -12s; }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, -20px) scale(.95); }
}
.hero__glow { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 35%), rgba(47, 107, 255, .2), transparent 60%); }
.hero__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .85);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: ping 2.2s ease-out infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(23, 182, 239, .6); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(23, 182, 239, 0); }
}
.hero h1 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin: 22px 0 20px; }
.rotator { display: grid; padding-bottom: .06em; }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(.4em); transition: opacity .5s ease, transform .5s ease; }
.rotator > span.is-active { opacity: 1; transform: none; }
.rotator > span.is-leaving { opacity: 0; transform: translateY(-.4em); }
.flourish { position: relative; white-space: nowrap; }
.flourish::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: .02em; height: .12em; border-radius: 1em;
  background: var(--grad); transform-origin: left; animation: draw 1.1s .5s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__sub { font-size: clamp(16px, 1.5vw, 18.5px); color: rgba(255, 255, 255, .72); max-width: 590px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .icon { width: 17px; height: 17px; color: var(--cyan); }

/* Orbit visual */
.orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.orbit__ring { position: absolute; border-radius: 50%; }
.orbit__ring--outer { inset: 9%; border: 1px dashed rgba(255, 255, 255, .2); animation: spin 48s linear infinite; }
.orbit__ring--inner { inset: 27%; border: 1px solid rgba(255, 255, 255, .08); background: radial-gradient(circle, rgba(47, 107, 255, .16), transparent 70%); }
.orbit__core { position: absolute; inset: 31%; display: grid; place-items: center; }
.orbit__core img { width: 100%; height: auto; filter: drop-shadow(0 12px 40px rgba(47, 107, 255, .55)); animation: bob 6s ease-in-out infinite; }
.orbit__chip { position: absolute; transform: translate(-50%, -50%); }
.orbit__body {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px; border-radius: 999px; white-space: nowrap;
  background: rgba(10, 19, 48, .82); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  animation: spin 48s linear infinite reverse;
}
.orbit__body .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.orbit__body em { font-style: normal; font-size: 13.5px; font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .orbit { width: min(78%, 360px); margin-top: 8px; }
}
@media (max-width: 560px) {
  .orbit__body { padding: 6px; }
  .orbit__body em { display: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 116px) 0; }
.section--tint { background: linear-gradient(180deg, #f5f7fc 0%, #ebf1ff 100%); }
.section--dark { background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.section--dark .eyebrow { color: var(--cyan); }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -.03em; margin: 12px 0 16px; }
.section-head > p:not(.eyebrow) { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-2); }
.section--dark .section-head > p:not(.eyebrow) { color: rgba(255, 255, 255, .72); }
.footnote { margin-top: 28px; font-size: 13.5px; color: var(--ink-3); text-align: center; }

/* Scroll reveal (uses the `translate` property so it never fights a card's tilt transform) */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .7s ease var(--d, 0ms), translate .7s ease var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.js .pcard.reveal { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .7s ease var(--d, 0ms), translate .7s ease var(--d, 0ms); }
.js .security li.reveal, .js .playbooks li.reveal { transition: transform .25s ease, border-color .25s ease, background-color .25s ease, opacity .7s ease var(--d, 0ms), translate .7s ease var(--d, 0ms); }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .7s ease var(--d, 0ms), translate .7s ease var(--d, 0ms);
}
.pcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
}
.pcard:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.pcard:hover::before { opacity: 1; }
.pcard__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 12px 24px -12px var(--accent); }
.pcard__icon .icon { width: 26px; height: 26px; }
.pcard__tag { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 80%, var(--ink)); }
.pcard h3 { font-size: 21px; }
.pcard h3 small { display: block; font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-top: 2px; }
.pcard p:not(.pcard__tag) { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.pcard__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; color: color-mix(in srgb, var(--accent) 85%, var(--ink)); }
.pcard__link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.pcard__link:hover .icon { transform: translateX(4px); }
.pcard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pcard--soon { background: linear-gradient(180deg, #fff, #f7f8fc); border-style: dashed; border-color: #c9d2e6; }
@media (max-width: 980px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }

/* ---------- Student platform explorer ---------- */
.explorer { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.tablist { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 92px; }
.tab {
  position: relative; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 16px; border-radius: 18px; border: 1px solid transparent;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.tab:hover { background: rgba(255, 255, 255, .7); }
.tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.tab[aria-selected="true"]::before { content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
.tab__icon { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff); transition: background .2s, color .2s; }
.tab[aria-selected="true"] .tab__icon { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.tab__title { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.tab__sub { display: block; font-size: 13px; color: var(--ink-3); }
.panels { min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 42px); box-shadow: var(--shadow-sm); }
:root:not(.js) .panel + .panel { margin-top: 20px; }
:root:not(.js) .panel[hidden] { display: block; }
.panel.is-entering { animation: panelIn .45s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; margin-bottom: 30px; }
.panel__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.section--dark .panel__kicker { color: var(--cyan); }
.panel h3 { font-size: clamp(24px, 2.8vw, 32px); margin: 10px 0 12px; }
.panel__lead { font-size: 17px; color: var(--ink-2); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.checks li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); }
.checks li b { color: var(--ink); font-weight: 600; }
.checks .icon { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; color: #fff; background: var(--grad); stroke-width: 3; }
.panel__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .explorer { grid-template-columns: 1fr; }
  .tablist {
    position: static; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none;
  }
  .tablist::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; padding: 10px 16px 10px 10px; background: rgba(255, 255, 255, .55); border-color: var(--line); }
  .tab[aria-selected="true"]::before { display: none; }
  .tab__icon { width: 36px; height: 36px; }
  .tab__sub { display: none; }
  .panel__top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }

/* Placement loop */
.loop { display: grid; gap: 6px; counter-reset: none; }
.loop li {
  display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: center;
  padding: 9px 12px; border-radius: 14px; border: 1px solid var(--line); background: #f8faff;
  transition: background-color .4s, border-color .4s, transform .4s;
}
.loop li span { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--blue); background: #fff; border: 1px solid var(--line); transition: background .4s, color .4s; }
.loop li b { font-size: 14.5px; line-height: 1.3; }
.loop li small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.loop li.is-lit { background: #fff; border-color: #b9cbf5; transform: translateX(6px); box-shadow: var(--shadow-sm); }
.loop li.is-lit span { background: var(--grad); color: #fff; border-color: transparent; }

/* Sample report */
.report { border-radius: 22px; padding: 22px; color: #fff; background: radial-gradient(circle at 85% 0%, rgba(109, 60, 240, .55), transparent 55%), linear-gradient(160deg, #0b1636, #17265c); box-shadow: var(--shadow); }
.report__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.badge { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.report__score { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.report__score p { font-size: 15px; color: rgba(255, 255, 255, .85); line-height: 1.35; }
.report__score small { color: rgba(255, 255, 255, .6); }
@property --fill { syntax: "<number>"; inherits: false; initial-value: 0; }
.ring {
  width: 78px; height: 78px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(#17b6ef calc(var(--fill) * 1%), rgba(255, 255, 255, .12) 0);
  transition: --fill 1.2s ease;
}
.report.is-live .ring { --fill: var(--p); }
.ring span { width: 62px; height: 62px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #0f1d48; font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1; }
.ring span small { font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .6); margin-top: 3px; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 13.5px; margin-top: 10px; }
.bar span { color: rgba(255, 255, 255, .82); }
.bar i { grid-column: 1 / -1; height: 7px; border-radius: 9px; background: rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.report.is-live .bar i::after { transform: scaleX(1); }
.report__next { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .7); }

/* Study path */
.path { position: relative; display: grid; gap: 14px; padding-left: 30px; }
.path::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #17b6ef, #2f6bff, #6d3cf0); }
.path li { position: relative; padding: 10px 14px; border-radius: 14px; background: #f8faff; border: 1px solid var(--line); }
.path li::before { content: ""; position: absolute; left: -27px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-2); }
.path li b { display: block; font-size: 14.5px; }
.path li small { font-size: 12.5px; color: var(--ink-3); }
.path__flag { background: linear-gradient(135deg, rgba(23, 182, 239, .12), rgba(109, 60, 240, .12)) !important; border-color: #c7d3f3 !important; }
.path__flag::before { background: var(--violet) !important; border-color: #fff !important; box-shadow: 0 0 0 3px var(--violet); }

/* Exam stages */
.stages { padding: 24px; border-radius: 22px; background: #f8faff; border: 1px solid var(--line); }
.stages__track { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.stages__track::before { content: ""; position: absolute; left: 16%; right: 16%; top: 22px; height: 3px; border-radius: 3px; background: var(--line); }
.stages__track::after { content: ""; position: absolute; left: 16%; top: 17px; width: 13px; height: 13px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(23, 182, 239, .2); animation: travel 4.5s ease-in-out infinite; }
@keyframes travel { 0% { left: 16%; } 45%, 55% { left: calc(50% - 6px); } 100% { left: calc(84% - 13px); } }
.stages__track li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.stages__track li span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; background: linear-gradient(135deg, #10b981, #0ea5c6); box-shadow: 0 10px 20px -10px #0ea5c6; }
.stages__note { text-align: center; font-size: 12px; color: var(--ink-3); margin: 10px 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.stat { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.stats--dark { margin-top: 0; }
.stats--dark .stat { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.stats--dark .stat span { color: rgba(255, 255, 255, .7); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Campus */
.campus { margin-top: 48px; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.campus__head { display: grid; grid-template-columns: auto 1fr; gap: 8px 32px; align-items: baseline; margin-bottom: 24px; }
.campus__head h3 { font-size: clamp(22px, 2.4vw, 28px); }
.campus__head p { color: var(--ink-2); }
.campus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.campus__grid li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 16px; border-radius: 16px; background: #f8faff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.campus__grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.campus__grid .icon { grid-row: span 2; width: 38px; height: 38px; padding: 9px; border-radius: 11px; color: var(--blue); background: var(--surface-2); }
.campus__grid b { font-size: 15px; }
.campus__grid span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 900px) { .campus__head { grid-template-columns: 1fr; } .campus__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .campus__grid { grid-template-columns: 1fr; } }

/* ---------- CRM ---------- */
.crm__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(700px circle at 85% 0%, rgba(109, 60, 240, .28), transparent 60%), radial-gradient(600px circle at 0% 30%, rgba(23, 130, 239, .2), transparent 60%); }
.crm__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.marquee { margin: 56px 0; }
.marquee__label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 16px; }
.marquee__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee__viewport:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { margin-right: 12px; padding: 10px 18px; border-radius: 999px; white-space: nowrap; font-weight: 500; font-size: 14.5px; color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
@keyframes marquee { to { transform: translateX(-50%); } }

.crm-features { margin-top: 64px; }
.seg { display: flex; gap: 6px; padding: 6px; border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 24px; }
.seg::-webkit-scrollbar { display: none; }
.seg__tab { flex: none; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .7); transition: background-color .2s, color .2s; }
.seg__tab:hover { color: #fff; }
.seg__tab[aria-selected="true"] { color: #fff; background: var(--grad); box-shadow: 0 8px 20px -10px rgba(47, 107, 255, .9); }
.cpanel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); }
.cpanel[hidden] { display: none; }
.cpanel.is-entering { animation: panelIn .45s ease; }
:root:not(.js) .cpanel[hidden] { display: grid; }
:root:not(.js) .cpanel + .cpanel { margin-top: 16px; }
.cpanel__intro h3 { font-size: clamp(24px, 2.8vw, 32px); margin: 10px 0 12px; }
.cpanel__intro > p:not(.panel__kicker) { color: rgba(255, 255, 255, .72); font-size: 17px; }
.cpanel__list { display: grid; gap: 10px; }
.cpanel__list li { display: grid; gap: 2px; padding: 14px 16px 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-left: 3px solid #2f6bff; transition: background-color .2s, transform .2s; }
.cpanel__list li:hover { background: rgba(255, 255, 255, .08); transform: translateX(4px); }
.cpanel__list b { font-size: 15.5px; }
.cpanel__list span { font-size: 14.5px; color: rgba(255, 255, 255, .7); }
@media (max-width: 900px) { .cpanel { grid-template-columns: 1fr; } }

.block { margin-top: clamp(64px, 9vw, 104px); }
.block__head { max-width: 720px; margin-bottom: 32px; }
.block__head h3 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; margin: 12px 0 12px; }
.block__head > p:not(.eyebrow) { color: rgba(255, 255, 255, .72); font-size: 17px; }

.journey { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.journey li { padding: 18px 14px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background .5s, border-color .5s, transform .5s, box-shadow .5s; }
.journey li span { font-size: 12px; font-weight: 700; color: var(--cyan); letter-spacing: .05em; }
.journey li b { display: block; font-family: var(--font-display); font-size: 17px; margin: 6px 0 4px; }
.journey li small { display: block; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .62); }
.journey li.is-lit { background: linear-gradient(160deg, rgba(47, 107, 255, .4), rgba(109, 60, 240, .3)); border-color: rgba(140, 170, 255, .55); transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(47, 107, 255, .8); }
@media (max-width: 1100px) { .journey { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .journey { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.playbooks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.playbooks li { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: border-color .2s, background-color .2s; }
.playbooks li:hover { border-color: rgba(140, 170, 255, .5); background: rgba(255, 255, 255, .07); }
.playbooks span { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.playbooks b { display: block; font-family: var(--font-display); font-size: 18px; margin: 4px 0; }
.playbooks small { font-size: 14px; color: rgba(255, 255, 255, .66); line-height: 1.45; display: block; }

.mobile { display: grid; gap: 28px; padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: linear-gradient(160deg, rgba(47, 107, 255, .16), rgba(109, 60, 240, .1)); border: 1px solid rgba(255, 255, 255, .1); }
.mobile h3 { font-size: clamp(22px, 2.6vw, 28px); margin: 10px 0 14px; }
.phone { position: relative; width: 240px; margin-inline: auto; padding: 34px 14px 18px; border-radius: 38px; background: #0b1230; border: 8px solid #1c2752; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.phone__notch { position: absolute; top: 9px; left: 50%; width: 70px; height: 16px; margin-left: -35px; border-radius: 10px; background: #1c2752; }
.phone__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.phone__title small { font-family: var(--font-body); font-size: 11.5px; font-weight: 500; color: rgba(255, 255, 255, .55); margin-left: 4px; }
.phone__item { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); margin-bottom: 8px; font-size: 12px; color: rgba(255, 255, 255, .7); animation: slidein .6s ease both; }
.phone__item:nth-of-type(3) { animation-delay: .1s; }
.phone__item:nth-of-type(4) { animation-delay: .2s; }
.phone__item:nth-of-type(5) { animation-delay: .3s; }
.phone__item b { display: block; color: #fff; font-size: 13px; }
.phone__item i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex: none; }
.phone__item--hot { background: linear-gradient(90deg, rgba(47, 107, 255, .35), rgba(109, 60, 240, .25)); }
.phone__item--hot i { background: #ff6b6b; box-shadow: 0 0 0 4px rgba(255, 107, 107, .2); }
.phone__caption { text-align: center; font-size: 10.5px; color: rgba(255, 255, 255, .4); margin-top: 6px; }
@keyframes slidein { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.ticks .icon { width: 20px; height: 20px; padding: 3px; margin-top: 2px; border-radius: 50%; color: #fff; background: var(--grad); stroke-width: 3; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .playbooks { grid-template-columns: 1fr; } }

.security { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.security li { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: transform .25s, border-color .25s, background-color .25s; }
.security li:hover { transform: translateY(-4px); border-color: rgba(23, 182, 239, .5); background: rgba(23, 182, 239, .06); }
.security .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--cyan); background: rgba(23, 182, 239, .12); margin-bottom: 6px; }
.security b { font-size: 16px; }
.security span { font-size: 14px; color: rgba(255, 255, 255, .66); }
@media (max-width: 1000px) { .security { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .security { grid-template-columns: 1fr; } }

/* Module explorer */
.modfilter__bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.chips--filter { justify-content: flex-start; }
.chips--filter button { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .2s, color .2s, border-color .2s; }
.chips--filter button:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.chips--filter button[aria-pressed="true"] { color: #fff; background: var(--grad); border-color: transparent; }
.search { position: relative; display: flex; align-items: center; flex: 0 1 280px; }
.search .icon { position: absolute; left: 14px; width: 18px; height: 18px; color: rgba(255, 255, 255, .5); }
.search input { width: 100%; padding: 11px 14px 11px 42px; border-radius: 999px; font: inherit; font-size: 15px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); outline: none; transition: border-color .2s, background-color .2s; }
.search input::placeholder { color: rgba(255, 255, 255, .45); }
.search input:focus { border-color: var(--cyan); background: rgba(255, 255, 255, .09); }
.modfilter__count { font-size: 13.5px; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.modules li { display: grid; gap: 2px; align-content: start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); animation: panelIn .35s ease; }
.modules li[hidden] { display: none; }
.modules em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.modules b { font-size: 15px; }
.modules span { font-size: 13.5px; color: rgba(255, 255, 255, .64); line-height: 1.45; }
.modfilter__empty { padding: 24px; text-align: center; color: rgba(255, 255, 255, .7); border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .2); }
.modfilter__empty a { color: var(--cyan); text-decoration: underline; }
@media (max-width: 1000px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .modules { grid-template-columns: 1fr; }
  .search { flex-basis: 100%; }
  .chips--filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .chips--filter::-webkit-scrollbar { display: none; }
  .chips--filter button { flex: none; }
}

.banner { margin-top: clamp(56px, 8vw, 88px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: linear-gradient(120deg, rgba(23, 182, 239, .2), rgba(47, 107, 255, .2) 45%, rgba(109, 60, 240, .28)); border: 1px solid rgba(255, 255, 255, .14); }
.banner h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 8px; }
.banner p { color: rgba(255, 255, 255, .75); max-width: 620px; }
.banner__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Coming soon ---------- */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.soon { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 64px); border-radius: 32px; }
.soon::before { content: ""; position: absolute; inset: 0; z-index: -2; background: conic-gradient(from var(--angle), #17b6ef, #2f6bff, #6d3cf0, #17b6ef); animation: turn 6s linear infinite; }
.soon::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 30px; background: radial-gradient(circle at 50% 0%, #eef3ff, #fff 70%); }
@keyframes turn { to { --angle: 360deg; } }
.soon h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; margin: 12px 0 14px; }
.soon > p:not(.eyebrow) { font-size: 18px; color: var(--ink-2); max-width: 560px; margin: 0 auto 28px; }
.soon__ghosts { display: flex; justify-content: center; gap: 14px; margin-bottom: 28px; }
.soon__ghosts span { display: grid; gap: 8px; width: 120px; padding: 14px; border-radius: 16px; background: #fff; border: 1px dashed #c9d2e6; animation: bob 5s ease-in-out infinite; }
.soon__ghosts span:nth-child(2) { animation-delay: -1.6s; }
.soon__ghosts span:nth-child(3) { animation-delay: -3.2s; }
.soon__ghosts i { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #dfe7fb, #ece4fd); }
.soon__ghosts em { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #e8edf8 25%, #f6f8fd 50%, #e8edf8 75%); background-size: 200% 100%; animation: skeleton 1.6s linear infinite; }
.soon__ghosts em + em { width: 60%; }
@keyframes skeleton { to { background-position: -200% 0; } }
@media (max-width: 480px) { .soon__ghosts span { width: 88px; } .soon__ghosts span:nth-child(3) { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .68); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid .brand { color: #fff; }
.footer-tagline { margin-top: 14px; max-width: 300px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-grid a:not(.brand) { display: block; padding: 4px 0; transition: color .2s; overflow-wrap: anywhere; }
.footer-grid a:not(.brand):hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.to-top:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Contact page ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(96px, 12vw, 140px); text-align: center; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; letter-spacing: -.035em; margin: 18px 0 14px; }
.page-hero p:not(.pill) { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .72); max-width: 640px; margin-inline: auto; }
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: clamp(-80px, -8vw, -56px); position: relative; z-index: 2; }
.card { padding: clamp(22px, 4vw, 36px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mailcard { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.mailcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% -10%, rgba(47, 107, 255, .14), transparent 60%); }
.mailcard__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 16px 30px -14px rgba(47, 107, 255, .9); animation: bob 5s ease-in-out infinite; }
.mailcard__icon .icon { width: 30px; height: 30px; }
.mailcard__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mailcard__addr { display: inline-block; margin: 6px 0 20px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 3vw, 28px); letter-spacing: -.02em; overflow-wrap: anywhere; }
.mailcard__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.helpers { display: grid; gap: 12px; margin-top: 24px; text-align: left; }
.helpers li { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 16px; border-radius: 18px; background: #f8faff; border: 1px solid var(--line); }
.helpers .icon { grid-row: span 3; width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--accent, #2f6bff), var(--accent-2, #17b6ef)); }
.helpers b { font-size: 15.5px; }
.helpers span { font-size: 14px; color: var(--ink-2); }
.helpers a { font-size: 14px; font-weight: 600; color: var(--blue); }
.helpers a:hover { text-decoration: underline; }

.form h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 6px; }
.form > p { color: var(--ink-2); margin-bottom: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 14px; font: inherit; font-size: 15.5px; color: var(--ink);
  background: #f8faff; border: 1px solid var(--line); outline: none; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue-2); background: #fff; box-shadow: 0 0 0 4px rgba(47, 107, 255, .14); }
.field [aria-invalid="true"] { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.field__error { font-size: 13px; color: #c62a2f; min-height: 0; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topics span { display: inline-block; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: #f8faff; border: 1px solid var(--line); transition: background-color .2s, color .2s, border-color .2s; }
.topics input:checked + span { color: #fff; background: var(--grad); border-color: transparent; }
.topics input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form__note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field__row { grid-template-columns: 1fr; } }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(64px, 12vw, 120px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.notfound p { margin: 14px 0 28px; color: rgba(255, 255, 255, .72); font-size: 18px; }

/* ---------- Reduced motion ---------- */
@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; translate: 0 0; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 10px; }
  .marquee__track li[aria-hidden="true"] { display: none; }
}
