/*
  SNA Biotech design system (from the Claude Design project "SNA Biotech Homepage Directions").

  Components are classes; per-instance layout values (section padding, grid column minimums, flex
  bases) are passed as custom properties, e.g. <section class="section" style="--pt:72px;--pb:80px">.
*/

@font-face {
    font-family: 'font-icons';
    src: url('fonts/font-icons.woff') format('woff');
    font-display: block;
}

/* Layout parameters are set per element (style="--gap:…") and must not leak into nested elements. */
@property --gap { syntax: "*"; inherits: false; }
@property --flex { syntax: "*"; inherits: false; }
@property --min { syntax: "*"; inherits: false; }
@property --align { syntax: "*"; inherits: false; }
@property --pt { syntax: "*"; inherits: false; }
@property --pb { syntax: "*"; inherits: false; }
@property --py { syntax: "*"; inherits: false; }
@property --pad { syntax: "*"; inherits: false; }
@property --measure { syntax: "*"; inherits: false; }
@property --ratio { syntax: "*"; inherits: false; }
@property --radius { syntax: "*"; inherits: false; }

:root {
    --bg: #f5f2ed;
    --surface: #fffefc;
    --ink: #0e2540;
    --text: #4a5d73;
    --muted: #5d6b7c;
    --accent: #8a5600;
    --article: #2b3b4f;
    --cta-ink: #17110a;

    --amber: #f5aa2b;
    --amber-light: #f5b445;
    --teal: #3fc3cf;
    --teal-light: #6fdbe4;

    --navy-1: #173a5c;
    --navy-2: #0e2540;
    --navy-3: #081729;
    --navy-4: #050f1c;
    --navy-line: #1d3c5c;
    --navy-outline: #2d5478;
    --on-navy: #eaf2fa;
    --on-navy-2: #c9d8e6;
    --on-navy-3: #a9c0d6;
    --on-navy-4: #92abc4;

    --rule: rgba(14, 37, 64, .14);
    --rule-soft: rgba(14, 37, 64, .1);
    --underline: rgba(14, 37, 64, .3);

    --grad-amber: linear-gradient(180deg, #f5aa2b, #e08c12);
    --grad-amber-hover: linear-gradient(180deg, #ffbc47, #eb9a1c);
    --grad-navy-btn: linear-gradient(180deg, #173a5c, #0e2540);
    --grad-navy-btn-hover: linear-gradient(180deg, #1d4670, #12304f);
    --grad-panel: radial-gradient(90% 120% at 0% 0%, var(--navy-1) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
    --grad-band: radial-gradient(70% 90% at 50% 20%, var(--navy-1) 0%, var(--navy-2) 50%, var(--navy-3) 100%);
    --grad-frame: radial-gradient(78% 62% at 50% 26%, var(--navy-1) 0%, var(--navy-2) 44%, var(--navy-3) 76%, var(--navy-4) 100%);
    --grad-footer: radial-gradient(60% 120% at 50% 0%, var(--navy-1) 0%, var(--navy-2) 50%, var(--navy-3) 100%);

    --shadow-card: inset 0 1px 0 rgba(255, 255, 255, .95), 0 0 0 1px rgba(14, 37, 64, .06), 0 1px 2px rgba(14, 37, 64, .04), 0 14px 28px -14px rgba(14, 37, 64, .16);
    --shadow-tile: 0 0 0 1px rgba(14, 37, 64, .06), 0 10px 22px -16px rgba(14, 37, 64, .2);
    --shadow-amber: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px -10px rgba(224, 140, 18, .7);
    --shadow-navy: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 18px -10px rgba(8, 23, 41, .7);
    --shadow-frame: 0 0 0 1px rgba(14, 37, 64, .1), 0 40px 70px -36px rgba(8, 23, 41, .6);
    --shadow-photo: 0 40px 70px -36px rgba(8, 23, 41, .55);

    --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --serif: 'Newsreader', Georgia, serif;
    --max: 1440px;
    --gutter: clamp(20px, 4vw, 56px);
}

/* Base */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
}

img, video, iframe {
    max-width: 100%;
}

img {
    display: block;
}

a {
    color: var(--ink);
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

p, h1, h2, h3, h4, figure, blockquote, dd {
    margin: 0;
}

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute !important;
    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: 16px;
    top: -60px;
    z-index: 20;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--surface);
    font: 500 14px/1 var(--sans);
}

.skip-link:focus {
    top: 12px;
    color: var(--surface);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

html {
    scroll-behavior: smooth;
}

/* Layout */

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: var(--pt, 96px) var(--gutter) var(--pb, 96px);
}

.stack {
    display: flex;
    flex-direction: column;
    gap: var(--gap, 20px);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap, 24px);
    align-items: var(--align, stretch);
}

.col {
    flex: var(--flex, 1 1 0);
    min-width: 0;
}

.spacer {
    flex: 1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr));
    gap: var(--gap, 48px);
    align-items: var(--align, stretch);
}

.grid--fill {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 200px)), 1fr));
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
    gap: 64px;
    align-items: center;
}

