/*
Theme Name: HelloDoc
Description: Storefront theme for the HelloDoc sample site. Built for iCare Sites — no page builder, no framework.
Version: 3.0.0
Author: iCare Sites
*/

/* ==========================================================================
   Tokens

   Near-black + white + one electric blue. The category is full of soft
   pastel wellness brands; this is deliberately closer to a pharmacy than a
   spa, because the thing being sold is a physician's signature.

   The dose ladder is the one place colour escalates — bars run from muted
   to full accent as the dose climbs, which is the actual shape of therapy.
   ========================================================================== */

:root {
	--ink:      #0B0F14;
	--ink-2:    #1C242E;
	--muted:    #5B6672;
	--line:     #E4E9EF;
	--tint:     #F4F7FA;
	--paper:    #FFFFFF;

	--accent:   #0B5CFF;
	--accent-d: #0846C4;
	--go:       #0F9D6B;
	--stop:     #C6362F;

	--dsp: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
	--bdy: "Inter", "Helvetica Neue", Arial, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--wrap: 1180px;
	--r: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

/* Any rule that sets `display` outranks the UA sheet's [hidden]{display:none},
   so a class like .hd-btn (inline-flex) silently defeats the hidden attribute.
   Restore it once, globally, rather than per component. */
[hidden] { display: none !important; }

body {
	margin: 0;
	font-family: var(--bdy);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--dsp);
	font-weight: 600;
	letter-spacing: -0.022em;
	line-height: 1.08;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.012em; }

