/* titrationvault.com. Built on the app's tokens (tokens.css, generated from src/ui/tokens.css) so the site and the
   app read as one product: the same graphite neutrals, the one violet accent, the trace and the dose points.
   No scripts: the theme follows the device, and motion runs only when reduced motion is not requested. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--surface-canvas); color: var(--text-primary);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.55; font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); border-radius: var(--radius-xs); }
h1, h2, h3 { margin: 0; font-weight: var(--weight-semibold); letter-spacing: var(--track-tight); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
code { font-family: var(--font-mono); font-size: 0.9em; overflow-wrap: anywhere; }

.skip-link { position: absolute; left: var(--space-4); top: -4rem; z-index: 50; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); background: var(--accent-fill); color: var(--text-on-fill); }
.skip-link:focus { top: var(--space-3); }

.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.prose-wrap { width: min(100% - 2rem, 44rem); margin-inline: auto; }

/* Header: the app's bar, translucent over the canvas. */
.bar { position: sticky; top: 0; z-index: 20; background: var(--surface-bar); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--rule-faint); }
.bar-inner { display: flex; align-items: center; gap: var(--space-5); min-height: 3.75rem; }
.brand { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text-primary); text-decoration: none; font-weight: var(--weight-semibold); letter-spacing: var(--track-snug); white-space: nowrap; }
.brand svg { width: 1.75rem; height: 1.75rem; border-radius: 0.45rem; box-shadow: 0 0 0 1px var(--rule-faint); }
.nav { display: flex; gap: var(--space-1); margin-inline-start: auto; }
.nav a { white-space: nowrap; padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill); color: var(--text-secondary); text-decoration: none; font-size: var(--text-base); }
.nav a:hover { color: var(--text-primary); background: var(--surface-hover); }
.nav a[aria-current="page"] { color: var(--text-primary); background: var(--surface-sunken); }
.bar .btn { flex: none; }
@media (max-width: 52rem) {
  .bar-inner { flex-wrap: wrap; gap: var(--space-1) var(--space-4); padding-block: var(--space-2) 0; }
  .nav { order: 3; width: calc(100% + 1.5rem); margin: 0 -0.75rem; padding-bottom: var(--space-2); overflow-x: auto; scrollbar-width: none; }
  .nav a { font-size: var(--text-sm); }
  .bar .btn { margin-inline-start: auto; }
}

/* Buttons: the app's filled violet and quiet outline. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--tap); padding: 0 var(--space-5); border-radius: var(--radius-pill); border: 1px solid transparent; font-weight: var(--weight-semibold); font-size: var(--text-base); text-decoration: none; transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.btn-primary { background: var(--accent-fill); color: var(--text-on-fill); }
.btn-primary:hover { background: var(--accent-fill-hover); color: var(--text-on-fill); }
.btn-quiet { border-color: var(--rule-strong); color: var(--text-primary); background: var(--surface-raised); }
.btn-quiet:hover { background: var(--surface-hover); color: var(--text-primary); }
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 3.25rem; padding: 0 var(--space-6); font-size: var(--text-md); }

/* Sections */
section { padding-block: clamp(2.5rem, 5.5vw, 4.5rem); }
.section-alt { background: var(--surface-raised); border-block: 1px solid var(--rule-faint); }
.eyebrow { font-size: var(--text-sm); font-weight: var(--weight-semibold); letter-spacing: var(--track-caption); color: var(--accent); text-transform: none; }
.section-head { display: grid; gap: var(--space-2); max-width: 40rem; margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem); }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; }
.section-head p { color: var(--text-secondary); font-size: var(--text-md); }

/* Hero: the mark draws itself, as on the app's start screen. */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
@media (max-width: 56rem) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { display: grid; gap: var(--space-5); justify-items: start; }
.hero-mark { width: 4.5rem; height: 4.5rem; border-radius: 1.05rem; box-shadow: var(--shadow-2), 0 0 0 1px var(--rule-faint); }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.06; letter-spacing: -0.03em; max-width: 18ch; }
.lede { font-size: clamp(1.125rem, 1.8vw, 1.3rem); color: var(--text-secondary); max-width: 34rem; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.fine { font-size: var(--text-sm); color: var(--text-tertiary); }
.points { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); padding: 0; margin: 0; list-style: none; font-size: var(--text-sm); color: var(--text-secondary); }
.points li { display: inline-flex; align-items: center; gap: var(--space-2); }
.points li::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent-soft); }