.rule-y {
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.rule-t {
    border-top: 1px solid var(--rule);
}

.rule-strong {
    border-top: 2px solid var(--ink);
}

.divider {
    height: 1px;
    background: var(--rule-soft);
}

.py {
    padding-top: var(--pt, var(--py));
    padding-bottom: var(--pb, var(--py));
}

.spacer--min {
    min-height: 12px;
}

.stack--center {
    align-items: center;
    text-align: center;
}

.measure {
    max-width: var(--measure, 560px);
}

.rule-amber {
    width: 40px;
    height: 2px;
    background: var(--amber);
}

/* Type */

.eyebrow {
    font: 500 11px/1.4 var(--sans);
    letter-spacing: .2em;
    color: var(--accent);
    text-transform: uppercase;
}

.eyebrow--hero {
    font-size: 11.5px;
}

.eyebrow--teal {
    color: var(--teal-light);
}

.eyebrow--gold {
    color: var(--amber-light);
}

.kicker {
    font: 500 11px/1.4 var(--sans);
    letter-spacing: .16em;
    color: var(--accent);
    text-transform: uppercase;
}

.label {
    font: 500 10.5px/1.3 var(--sans);
    letter-spacing: .16em;
    color: var(--muted);
    text-transform: uppercase;
}

.label--md {
    font-size: 11px;
}

.display {
    font: 300 clamp(44px, 5vw, 70px)/1.04 var(--sans);
    letter-spacing: -.005em;
    text-wrap: balance;
}

.h2 {
    font: 300 clamp(34px, 3.2vw, 44px)/1.12 var(--sans);
    text-wrap: balance;
}

.h2--lg {
    font-size: clamp(36px, 3.4vw, 46px);
    line-height: 1.1;
}

.h2--sm {
    font-size: clamp(32px, 3vw, 40px);
    line-height: 1.1;
}

.h3 {
    font: 300 clamp(28px, 2.6vw, 36px)/1.2 var(--sans);
}

.title {
    font: 500 24px/1.25 var(--sans);
}

.title--md {
    font-size: 20px;
    line-height: 1.3;
}

.title--sm {
    font-size: 19px;
    line-height: 1.3;
}

.title--xs {
    font-size: 16px;
    line-height: 1.3;
}

.lead {
    font: 400 19px/1.6 var(--sans);
    color: var(--text);
    max-width: 560px;
    text-wrap: pretty;
}

.text-lg {
    font: 400 17px/1.7 var(--sans);
    color: var(--text);
}

.text {
    font: 400 16px/1.65 var(--sans);
    color: var(--text);
    text-wrap: pretty;
}

.text-sm {
    font: 400 15px/1.6 var(--sans);
    color: var(--text);
}

.text-xs {
    font: 400 13.5px/1.6 var(--sans);
    color: var(--muted);
}

.serif {
    font-family: var(--serif);
}

.statement {
    font: 400 clamp(30px, 3vw, 42px)/1.28 var(--serif);
    letter-spacing: -.005em;
    text-wrap: pretty;
}

.pullquote {
    font: italic 300 clamp(28px, 2.8vw, 38px)/1.42 var(--serif);
    color: var(--on-navy);
    text-wrap: pretty;
}

.dek {
    font: italic 400 22px/1.45 var(--serif);
    color: var(--text);
}

.num {
    font-variant-numeric: tabular-nums;
}

.center {
    text-align: center;
}

/* Links and buttons */

.link-u {
    align-self: flex-start;
    display: inline-block;
    font: 500 15px/1 var(--sans);
    color: var(--ink);
    border-bottom: 1.5px solid var(--underline);
    padding-bottom: 4px;
}

.link-u:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* In a row, line up with the buttons beside it. */
.row > .link-u {
    align-self: auto;
}

button.link-u {
    background: none;
    border: 0;
    border-bottom: 1.5px solid var(--underline);
    padding: 0 0 4px;
    cursor: pointer;
}

.credit {
    border-top: 1px solid rgba(14, 37, 64, .12);
    padding-top: 22px;
    margin-top: 10px;
}

.credit__name {
    font: 500 15px/1.3 var(--sans);
    color: var(--ink);
}

.cite__name {
    font: 500 15px/1.3 var(--sans);
    color: var(--on-navy);
}

.cite__role {
    font: 400 13.5px/1.3 var(--sans);
    color: var(--on-navy-4);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: 500 13px/1 var(--sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 18px 26px;
    border: 0;
    border-radius: 10px;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn--sm {
    font-size: 12px;
    padding: 13px 18px;
}

.btn--primary {
    color: var(--cta-ink);
    background: var(--grad-amber);
    box-shadow: var(--shadow-amber);
}

.btn--primary:hover, .btn--primary:focus-visible {
    color: var(--cta-ink);
    background: var(--grad-amber-hover);
}

.btn--navy {
    color: var(--surface);
    background: var(--grad-navy-btn);
    box-shadow: var(--shadow-navy);
}

.btn--navy:hover, .btn--navy:focus-visible {
    color: var(--surface);
    background: var(--grad-navy-btn-hover);
}

.btn--outline {
    color: var(--on-navy);
    border: 1px solid var(--navy-outline);
    background: rgba(120, 180, 240, .06);
    padding: 17px 24px;
}

.btn--outline:hover, .btn--outline:focus-visible {
    color: var(--on-navy);
    background: rgba(120, 180, 240, .14);
}

.btn[disabled], .btn.is-disabled {
    opacity: .55;
    cursor: not-allowed;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--teal);
    flex: none;
}

.dot--ring {
    box-shadow: 0 0 0 3px rgba(63, 195, 207, .22);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(63, 195, 207, .15);
    font: 500 12px/1 var(--sans);
    color: var(--teal-light);
    white-space: nowrap;
}

.pill--success {
    background: rgba(47, 168, 180, .14);
    color: #1d6f78;
    padding: 9px 14px;
    font-size: 12.5px;
}

.pill--success .dot {
    background: #2fa8b4;
}

/* Surfaces */

.card {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    padding: var(--pad, 40px 44px);
}

.tile {
    background: var(--surface);
    border-radius: 16px;
    box-shadow: var(--shadow-tile);
}

a.tile:hover {
    box-shadow: 0 0 0 1.5px var(--amber), 0 10px 22px -16px rgba(14, 37, 64, .2);
}

.panel {
    background: var(--grad-panel);
    color: var(--on-navy);
    border-radius: var(--radius, 20px);
    padding: var(--pad, 30px);
}

.band {
    background: var(--grad-band);
    color: var(--on-navy);
}

.frame {
    border-radius: 20px;
    padding: 12px;
    background: var(--grad-frame);
    box-shadow: var(--shadow-frame);
}

.frame__media {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: var(--ratio, 16 / 10);
    background: var(--navy-4);
}

.frame__media > img, .frame__media > iframe, .frame__media > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pos, center);
    border: 0;
}

.frame__caption {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 4px;
}

.on-navy-muted {
    color: var(--on-navy-3);
}

.on-navy-faint {
    color: var(--on-navy-4);
}

/* Lists */

.pillar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 2px solid var(--ink);
    padding-top: 22px;
}

.numbered {
    display: grid;
    grid-template-columns: 44px minmax(160px, 240px) minmax(0, 1fr);
    gap: 8px 24px;
    padding: 24px 0;
    border-top: 1px solid var(--rule);
}

.numbered__n, .target__n {
    font: 500 12px/1.6 var(--sans);
    letter-spacing: .1em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
    .numbered {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .numbered > :last-child {
        grid-column: 2;
    }
}

.target {
    display: flex;
    gap: 18px;
    padding: 26px 0;
    border-top: 1px solid var(--rule);
}

.target__n {
    line-height: 1.7;
    flex: none;
}

.spec {
    display: flex;
    gap: 16px;
    padding: 15px 0;
    border-top: 1px solid var(--rule);
}

.spec__k {
    font: 500 11px/1.9 var(--sans);
    letter-spacing: .14em;
    color: var(--muted);
    width: 150px;
    flex: none;
    text-transform: uppercase;
}

.spec__v {
    font: 500 16px/1.5 var(--sans);
}

.check {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule-soft);
    font: 500 16px/1.3 var(--sans);
}

.check:last-child {
    border-bottom: 0;
}