p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.hd-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hd-narrow { width: 100%; max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }
.hd-eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.hd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	font-family: var(--dsp); font-size: .97rem; font-weight: 600; letter-spacing: -.01em;
	padding: 13px 22px; border: 1px solid var(--ink); border-radius: 10px;
	background: var(--ink); color: #fff; cursor: pointer;
	transition: background .15s ease, border-color .15s ease, transform .06s ease;
}
.hd-btn:hover { background: #000; text-decoration: none; }
.hd-btn:active { transform: translateY(1px); }
.hd-btn--accent { background: var(--accent); border-color: var(--accent); }
.hd-btn--accent:hover { background: var(--accent-d); border-color: var(--accent-d); }
.hd-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.hd-btn--ghost:hover { background: var(--tint); border-color: #cfd8e2; }

/* ==========================================================================
   Demo ribbon + header
   ========================================================================== */

.hd-ribbon {
	background: var(--ink); color: #fff;
	font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
	text-align: center; padding: 7px 16px;
}
.hd-ribbon b { color: #7FB0FF; font-weight: 500; }

.hd-head {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255,255,255,.86);
	-webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
	border-bottom: 1px solid var(--line);
}
.hd-head__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.hd-logo { font-family: var(--dsp); font-weight: 700; font-size: 1.22rem; letter-spacing: -.03em; color: var(--ink); }
.hd-logo:hover { text-decoration: none; }
.hd-logo i { color: var(--accent); font-style: normal; }
.hd-nav { display: flex; gap: 22px; margin-left: auto; }
.hd-nav a { color: var(--ink-2); font-size: .93rem; font-weight: 500; }
.hd-nav a:hover { color: var(--accent); text-decoration: none; }
.hd-head .hd-btn { padding: 9px 16px; font-size: .88rem; }

@media (max-width: 720px) {
	.hd-nav { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hd-hero { padding: 76px 0 48px; border-bottom: 1px solid var(--line); }
.hd-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hd-hero h1 { max-width: 12ch; margin-bottom: .35em; }
.hd-hero__lead { font-size: 1.14rem; color: var(--ink-2); max-width: 46ch; }
.hd-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.hd-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hd-trust div { background: var(--paper); padding: 18px 20px; }
.hd-trust strong { display: block; font-family: var(--dsp); font-size: 1.42rem; letter-spacing: -.02em; }
.hd-trust span { font-size: .84rem; color: var(--muted); }

@media (max-width: 900px) {
	.hd-hero__grid { grid-template-columns: 1fr; gap: 36px; align-items: start; }
	.hd-hero { padding: 48px 0 36px; }
}

/* ==========================================================================
   Section furniture
   ========================================================================== */

.hd-sec { padding: 68px 0; }
.hd-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.hd-sec__head p { color: var(--muted); margin: 0; font-size: .93rem; }

/* ==========================================================================
   Treatment cards
   ========================================================================== */

.hd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1040px) { .hd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .hd-grid { grid-template-columns: 1fr; } }

.hd-card {
	display: flex; flex-direction: column;
	border: 1px solid var(--line); border-radius: var(--r);
	padding: 22px 20px 20px; background: var(--paper);
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.hd-card:hover { border-color: #C9D4E1; box-shadow: 0 14px 34px -18px rgba(11,15,20,.28); transform: translateY(-2px); }
.hd-card__badge {
	align-self: flex-start; font-family: var(--mono); font-size: .64rem; letter-spacing: .07em; text-transform: uppercase;
	background: var(--ink); color: #fff; padding: 4px 8px; border-radius: 5px; margin-bottom: 12px;
}
.hd-card__badge:empty { display: none; }
.hd-card h3 { margin-bottom: .15em; font-size: 1.3rem; }
.hd-card__sub { font-family: var(--mono); font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.hd-card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.hd-card__price b { font-family: var(--dsp); font-size: 1.85rem; letter-spacing: -.03em; font-weight: 600; }
.hd-card__price span { color: var(--muted); font-size: .86rem; }
.hd-card__alt { font-size: .81rem; color: var(--muted); margin-bottom: 16px; }
.hd-card__ex { font-size: .9rem; color: var(--ink-2); margin: 0 0 18px; }
.hd-card .hd-btn { width: 100%; margin-top: auto; }

/* ==========================================================================
   The dose ladder — signature element

   Therapy here is a titration, so the schedule is the product. Bars grow
   with the dose and gain colour as they climb.
   ========================================================================== */

.hd-ladder { border-top: 1px solid var(--line); padding-top: 12px; margin: 0 0 16px; }
.hd-ladder__head {
	display: flex; justify-content: space-between;
	font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .07em;
	color: var(--muted); margin-bottom: 10px;
}
.hd-ladder__rows { display: grid; gap: 6px; }
.hd-ladder__row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; }
.hd-ladder__wk { font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.hd-ladder__bar { height: 7px; background: var(--tint); border-radius: 4px; overflow: hidden; }
.hd-ladder__bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.hd-ladder__bar.is-none { background: transparent; border-top: 1px dashed var(--line); height: 0; border-radius: 0; }
.hd-ladder__dose { font-family: var(--mono); font-size: .76rem; font-weight: 500; min-width: 46px; text-align: right; }
.hd-ladder__dose i { font-style: normal; color: var(--muted); font-size: .82em; margin-left: 1px; }
.hd-ladder.is-compact { border-top: 0; padding-top: 0; }

/* ==========================================================================
   Product detail
   ========================================================================== */

.hd-pdp { display: grid; grid-template-columns: 1.25fr .75fr; gap: 52px; padding: 44px 0 80px; align-items: start; }
@media (max-width: 940px) { .hd-pdp { grid-template-columns: 1fr; gap: 32px; } }

.hd-pdp__body { font-size: 1.03rem; color: var(--ink-2); }
.hd-pdp__body h1 { margin-bottom: .1em; }
.hd-pdp__sub { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 26px; }

.hd-buy { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--paper); box-shadow: 0 18px 44px -26px rgba(11,15,20,.3); }
.hd-buy__plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.hd-plan { border: 1px solid var(--line); border-radius: 9px; padding: 12px; cursor: pointer; display: block; }
.hd-plan input { position: absolute; opacity: 0; pointer-events: none; }
.hd-plan span { display: block; font-size: .78rem; color: var(--muted); }
.hd-plan b { font-family: var(--dsp); font-size: 1.28rem; letter-spacing: -.02em; }
.hd-plan:has(input:checked) { border-color: var(--ink); background: var(--tint); }
.hd-buy__inc { list-style: none; margin: 16px 0 20px; padding: 0; font-size: .89rem; }
.hd-buy__inc li { padding: 7px 0 7px 22px; border-bottom: 1px solid var(--line); position: relative; }
.hd-buy__inc li:last-child { border-bottom: 0; }
.hd-buy__inc li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 9px; height: 5px; border-left: 2px solid var(--go); border-bottom: 2px solid var(--go); transform: rotate(-45deg); }
.hd-buy .hd-btn { width: 100%; }
.hd-buy__fine { font-size: .78rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ==========================================================================
   Intake
   ========================================================================== */

.hd-intake { display: grid; grid-template-columns: 1fr 320px; gap: 44px; max-width: var(--wrap); margin: 0 auto; padding: 44px 24px 80px; align-items: start; }
@media (max-width: 900px) { .hd-intake { grid-template-columns: 1fr; } .hd-intake__aside { order: -1; } }

.hd-intake__bar { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.hd-intake__bar i { display: block; height: 100%; width: 20%; background: var(--accent); transition: width .3s cubic-bezier(.4,0,.2,1); }

.hd-step__count { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 26px 0 10px; }
/* Each step takes focus so screen readers announce the new question. That is
   a programmatic move, not a keyboard one, so it must not paint a ring. */
.hd-step__q { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 22px; }
.hd-step__q:focus { outline: none; }
.hd-step { border: 0; padding: 0; margin: 0; }

.hd-opts { display: grid; gap: 9px; max-width: 520px; }
.hd-opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.hd-opt:hover { border-color: #C9D4E1; background: var(--tint); }
.hd-opt input { accent-color: var(--accent); width: 17px; height: 17px; }
.hd-opt:has(input:checked) { border-color: var(--ink); background: var(--tint); }
.hd-opt span { font-size: .98rem; }

.hd-input, .hd-pair input, .hd-fields input, .hd-fields select, .hd-case__act textarea {
	width: 100%; font-family: var(--bdy); font-size: 1rem; color: var(--ink);
	padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
}
.hd-input:focus, .hd-fields input:focus, .hd-fields select:focus { border-color: var(--accent); outline: none; }
.hd-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; }
.hd-fields { display: grid; gap: 10px; max-width: 520px; }
.hd-hint { font-size: .85rem; color: var(--muted); margin-top: 12px; max-width: 52ch; }
.hd-step__nav { display: flex; gap: 10px; margin-top: 26px; }

.hd-intake__aside { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--tint); }
.hd-aside__label { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 8px; }
.hd-intake__aside h3 { margin-bottom: .1em; }
.hd-aside__sub { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.hd-aside__price { font-family: var(--dsp); font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; margin: 10px 0 16px; }
.hd-aside__price span { font-family: var(--bdy); font-size: .82rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }

/* ==========================================================================
   Status tracker
   ========================================================================== */

.hd-status h1 { margin-bottom: 24px; }
.hd-track { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 0; }
.hd-track li { display: flex; align-items: center; gap: 14px; padding: 0 0 22px; position: relative; }
.hd-track li:not(:last-child)::before { content: ""; position: absolute; left: 8px; top: 20px; bottom: 2px; width: 2px; background: var(--line); }
.hd-track li.is-done:not(:last-child)::before { background: var(--go); }
.hd-track__dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); flex: none; z-index: 1; }
.hd-track li.is-done .hd-track__dot { background: var(--go); border-color: var(--go); }
.hd-track li.is-now .hd-track__dot { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(11,92,255,.16); }
.hd-track__label { font-size: .98rem; color: var(--muted); }
.hd-track li.is-done .hd-track__label, .hd-track li.is-now .hd-track__label { color: var(--ink); font-weight: 500; }

.hd-note { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 14px 16px; margin: 0 0 24px; background: var(--tint); }
.hd-note--stop { border-left-color: var(--stop); }
.hd-note p { margin: 4px 0 0; font-size: .93rem; }
.hd-mono { font-family: var(--mono); font-size: .88rem; }

.hd-panel { border-top: 1px solid var(--line); padding-top: 26px; }
.hd-panel__sub { color: var(--muted); font-size: .89rem; margin-bottom: 18px; }
.hd-mailitem { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.hd-mailitem header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 15px; background: var(--tint); border-bottom: 1px solid var(--line); }
.hd-mailitem time { font-family: var(--mono); font-size: .72rem; color: var(--muted); flex: none; }
.hd-mailitem pre { margin: 0; padding: 15px; font-family: var(--bdy); font-size: .9rem; line-height: 1.6; white-space: pre-wrap; color: var(--ink-2); }

/* ==========================================================================
   Clinician console — deliberately utilitarian. This is the back office,
   not the storefront, and it should feel like a tool.
   ========================================================================== */

.hd-console { max-width: 1040px; margin: 0 auto; padding: 40px 24px 80px; }
.hd-console__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 4px; }
.hd-console__head h1 { font-size: 2rem; margin: 0; }
.hd-console__count { font-size: .9rem; color: var(--muted); margin: 0; }
.hd-console__count strong { font-family: var(--dsp); font-size: 1.5rem; color: var(--ink); }
.hd-empty { color: var(--muted); padding: 40px 0; }

.hd-case { border-bottom: 1px solid var(--line); }
.hd-case summary { display: grid; grid-template-columns: 1.4fr 1.2fr auto auto; gap: 16px; align-items: center; padding: 15px 4px; cursor: pointer; list-style: none; }
.hd-case summary::-webkit-details-marker { display: none; }
.hd-case summary:hover { background: var(--tint); }
.hd-case__who strong { display: block; font-size: .98rem; }
.hd-case__who span { font-size: .8rem; color: var(--muted); }
.hd-case__rx { font-size: .92rem; color: var(--ink-2); }
.hd-case summary time { font-family: var(--mono); font-size: .72rem; color: var(--muted); }

.hd-pill { font-family: var(--mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 20px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.hd-pill--review, .hd-pill--submitted { border-color: var(--accent); color: var(--accent); }
.hd-pill--approved { border-color: var(--go); color: var(--go); }
.hd-pill--shipped { border-color: var(--go); background: var(--go); color: #fff; }
.hd-pill--declined { border-color: var(--stop); color: var(--stop); }

.hd-case__body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 8px 4px 28px; }
@media (max-width: 820px) { .hd-case__body { grid-template-columns: 1fr; } .hd-case summary { grid-template-columns: 1fr auto; } .hd-case__rx { display: none; } }
.hd-case__body h3 { font-size: .8rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.hd-case__answers dl { margin: 0 0 18px; }
.hd-case__answers dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hd-case__answers dt { font-size: .82rem; color: var(--muted); }
.hd-case__answers dd { margin: 0; font-size: .9rem; }
.hd-case__act textarea { font-family: var(--bdy); resize: vertical; margin-bottom: 12px; }
.hd-case__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.hd-case__logh { margin-top: 26px; }
.hd-log { list-style: none; margin: 0; padding: 0; font-size: .84rem; }
.hd-log li { display: grid; grid-template-columns: 108px 1fr; gap: 10px; padding: 5px 0; color: var(--ink-2); }
.hd-log time { font-family: var(--mono); font-size: .72rem; color: var(--muted); }

/* ==========================================================================
   How it works
   ========================================================================== */

.hd-how { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 2px; }
.hd-how li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.hd-how__n { font-family: var(--dsp); font-size: 1.7rem; font-weight: 600; color: var(--line); letter-spacing: -.03em; }
.hd-how h3 { margin-bottom: .25em; }
.hd-how p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.hd-foot { border-top: 1px solid var(--line); background: var(--tint); padding: 44px 0 30px; margin-top: 40px; }
.hd-foot__in { display: flex; gap: 30px; justify-content: space-between; flex-wrap: wrap; }
.hd-foot a { color: var(--ink-2); font-size: .9rem; display: block; padding: 3px 0; }
.hd-foot__fine { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; font-size: .8rem; color: var(--muted); }
.hd-foot__fine strong { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}


/* ==========================================================================
   Prescriber chrome

   The console is the other half of the pitch — the doctor's tool, not the
   store. It gets its own dark bar so a room watching the demo can see the
   moment the story crosses from patient to clinician.
   ========================================================================== */

.hd-rx-head { background: var(--ink); border-bottom: 1px solid #232B36; position: sticky; top: 0; z-index: 60; }
.hd-rx-head__in { display: flex; align-items: center; gap: 16px; height: 58px; }
.hd-rx-head__mark { font-family: var(--dsp); font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; color: #fff; }
.hd-rx-head__mark i { font-style: normal; color: #7FB0FF; font-weight: 500; }
.hd-rx-head__env { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: #8B97A6; border: 1px solid #2C3542; border-radius: 4px; padding: 3px 7px; }
.hd-rx-head__who { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hd-rx-head__who span { font-size: .85rem; color: #B9C3CF; }
.hd-rx-head__who a { font-size: .85rem; color: #7FB0FF; }

/* ==========================================================================
   v2 — full storefront
   ========================================================================== */

.hd-lede { font-size: 1.14rem; color: var(--ink-2); max-width: 54ch; }
.hd-lede--light { color: rgba(255,255,255,.72); }
.hd-eyebrow--light { color: rgba(255,255,255,.5); }
.hd-fineprint { font-size: .78rem; color: var(--muted); }
.hd-fineprint--light { color: rgba(255,255,255,.45); }
.hd-i { width: 1em; height: 1em; flex: none; }
.hd-btn .hd-i { width: 1.05em; height: 1.05em; transition: transform .18s ease; }
.hd-btn:hover .hd-i { transform: translateX(3px); }
.hd-btn--lg { padding: 15px 26px; font-size: 1.02rem; border-radius: 11px; }
.hd-btn--glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hd-btn--glass:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.hd-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-family: var(--dsp); }
.hd-link .hd-i { transition: transform .18s ease; }
.hd-link:hover { text-decoration: none; }
.hd-link:hover .hd-i { transform: translateX(4px); }
.hd-crumb { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 18px; }
.hd-crumb span { opacity: .5; }

/* --- Hero film ------------------------------------------------------------
   Two clips stacked; app.js cross-dissolves between them so the background
   runs continuously instead of cutting every five seconds. */
.hd-hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 96px; border: 0; }
.hd-hero__film { position: absolute; inset: 0; z-index: 0; }
.hd-hero__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease-in-out; }
.hd-hero__vid.is-on { opacity: 1; }
.hd-hero__scrim { position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(8,11,15,.92) 0%, rgba(8,11,15,.72) 42%, rgba(8,11,15,.35) 100%),
    linear-gradient(to top, rgba(8,11,15,.95) 0%, rgba(8,11,15,0) 45%); }
.hd-hero__in { position: relative; z-index: 2; color: #fff; }
.hd-hero__eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--mono); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.2); border-radius: 100px; padding: 6px 14px; margin-bottom: 26px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(255,255,255,.06); }
.hd-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); animation: hd-pulse 2.4s ease-in-out infinite; }
@keyframes hd-pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(74,222,128,.25); } 50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } }
.hd-hero__h1 { font-size: clamp(3rem, 8vw, 6.4rem); line-height: .95; letter-spacing: -.04em; margin: 0 0 .3em; color: #fff; }
.hd-hero__h1 span { display: block; opacity: 0; transform: translateY(24px); animation: hd-rise .9s cubic-bezier(.22,1,.36,1) forwards; }
.hd-hero__h1 span:nth-child(2) { animation-delay: .12s; }
@keyframes hd-rise { to { opacity: 1; transform: none; } }
.hd-hero__lead { font-size: 1.16rem; color: rgba(255,255,255,.82); max-width: 48ch; margin-bottom: 30px;
  opacity: 0; animation: hd-rise .9s .22s cubic-bezier(.22,1,.36,1) forwards; }
.hd-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: hd-rise .9s .34s cubic-bezier(.22,1,.36,1) forwards; }
.hd-hero__fine { margin-top: 22px; font-size: .82rem; color: rgba(255,255,255,.55); opacity: 0; animation: hd-rise .9s .46s cubic-bezier(.22,1,.36,1) forwards; }

.hd-hero__ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.12); background: rgba(8,11,15,.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 12px 0; }
.hd-ticker__track { display: flex; gap: 34px; align-items: center; white-space: nowrap; width: max-content; animation: hd-slide 56s linear infinite; }
/* Display sans in sentence case, not mono caps — the uppercase-tracked
   treatment is the single fastest way to make a trust bar look generated. */
.hd-tick { display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--dsp); font-size: .88rem; font-weight: 500; letter-spacing: -.01em;
	text-transform: none; color: rgba(255,255,255,.78); }
