/* Assayhire: life science recruitment. Fluorescence palette, assay-plate motifs. */
:root {
  --ink: #0B1F3A;        /* deep navy, the dark field of a microscope */
  --ink-2: #13305A;
  --dapi: #4D6BFF;       /* nuclear stain blue */
  --dapi-d: #3550E0;
  --gfp: #2FE0A7;        /* green fluorescent protein */
  --gfp-d: #0B8F6A;      /* readable on light backgrounds */
  --mcherry: #FF5C82;    /* red reporter, used sparingly */
  --cy5: #9A7BFF;
  --paper: #F4F7FB;
  --ice: #EAF1FA;
  --line: #CCD8E8;
  --muted: #4A5B78;
  --white: #ffffff;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --r-s: 6px;
  --r-m: 14px;
  --r-l: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; text-rendering: optimizeLegibility; }
img, svg, canvas { max-width: 100%; }
a { color: var(--dapi-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--dapi); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.22rem; line-height: 1.55; color: var(--muted); max-width: 38em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.sans { font-family: var(--sans); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,247,251,0.9); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; line-height: 1; }
.brand .mark { color: var(--ink); flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; }
.brand-sub { font-weight: 500; font-size: 0.74rem; letter-spacing: 0.02em; color: var(--muted); }
.menu { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; font-size: 0.97rem; font-weight: 500; }
.menu a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; border-radius: 999px; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--ice); color: var(--ink); }
.menu .menu-cta a { color: var(--white); margin-left: 8px; }
.menu .menu-cta a:hover { color: var(--white); }
.menu-toggle { display: none; font: inherit; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--ink); }
@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; }
  .menu.open { display: flex; }
  .menu .menu-cta a { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem; background: var(--dapi); color: var(--white); text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--dapi); cursor: pointer; line-height: 1.2; transition: background 160ms, transform 160ms; }