.check::before {
    content: '\2713';
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(245, 170, 43, .18);
    color: var(--accent);
    font: 500 11px/22px var(--sans);
    text-align: center;
    flex: none;
}

.qa {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 0;
    border-top: 1px solid var(--rule);
}

/* Stats */

.stat__v {
    font: 300 clamp(60px, 6vw, 88px)/1 var(--sans);
    letter-spacing: -.02em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.stat-card {
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 300px;
    max-width: calc(100% - 32px);
    border-radius: 20px;
    padding: 22px 24px;
    background: var(--grad-panel);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 50px -20px rgba(8, 23, 41, .7);
    color: var(--on-navy);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-card__v {
    font: 300 48px/1 var(--sans);
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
}

/* Media */

.photo {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-photo);
}

.photo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pos, center);
}

.hero-media {
    position: relative;
    height: 600px;
}

.hero-media > .photo {
    position: absolute;
    inset: 0 0 0 32px;
}

@media (max-width: 640px) {
    .hero-media {
        height: 460px;
    }
}

.story {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.story__media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--navy-2);
}

.story__media > img, .story__media > iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.play {
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--grad-amber);
    color: var(--cta-ink);
    font: 14px/46px var(--sans);
    text-align: center;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5);
}

.story__meta {
    font: 400 14px/1 var(--sans);
    color: var(--muted);
}

.plain-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.practices {
    padding-top: 32px;
    margin-top: 20px;
}

.practices__label, .practices__link {
    flex: none;
    white-space: nowrap;
}

.logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(110px, calc((100% - 180px) / 6))), 1fr));
    gap: 28px 36px;
    align-items: center;
}

.logos img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .75;
}

.figure {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.figure__frame {
    background: var(--surface);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 0 0 1px rgba(14, 37, 64, .08);
}

.figure__frame img {
    width: 100%;
    border-radius: 10px;
}

.figure figcaption {
    font: 500 12px/1.4 var(--sans);
    letter-spacing: .06em;
    color: var(--muted);
}

/* Chips, filters, accordion */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    font: 500 14px/1 var(--sans);
    padding: 12px 16px;
    border-radius: 999px;
    border: 0;
    background: var(--bg);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--rule);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.chip--surface {
    background: var(--surface);
}

.chip:hover {
    box-shadow: inset 0 0 0 1px var(--ink);
}

.chip.is-on, .chip[aria-pressed="true"], .chip[aria-checked="true"] {
    background: var(--ink);
    color: var(--surface);
    box-shadow: none;
}

.segmented {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--bg);
    box-shadow: inset 0 0 0 1px var(--rule);
}

.segmented .chip {
    background: transparent;
    box-shadow: none;
    color: var(--text);
    padding: 10px 16px;
}

.segmented .chip.is-on, .segmented .chip[aria-checked="true"] {
    background: var(--ink);
    color: var(--surface);
    box-shadow: 0 1px 2px rgba(14, 37, 64, .3);
}

[hidden] {
    display: none !important;
}

.accordion__item + .accordion__item {
    border-top: 1px solid var(--rule-soft);
}

.accordion__n {
    font: 500 12px/1 var(--sans);
    letter-spacing: .1em;
    color: var(--accent);
    flex: none;
    width: 24px;
    font-variant-numeric: tabular-nums;
}

.accordion__q {
    display: flex;
    scroll-margin-top: 20px;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 22px 0;
    border: 0;
    background: none;
    text-align: left;
    font: 500 18.5px/1.35 var(--sans);
    color: var(--ink);
    cursor: pointer;
}

.accordion__q::after {
    content: '+';
    margin-left: auto;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(14, 37, 64, .06);
    font: 400 18px/30px var(--sans);
    text-align: center;
    color: var(--ink);
}

.accordion__q[aria-expanded="true"]::after {
    content: '\2212';
    background: var(--ink);
    color: var(--surface);
    box-shadow: none;
}

.accordion__a {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 50px 26px 44px;
    font: 400 16px/1.7 var(--sans);
    color: var(--text);
}

/* Forms */

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field__label {
    font: 500 13px/1 var(--sans);
    color: var(--ink);
}

.field__label .req {
    color: var(--accent);
}

.input {
    width: 100%;
    font: 400 16px/1.3 var(--sans);
    color: var(--ink);
    background: var(--bg);
    border: 0;
    box-shadow: inset 0 0 0 1px var(--rule);
    border-radius: 10px;
    padding: 15px 16px;
    outline: none;
}

textarea.input {
    line-height: 1.55;
    resize: vertical;
}

.input:focus {
    box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(245, 170, 43, .25);
}

.field__error {
    font: 500 12.5px/1.3 var(--sans);
    color: #a8341f;
}

.search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px rgba(14, 37, 64, .16), 0 0 0 5px rgba(245, 170, 43, .16);
    border-radius: 999px;
    padding: 0 12px 0 20px;
    height: 56px;
    flex: 1;
    min-width: 0;
}

.search input {
    font: 400 16px/1 var(--sans);
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: none;
    flex: 1;
    min-width: 0;
}

.search__icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex: none;
}

.search__icon::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    border: 2px solid var(--accent);
    box-sizing: border-box;
}

.search__icon::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 11px;
    width: 7px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: rotate(45deg);
    transform-origin: left center;
}

/* Long-form article (SNA Process, Privacy) */

.toc {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 2px solid var(--ink);
    padding-top: 18px;
}

.toc a {
    font: 500 14.5px/1.35 var(--sans);
    color: var(--text);
    padding: 7px 0;
}

.toc a:hover {
    color: var(--ink);
}

.article {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    font: 400 19px/1.72 var(--serif);
    color: var(--article);
}

.article h2 {
    margin: 28px 0 4px;
    font: 500 28px/1.2 var(--sans);
    color: var(--ink);
    scroll-margin-top: 24px;
}

.article h2:first-child {
    margin-top: 0;
}

.article h3 {
    margin: 12px 0 0;
    font: 500 20px/1.3 var(--sans);
    color: var(--ink);
}

.article ul {
    margin: 0;
    padding-left: 1.2em;
}

.article p a, .article li a {
    color: var(--ink);
    border-bottom: 1px solid var(--underline);
}

.callout {
    margin: 12px 0;
    padding: 28px 32px;
    border-radius: 20px;
    background: radial-gradient(90% 140% at 0% 0%, var(--navy-1) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
    color: var(--on-navy);
    font: italic 300 25px/1.45 var(--serif);
}

/* Header */

.site-header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: stretch;
    height: 76px;
    padding: 0 var(--gutter);
    background: var(--surface);
    border-bottom: 1px solid var(--rule-soft);
    gap: 16px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    flex: none;
}