.hd-tick .hd-i { width: 16px; height: 16px; color: #7FB0FF; opacity: .9; }
@keyframes hd-slide { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hd-hero { min-height: 78vh; padding: 92px 0 78px; }
}

/* --- Scroll reveal -------------------------------------------------------- */
.hd-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.hd-reveal.is-in { opacity: 1; transform: none; }

/* --- Sections ------------------------------------------------------------- */
.hd-sec--tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hd-sec--tight { padding-top: 34px; }
.hd-dark { background: var(--ink); color: #fff; }
.hd-dark h2, .hd-dark h3 { color: #fff; }
.hd-dark .hd-how li { border-top-color: rgba(255,255,255,.12); }
.hd-dark .hd-how__n { color: rgba(255,255,255,.22); }
.hd-dark .hd-how p { color: rgba(255,255,255,.66); }

/* --- About ---------------------------------------------------------------- */
.hd-about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
@media (max-width: 940px) { .hd-about__grid { grid-template-columns: 1fr; gap: 40px; } }
.hd-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hd-stat { background: var(--paper); padding: 26px 22px; }
.hd-stat__i { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; background: var(--tint); color: var(--accent); margin-bottom: 14px; }
.hd-stat__i .hd-i { width: 18px; height: 18px; }
.hd-stat strong { display: block; font-family: var(--dsp); font-size: 2rem; letter-spacing: -.03em; line-height: 1; }
.hd-stat__l { font-size: .84rem; color: var(--muted); }

/* --- Cards with photography ---------------------------------------------- */
.hd-card { padding: 0; overflow: hidden; }
.hd-card__media { display: block; position: relative; background: #EDF1F6; aspect-ratio: 1 / 1; overflow: hidden; }
.hd-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); display: block; }
.hd-card:hover .hd-card__media img { transform: scale(1.05); }
.hd-card__badge { position: absolute; top: 14px; left: 14px; align-self: auto; margin: 0; }
.hd-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.hd-card__body h3 a { color: inherit; }
.hd-card__body h3 a:hover { color: var(--accent); text-decoration: none; }
.hd-card__cta { width: 100%; margin-top: auto; }
.hd-grid--shop { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .hd-grid--shop { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .hd-grid--shop { grid-template-columns: 1fr; } }

/* --- Shop / about heads --------------------------------------------------- */
.hd-shophead, .hd-abouthead { padding: 62px 0 34px; border-bottom: 1px solid var(--line); }
.hd-shophead h1, .hd-abouthead h1 { max-width: 18ch; }
.hd-abouthead h1 { max-width: 20ch; }
.hd-shophead__marks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 26px 0 0; }
.hd-shophead__marks li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink-2); }
.hd-shophead__marks .hd-i { color: var(--accent); width: 17px; height: 17px; }