/* Figures: product illustrations drawn in SVG from synthetic values. */
.figure { margin: 0; display: grid; gap: var(--space-3); }
.card { border: 1px solid var(--rule-faint); border-radius: var(--radius-xl); background: var(--surface-raised); box-shadow: var(--shadow-2); overflow: hidden; }
.figure figcaption { font-size: var(--text-sm); color: var(--text-tertiary); padding-inline: var(--space-2); }
.mock { padding: var(--space-5); display: grid; gap: var(--space-4); }
.mock-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.mock-title { font-weight: var(--weight-semibold); font-size: var(--text-base); }
.mock-sub { font-size: var(--text-sm); color: var(--text-tertiary); }
.mock-figures { display: flex; gap: var(--space-6); }
.mock-figure { display: grid; }
.mock-figure b { font-size: var(--text-num); font-weight: var(--weight-display); letter-spacing: var(--track-tight); font-variant-numeric: tabular-nums; line-height: 1.05; }
.mock-figure span { font-size: var(--text-xs); color: var(--text-tertiary); }
.chart .grid-line { stroke: var(--chart-grid); stroke-width: 1; }
.chart .band { fill: var(--range-band); }
.chart .series { fill: none; stroke: var(--series-sys); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .series-2 { fill: none; stroke: var(--series-dia); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .dot { fill: var(--surface-raised); stroke: var(--series-sys); stroke-width: 2; }
.chart .dot-2 { fill: var(--surface-raised); stroke: var(--series-dia); stroke-width: 2; }
.chart .marker { stroke: var(--chart-marker); stroke-width: 1.5; stroke-dasharray: 3 4; }
.chart .marker-label { fill: var(--text-secondary); font: 600 11px var(--font-sans); }
.chart .axis { fill: var(--text-tertiary); font: 11px var(--font-sans); }

/* Feature grid */
.features { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.feature { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-5); border: 1px solid var(--rule-faint); border-radius: var(--radius-lg); background: var(--surface-raised); }
.section-alt .feature { background: var(--surface-canvas); }
.feature h3 { font-size: var(--text-lg); letter-spacing: var(--track-snug); }
.feature p { color: var(--text-secondary); }
.icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--accent-tint); color: var(--accent); }
.icon svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Steps along the trace: the onboarding progress, laid out as the three things the app does. */
.steps { position: relative; display: grid; gap: var(--space-6); grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 0.6875rem; left: 0.75rem; right: 0.75rem; height: 2px; background: linear-gradient(90deg, var(--accent-soft), var(--rule-faint)); }
.step { position: relative; display: grid; gap: var(--space-2); padding-top: var(--space-10); }
.step::before { content: ''; position: absolute; top: 0; left: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid var(--accent); background: var(--surface-canvas); box-shadow: 0 0 0 5px var(--accent-tint); }
.step:first-child::before { background: var(--accent); }
.step h3 { font-size: var(--text-lg); }
.step p { color: var(--text-secondary); }
@media (max-width: 48rem) {
  .steps { grid-template-columns: 1fr; gap: var(--space-8); padding-inline-start: var(--space-10); }
  .steps::before { top: 0.75rem; bottom: 0.75rem; left: 0.6875rem; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent-soft), var(--rule-faint)); }
  .step { padding-top: 0; }
  .step::before { left: calc(-1 * var(--space-10)); }
}

/* Split: text beside a figure */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split + .split { margin-top: clamp(3rem, 7vw, 5rem); }
.split-flip > :first-child { order: 2; }
@media (max-width: 56rem) { .split { grid-template-columns: 1fr; } .split-flip > :first-child { order: 0; } }
.split-copy { display: grid; gap: var(--space-4); }
.split-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.split-copy p { color: var(--text-secondary); }
.checks { display: grid; gap: var(--space-3); padding: 0; margin: 0; list-style: none; }
.checks li { position: relative; padding-inline-start: var(--space-8); color: var(--text-primary); }
.checks li::before { content: ''; position: absolute; left: 0.25rem; top: 0.45em; width: 0.7rem; height: 0.4rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* The build band: which code this page came from, and how to check it. */
.verify { display: grid; gap: var(--space-4); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-xl); background: var(--n-900); color: var(--d-900); box-shadow: var(--shadow-2), 0 0 0 1px var(--rule-faint); }
.verify h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.verify p { color: var(--d-700); max-width: 44rem; }
.verify a { color: inherit; }
.verify dl { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); margin: 0; font-size: var(--text-sm); }
.verify dt { color: var(--d-600); }
.verify dd { margin: 0; font-family: var(--font-mono); }

/* FAQ */
.faq { display: grid; gap: var(--space-3); }
.faq details { border: 1px solid var(--rule-faint); border-radius: var(--radius-lg); background: var(--surface-raised); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-4) var(--space-5); font-weight: var(--weight-semibold); display: flex; justify-content: space-between; gap: var(--space-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 0.55rem; height: 0.55rem; margin-top: 0.4em; border-right: 2px solid var(--text-secondary); border-bottom: 2px solid var(--text-secondary); transform: rotate(45deg); transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > p { padding: 0 var(--space-5) var(--space-5); color: var(--text-secondary); }

/* Closing call to action */
.cta { display: grid; justify-items: center; text-align: center; gap: var(--space-5); }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 22ch; }