.site-header__logo-crop {
    height: 17px;
    overflow: hidden;
}

.site-header__logo-crop img {
    height: 56px;
    width: 168px;
    max-width: none;
    margin-top: -19px;
}

.site-nav {
    display: flex;
    align-items: stretch;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
    display: none;
}

.site-nav a {
    display: flex;
    align-items: center;
    font: 500 14px/1 var(--sans);
    padding: 0 clamp(12px, 1.25vw, 18px);
    white-space: nowrap;
    color: var(--text);
    border-bottom: 2px solid transparent;
}

.site-nav a:hover {
    color: var(--ink);
}

.site-nav a.is-active {
    color: var(--ink);
    background: linear-gradient(180deg, rgba(245, 170, 43, 0) 0%, rgba(245, 170, 43, .16) 100%);
    border-bottom-color: var(--amber);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.site-header__actions .btn--navy {
    padding: 12px 17px 12px 14px;
}

/* Below 1080px the nav moves into a Menu dropdown; below 560px Purchasing moves in with it. The
   dropdown is a <details>, so it opens without script. */

.site-menu {
    display: none;
}

.site-menu__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--bg);
    box-shadow: inset 0 0 0 1px rgba(14, 37, 64, .16);
    font: 500 12px/1 var(--sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.site-menu__toggle::-webkit-details-marker {
    display: none;
}

.site-menu__bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 16px;
}

.site-menu__bars span {
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
}

.site-menu__close, .site-menu[open] .site-menu__open {
    display: none;
}

.site-menu[open] .site-menu__close {
    display: inline;
}

.site-menu__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: flex;
    flex-direction: column;
    padding: 8px var(--gutter) 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--rule-soft);
    box-shadow: 0 24px 40px -24px rgba(8, 23, 41, .35);
}

.site-menu__panel a:not(.btn) {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(14, 37, 64, .08);
    font: 500 17px/1.2 var(--sans);
    color: var(--ink);
}

.site-menu__panel a:not(.btn)::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(14, 37, 64, .2);
}

.site-menu__panel a.is-active::before {
    background: var(--amber);
}

.site-menu__purchase {
    display: none;
    align-self: flex-start;
    margin-top: 16px;
}

.site-menu .site-menu__purchase {
    padding: 15px 20px;
}

@media (max-width: 1079.98px) {
    .site-nav, .site-nav__spacer {
        display: none;
    }

    .site-menu {
        display: block;
    }
}

@media (max-width: 559.98px) {
    .site-header__purchase {
        display: none;
    }

    .site-menu .site-menu__purchase {
        display: inline-flex;
    }
}

@media (max-width: 400px) {
    .site-header {
        gap: 10px;
    }

    .site-header__actions {
        gap: 8px;
    }

    .site-header__logo-crop {
        height: 14px;
    }

    .site-header__logo-crop img {
        height: 46px;
        width: 138px;
        margin-top: -16px;
    }

    .site-header__actions .btn--navy, .site-menu__toggle {
        padding: 12px 11px;
        gap: 8px;
    }
}

/* Footer */

.site-footer {
    background: var(--grad-footer);
    color: var(--on-navy);
}

.site-footer__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 64px var(--gutter) 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.site-footer__cols {
    display: flex;
    flex-wrap: wrap;
    gap: 36px 32px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1.4 1 260px;
}

.site-footer__brand img {
    height: 18px;
    width: auto;
}

.site-footer__home {
    align-self: flex-start;
}

.site-footer__blurb {
    font: 400 13.5px/1.6 var(--sans);
    color: var(--on-navy-4);
    max-width: 300px;
}

.site-footer__disclaimer {
    max-width: 820px;
    flex: 1 1 480px;
}

.site-footer__disclaimer span {
    font-weight: 500;
    color: var(--on-navy-2);
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-footer__copyright {
    display: flex;
    gap: 16px;
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 160px;
}

.site-footer__col a {
    font: 400 14px/1.3 var(--sans);
    color: var(--on-navy-2);
}

.site-footer__col a:hover, .site-footer__legal a:hover {
    color: var(--amber-light);
}

.site-footer__col .label {
    color: var(--on-navy-4);
    margin-bottom: 4px;
    white-space: nowrap;
}

.site-footer__rule {
    height: 1px;
    background: var(--navy-line);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    align-items: flex-start;
    font: 400 12px/1.6 var(--sans);
    color: var(--on-navy-4);
}

.site-footer__legal a {
    color: var(--on-navy-2);
}

.socials {
    display: flex;
    gap: 8px;
}

.socials a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(120, 180, 240, .08);
    color: var(--on-navy-3);
    font: 15px/36px 'font-icons';
    text-align: center;
}

.socials a:hover {
    background: rgba(245, 170, 43, .18);
    color: var(--amber-light);
}

/* Navy strip (full-width band with a top-centred glow) */

.band--strip {
    background: radial-gradient(70% 120% at 50% 0%, var(--navy-1) 0%, var(--navy-2) 50%, var(--navy-3) 100%);
}

/* Method words (Neurosage "Excel / Enhance / Relax / Recover") */

.method {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 2px solid var(--ink);
    padding: 20px 0 8px;
}

.method__w {
    font: 300 34px/1 var(--sans);
    letter-spacing: .02em;
}

/* Activity family tiles */

.family {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: var(--bg);
    box-shadow: inset 0 0 0 1px rgba(14, 37, 64, .06);
}

.family:hover {
    box-shadow: inset 0 0 0 1.5px var(--amber);
}