/* --- Prose ---------------------------------------------------------------- */
.hd-prose { max-width: 66ch; font-size: 1.03rem; color: var(--ink-2); }
.hd-prose p { margin-bottom: 1.15rem; }
.hd-pull { border-left: 3px solid var(--accent); margin: 28px 0; padding: 4px 0 4px 22px;
  font-family: var(--dsp); font-size: 1.42rem; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }

/* --- Features ------------------------------------------------------------- */
.hd-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (max-width: 940px) { .hd-feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .hd-feat { grid-template-columns: 1fr; } }
.hd-feat__item { background: var(--paper); padding: 28px 24px; }
.hd-feat__i { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px;
  background: var(--tint); color: var(--accent); margin-bottom: 16px; }
.hd-feat__i .hd-i { width: 19px; height: 19px; }
.hd-feat__item h3 { margin-bottom: .4em; }
.hd-feat__item p { margin: 0; font-size: .93rem; color: var(--muted); }

/* --- Quotes --------------------------------------------------------------- */
.hd-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 940px) { .hd-quotes { grid-template-columns: 1fr; } }
.hd-quote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.hd-quote__stars { display: flex; gap: 2px; color: #F0A22E; margin-bottom: 14px; }
.hd-quote__stars .hd-i { width: 15px; height: 15px; fill: #F0A22E; }
.hd-quote blockquote { margin: 0 0 18px; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.hd-quote figcaption strong { display: block; font-size: .9rem; }
.hd-quote figcaption span { font-size: .82rem; color: var(--muted); }

/* --- FAQ ------------------------------------------------------------------ */
.hd-faq__wrap { max-width: 820px; }
.hd-faq { margin-top: 28px; border-top: 1px solid var(--line); }
.hd-faq__item { border-bottom: 1px solid var(--line); }
.hd-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer;
  list-style: none; padding: 20px 0; font-family: var(--dsp); font-size: 1.08rem; font-weight: 600; letter-spacing: -.015em; }
.hd-faq__item summary::-webkit-details-marker { display: none; }
.hd-faq__x { position: relative; width: 15px; height: 15px; flex: none; }
.hd-faq__x::before, .hd-faq__x::after { content: ""; position: absolute; background: var(--muted); transition: transform .22s ease; }
.hd-faq__x::before { left: 0; top: 6.5px; width: 15px; height: 2px; }
.hd-faq__x::after  { left: 6.5px; top: 0; width: 2px; height: 15px; }
.hd-faq__item[open] .hd-faq__x::after { transform: rotate(90deg); }
.hd-faq__a { padding: 0 0 22px; max-width: 66ch; color: var(--ink-2); font-size: .98rem; }
.hd-faq__a p { margin: 0; }

/* --- Team ----------------------------------------------------------------- */
.hd-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 900px) { .hd-team { grid-template-columns: 1fr; } }
.hd-team__member { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 24px; }
.hd-team__member p { color: rgba(255,255,255,.66); font-size: .93rem; margin: 0; }
.hd-team__avatar { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.08); color: #7FB0FF; margin-bottom: 16px; }
.hd-team__role { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: #7FB0FF !important; margin-bottom: 10px !important; }

/* --- CTA band ------------------------------------------------------------- */
.hd-cta { background: var(--accent); color: #fff; padding: 76px 0; }
.hd-cta__in { text-align: center; }
.hd-cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .3em; }
.hd-cta p { color: rgba(255,255,255,.82); margin-bottom: 26px; }
.hd-cta .hd-btn--accent { background: #fff; color: var(--accent); border-color: #fff; }
.hd-cta .hd-btn--accent:hover { background: #EAF0FF; border-color: #EAF0FF; }

/* --- PDP media ------------------------------------------------------------ */
.hd-pdp__media { position: relative; margin: 0 0 30px; border-radius: var(--r); overflow: hidden; background: #EDF1F6; border: 1px solid var(--line); }
.hd-pdp__media img { display: block; width: 100%; height: auto; }
.hd-pdp__ladder { margin-top: 34px; max-width: 430px; }
.hd-pdp__marks { display: grid; gap: 10px; margin-top: 30px; }
.hd-pdp__marks div { display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: var(--ink-2); }
.hd-pdp__marks .hd-i { color: var(--go); width: 18px; height: 18px; }

/* --- Checkout ------------------------------------------------------------- */
.hd-checkout { display: grid; grid-template-columns: 1fr 360px; gap: 52px; max-width: var(--wrap); margin: 0 auto; padding: 48px 24px 90px; align-items: start; }
@media (max-width: 940px) { .hd-checkout { grid-template-columns: 1fr; } .hd-summary { order: -1; } }
.hd-form__h { font-size: .8rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin: 30px 0 12px; }
.hd-form .hd-fields { max-width: none; }
.hd-form .hd-btn { width: 100%; margin-top: 24px; }
.hd-card-note { display: flex; gap: .7rem; align-items: flex-start; background: var(--tint); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 15px; font-size: .87rem; color: var(--ink-2); margin-bottom: 14px; }
.hd-card-note .hd-i { color: var(--go); margin-top: 2px; }
.hd-summary { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--paper); position: sticky; top: 88px;
  box-shadow: 0 18px 44px -26px rgba(11,15,20,.3); }
.hd-summary h2 { font-size: 1.02rem; margin-bottom: 16px; }
.hd-summary__item { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.hd-summary__thumb { width: 56px; height: 56px; border-radius: 9px; overflow: hidden; background: var(--tint); flex: none; }
.hd-summary__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hd-summary__item strong { display: block; font-size: .96rem; }
.hd-summary__item em { font-style: normal; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hd-summary__lines { margin: 16px 0; }
.hd-summary__lines div { display: flex; justify-content: space-between; padding: 7px 0; font-size: .92rem; }
.hd-summary__lines dt { color: var(--muted); }
.hd-summary__lines dd { margin: 0; }
.hd-summary__total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px !important; font-family: var(--dsp); font-size: 1.2rem; font-weight: 600; }
.hd-summary__total dt { color: var(--ink) !important; }
.hd-summary__note { font-size: .8rem; color: var(--muted); margin-bottom: 18px; }

/* --- Success -------------------------------------------------------------- */
.hd-success { max-width: 720px; margin: 0 auto; padding: 66px 24px 90px; text-align: center; }
.hd-success__mark { width: 66px; height: 66px; border-radius: 50%; background: var(--go); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 26px;
  animation: hd-pop .55s cubic-bezier(.34,1.56,.64,1) both; }
.hd-success__mark .hd-i { width: 32px; height: 32px; stroke-width: 2.4; }
@keyframes hd-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hd-success h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.hd-success .hd-lede { margin: 0 auto 34px; }
.hd-success__next { text-align: left; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--tint); }
.hd-success__next h2 { font-size: 1rem; margin-bottom: 16px; }
.hd-success__next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hd-success__next li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.hd-success__next li span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--paper); border: 1px solid var(--line); color: var(--accent); }
.hd-success__next strong { display: block; font-size: .96rem; }
.hd-success__next p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.hd-success__cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* --- Mobile nav ----------------------------------------------------------- */
.hd-burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line);
  background: var(--paper); border-radius: 10px; cursor: pointer; position: relative; }