/* Long-form pages: legal notices, news posts, help */
.page-head { padding-block: clamp(3rem, 7vw, 5rem) var(--space-8); display: grid; gap: var(--space-3); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.08; }
.page-head p { color: var(--text-secondary); font-size: var(--text-md); max-width: 40rem; }
.prose { padding-bottom: clamp(3rem, 8vw, 6rem); }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-10); }
.prose h3 { font-size: var(--text-lg); margin-top: var(--space-6); }
.prose ul, .prose ol { padding-inline-start: var(--space-6); }
.prose li + li { margin-top: var(--space-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: var(--space-3); border-bottom: 1px solid var(--rule-faint); }
.table-wrap { overflow-x: auto; }

/* News */
.posts { display: grid; gap: var(--space-4); padding: 0 0 clamp(3rem, 8vw, 6rem); margin: 0; list-style: none; }
.post-card { display: grid; gap: var(--space-2); padding: var(--space-6); border: 1px solid var(--rule-faint); border-radius: var(--radius-lg); background: var(--surface-raised); }
.post-card h2 { font-size: var(--text-xl); }
.post-card h2 a { color: var(--text-primary); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-meta { font-size: var(--text-sm); color: var(--text-tertiary); }
.empty { padding: var(--space-8); border: 1px dashed var(--rule-strong); border-radius: var(--radius-lg); color: var(--text-secondary); text-align: center; }

/* Footer */
.foot { padding-block: var(--space-12) var(--space-10); border-top: 1px solid var(--rule-faint); font-size: var(--text-sm); color: var(--text-secondary); }
.foot-grid { display: grid; gap: var(--space-8); grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 48rem) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.foot h2 { font-size: var(--text-sm); color: var(--text-primary); margin-bottom: var(--space-3); letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.foot a { color: var(--text-secondary); text-decoration: none; }
.foot a:hover { color: var(--text-primary); text-decoration: underline; }
.disclaimer { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--rule-faint); color: var(--text-tertiary); max-width: 56rem; }

/* Motion: the mark draws itself and sections rise into place, only when motion is welcome. */
.mark-trace { stroke-dasharray: 260; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-mark .mark-trace { animation: draw 900ms var(--ease-out) 150ms both; }
  .hero-mark .mark-dot { animation: pop 320ms var(--ease-spring) both; transform-box: fill-box; transform-origin: center; }
  .hero-mark .mark-dot:nth-of-type(1) { animation-delay: 150ms; }
  .hero-mark .mark-dot:nth-of-type(2) { animation-delay: 550ms; }
  .hero-mark .mark-dot:nth-of-type(3) { animation-delay: 950ms; }
  .rise { animation: rise 600ms var(--ease-out) both; }
  .rise-2 { animation-delay: 120ms; }
  .rise-3 { animation-delay: 240ms; }
  .chart .series, .chart .series-2 { stroke-dasharray: 900; animation: draw-line 1400ms var(--ease-out) 300ms both; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes draw { from { stroke-dashoffset: 260; } }
@keyframes draw-line { from { stroke-dashoffset: 900; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

@media print {
  .bar, .foot, .actions, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}

/* Small layout helpers the pages share (the CSP allows no inline styles). */
.flush { padding-top: 0; }
.more, .foot-tag, .foot-build { margin-top: var(--space-4); }
.features-wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.eyebrow-inverse { color: var(--v-300); }
svg.card { background: var(--surface-raised); }
@media (max-width: 30rem) { .hero .actions .btn { flex: 1 1 100%; } }

/* The night band: the app's start screen, used for the hero and the closing call to action in both themes. */
.night {
  --surface-canvas: var(--n-950); --surface-raised: var(--d-100); --surface-sunken: #0a0a0e; --surface-hover: var(--d-150);
  --text-primary: var(--d-900); --text-secondary: var(--d-700); --text-tertiary: var(--d-600); --rule-faint: var(--d-300);
  --accent: var(--v-300); --accent-soft: var(--v-400); --accent-tint: var(--v-dark-wash); --accent-fill: #7457cc; --accent-fill-hover: #6547bd;
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(116, 87, 204, 0.22), transparent 60%), var(--surface-canvas);
  color: var(--text-primary); color-scheme: dark;
}

/* Choice cards, as on the start screen: an icon tile, a title, a line of detail and a chevron. */
.choices { display: grid; gap: var(--space-3); width: 100%; max-width: 30rem; }
.choice { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); border: 1px solid var(--rule-faint); border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--text-primary); text-decoration: none; transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.choice:hover { color: var(--text-primary); border-color: var(--accent-soft); transform: translateY(-1px); }
.choice-primary { background: var(--accent-fill); border-color: transparent; color: var(--text-on-fill); }
.choice-primary:hover { background: var(--accent-fill-hover); color: var(--text-on-fill); border-color: transparent; }
.choice-primary .icon { background: rgba(255, 255, 255, 0.18); color: #fff; }
.choice-text { display: grid; gap: 2px; }
.choice-title { font-weight: var(--weight-semibold); font-size: var(--text-md); }
.choice-sub { font-size: var(--text-sm); opacity: 0.82; }
.choice-chev { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; opacity: 0.7; }
.promise { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-secondary); }
.promise .icon { width: 1.75rem; height: 1.75rem; background: transparent; }
.cta .choices { justify-self: center; text-align: left; }

/* The phone: the real app, cycling through its main screens. */
.hero-visual { display: grid; justify-items: center; }
.phone { position: relative; width: min(100%, 17.5rem); aspect-ratio: 780 / 1688; padding: 0.55rem; border-radius: 2.6rem; background: #0a0a0e; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 90px -20px rgba(116, 87, 204, 0.35); }
.phone-screen { position: relative; height: 100%; border-radius: 2.1rem; overflow: hidden; background: #0f0f14; }
.phone-frame { position: absolute; inset: 0; }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-frame:not(.f1) { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .phone-4 .phone-frame { animation: cycle4 16s var(--ease-out) infinite; }
  .phone-4 .f1 { animation-delay: -1s; }
  .phone-4 .f2 { animation-delay: 3s; }
  .phone-4 .f3 { animation-delay: 7s; }
  .phone-4 .f4 { animation-delay: 11s; }
  .phone-4 .phone-frame:not(.f1) { opacity: 0; }
}
@keyframes cycle4 { 0% { opacity: 0; transform: translateY(8px) scale(1.01); } 4%, 25% { opacity: 1; transform: none; } 29%, 100% { opacity: 0; } }

/* Tour of the main screens */
.tour-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); padding: 0; margin: 0; list-style: none; }
.tour-item { display: grid; gap: var(--space-2); align-content: start; }
.tour-shot { border-radius: 1.4rem; overflow: hidden; border: 1px solid var(--rule-faint); box-shadow: var(--shadow-2); aspect-ratio: 780 / 1120; background: var(--surface-raised); }
.tour-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tour-item h3 { font-size: var(--text-md); margin-top: var(--space-2); }
.tour-item p { font-size: var(--text-sm); color: var(--text-secondary); }
@media (max-width: 56rem) {
  .tour-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-3); scrollbar-width: thin; }
  .tour-item { scroll-snap-align: start; }
}

/* A laptop screenshot in a quiet browser frame */
.browser { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--rule-faint); box-shadow: var(--shadow-2); background: var(--surface-raised); }
.browser::before { content: ''; display: block; height: 1.6rem; background: radial-gradient(circle at 0.9rem 50%, var(--rule-strong) 0.22rem, transparent 0.24rem), radial-gradient(circle at 1.7rem 50%, var(--rule-strong) 0.22rem, transparent 0.24rem), radial-gradient(circle at 2.5rem 50%, var(--rule-strong) 0.22rem, transparent 0.24rem), var(--surface-sunken); border-bottom: 1px solid var(--rule-faint); }

/* Closed beta */
.beta-bar { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-2) var(--space-4); background: var(--n-900); color: var(--d-800); font-size: var(--text-sm); text-align: center; }
.beta-bar a { color: var(--v-300); font-weight: var(--weight-semibold); }
.beta-tag { padding: 1px var(--space-2); border-radius: var(--radius-pill); background: var(--v-dark-wash-strong); color: var(--v-200); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.invite { display: grid; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-xl); }
.invite label { font-weight: var(--weight-semibold); font-size: var(--text-sm); }
.invite input[type="email"], .invite select { min-height: var(--tap); padding: 0 var(--space-3); border: 1px solid var(--rule-strong); border-radius: var(--radius-md); background: var(--surface-canvas); color: var(--text-primary); font: inherit; }
.invite .hint { font-size: var(--text-sm); color: var(--text-tertiary); margin-top: calc(-1 * var(--space-2)); }
.invite .check { display: flex; gap: var(--space-3); align-items: flex-start; font-weight: var(--weight-regular); font-size: var(--text-base); }
.invite .check input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--accent-fill); }
.invite .btn { justify-self: start; margin-top: var(--space-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--danger-wash); color: var(--danger); }
.form-error:target { display: block; }
@media (prefers-color-scheme: dark) { .invite input[type="email"], .invite select { color-scheme: dark; } }