.family__media {
    height: 150px;
    border-radius: 12px;
    background: radial-gradient(80% 80% at 50% 30%, var(--navy-1) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.family__media img {
    height: 132px;
    width: auto;
}

.family__name {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font: 500 16px/1.25 var(--sans);
}

.family__name span:first-child {
    flex: 1;
}

.count {
    font: 500 12px/1 var(--sans);
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

/* Two-tone feature card (navy half + surface half) */

.duo {
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 0 0 1px rgba(14, 37, 64, .08), 0 30px 60px -34px rgba(8, 23, 41, .45);
}

.duo__navy {
    flex: 1 1 440px;
    padding: 48px 48px 44px;
    background: var(--grad-panel);
    color: var(--on-navy);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.duo__light {
    flex: 1 1 440px;
    padding: 40px 48px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
}

@media (max-width: 640px) {
    .duo__navy, .duo__light {
        padding: 32px 24px;
    }

    .card {
        padding: 28px 24px;
    }
}

.section--anchor {
    scroll-margin-top: 20px;
}

.ratio {
    aspect-ratio: var(--ratio);
}

.stat__v--72 {
    font-size: 72px;
}

.photo--flat {
    border-radius: 20px;
    box-shadow: none;
}

.mission-quote {
    font: italic 300 clamp(24px, 2.2vw, 30px)/1.45 var(--serif);
    color: var(--on-navy);
    text-wrap: pretty;
}

.text-lg--loose {
    line-height: 1.75;
}

/* Policy sections (Privacy) */

.policy {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 64px;
    padding: 44px 0;
    border-bottom: 1px solid var(--rule);
}

.policy__title {
    font: 300 30px/1.15 var(--sans);
}

.checklist {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(14, 37, 64, .06);
    padding: 6px 22px;
}

.checklist .check {
    align-items: flex-start;
    padding: 14px 0;
    border-bottom-color: rgba(14, 37, 64, .08);
    font: 400 16px/1.55 var(--sans);
}

.checklist .check::before {
    margin-top: 1px;
}

/* Section heading with a rule above (Team, Advertising) */

.sec-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    border-top: 1px solid var(--rule);
    padding-top: 32px;
}

.h2--32 {
    font: 300 32px/1.1 var(--sans);
}

a.chip {
    display: inline-block;
}

/* People (Team) */

.person {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.person__media {
    aspect-ratio: 450 / 430;
    border-radius: 14px;
    overflow: hidden;
    background: #e9e4dc;
}

.person__media img, .advisor__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.person__body {
    padding: 18px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.person__name {
    font: 500 20px/1.25 var(--sans);
}

.person__role {
    font: 500 11px/1.3 var(--sans);
    letter-spacing: .14em;
    color: var(--accent);
    text-transform: uppercase;
}

.bio {
    font: 400 14.5px/1.65 var(--sans);
    color: var(--text);
}

.more-toggle {
    font: 500 14px/1 var(--sans);
}

.advisor {
    background: linear-gradient(174deg, #13293f 0%, #0e2033 100%);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(120, 180, 240, .1), 0 14px 28px -14px rgba(0, 0, 0, .75);
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.advisor__media {
    flex: 0 0 200px;
    aspect-ratio: 450 / 550;
    border-radius: 14px;
    overflow: hidden;
}

.advisor__body {
    flex: 1 1 260px;
    padding: 12px 12px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.advisor__name {
    font: 500 21px/1.25 var(--sans);
    color: var(--on-navy);
}

.advisor .bio {
    color: var(--on-navy-3);
}

.advisor .more-toggle {
    color: var(--amber-light);
    border-bottom: 0;
    padding-bottom: 0;
}

/* Downloads (Advertising) */

.dl-card {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.dl-card:hover {
    box-shadow: 0 0 0 1.5px var(--amber), 0 14px 28px -14px rgba(14, 37, 64, .16);
}

.dl-card__media {
    height: 300px;
    border-radius: 14px;
    background: radial-gradient(80% 80% at 50% 30%, var(--navy-1) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.dl-card__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6);
}

.dl-card__foot {
    padding: 16px 10px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dl-card__title {
    font: 500 17px/1.25 var(--sans);
}

.fmt {
    font: 500 11px/1 var(--sans);
    letter-spacing: .08em;
    color: var(--accent);
    flex: none;
    white-space: nowrap;
}

.dl-tile {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dl-tile__media {
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--navy-2);
    box-shadow: 0 0 0 1px rgba(14, 37, 64, .08);
}

.dl-tile__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dl-tile__media--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.dl-tile__media--logo > img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 100%;
    object-fit: contain;
}

.dl-tile__media--light {
    background: var(--surface);
}

.dl-tile:hover .dl-tile__media, .wallpaper:hover {
    box-shadow: 0 0 0 2px var(--amber);
}

.dl-tile__caption {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.dl-tile__caption span:first-child {
    font: 500 16px/1.2 var(--sans);
    flex: 1;
}

.dl-tile__size {
    font: 400 13px/1 var(--sans);
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.wallpaper {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(14, 37, 64, .08);
}

.wallpaper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slogan {
    font: 300 22px/1.35 var(--sans);
    color: var(--on-navy);
    padding: 16px 0;
    border-top: 1px solid var(--navy-line);
}

.quote-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 0;
    border-top: 1px solid var(--navy-line);
}

.quote-row blockquote {
    font: italic 300 22px/1.5 var(--serif);
    color: var(--on-navy);
    text-wrap: pretty;
}

/* Activity library */

.back-link {
    font: 500 13px/1 var(--sans);
    color: var(--muted);
}

.filterbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 20px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.filterbar .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
}

.chip__n {
    font: 500 12px/1 var(--sans);
    opacity: .7;
    font-variant-numeric: tabular-nums;
}

.filterbar__status {
    font: 400 14px/1 var(--sans);
    color: var(--muted);
}

.sec-head--plain {
    border-top: 0;
    padding-top: 0;
}

.act {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.act__media {
    height: 220px;
    border-radius: 14px;
    background: radial-gradient(80% 80% at 50% 30%, var(--navy-1) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.act__media img {
    height: 196px;
    width: auto;
}

.act__body {
    padding: 16px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.act__name {
    font: 500 18px/1.25 var(--sans);
}

.act__d {
    font: 400 14px/1.6 var(--sans);
    color: var(--text);
}

.tag {
    align-self: flex-start;
    font: 500 10.5px/1 var(--sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(245, 170, 43, .16);
    color: var(--accent);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Success stories */

.video-story {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-story__media {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(78% 62% at 50% 26%, var(--navy-1) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
    box-shadow: 0 0 0 1px rgba(14, 37, 64, .08);
}

.video-story__media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.poster {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: left;
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 23, 41, 0) 50%, rgba(8, 23, 41, .55) 100%);
}

.poster__cta {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    font: 500 12px/1 var(--sans);
    letter-spacing: .12em;
    color: #fff;
}

.poster__cta::before {
    content: '\25B6';
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: var(--grad-amber);
    color: var(--cta-ink);
    font: 15px/52px var(--sans);
    text-align: center;
    box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .6);
}

.video-story__name {
    font: 500 21px/1.25 var(--sans);
    flex: 1;
}

.video-story__tag {
    font: 500 10.5px/1 var(--sans);
    letter-spacing: .12em;
    color: var(--accent);
    text-transform: uppercase;
}

.serif-note {
    font: italic 400 18px/1.5 var(--serif);
    color: var(--article);
}

.patient-quote {
    font: italic 400 21px/1.5 var(--serif);
    flex: 1;
    text-wrap: pretty;
}

/* FAQs */

.faq-list {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    padding: 6px 32px;
}

@media (max-width: 640px) {
    .faq-list {
        padding: 4px 18px;
    }

    .accordion__a {
        padding: 0 0 22px;
    }
}

.book {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 10px 0;
    border-top: 1px solid var(--rule-soft);
}

.book__title {
    font: italic 400 17px/1.4 var(--serif);
    color: var(--ink);
    flex: 1;
}

.book__by {
    font: 400 13px/1 var(--sans);
    color: var(--muted);
    flex: none;
}

.sticky {
    position: sticky;
    top: 24px;
}

.socials--light a {
    width: 34px;
    height: 34px;
    background: rgba(14, 37, 64, .06);
    color: var(--ink);
    font-size: 14px;
    line-height: 34px;
}

.socials--light a:hover {
    background: rgba(245, 170, 43, .2);
    color: var(--accent);
}

.label--teal {
    color: var(--teal-light);
}

.frame__note {
    padding: 6px 8px;
}

.video-intro {
    font: 300 22px/1.25 var(--sans);
    color: var(--on-navy);
}

.frame__media--figure {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4% 0;
    background: transparent;
}

.frame__media--figure > img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
}

.toc .label {
    margin-bottom: 10px;
}

.toc .divider {
    margin: 16px 0;
}

.toc .btn {
    align-self: flex-start;
    padding: 13px 18px;
    color: var(--cta-ink);
}

.figures {
    margin: 14px 0;
}

.article__cta {
    padding-top: 28px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .toc {
        position: static;
    }
}

/* Contact Us and Share Your Story */

.sent {
    align-items: flex-start;
    padding: 40px 0;
}

.sent__title {
    font: 300 36px/1.15 var(--sans);
}

.phone {
    font: 300 34px/1.1 var(--sans);
    color: var(--on-navy);
    font-variant-numeric: tabular-nums;
}

.phone:hover {
    color: var(--amber-light);
}

.quick-links__title {
    margin-bottom: 10px;
}

.quick-links a {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--rule-soft);
    font: 500 15.5px/1.2 var(--sans);
}

.quick-links a span:first-child {
    flex: 1;
}

.quick-links a span:last-child {
    color: var(--accent);
}

.quality {
    padding: 8px 4px;
}

.share-photo {
    margin-top: 10px;
}

.share-submit {
    align-self: flex-start;
}

/* RadioButtonList rendered as a segmented control (works without script) */

.segmented input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.segmented label {
    display: inline-block;
    font: 500 14px/1 var(--sans);
    padding: 11px 18px;
    border-radius: 999px;
    color: var(--text);
    white-space: nowrap;
    cursor: pointer;
}

.segmented input:checked + label {
    background: var(--ink);
    color: var(--surface);
    box-shadow: 0 1px 2px rgba(14, 37, 64, .3);
}

.segmented input:focus-visible + label {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}

span.segmented {
    align-self: flex-start;
}

/* Provider map (Locations) */

.map-search__btn {
    padding: 21px 22px;
}

.frame--lg {
    border-radius: 24px;
}

.map {
    position: relative;
    height: clamp(420px, 52vw, 640px);
    border-radius: 16px;
    overflow: hidden;
    background: repeating-linear-gradient(135deg, #1a3450 0 7px, #21405f 7px 14px);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55);
}

.map__canvas {
    width: 100%;
    height: 100%;
}

.map__legend {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 15, 28, .86);
    border-radius: 999px;
    padding: 9px 14px;
    font: 500 12px/1 var(--sans);
    color: var(--on-navy);
    pointer-events: none;
}

.map__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
}

.map__dot--provider {
    background: var(--amber);
}

.map__dot--cluster {
    background: var(--teal);
    margin-left: 10px;
}

.map__popup {
    padding: 12px 14px;
    max-width: 320px;
    max-height: 320px;
    overflow: auto;
    font: 400 13px/1.5 var(--sans);
    color: var(--ink);
}

.map__popup hr {
    border: 0;
    border-top: 1px solid var(--rule-soft);
    margin: 8px 0;
}

.clinic {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
}

.clinic__logo {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clinic__logo img {
    max-width: 100%;
    max-height: 96px;
    object-fit: contain;
}

.clinic__domain {
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid rgba(14, 37, 64, .08);
    padding-top: 10px;
    font: 400 12.5px/1.2 var(--sans);
    color: var(--muted);
}

.clinic__domain span:first-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clinic__domain span:last-child {
    color: var(--accent);
    font-weight: 500;
}

.inline-link {
    color: var(--ink);
    border-bottom: 1.5px solid var(--underline);
}

.inline-link:hover {
    border-bottom-color: var(--accent);
}

.lead.measure {
    max-width: var(--measure, 560px);
}

.display--md {
    font-size: clamp(40px, 4.6vw, 62px);
}

.h3--sm {
    font-size: 26px;
}

.btn--light {
    color: var(--ink);
    background: var(--surface);
    box-shadow: inset 0 0 0 1px rgba(14, 37, 64, .18);
    padding: 17px 22px;
}

.btn--light.btn--sm {
    padding: 14px 18px;
}

.btn--light:hover, .btn--light:focus-visible {
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink);
}

.btn--danger {
    color: var(--surface);
    background: #7a2716;
}

.btn--danger:hover, .btn--danger:focus-visible {
    color: var(--surface);
    background: #8f3020;
}

.btn--danger-ghost {
    color: #7a2716;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px rgba(196, 71, 44, .35);
}

.btn--danger-ghost:hover, .btn--danger-ghost:focus-visible {
    color: #7a2716;
    box-shadow: inset 0 0 0 1px #c4472c;
}

.btn.is-busy {
    opacity: .7;
    pointer-events: none;
}

.pill--error {
    background: #fbece6;
    box-shadow: inset 0 0 0 1px rgba(196, 71, 44, .28);
    color: #7a2716;
    padding: 9px 14px;
    font-size: 12.5px;
}

.pill--error .dot {
    background: #c4472c;
}

/* Navy panel content */

.panel__text {
    font: 300 26px/1.25 var(--sans);
}

.panel__text--sm {
    font-size: 22px;
    line-height: 1.3;
}

.panel__statement {
    font: 300 clamp(28px, 2.6vw, 36px)/1.2 var(--sans);
}

.panel__btn {
    align-self: flex-start;
    margin-top: 6px;
}

.panel__email {
    margin-top: 4px;
    font: 500 15px/1.3 var(--sans);
    color: var(--amber-light);
}

.panel__email:hover {
    color: var(--amber);
}

.panel__email-lg {
    font: 300 clamp(24px, 2.2vw, 30px)/1.2 var(--sans);
    overflow-wrap: anywhere;
}

.panel--glow {
    background: radial-gradient(78% 62% at 50% 20%, var(--navy-1) 0%, var(--navy-2) 50%, var(--navy-3) 100%);
    box-shadow: var(--shadow-frame);
}

.panel--lift {
    box-shadow: 0 40px 70px -36px rgba(8, 23, 41, .6);
}

/* Alerts (form errors) */

.alert {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
    border-radius: 14px;
    padding: 16px 18px;
    background: #fbece6;
    box-shadow: inset 0 0 0 1px rgba(196, 71, 44, .28);
    color: #7a2716;
}

.alert__icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    flex: none;
    background: #c4472c;
    color: #fff;
    font: 700 14px/24px var(--sans);
    text-align: center;
}

.alert__body {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.alert__title {
    display: block;
    font: 500 15.5px/1.3 var(--sans);
}

.alert__text {
    display: block;
    font: 400 14px/1.55 var(--sans);
}

.alert__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
}

.alert > .btn {
    align-self: center;
}

/* Field and reCAPTCHA error states */

.field.is-invalid .input {
    background: #fdf3ef;
    box-shadow: inset 0 0 0 1.5px #c4472c;
}

.field.is-invalid .input:focus {
    box-shadow: inset 0 0 0 1.5px #c4472c, 0 0 0 4px rgba(196, 71, 44, .18);
}

.input--caps {
    text-transform: uppercase;
}

.captcha {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 78px;
}

.captcha.is-invalid #html_element > div {
    border-radius: 3px;
    box-shadow: 0 0 0 2px #c4472c;
}

/* File picker (Share Your Story) */

.file-pick {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px 9px 16px;
    border-radius: 10px;
    background: var(--bg);
    box-shadow: inset 0 0 0 1px var(--rule);
    cursor: pointer;
}

.file-pick:focus-within {
    box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(245, 170, 43, .25);
}

.file-pick__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-pick__name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 400 15px/1.2 var(--sans);
    color: #7d8a99;
}

.field.is-invalid .file-pick {
    background: #fdf3ef;
    box-shadow: inset 0 0 0 1.5px #c4472c;
}

.file-pick.has-files .file-pick__name {
    color: var(--ink);
}

.file-pick__btn {
    font: 500 12px/1 var(--sans);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--rule);
    border-radius: 8px;
    padding: 10px 12px;
}

/* Neurosage Home help (Getting Started / What Is Neurosage) */

.step-cards {
    list-style: none;
    margin: 0;
    padding: 0;
}

.step-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 28px 30px;
}

.step-card__n {
    font: 300 52px/1 var(--sans);
    color: #e08c12;
    font-variant-numeric: tabular-nums;
}

.step-card__t {
    font: 500 21px/1.25 var(--sans);
}

.step-card__d {
    font: 400 15.5px/1.6 var(--sans);
    color: var(--text);
}

.billing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(245, 170, 43, .12);
    box-shadow: inset 0 0 0 1px rgba(224, 140, 18, .25);
}

.billing__label {
    font: 500 11px/1 var(--sans);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}

.billing__text {
    flex: 1 1 360px;
    font: 400 16px/1.5 var(--sans);
}

.duo__title {
    font: 300 clamp(30px, 2.8vw, 38px)/1.15 var(--sans);
}

.spec-list {
    margin: 0;
}

.spec-list .spec {
    flex-wrap: wrap;
    gap: 4px 16px;
    border-top: 0;
    border-bottom: 1px solid var(--rule-soft);
}

.spec-list .spec:last-child {
    border-bottom: 0;
}

.spec-list--inset {
    border-radius: 14px;
    padding: 4px 18px;
    background: var(--bg);
}

.spec-list--inset .spec {
    gap: 2px 16px;
    padding: 12px 0;
}

.spec-list--inset .spec__k {
    font-size: 10.5px;
    width: 140px;
}

.spec-list--inset .spec__v {
    font-size: 15px;
    color: var(--ink);
}

/* Advisory board profiles */

.profile {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 48px;
    padding: 14px;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-card);
}

.profile__aside {
    flex: 1 1 300px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile__photo {
    border-radius: 16px;
    padding: 10px;
    background: var(--grad-frame);
}

.profile__photo img {
    width: 100%;
    aspect-ratio: 450 / 550;
    object-fit: cover;
    border-radius: 10px;
}

.profile__body {
    flex: 1 1 380px;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(14px, 3vw, 36px) clamp(10px, 2vw, 28px) 28px clamp(10px, 2vw, 0px);
}

.profile__body > p:not(.kicker) {
    font: 400 17px/1.75 var(--sans);
    color: var(--text);
}

.glance {
    border-radius: 16px;
    padding: 6px 18px;
    background: var(--bg);
}

.glance .label {
    padding: 14px 0 6px;
}

.glance ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.glance li {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--rule-soft);
    font: 400 14.5px/1.45 var(--sans);
}

.glance li::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: 8px;
    border-radius: 999px;
    background: #e08c12;
    flex: none;
}

/* Page Not Found */

.big-404 {
    font: 300 clamp(110px, 13vw, 180px)/.85 var(--sans);
    letter-spacing: -.04em;
    color: var(--on-navy);
    font-variant-numeric: tabular-nums;
}

.link-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.link-tiles a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 16px;
    border-radius: 12px;
    background: rgba(120, 180, 240, .07);
    box-shadow: inset 0 0 0 1px rgba(120, 180, 240, .14);
    font: 500 15px/1.2 var(--sans);
    color: var(--on-navy);
}

.link-tiles a span:first-child {
    flex: 1;
}

.link-tiles a span + span {
    color: var(--amber-light);
    font-size: 13px;
}

.link-tiles a:hover {
    background: rgba(245, 170, 43, .14);
    box-shadow: inset 0 0 0 1px rgba(245, 170, 43, .45);
    color: #fffefc;
}

/* Intake forms: sections shown one at a time (with script), with progress and a review step. The
   field names are the contract with the Azure Functions that store the answers. */

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-self: flex-start;
    padding: 4px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px rgba(14, 37, 64, .12);
}

.tabs a {
    font: 500 14px/1 var(--sans);
    padding: 12px 18px;
    border-radius: 999px;
    white-space: nowrap;
}

.tabs a.is-on {
    background: var(--ink);
    color: var(--surface);
}

@media (max-width: 480px) {
    .tabs a {
        padding: 11px 12px;
        font-size: 13px;
    }
}

.intake-done {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: clamp(28px, 4vw, 52px);
}

.wizard__layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.wizard__side {
    flex: 0 0 300px;
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wizard__main {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wizard__progress {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 22px 20px;
}

.wizard__progress-head {
    display: flex;
    align-items: baseline;
}

.wizard__progress-head .label {
    flex: 1;
}

.wizard__progress-head span {
    font: 500 13px/1 var(--sans);
    font-variant-numeric: tabular-nums;
}

.progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(14, 37, 64, .08);
    overflow: hidden;
}

.progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f5aa2b, #e08c12);
    transition: width .3s ease;
}

.wizard__steps {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
}

.wizard__steps a, .wizard__menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    color: var(--ink);
}