.hd-burger span { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--ink); transition: transform .22s ease, opacity .22s ease; }
.hd-burger span:nth-child(1) { top: 15px; }
.hd-burger span:nth-child(2) { top: 20px; }
.hd-burger span:nth-child(3) { top: 25px; }
body.hd-navopen .hd-burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.hd-navopen .hd-burger span:nth-child(2) { opacity: 0; }
body.hd-navopen .hd-burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
  .hd-burger { display: block; }
  .hd-head .hd-btn { display: none; }
  .hd-nav { position: fixed; inset: 0 0 auto; top: 0; padding: 96px 24px 30px; flex-direction: column; gap: 4px;
    background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-102%);
    transition: transform .34s cubic-bezier(.22,1,.36,1); z-index: 55; display: flex; margin: 0; }
  body.hd-navopen .hd-nav { transform: none; }
  .hd-nav a { padding: 14px 0; font-size: 1.15rem; font-family: var(--dsp); font-weight: 600; border-bottom: 1px solid var(--line); }
}

/* --- Social proof toast ---------------------------------------------------
   Bottom-right, out of the way of the CTA, and dismissible. Slides up from
   below the fold rather than fading, so it reads as arriving. */
.hd-proof {
	position: fixed; left: auto; right: 22px; bottom: 22px; z-index: 80;
	display: block;
	max-width: min(340px, calc(100vw - 44px));
	padding: 0; overflow: hidden;
	background: rgba(255,255,255,.92);
	-webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
	border: 1px solid var(--line); border-radius: 14px;
	box-shadow: 0 18px 44px -16px rgba(11,15,20,.28), 0 2px 8px rgba(11,15,20,.08);
	opacity: 0; transform: translateY(18px) scale(.97); pointer-events: none;
	transition: opacity .42s cubic-bezier(.22,1,.36,1), transform .42s cubic-bezier(.22,1,.36,1);
}
.hd-proof.is-in { opacity: 1; transform: none; pointer-events: auto; }
.hd-proof__brand { display: flex; align-items: center;
	padding: 8px 14px; background: var(--tint); border-bottom: 1px solid var(--line);
	font-family: var(--dsp); font-weight: 700; font-size: .78rem; letter-spacing: -.02em; color: var(--ink); }