.btn:hover { background: var(--dapi-d); border-color: var(--dapi-d); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 9px 16px; font-size: 0.93rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-glow { background: var(--gfp); border-color: var(--gfp); color: var(--ink); }
.btn-glow:hover { background: #5cf0c0; border-color: #5cf0c0; color: var(--ink); }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 20px 0 0; margin: 0 auto; font-size: 0.88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Sections */
section { padding: 80px 0; position: relative; }
.section-tight { padding: 44px 0; }
.band-mist { background: var(--ice); }
.band-ink { background: var(--ink); color: #D6E2F5; }
.band-ink h2, .band-ink h3 { color: var(--white); }
.band-ink a { color: var(--gfp); }
.band-ink .muted { color: #9FB2D3; }
.page-head { padding: 40px 0 52px; }
.page-head .lede { margin-top: 0.4em; }
.page-head.with-media .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .page-head.with-media .wrap { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; gap: 32px; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Hero: dark field, live plate */
.hero { background: var(--ink); color: #D6E2F5; padding: 0; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,31,58,.96) 0%, rgba(11,31,58,.78) 42%, rgba(11,31,58,0) 75%); pointer-events: none; }
.hero .wrap { min-height: min(86vh, 760px); display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; min-height: 0; } .hero::after { background: rgba(11,31,58,.82); } }
.hero h1 { color: var(--white); max-width: 11ch; }
.hero h1 .glow { color: var(--gfp); }
.hero .lede { color: #C3D2EA; margin: 0.6em 0 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); color: var(--white); }
.hero-note { font-size: 0.95rem; color: #9FB2D3; margin-top: 20px; }
.hero-readout { justify-self: end; align-self: end; background: rgba(11,31,58,.72); border: 1px solid rgba(47,224,167,.35); border-radius: var(--r-m); padding: 16px 18px; font-size: 0.9rem; color: #C3D2EA; backdrop-filter: blur(6px); max-width: 300px; }
.hero-readout b { color: var(--gfp); font-family: var(--display); font-size: 1.6rem; display: block; line-height: 1.1; }
@media (max-width: 960px) { .hero-readout { justify-self: start; } }

/* Image slots: library images drop in, designed fallback otherwise */
.media { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; background-color: var(--ink); background-size: cover; background-position: center;
  background-image: radial-gradient(circle at 22% 30%, rgba(47,224,167,.55), transparent 32%), radial-gradient(circle at 74% 64%, rgba(77,107,255,.7), transparent 38%), radial-gradient(circle at 60% 18%, rgba(154,123,255,.45), transparent 30%), linear-gradient(160deg, #0B1F3A, #13305A); }
.media:not(.has-img)::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.22) 1.6px, transparent 2px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.media:not(.has-img) .media-plate { position: absolute; width: 38%; aspect-ratio: 1; right: 9%; bottom: 12%; border-radius: 50%; border: 1px solid rgba(47,224,167,.6); box-shadow: 0 0 60px rgba(47,224,167,.35), inset 0 0 40px rgba(77,107,255,.4); }
.media.wide { aspect-ratio: 16 / 7; }
.media.tall { aspect-ratio: 3 / 4; }
.media-qc, .media-qa, .media-safety { background-image: radial-gradient(circle at 30% 40%, rgba(77,107,255,.7), transparent 36%), radial-gradient(circle at 75% 70%, rgba(255,92,130,.45), transparent 30%), linear-gradient(160deg, #0B1F3A, #13305A); }
.media-clinical, .media-medical, .media-regulatory { background-image: radial-gradient(circle at 70% 30%, rgba(154,123,255,.6), transparent 36%), radial-gradient(circle at 25% 75%, rgba(47,224,167,.45), transparent 34%), linear-gradient(160deg, #0B1F3A, #13305A); }

/* Industry chips */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.93rem; font-weight: 500; }
.chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gfp); margin-right: 8px; vertical-align: 1px; }
.chips li:nth-child(3n+2)::before { background: var(--dapi); }
.chips li:nth-child(3n)::before { background: var(--cy5); }

/* Role families grid */
.families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 32px; }
@media (max-width: 900px) { .families { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .families { grid-template-columns: 1fr; } }
.families a { display: block; padding: 22px 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); transition: background 160ms; }
.families a:hover { background: var(--ice); }
.families strong { display: block; font-family: var(--display); font-size: 1.18rem; letter-spacing: -0.01em; }
.families span { display: block; font-size: 0.92rem; color: var(--muted); margin-top: 4px; }
.families em { font-style: normal; font-size: 0.82rem; color: var(--gfp-d); font-weight: 600; display: block; margin-top: 10px; }

/* Blueprint specimen */
.specimen { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 30px 60px -36px rgba(11,31,58,0.45); }
.specimen-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.specimen-head strong { font-family: var(--display); font-size: 1.08rem; }
.specimen-head span { font-size: 0.85rem; color: var(--muted); }
.specimen ol { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.specimen li { display: grid; grid-template-columns: 1fr 0.8fr; border-bottom: 1px solid var(--ice); }
.specimen li:last-child { border-bottom: 0; }
.specimen .qa { padding: 16px 22px; counter-increment: q; }
.specimen .q { font-weight: 600; font-size: 0.97rem; margin-bottom: 6px; }
.specimen .q::before { content: "Q" counter(q) "  "; color: var(--dapi); font-weight: 600; }
.specimen .a { font-size: 0.96rem; color: var(--muted); font-style: italic; }
.specimen .read { padding: 16px 18px; border-left: 3px solid var(--gfp); background: #EDFBF5; font-size: 0.9rem; line-height: 1.45; }
.specimen .read b { display: block; color: var(--gfp-d); font-weight: 600; font-size: 0.82rem; margin-bottom: 4px; }
.specimen-foot { padding: 12px 22px; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--paper); border-radius: 0 0 var(--r-m) var(--r-m); }
@media (max-width: 560px) { .specimen li { grid-template-columns: 1fr; } .specimen .read { border-left: 0; border-top: 3px solid var(--gfp); } }

/* Steps: a real sequence */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps > li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--gfp); box-shadow: 0 0 0 5px rgba(47,224,167,.14); }
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; color: var(--muted); }
.steps .who { font-size: 0.85rem; color: var(--dapi-d); margin-top: 8px; font-weight: 500; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.features h3 { font-size: 1.2rem; padding-top: 16px; border-top: 2px solid var(--ink); }
.features p { color: var(--muted); font-size: 1rem; }
.band-ink .features h3 { border-color: var(--gfp); }
.band-ink .features p { color: #9FB2D3; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } }
.fact .figure { font-family: var(--display); font-weight: 800; font-size: 3rem; letter-spacing: -0.03em; color: var(--gfp); line-height: 1; }
.fact p { margin: 10px 0 6px; }
.fact cite { font-style: normal; font-size: 0.85rem; }

/* Rebate decay: the 120-day curve */
.decay { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 10px; height: 230px; margin: 8px 0 12px; }
.decay div { position: relative; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--gfp), #1BB98A); display: flex; flex-direction: column; justify-content: flex-start; padding: 10px; color: var(--ink); }
.decay div:nth-child(2) { background: linear-gradient(180deg, #4FD7C2, #2BB0A8); }
.decay div:nth-child(3) { background: linear-gradient(180deg, #5D9BFF, var(--dapi)); color: var(--white); }
.decay div:nth-child(4) { background: linear-gradient(180deg, #7C79FF, #5A4FE0); color: var(--white); }
.decay div:nth-child(5) { background: var(--line); color: var(--muted); }
.decay b { font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.decay span { font-size: 0.8rem; margin-top: 4px; }
.decay-axis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; font-size: 0.85rem; color: var(--muted); text-align: center; }
.band-ink .decay-axis { color: #9FB2D3; }
.band-ink .decay div:nth-child(5) { background: #1E3A66; color: #9FB2D3; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.97rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--ice); vertical-align: top; }
th { font-weight: 600; background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--gfp-d); font-weight: 600; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Index lists */
.index-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .index-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .index-list { grid-template-columns: 1fr; } }
.index-list li { border-bottom: 1px solid var(--line); }
.index-list a { display: block; padding: 16px 16px 16px 0; text-decoration: none; color: var(--ink); transition: padding 150ms ease-out, background 150ms; }
.index-list a:hover { background: var(--white); padding-left: 12px; }
.index-list strong { display: block; font-size: 1.05rem; font-weight: 600; }
.index-list span { display: block; font-size: 0.92rem; color: var(--muted); }
.group-title { font-size: 1.35rem; margin: 48px 0 6px; display: flex; align-items: center; gap: 10px; scroll-margin-top: 90px; }
.group-title::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--gfp); box-shadow: 0 0 0 4px rgba(47,224,167,.18); }
.group-sub { color: var(--muted); font-size: 0.95rem; margin: 0 0 14px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.jump a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: 0.9rem; }
.jump a:hover { border-color: var(--dapi); color: var(--dapi-d); }

/* Markets */
.markets { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 24px; }
@media (max-width: 900px) { .markets { grid-template-columns: 1fr; } }
.market { border-top: 2px solid var(--ink); padding-top: 14px; }
.market h3 a, .market h2 a { color: var(--ink); text-decoration: none; }
.market ul { list-style: none; padding: 0; margin: 0; }
.market li { padding: 5px 0; }

/* Fee calculator */
.calc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 28px; }
.calc-row { display: grid; grid-template-columns: 1fr 140px; gap: 12px; margin-bottom: 20px; }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
@media (max-width: 600px) { .calc-results { grid-template-columns: 1fr; } .calc-row { grid-template-columns: 1fr; } }
.calc-results .val { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.calc-results .val.ours { color: var(--dapi-d); }
.calc-results .lab { font-size: 0.88rem; color: var(--muted); }

/* Salary indicator */
.saltool { display: grid; grid-template-columns: 1fr 1.05fr; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 30px 60px -40px rgba(11,31,58,.5); }
@media (max-width: 860px) { .saltool { grid-template-columns: 1fr; } }
.saltool-in { padding: 28px; display: grid; gap: 14px; align-content: start; }
.saltool-in h2, .saltool-in h3 { font-size: 1.35rem; margin: 0; }
.saltool-out { background: var(--ink); color: #C3D2EA; padding: 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.saltool-out::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(47,224,167,.35), transparent 65%); }
.sal-role { font-family: var(--display); color: var(--white); font-size: 1.2rem; font-weight: 700; position: relative; }
.sal-where { font-size: 0.92rem; position: relative; }
.sal-band { font-family: var(--display); font-weight: 800; color: var(--gfp); font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; position: relative; }
.sal-meter { position: relative; height: 12px; border-radius: 99px; background: #1E3A66; margin: 6px 0 2px; }
.sal-meter span { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--dapi), var(--gfp)); transition: left 300ms ease, width 300ms ease; }
.sal-fee { font-size: 0.95rem; position: relative; }
.sal-fee b { color: var(--white); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,92,130,.14); color: #FF9DB3; border: 1px solid rgba(255,92,130,.35); position: relative; align-self: flex-start; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mcherry); }
.badge-light { background: #FFF0F4; color: #B4234A; border-color: #FFC7D4; }
.sal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; position: relative; }
.sal-note { font-size: 0.8rem; color: #8DA2C6; position: relative; margin: 6px 0 0; }

/* Forms */
form.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 32px; }
fieldset { border: 0; padding: 0; margin: 0 0 30px; }
legend { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 6px; }
.legend-note { font-size: 0.92rem; color: var(--muted); margin: 0 0 14px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) { .field-row, .field-row.three { grid-template-columns: 1fr; } form.form { padding: 20px; } }
label { display: block; font-weight: 500; margin-bottom: 6px; }
.hint { display: block; font-size: 0.86rem; color: var(--muted); font-weight: 400; margin-top: -2px; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--dapi); background: var(--white); outline: 3px solid rgba(77,107,255,0.2); outline-offset: 0; }
textarea { min-height: 120px; resize: vertical; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400; margin-bottom: 12px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--dapi); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: #E3F8F0; color: var(--gfp-d); }
.form-status.err { display: block; background: #FFEAF0; color: #A3173F; }
.req { color: var(--mcherry); }
.stripe-note { display: flex; gap: 12px; align-items: flex-start; background: var(--ice); border-radius: 10px; padding: 14px 16px; font-size: 0.93rem; margin-bottom: 18px; }
.stripe-note b { display: block; }

/* Terms */
.terms-doc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 32px 36px; max-height: 560px; overflow-y: auto; }
.terms-doc h3 { font-size: 1.08rem; margin-top: 1.4em; }
.terms-doc p, .terms-doc li { font-size: 0.98rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--display); font-weight: 700; font-size: 1.15rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dapi); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-top: 10px; color: var(--muted); max-width: 44rem; }

/* Articles */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { border-top: 1px solid var(--line); padding: 26px 0; display: grid; grid-template-columns: 160px 1fr; gap: 24px; }
@media (max-width: 700px) { .post-list li { grid-template-columns: 1fr; gap: 6px; } }
.post-list time, .post-meta { font-size: 0.9rem; color: var(--muted); }
.post-list h2 { font-size: 1.4rem; margin-bottom: 0.3em; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { text-decoration: underline; }
.post-list p { margin: 0; color: var(--muted); }
.post-meta { margin-bottom: 1.6em; }
.callout { border-left: 3px solid var(--gfp); background: var(--white); padding: 16px 20px; margin: 1.6em 0; }
.sources { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.4em; padding-top: 1em; }

/* Aside */
.aside { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; position: sticky; top: 96px; }
.aside h2 { font-size: 1.12rem; }
.aside ul { padding-left: 1.1em; margin: 0 0 1em; }
.aside li { margin-bottom: 6px; }
.aside .tag-list { padding: 0; }
.tag-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1em; }
.tag-list li { background: var(--ice); padding: 4px 11px; border-radius: 999px; font-size: 0.88rem; margin: 0; }
.aside-salary { background: var(--ink); color: #C3D2EA; border-radius: 10px; padding: 16px; margin-bottom: 18px; }
.aside-salary b { display: block; font-family: var(--display); color: var(--gfp); font-size: 1.45rem; line-height: 1.1; margin: 4px 0; }
.aside-salary .badge { margin-top: 8px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--dapi-d), var(--dapi) 55%, #6E5BFF); color: #E6ECFF; padding: 64px 0; overflow: hidden; isolation: isolate; }
.cta-cells { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }
.cta-band h2 { color: var(--white); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner p { margin: 0; max-width: 36em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn { background: var(--gfp); color: var(--ink); border-color: var(--gfp); }
.cta-band .btn:hover { background: #5cf0c0; }
.cta-band .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* Footer */
.site-footer { background: var(--ink); color: #B9C8E0; font-size: 0.94rem; padding: 64px 0 24px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand .mark { color: #B9C8E0; }
.site-footer .brand-sub { color: #8DA2C6; }
.site-footer a { color: #B9C8E0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer h2 { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; color: var(--white); margin: 0 0 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 24px; }
.site-footer li { padding: 4px 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { max-width: 26em; }
.footer-brand .brand { margin-bottom: 18px; }
.site-footer .btn { color: var(--ink); background: var(--gfp); border-color: var(--gfp); text-decoration: none; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #1E3A66; margin-top: 24px; padding-top: 20px; font-size: 0.86rem; }
.footer-legal ul { display: flex; gap: 18px; flex-wrap: wrap; margin: 0; }

/* Chat assistant */
.ah-chat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--white); border: 1px solid rgba(47,224,167,.5); border-radius: 999px; padding: 12px 18px 12px 14px; font: 600 0.98rem var(--sans); cursor: pointer; box-shadow: 0 18px 40px -16px rgba(11,31,58,.7); }
.ah-chat-launch:hover { background: var(--ink-2); }
.ah-chat-launch .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gfp); box-shadow: 0 0 0 0 rgba(47,224,167,.6); }
@media (prefers-reduced-motion: no-preference) { .ah-chat-launch .dot { animation: ping 2.4s ease-out infinite; } @keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,224,167,.6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(47,224,167,0); } } }
.ah-chat { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100vh - 40px)); background: var(--white); border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(11,31,58,.6); border: 1px solid var(--line); display: none; flex-direction: column; overflow: hidden; }
.ah-chat.open { display: flex; }
@media (max-width: 480px) { .ah-chat { right: 12px; bottom: 12px; } }
.ah-chat-head { background: var(--ink); color: var(--white); padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.ah-chat-head .mark { color: #B9C8E0; }
.ah-chat-head div { flex: 1; line-height: 1.25; }
.ah-chat-head strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.ah-chat-head span { font-size: 0.78rem; color: #9FB2D3; }
.ah-chat-head button { background: none; border: 0; color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.ah-chat-head button:hover { background: rgba(255,255,255,.1); }
.ah-chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.ah-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 0.95rem; line-height: 1.45; }
.ah-msg p { margin: 0 0 .5em; } .ah-msg p:last-child { margin: 0; }
.ah-bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.ah-user { background: var(--dapi); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.ah-bot .ah-band { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--gfp-d); display: block; margin: 2px 0; }
.ah-opts { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 100%; }
.ah-opts button, .ah-opts a { font: 500 0.88rem var(--sans); border: 1px solid var(--dapi); color: var(--dapi-d); background: var(--white); padding: 7px 12px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.ah-opts button:hover, .ah-opts a:hover { background: var(--ice); }
.ah-opts .primary { background: var(--dapi); color: var(--white); }
.ah-opts .primary:hover { background: var(--dapi-d); }
.ah-opts select { font: inherit; font-size: 0.9rem; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); max-width: 100%; }
.ah-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.ah-chat-form input { flex: 1; font: inherit; font-size: 0.95rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.ah-chat-form button { font: 600 0.9rem var(--sans); background: var(--ink); color: var(--white); border: 0; border-radius: 999px; padding: 0 16px; cursor: pointer; }
.ah-chat-foot { font-size: 0.72rem; color: var(--muted); text-align: center; padding: 0 12px 10px; background: var(--white); }
.ah-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.ah-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: .4; }
@media (prefers-reduced-motion: no-preference) { .ah-typing i { animation: blink 1s infinite; } .ah-typing i:nth-child(2) { animation-delay: .15s; } .ah-typing i:nth-child(3) { animation-delay: .3s; } @keyframes blink { 50% { opacity: 1; } } }

/* Load reveal on the hero copy: one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero .reveal > * { animation: rise 600ms cubic-bezier(.2,.7,.2,1) both; }
  .hero .reveal > *:nth-child(2) { animation-delay: 120ms; }
  .hero .reveal > *:nth-child(3) { animation-delay: 240ms; }
  .hero .reveal > *:nth-child(4) { animation-delay: 360ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.prose > h2:first-child, article.prose > p:first-child { margin-top: 0; }
.band-ink .btn-glow, .band-ink .btn-glow:hover { color: var(--ink); }
.band-ink .btn-ghost { color: var(--white); }
.hero-readout a { color: var(--gfp); }

/* Pillars: speed, pools, Blueprint */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; position: relative; overflow: hidden; }
.pillar::after { content: ""; position: absolute; right: -50px; top: -50px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(47,224,167,.18), transparent 70%); }
.pillar-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: #B9C8E0; margin-bottom: 18px; }
.pillar h3 { font-size: 1.35rem; }
.pillar p { color: var(--muted); }
.pillar a { font-weight: 600; }

/* Brand panel: the logo as the centrepiece */
.brand-panel { background: radial-gradient(circle at 18% 50%, rgba(47,224,167,.16), transparent 40%), radial-gradient(circle at 85% 20%, rgba(77,107,255,.28), transparent 45%), var(--ink); color: #C3D2EA; overflow: hidden; }
.brand-panel-inner { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .brand-panel-inner { grid-template-columns: 1fr; gap: 28px; } }
.brand-big { color: #DCE6F7; line-height: 0; }
.brand-big svg { width: clamp(160px, 24vw, 280px); height: auto; filter: drop-shadow(0 0 40px rgba(47,224,167,.25)); }
@media (prefers-reduced-motion: no-preference) { .brand-big svg circle[fill="var(--gfp)"] { animation: glowwell 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; } @keyframes glowwell { 50% { opacity: .55; } } }
.brand-word { font-family: var(--display); font-weight: 800; color: var(--white); font-size: clamp(3.2rem, 9vw, 7.5rem); letter-spacing: -0.055em; line-height: .9; margin: 0; }
.brand-word-sub { font-family: var(--display); font-weight: 600; color: var(--gfp); font-size: clamp(1.1rem, 2.2vw, 1.6rem); letter-spacing: 0.01em; margin: 8px 0 22px; }
.brand-story { max-width: 34em; font-size: 1.12rem; color: #C3D2EA; }

/* Media fallback: brand lockup instead of empty graphics */
.media .media-brand { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #DCE6F7; z-index: 1; }
.media .media-brand svg { width: 34%; max-width: 140px; height: auto; filter: drop-shadow(0 0 30px rgba(47,224,167,.3)); }
.media .media-word { font-family: var(--display); font-weight: 800; color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -0.05em; line-height: 1; }
.media .media-sub { font-family: var(--display); font-weight: 600; color: var(--gfp); font-size: 0.95rem; }
.home .hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.home .hero h1 { max-width: 12ch; font-size: clamp(2.8rem, 6vw, 4.8rem); }
.home .hero .lede { font-size: 1.32rem; max-width: 30em; color: #D6E2F5; }
.hero-note { color: #B9C8E0; }
.hero-brand { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero-lockup { display: flex; align-items: center; gap: 26px; color: #DCE6F7; }
.hero-lockup svg { width: clamp(120px, 15vw, 200px); height: auto; filter: drop-shadow(0 0 50px rgba(47,224,167,.35)); }
.hero-lockup div { display: flex; flex-direction: column; }
.hb-word { font-family: var(--display); font-weight: 800; color: var(--white); font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -0.055em; line-height: .9; }
.hb-sub { font-family: var(--display); font-weight: 600; color: var(--gfp); font-size: clamp(1rem, 1.8vw, 1.4rem); margin-top: 8px; }
.hero-brand .hero-readout { justify-self: auto; align-self: center; }
@media (prefers-reduced-motion: no-preference) { .hero-lockup svg circle[fill="var(--gfp)"] { animation: glowwell 3.2s ease-in-out infinite; } }
@media (max-width: 960px) { .hero-brand { align-items: flex-start; } .hero-lockup svg { width: 90px; } }
.home .hero::after { background: linear-gradient(90deg, rgba(11,31,58,.9) 0%, rgba(11,31,58,.55) 60%, rgba(11,31,58,.3) 100%); }
.home .hero h1 { max-width: 13ch; font-size: clamp(2.6rem, 5.4vw, 4.3rem); }
.home .hero .lede { font-size: 1.18rem; max-width: 34em; }