.wizard__steps a:hover {
    box-shadow: inset 0 0 0 1px rgba(14, 37, 64, .1);
}

.wizard__steps a[aria-current="step"], .wizard__menu a[aria-current="step"] {
    background: var(--ink);
    color: var(--surface);
}

.wizard__n {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    flex: none;
    background: rgba(14, 37, 64, .07);
    color: var(--text);
    font: 500 12px/26px var(--sans);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

a.is-done .wizard__n {
    background: rgba(47, 168, 180, .16);
    color: #1d6f78;
}

a[aria-current="step"] .wizard__n {
    background: var(--amber);
    color: var(--cta-ink);
}

.wizard__step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wizard__step-label {
    font: 500 14.5px/1.2 var(--sans);
}

.wizard__step-meta {
    font: 400 12px/1.2 var(--sans);
    color: var(--muted);
}

.wizard__step-meta:empty {
    display: none;
}

a[aria-current="step"] .wizard__step-meta {
    color: var(--on-navy-3);
}

.wizard__help {
    padding: 4px 8px;
}

.wizard__step {
    --pad: clamp(22px, 3.4vw, 40px);
}

.wizard__step--list {
    padding: 0;
    overflow: hidden;
}

.wizard__head {
    padding: clamp(22px, 3.4vw, 40px) clamp(18px, 3.4vw, 40px) 26px;
}

.wizard__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.wizard.is-ready .wizard__step:not(.is-current), .wizard:not(.is-ready) [data-wizard-only] {
    display: none;
}

.count-pill {
    font: 500 11px/1 var(--sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(14, 37, 64, .06);
    color: var(--ink);
}

.count-pill--amber {
    background: rgba(245, 170, 43, .18);
    color: var(--accent);
}

.q-group__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 20px clamp(18px, 3.4vw, 40px);
    background: var(--bg);
    border-top: 1px solid rgba(14, 37, 64, .08);
}

.q-group__side {
    font: 500 10.5px/1 var(--sans);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--surface);
    background: var(--ink);
    padding: 7px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.q-group__title {
    flex: 1 1 280px;
    font: 500 17px/1.3 var(--sans);
}

.q-group__count {
    font: 400 13px/1 var(--sans);
    color: var(--muted);
    white-space: nowrap;
}

.q-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    padding: 14px clamp(18px, 3.4vw, 40px);
    border-top: 1px solid rgba(14, 37, 64, .08);
    transition: background .15s ease;
}