.hd-proof__brand i { font-style: normal; color: var(--accent); }
.hd-proof__row { display: flex; align-items: center; gap: 12px; padding: 12px 15px 13px; }
.hd-proof__i { display: flex; width: 34px; height: 34px; flex: none; align-items: center; justify-content: center;
	border-radius: 10px; background: rgba(11,92,255,.1); color: var(--accent); }
.hd-proof__i svg { width: 19px; height: 19px; }
.hd-proof__txt { display: block; min-width: 0; }
.hd-proof__txt strong { display: block; font-family: var(--dsp); font-size: .92rem; letter-spacing: -.012em; line-height: 1.25; }
.hd-proof__txt span { display: block; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 620px) {
	.hd-proof { right: 12px; left: 12px; bottom: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hd-proof { transition: opacity .3s ease; transform: none; }
	.hd-proof.is-in { transform: none; }
}

/* ==========================================================================
   Mobile pass

   Everything below 720px, tuned on a 390px viewport. The hero headline is
   the main offender — clamp() alone let it run to three tight lines against
   the edge of the screen.
   ========================================================================== */

@media (max-width: 720px) {
	.hd-wrap { padding: 0 18px; }
	.hd-narrow { padding: 40px 18px 60px; }

	.hd-hero { min-height: 0; padding: 64px 0 84px; }
	.hd-hero__h1 { font-size: clamp(2.6rem, 12.5vw, 3.6rem); line-height: .98; }
	.hd-hero__lead { font-size: 1.02rem; max-width: none; }
	.hd-hero__cta { gap: 10px; }
	.hd-hero__cta .hd-btn { width: 100%; justify-content: center; }
	.hd-hero__fine { font-size: .78rem; }
	.hd-hero__scrim { background:
		linear-gradient(to top, rgba(8,11,15,.96) 0%, rgba(8,11,15,.72) 45%, rgba(8,11,15,.55) 100%); }
	.hd-hero__ticker { padding: 10px 0; }
	.hd-tick { font-size: .8rem; }

	.hd-sec { padding: 46px 0; }
	.hd-sec__head { flex-direction: column; align-items: flex-start; gap: 14px; }
	h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
	h2 { font-size: clamp(1.55rem, 6.6vw, 2rem); }
	.hd-lede { font-size: 1.02rem; }

	.hd-stats { grid-template-columns: 1fr 1fr; }
	.hd-stat { padding: 18px 16px; }
	.hd-stat strong { font-size: 1.55rem; }
	.hd-stat__l { font-size: .78rem; }

	.hd-shophead, .hd-abouthead { padding: 40px 0 26px; }
	.hd-shophead__marks { gap: 8px 18px; }
	.hd-shophead__marks li { font-size: .82rem; }

	.hd-pdp { padding: 26px 0 60px; gap: 26px; }
	.hd-buy { position: static; }
	.hd-pdp__ladder { max-width: none; }

	.hd-intake { padding: 26px 18px 60px; gap: 26px; }
	.hd-step__q { font-size: clamp(1.35rem, 6.4vw, 1.8rem); }
	.hd-step__nav { position: sticky; bottom: 0; background: var(--paper);
		padding: 12px 0 14px; margin-top: 20px; border-top: 1px solid var(--line); }
	.hd-step__nav .hd-btn { flex: 1; justify-content: center; }
	.hd-pair { grid-template-columns: 1fr; }

	.hd-checkout { padding: 26px 18px 60px; gap: 26px; }
	.hd-summary { position: static; }

	.hd-success { padding: 42px 18px 60px; }
	.hd-success__cta .hd-btn { width: 100%; justify-content: center; }

	.hd-console { padding: 24px 18px 60px; }
	.hd-console__head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.hd-case summary { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px 2px; }
	.hd-case summary time { grid-column: 1 / -1; }
	.hd-case__answers dl div { grid-template-columns: 104px 1fr; }
	.hd-case__btns .hd-btn { flex: 1; justify-content: center; }

	.hd-cta { padding: 52px 0; }
	.hd-foot__in { gap: 22px; }

	.hd-quote blockquote { font-size: .95rem; }
	.hd-faq__item summary { font-size: 1rem; padding: 17px 0; }
	.hd-pull { font-size: 1.2rem; padding-left: 16px; }
	.hd-team { gap: 12px; }
}

/* The toast is a notification, not a banner — keep it card-sized on phones
   rather than letting it span the full width like an alert bar. */
@media (max-width: 620px) {
	.hd-proof { right: 12px; left: auto; bottom: 12px; max-width: calc(100vw - 24px); width: 300px; }
	.hd-proof__row { padding: 11px 13px 12px; }
	.hd-proof__txt strong { font-size: .88rem; }
	.hd-proof__txt span { font-size: .76rem; }
}

@media (max-width: 400px) {
	.hd-hero__h1 { font-size: 2.5rem; }
	.hd-proof { width: auto; left: 12px; }
}

/* ==========================================================================
   Selects

   A native <select> is the one control that refuses to match everything
   around it — OS chevron, OS metrics, OS focus ring. Strip the appearance
   and draw our own chevron so it sits in the same family as the inputs.
   The chevron is an inline data URI rather than a pseudo-element because
   ::after does not render on a <select>.
   ========================================================================== */

select.hd-input {
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6672' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px 18px;
	cursor: pointer;
	line-height: 1.3;
}
select.hd-input::-ms-expand { display: none; }

/* Until a real state is picked, the placeholder option should read as a
   placeholder rather than as an answer. */
select.hd-input:required:invalid { color: var(--muted); }
select.hd-input option { color: var(--ink); }
select.hd-input option[value=""] { color: var(--muted); }

select.hd-input:hover { border-color: #C9D4E1; }
select.hd-input:focus {
	border-color: var(--accent); outline: none;
	box-shadow: 0 0 0 3px rgba(11,92,255,.14);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5CFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
}

/* Match the focus treatment on the text inputs so the form reads as one set. */
.hd-input:focus, .hd-form input:focus, .hd-case__act textarea:focus {
	box-shadow: 0 0 0 3px rgba(11,92,255,.14);
	outline: none;
}

/* ==========================================================================
   Treatment education

   The evidence grade is stated before any statistic, and it is colour-coded,
   because "preclinical only" next to a big number is the whole point — a
   reader should know how much weight a figure carries before they read it.
   ========================================================================== */

.hd-edu { margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--line); }
.hd-edu h2 { font-size: 1.22rem; margin-bottom: .5em; }
.hd-edu__h { margin-top: 44px; }

.hd-edu__grade { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.hd-edu__grade p { margin: 0; font-size: .89rem; color: var(--muted); max-width: 62ch; }
.hd-grade { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
	font-family: var(--dsp); font-size: .82rem; font-weight: 600; letter-spacing: -.01em;
	padding: 6px 12px; border-radius: 100px; border: 1px solid; }
.hd-grade .hd-i { width: 15px; height: 15px; }
.hd-grade--strong      { color: #0B7A55; border-color: rgba(15,157,107,.35); background: rgba(15,157,107,.08); }
.hd-grade--moderate    { color: #9A6100; border-color: rgba(200,138,20,.35); background: rgba(240,162,46,.1); }
.hd-grade--preclinical { color: #A3352E; border-color: rgba(198,54,47,.3);  background: rgba(198,54,47,.07); }

.hd-edu__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
	border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 40px; }
@media (max-width: 760px) { .hd-edu__stats { grid-template-columns: 1fr; } }
.hd-estat { background: var(--paper); padding: 22px 20px; }
.hd-estat strong { display: block; font-family: var(--dsp); font-size: 2rem; letter-spacing: -.035em; line-height: 1; margin-bottom: 10px; }
.hd-estat p { margin: 0 0 10px; font-size: .87rem; color: var(--ink-2); line-height: 1.45; }
.hd-estat cite { font-family: var(--mono); font-style: normal; font-size: .68rem; color: var(--muted); letter-spacing: .02em; }

.hd-edu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-bottom: 8px; }
.hd-edu__cols--wide { margin-top: 44px; gap: 44px; }
@media (max-width: 760px) { .hd-edu__cols, .hd-edu__cols--wide { grid-template-columns: 1fr; gap: 28px; } }
.hd-edu__cols p { color: var(--ink-2); font-size: .97rem; margin: 0; }

/* Trial timeline */
.hd-trials { list-style: none; margin: 20px 0 0; padding: 0; }
.hd-trials li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.hd-trials li:last-child { border-bottom: 1px solid var(--line); }
.hd-trials__yr { font-family: var(--mono); font-size: .78rem; color: var(--accent); padding-top: 3px; }
.hd-trials h3 { font-size: 1rem; margin-bottom: .3em; }
.hd-trials p { margin: 0; font-size: .93rem; color: var(--ink-2); }
@media (max-width: 560px) { .hd-trials li { grid-template-columns: 1fr; gap: 6px; } }

/* Timeline + contraindications */
.hd-timeline { list-style: none; margin: 0; padding: 0; }
.hd-timeline li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hd-timeline li:last-child { border-bottom: 0; }
.hd-timeline strong { display: block; font-family: var(--mono); font-size: .72rem; text-transform: uppercase;
	letter-spacing: .06em; color: var(--muted); margin-bottom: 5px; }
.hd-timeline span { font-size: .93rem; color: var(--ink-2); }

.hd-notfor { list-style: none; margin: 0; padding: 0; }
.hd-notfor li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; padding: 11px 0; align-items: start;
	border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--ink-2); }
.hd-notfor li:last-child { border-bottom: 0; }
.hd-notfor .hd-i { width: 17px; height: 17px; color: var(--stop); margin-top: 2px; }

/* The caveat block — deliberately the loudest thing on the page after the
   price, because it is the part a real prescriber would lead with. */
.hd-honest { margin-top: 44px; padding: 24px 26px; border-radius: var(--r);
	background: var(--ink); color: #fff; }
.hd-honest h2 { color: #fff; margin-bottom: .45em; }
.hd-honest p { margin: 0; color: rgba(255,255,255,.78); font-size: .97rem; }

.hd-sources { margin-top: 26px; border-top: 1px solid var(--line); }
.hd-sources summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer;
	list-style: none; padding: 16px 0; font-family: var(--dsp); font-weight: 600; font-size: .95rem; }
.hd-sources summary::-webkit-details-marker { display: none; }
.hd-sources[open] .hd-faq__x::after { transform: rotate(90deg); }
.hd-sources ol { margin: 0 0 12px; padding-left: 20px; font-size: .86rem; color: var(--muted); }
.hd-sources li { padding: 5px 0; }
.hd-sources a { color: var(--ink-2); }

/* ==========================================================================
   How it works
   ========================================================================== */

.hd-howhead { padding: 64px 0 44px; border-bottom: 1px solid var(--line); }
.hd-howhead h1 { max-width: 17ch; }
.hd-howhead .hd-lede { margin-top: 14px; }
.hd-howhead__marks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
	border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 34px; }
.hd-howhead__marks div { background: var(--paper); padding: 20px 22px; }
.hd-howhead__marks .hd-i { color: var(--accent); width: 18px; height: 18px; margin-bottom: 10px; display: block; }
.hd-howhead__marks strong { display: block; font-family: var(--dsp); font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; }
.hd-howhead__marks span { font-size: .84rem; color: var(--muted); }
@media (max-width: 720px) { .hd-howhead__marks { grid-template-columns: 1fr; } }

/* Alternating photo / copy rows. The flip is done with grid order rather
   than direction:rtl so the reading order stays correct for screen readers. */
.hd-step-row { padding: 60px 0; border-bottom: 1px solid var(--line); }
.hd-step-row__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hd-step-row.is-flipped .hd-step-row__media { order: 2; }
@media (max-width: 880px) {
	.hd-step-row { padding: 40px 0; }
	.hd-step-row__grid { grid-template-columns: 1fr; gap: 26px; }
	.hd-step-row.is-flipped .hd-step-row__media { order: 0; }
}

.hd-step-row__media { position: relative; margin: 0; border-radius: 16px; overflow: hidden;
	background: var(--tint); border: 1px solid var(--line); }
.hd-step-row__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hd-step-row__media figcaption { position: absolute; left: 16px; bottom: 16px;
	width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
	border-radius: 12px; background: rgba(255,255,255,.92); color: var(--accent);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	box-shadow: 0 6px 18px -6px rgba(11,15,20,.3); }
.hd-step-row__media figcaption .hd-i { width: 22px; height: 22px; }

.hd-step-row__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hd-step-row__n { font-family: var(--dsp); font-size: 2.6rem; font-weight: 700; letter-spacing: -.045em;
	line-height: 1; color: var(--line); }
.hd-step-row__time { display: inline-flex; align-items: center; gap: .4rem;
	font-family: var(--dsp); font-size: .8rem; font-weight: 600; color: var(--accent);
	background: rgba(11,92,255,.08); border-radius: 100px; padding: 5px 12px; }
.hd-step-row__time .hd-i { width: 14px; height: 14px; }
.hd-step-row__body h2 { margin-bottom: .35em; }
.hd-step-row__body p:last-child { margin: 14px 0 0; color: var(--ink-2); font-size: .97rem; }

/* Decline path */
.hd-decline__list { list-style: none; margin: 34px 0 0; padding: 0; display: grid;
	grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); overflow: hidden; }