.q-row:has(input[value="Yes"]:checked) {
    background: rgba(245, 170, 43, .09);
}

.q-row__q {
    flex: 1 1 340px;
    min-width: 0;
    display: flex;
    gap: 14px;
}

.q-row__n {
    width: 22px;
    flex: none;
    padding-top: 2px;
    font: 500 12px/1.75 var(--sans);
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.q-row__t {
    font: 400 16px/1.55 var(--sans);
    text-wrap: pretty;
}

.q-row--dom {
    padding-top: 18px;
    padding-bottom: 18px;
}

.q-row--dom .q-row__q {
    flex-basis: 320px;
}

.q-row--dom .q-row__t {
    font-size: 16.5px;
}

.segmented--yn {
    position: relative;
    gap: 0;
    padding: 3px;
    margin-left: auto;
    flex: none;
}

.segmented--yn label {
    min-width: 66px;
    padding: 12px 16px;
    text-align: center;
}

.segmented--wide label {
    min-width: 76px;
}

.q-check {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 52px;
    padding: 14px clamp(18px, 3.4vw, 40px);
    border-top: 1px solid rgba(14, 37, 64, .08);
    cursor: pointer;
    transition: background .15s ease;
}

.q-check:hover {
    background: rgba(14, 37, 64, .03);
}

.q-check:has(input:checked) {
    background: rgba(245, 170, 43, .1);
}

.q-check input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.q-check__box {
    width: 24px;
    height: 24px;
    margin-top: 1px;
    flex: none;
    border-radius: 7px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1.5px rgba(14, 37, 64, .32);
    color: var(--surface);
    font: 700 13px/24px var(--sans);
    text-align: center;
}

.q-check input:checked + .q-check__box {
    background: var(--ink);
    box-shadow: none;
}

.q-check input:checked + .q-check__box::after {
    content: "\2713";
}

.q-check input:focus-visible + .q-check__box {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}

.q-check__t {
    font: 400 16px/1.55 var(--sans);
    text-wrap: pretty;
}

.summary__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    padding: 14px 0;
    border-top: 1px solid var(--rule-soft);
}