@media (max-width: 800px) { .hd-decline__list { grid-template-columns: 1fr; } }
.hd-decline__list li { background: var(--ink); padding: 24px; display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.hd-decline__list .hd-i { width: 20px; height: 20px; color: #7FB0FF; margin-top: 2px; }
.hd-decline__list strong { display: block; color: #fff; font-family: var(--dsp); font-size: 1rem; margin-bottom: .3em; }
.hd-decline__list p { margin: 0; color: rgba(255,255,255,.66); font-size: .91rem; }

/* Comparison */
.hd-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .hd-compare { grid-template-columns: 1fr; } }
.hd-compare__col { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--paper); }
.hd-compare__col h3 { font-size: 1.05rem; margin-bottom: 16px; }
.hd-compare__col ul { list-style: none; margin: 0; padding: 0; }
.hd-compare__col li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; color: var(--muted); }
.hd-compare__col li:last-child { border-bottom: 0; }
.hd-compare__col--ours { border-color: var(--ink); box-shadow: 0 18px 44px -28px rgba(11,15,20,.4); }
.hd-compare__col--ours li { color: var(--ink); display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.hd-compare__col--ours .hd-i { width: 17px; height: 17px; color: var(--go); margin-top: 3px; }

/* ==========================================================================
   Speed strip

   Directly under the hero, because "how long will this take" is the first
   question and every hour it goes unanswered is a visitor who leaves. Times
   are the loudest thing in each step.
   ========================================================================== */

.hd-speed { padding: 44px 0 48px; border-bottom: 1px solid var(--line); }
.hd-speed__grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 22px; align-items: start; }
.hd-speed__arrow { display: flex; align-items: center; justify-content: center; color: var(--line); padding-top: 34px; }
.hd-speed__arrow .hd-i { width: 24px; height: 24px; }
.hd-speed__t { display: block; font-family: var(--dsp); font-size: 1.72rem; font-weight: 700;
	letter-spacing: -.035em; line-height: 1; color: var(--accent); margin-bottom: 12px; }