.summary__label {
    flex: 1 1 200px;
    font: 500 15.5px/1.3 var(--sans);
}

.summary__value {
    font: 400 14.5px/1.3 var(--sans);
    color: var(--text);
}

.summary__value.is-bad {
    color: #a8341f;
}

.summary__row .link-u {
    font-size: 14px;
    padding-bottom: 3px;
}

/* Narrow screens: a sticky bar replaces the sidebar. */

.wizard__bar {
    display: none;
    position: sticky;
    top: 10px;
    z-index: 20;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 254, 252, .96);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px rgba(14, 37, 64, .08), 0 14px 28px -16px rgba(14, 37, 64, .3);
}

.wizard__bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wizard__badge {
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 999px;
    background: var(--amber);
    color: var(--cta-ink);
    font: 500 13px/30px var(--sans);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.wizard__bar-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wizard__bar-label {
    font: 500 15px/1.2 var(--sans);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wizard__bar-of {
    font: 400 12.5px/1 var(--sans);
    color: var(--muted);
}

.wizard__menu-btn {
    border: 0;
    padding: 13px 14px;
    border-radius: 10px;
    background: var(--bg);
    box-shadow: inset 0 0 0 1px var(--rule);
    font: 500 12px/1 var(--sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
    cursor: pointer;
}

.wizard__menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 60vh;
    overflow: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(14, 37, 64, .08);
}

@media (max-width: 979.98px) {
    .wizard__layout {
        flex-direction: column;
        align-items: stretch;
    }

    .wizard__side {
        position: static;
        flex-basis: auto;
    }

    .wizard.is-ready .wizard__side {
        display: none;
    }

    .wizard.is-ready .wizard__bar {
        display: flex;
    }
}

.btn--primary[disabled] {
    opacity: 1;
    color: #7d8a99;
    background: #e6e1d8;
    box-shadow: none;
}