.hd-speed__step h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.04rem; margin-bottom: .35em; }
.hd-speed__step h3 .hd-i { width: 18px; height: 18px; color: var(--muted); }
.hd-speed__step p { margin: 0; font-size: .93rem; color: var(--muted); }
.hd-speed__note { max-width: 66ch; margin: 34px auto 0; padding-top: 22px; border-top: 1px solid var(--line);
	text-align: center; font-size: .95rem; color: var(--ink-2); }

@media (max-width: 860px) {
	.hd-speed { padding: 34px 0 36px; }
	.hd-speed__grid { grid-template-columns: 1fr; gap: 22px; }
	.hd-speed__arrow { display: none; }
	.hd-speed__t { font-size: 1.45rem; margin-bottom: 6px; }
	.hd-speed__note { margin-top: 24px; text-align: left; }
}

/* --- Brand footer --------------------------------------------------------- */
.hd-foot__top { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: 48px; }
.hd-foot__brand p { font-size: .9rem; color: var(--muted); margin: 12px 0 16px; max-width: 34ch; }
.hd-foot__marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.hd-foot__marks li { display: flex; align-items: center; gap: .55rem; font-size: .84rem; color: var(--ink-2); }
.hd-foot__marks .hd-i { width: 16px; height: 16px; color: var(--go); }
.hd-foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.hd-foot__cols h2 { font-size: .82rem; font-family: var(--dsp); font-weight: 700; letter-spacing: -.01em;
	margin-bottom: 10px; color: var(--ink); }
.hd-foot__legal { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
	align-items: baseline; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 18px;
	font-size: .8rem; color: var(--muted); }
.hd-foot__legal p { margin: 0; max-width: 70ch; }
.hd-foot__links { display: flex; gap: 18px; }
.hd-foot__links a { padding: 0; font-size: .8rem; }
.hd-foot__disclosure { margin: 14px 0 0; font-size: .76rem; color: var(--muted); opacity: .85; max-width: 78ch; }

@media (max-width: 860px) {
	.hd-foot__top { grid-template-columns: 1fr; gap: 30px; }
	.hd-foot__cols { grid-template-columns: 1fr 1fr; gap: 22px; }
}
