:root {
--brand-50:   #eef4fe;
--brand-100:  #dbe7fe;
--brand-200:  #c3d9fb;
--brand-500:  #2b7fff;
--brand-600:  #0b5cff;
--brand-700:  #0847c7;
--brand-800:  #06349b;
--on-brand:   #ffffff;
--gray-50:    #fafafa;
--gray-100:   #f4f5f7;
--gray-200:   #e5e7eb;
--gray-300:   #d4d7dd;
--gray-400:   #9ca3af;
--gray-500:   #6b7280;
--gray-600:   #52525b;
--gray-700:   #3f3f46;
--gray-900:   #18181b;
--gray-950:   #0a0a0a;
--bg:             #ffffff;
--bg-subtle:      var(--gray-50);
--surface:        #ffffff;
--surface-2:      var(--gray-100);
--border:         var(--gray-200);
--border-strong:  var(--gray-300);
--text:                #0a0a0a;
--text-2:              var(--gray-700);
--text-muted:          var(--gray-500);
--text-muted-on-tint:  var(--gray-600);
--text-on-brand-tint:  var(--brand-800);
--on-dark:         #ffffff;
--on-dark-muted:   #a8adb8;
--brand-on-dark:   #8ab4ff;
--ok-50:      #ecfdf3;
--ok-200:     #abefc6;
--ok-600:     #067647;
--ok-700:     #05612f;
--on-ok:      #ffffff;
--warn-50:    #fffaeb;
--warn-200:   #fedf89;
--warn-600:   #dc6803;
--warn-700:   #b54708;
--on-warn:    #ffffff;
--danger-50:  #fef3f2;
--danger-200: #fecdca;
--danger-600: #d92d20;
--danger-700: #9c1f18;
--meter-track:  var(--surface-2);
--meter-fill:   var(--brand-600);
--meter-warn:   var(--warn-600);
--meter-over:   var(--danger-600);
--code-bg:   var(--surface-2);
--code-key:  #0550ae;
--code-str:  var(--ok-600);
--code-com:  var(--gray-500);
--font-sans: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont,
'Segoe UI', system-ui, sans-serif;
--font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
--font-brand: 'Space Grotesk', var(--font-sans);
--fs-xs:      0.75rem;
--fs-sm:      0.8125rem;
--fs-base:    0.875rem;
--fs-md:      1rem;
--fs-lg:      1.125rem;
--fs-xl:      1.25rem;
--fs-2xl:     1.5rem;
--fs-3xl:     1.875rem;
--fs-4xl:     2.25rem;
--fs-display: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
--lh-tight:   1.15;
--lh-snug:    1.3;
--lh-normal:  1.5;
--lh-relaxed: 1.65;
--ls-display: -0.035em;
--ls-heading: -0.02em;
--ls-body:    0;
--ls-eyebrow: 0.06em;
--fw-normal:   400;
--fw-medium:   500;
--fw-semibold: 600;
--fw-bold:     700;
--sp-1:  4px;   --sp-2:  8px;   --sp-3:  12px;  --sp-4:  16px;
--sp-5:  20px;  --sp-6:  24px;  --sp-8:  32px;  --sp-10: 40px;
--sp-12: 48px;  --sp-16: 64px;  --sp-20: 80px;  --sp-24: 96px;
--r-sm:   6px;
--r-md:   8px;
--r-lg:   12px;
--r-xl:   16px;
--r-full: 999px;
--shadow-xs: 0 1px 2px 0 rgb(16 24 40 / 0.05);
--shadow-sm: 0 1px 3px 0 rgb(16 24 40 / 0.10), 0 1px 2px -1px rgb(16 24 40 / 0.06);
--shadow-md: 0 4px 8px -2px rgb(16 24 40 / 0.10), 0 2px 4px -2px rgb(16 24 40 / 0.06);
--shadow-lg: 0 12px 16px -4px rgb(16 24 40 / 0.08), 0 4px 6px -2px rgb(16 24 40 / 0.03);
--container:       1120px;
--container-wide:  1280px;
--container-prose: 68ch;
--container-form:  420px;
--header-h:        60px;
--focus-ring: 0 0 0 3px rgb(11 92 255 / 0.28);
--target:         44px;
--target-compact: 36px;
--target-inline:  24px;
--transition: 140ms cubic-bezier(0.4, 0, 0.2, 1);
}
@font-face {
font-family: 'Inter';
src: url('/assets/inter-var-latin.woff2?v=MQDndehhbNJh') format('woff2');
font-weight: 100 900;
font-style: normal;
font-display: swap;
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Inter Fallback';
src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
size-adjust: 107.12%;
ascent-override: 90.2%;
descent-override: 22.48%;
line-gap-override: 0%;
}
@font-face {
font-family: 'Space Grotesk';
src: url('/assets/space-grotesk-var-latin.woff2?v=KbdW1LRA23SF') format('woff2');
font-weight: 300 700;
font-style: normal;
font-display: swap;
unicode-range: U+0020-007E;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
font-weight: var(--fw-semibold);
letter-spacing: var(--ls-heading);
line-height: var(--lh-snug);
color: var(--text);
text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-3xl); line-height: var(--lh-tight); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-md); }
p { margin: 0; }
.prose { max-width: 66ch; font-size: var(--fs-md); }
.prose p { margin: 0 0 var(--sp-4); line-height: var(--lh-relaxed); color: var(--text-2); }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { margin: var(--sp-10) 0 var(--sp-4); }
.prose h3 { margin: var(--sp-8) 0 var(--sp-2); }
.prose ul, .prose ol { margin: 0 0 var(--sp-4); padding-left: var(--sp-5); color: var(--text-2); line-height: var(--lh-relaxed); }
.prose li { margin-bottom: var(--sp-2); }
.lede {
font-size: var(--fs-lg);
line-height: var(--lh-relaxed);
color: var(--text-muted);
max-width: 60ch;
text-wrap: pretty;
}
.eyebrow {
font-size: var(--fs-xs);
font-weight: var(--fw-semibold);
letter-spacing: var(--ls-eyebrow);
text-transform: uppercase;
color: var(--text-muted);
}
.mono { font-family: var(--font-mono); font-size: 0.9375em; }
.muted { color: var(--text-muted); }
.hint { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-normal); }
.strong { font-weight: var(--fw-semibold); color: var(--text); }
.nowrap { white-space: nowrap; }
.text-end { text-align: right; }
.tabular { font-variant-numeric: tabular-nums; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); text-decoration: underline; }
code {
font-family: var(--font-mono);
font-size: 0.9em;
background: var(--code-bg);
border: 1px solid var(--border);
border-radius: var(--r-sm);
padding: 0.12em 0.36em;
color: var(--text-2);
}
pre {
margin: 0;
background: var(--code-bg);
border: 1px solid var(--border);
border-radius: var(--r-lg);
padding: var(--sp-4);
overflow-x: auto;
font-family: var(--font-mono);
font-size: var(--fs-sm);
line-height: var(--lh-relaxed);
color: var(--text-2);
}
pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
.c-key { color: var(--code-key); }
.c-str { color: var(--code-str); }
.c-com { color: var(--code-com); }
*, *::before, *::after { box-sizing: border-box; }
html {
-webkit-text-size-adjust: 100%;
scroll-behavior: smooth;
scroll-padding-top: calc(var(--header-h) + var(--sp-4));
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: var(--font-sans);
font-size: var(--fs-base);
line-height: var(--lh-normal);
letter-spacing: var(--ls-body);
text-rendering: optimizeLegibility;
min-height: 100vh;
display: flex;
flex-direction: column;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-8) 0; }
::selection { background: var(--brand-100); color: var(--brand-800); }
:focus-visible {
outline: 2px solid var(--brand-600);
outline-offset: 2px;
border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }
.sr-only {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
.skip {
position: absolute;
left: var(--sp-4);
top: -100px;
z-index: 100;
background: var(--surface);
color: var(--brand-700);
border: 1px solid var(--brand-200);
border-radius: var(--r-md);
box-shadow: var(--shadow-md);
padding: var(--sp-3) var(--sp-4);
font-weight: var(--fw-medium);
transition: top var(--transition);
}
.skip:focus { top: var(--sp-3); text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition: none !important;
scroll-behavior: auto !important;
}
}
.wrap {
width: 100%;
max-width: var(--container);
margin: 0 auto;
padding-left: var(--sp-5);
padding-right: var(--sp-5);
}
.wrap-wide  { max-width: var(--container-wide); }
.wrap-prose { max-width: var(--container-prose); }
.wrap-form  { max-width: var(--container-form); }
main {
flex: 1 0 auto;
width: 100%;
display: flex;
flex-direction: column;
}
main > * { width: 100%; }
.stack   { display: flex; flex-direction: column; gap: var(--sp-6); }
.stack-sm{ display: flex; flex-direction: column; gap: var(--sp-3); }
.stack-lg{ display: flex; flex-direction: column; gap: var(--sp-10); }
.row     { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; }
.row-centre { justify-content: center; }
.between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.grid    { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2  { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3  { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
section { padding: var(--sp-16) 0; }
section.tight { padding: var(--sp-10) 0; }
section.banded { background: var(--bg-subtle); border-block: 1px solid var(--border); }
.promo {
background: var(--brand-600);
color: var(--on-brand);
font-size: var(--fs-sm);
text-align: center;
}
.promo .wrap {
display: flex;
align-items: center;
justify-content: center;
gap: var(--sp-2);
min-height: 40px;
padding-block: var(--sp-1);
flex-wrap: wrap;
}
.promo b { font-weight: var(--fw-semibold); }
header.site {
position: sticky;
top: 0;
z-index: 20;
background: rgb(255 255 255 / 0.85);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
}
@supports not (backdrop-filter: blur(10px)) {
header.site { background: var(--bg); }
}
header.site > .wrap {
min-height: var(--header-h);
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--sp-4);
}
.brand {
display: inline-flex;
align-items: center;
gap: var(--sp-2);
color: var(--text);
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand-mark {
width: 26px; height: 26px;
flex: none;
display: block;
}
.brand-word {
font-family: var(--font-brand);
font-size: var(--fs-xl);
font-weight: var(--fw-bold);
letter-spacing: -0.01em;
line-height: 1;
}
.header-end { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.header-end { position: relative; }
.nav-checkbox { position: absolute; }
.nav-toggle {
display: none;
list-style: none;
cursor: pointer;
width: var(--target);
height: var(--target);
border-radius: var(--r-md);
align-items: center;
justify-content: center;
color: var(--text-2);
}
.nav-toggle:hover { background: var(--surface-2); color: var(--text); }
.nav-checkbox:focus-visible + .nav-toggle { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
display: block;
width: 18px;
height: 2px;
border-radius: 2px;
background: currentColor;
transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-checkbox:checked ~ .nav-toggle .nav-toggle-bars { background: transparent; }
.nav-checkbox:checked ~ .nav-toggle .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-checkbox:checked ~ .nav-toggle .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
nav.site-nav { display: flex; align-items: center; gap: var(--sp-1); }
nav.site-nav a:not(.btn) {
color: var(--text-muted);
font-size: var(--fs-base);
font-weight: var(--fw-medium);
padding: var(--sp-2) var(--sp-3);
border-radius: var(--r-md);
transition: color var(--transition), background var(--transition);
}
nav.site-nav a:not(.btn):hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
nav.site-nav a:not(.btn)[aria-current='page'] { color: var(--text); background: var(--surface-2); }
nav.site-nav .sep { width: 1px; height: 20px; background: var(--border); margin: 0 var(--sp-2); flex: none; }
.page-header {
padding: var(--sp-8) 0 var(--sp-6);
border-bottom: 1px solid var(--border);
margin-bottom: var(--sp-8);
}
.page-header .between { align-items: flex-start; }
.page-header h1 { font-size: var(--fs-3xl); }
.page-header .lede { margin-top: var(--sp-2); font-size: var(--fs-md); }
.page-header-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; flex: none; }
.breadcrumb {
display: flex; align-items: center; gap: var(--sp-2);
font-size: var(--fs-sm); color: var(--text-muted);
margin-bottom: var(--sp-3);
}
.breadcrumb a { color: var(--text-muted); font-weight: var(--fw-medium); }
.breadcrumb a:hover { color: var(--brand-600); }
.page-body { padding-bottom: var(--sp-16); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.admin-band {
background: var(--warn-50);
border-bottom: 1px solid var(--warn-200);
padding: var(--sp-2) 0;
font-size: var(--fs-sm);
color: var(--warn-700);
font-weight: var(--fw-medium);
}
footer.site {
flex: none;
border-top: 1px solid var(--border);
background: var(--bg-subtle);
padding: var(--sp-10) 0;
font-size: var(--fs-sm);
color: var(--text-muted);
margin-top: var(--sp-16);
}
footer.site a { color: var(--text-muted); font-weight: var(--fw-medium); }
footer.site a:hover { color: var(--brand-600); }
.footer-cols ul a,
.footer-plans a {
display: inline-block;
padding: var(--sp-1) 0;
min-height: var(--target-inline);
}
@media (pointer: coarse) {
.footer-cols ul a,
.footer-plans a { padding: var(--sp-3) 0; min-height: var(--target); }
.footer-cols ul { gap: 0; }
}
.footer-cols {
display: grid; gap: var(--sp-10) var(--sp-8);
grid-template-columns: 2fr repeat(3, 1fr);
margin-bottom: var(--sp-8);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
.footer-tagline { max-width: 32ch; color: var(--text-muted); }
.status-pill {
display: inline-flex; align-items: center; gap: var(--sp-2);
padding: var(--sp-1) var(--sp-3);
border: 1px solid var(--ok-200); border-radius: var(--r-full);
background: var(--ok-50);
font-size: var(--fs-sm); font-weight: var(--fw-medium);
min-height: var(--target-inline);
}
footer.site a.status-pill { color: var(--ok-700); }
footer.site a.status-pill:hover { color: var(--ok-700); background: var(--ok-200); text-decoration: none; }
.status-dot {
width: 8px; height: 8px; border-radius: 50%; flex: none;
background: var(--ok-600);
animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50%      { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
.status-dot { animation: none; opacity: 1; }
}
.status-pill-warn { background: var(--warn-50); border-color: var(--warn-200); }
footer.site a.status-pill-warn { color: var(--warn-700); }
footer.site a.status-pill-warn:hover { color: var(--warn-700); background: var(--warn-200); }
.status-pill-warn .status-dot { background: var(--warn-700); animation: none; }
.footer-plans {
align-self: stretch;
padding: var(--sp-3) var(--sp-4);
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
}
.footer-plans p { color: var(--text-2); font-size: var(--fs-base); }
.footer-plans b { color: var(--text); font-weight: var(--fw-semibold); }
.footer-plans .dot { color: var(--text-muted); margin: 0 var(--sp-2); }
.footer-plans a { display: inline-block; margin-top: var(--sp-2); text-decoration: underline; }
.footer-cols h2 {
font-size: var(--fs-xs); font-weight: var(--fw-semibold);
letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
color: var(--text); margin-bottom: var(--sp-3);
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.footer-bottom {
display: flex; align-items: baseline; gap: var(--sp-4); flex-wrap: wrap;
border-top: 1px solid var(--border); padding-top: var(--sp-5);
}
.footer-note { margin-left: auto; text-align: right; }
.footer-legal { margin-left: auto; display: flex; gap: var(--sp-5); }
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--sp-2);
min-height: var(--target);
padding: 0 var(--sp-5);
border-radius: var(--r-md);
border: 1px solid transparent;
font-family: inherit;
font-size: var(--fs-base);
font-weight: var(--fw-medium);
line-height: 1;
text-align: center;
cursor: pointer;
white-space: nowrap;
position: relative;
transition: background var(--transition), border-color var(--transition),
color var(--transition), box-shadow var(--transition);
}
.btn:hover { text-decoration: none; }
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.btn-swap { display: inline-grid; align-items: center; justify-items: center; }
.btn-swap > * { grid-area: 1 / 1; }
.btn-idle, .btn-busy { display: inline-flex; align-items: center; gap: var(--sp-2); }
.btn-busy { opacity: 0; white-space: nowrap; }
.btn.is-busy .btn-idle { opacity: 0; }
.btn.is-busy .btn-busy { opacity: 1; }
.btn.is-busy, .btn.is-busy:disabled { opacity: 1; cursor: progress; }
.spinner {
width: 1em;
height: 1em;
flex: none;
border: 2px solid currentColor;
border-right-color: transparent;
border-radius: 50%;
opacity: 0.9;
}
.btn.is-busy .spinner { animation: bd-spin 0.6s linear infinite; }
@keyframes bd-spin { to { transform: rotate(360deg); } }
.btn-primary { background: var(--brand-600); color: var(--on-brand); box-shadow: var(--shadow-xs); }
.btn-primary:hover { background: var(--brand-700); color: var(--on-brand); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--gray-400); color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { background: var(--danger-600); color: #fff; box-shadow: var(--shadow-xs); }
.btn-danger:hover { background: var(--danger-700); color: #fff; }
.btn-ok { background: var(--ok-600); color: var(--on-ok); box-shadow: var(--shadow-xs); }
.btn-ok:hover { background: var(--ok-700); color: var(--on-ok); }
.btn-danger-quiet { background: transparent; color: var(--danger-600); border-color: var(--danger-200); }
.btn-danger-quiet:hover { background: var(--danger-50); color: var(--danger-700); }
.btn.copied { background: var(--ok-50); color: var(--ok-700); border-color: var(--ok-200); }
.btn-sm { min-height: var(--target-compact); padding: 0 var(--sp-3); font-size: var(--fs-sm); }
@media (pointer: coarse) { .btn-sm { min-height: var(--target); padding: 0 var(--sp-4); } }
.btn-block { width: 100%; }
.btn-group { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.btn-group a {
padding: var(--sp-2) var(--sp-4);
font-size: var(--fs-sm); font-weight: var(--fw-medium);
color: var(--text-muted); border-right: 1px solid var(--border);
min-height: var(--target-compact); display: inline-flex; align-items: center;
}
.btn-group a:last-child { border-right: 0; }
.btn-group a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.btn-group a[aria-current='true'] { background: var(--brand-600); color: var(--on-brand); }
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-lg);
padding: var(--sp-6);
box-shadow: var(--shadow-xs);
}
.card-sm { padding: var(--sp-4); }
.card-lg { padding: var(--sp-8); }
.card > h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.card > p  { color: var(--text-muted); line-height: var(--lh-relaxed); }
.card-title { font-size: var(--fs-md); font-weight: var(--fw-semibold); margin-bottom: var(--sp-1); }
.card-desc  { font-size: var(--fs-base); color: var(--text-muted); margin-bottom: var(--sp-4); }
.card-footer { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.post-lead-title { font-size: var(--fs-xl); font-weight: var(--fw-semibold); line-height: var(--lh-tight); margin-bottom: var(--sp-2); }
.post-lead-desc { font-size: var(--fs-md); max-width: 62ch; margin-bottom: 0; }
.card-hover { transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition); }
.card-hover:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.card-selected { border-color: var(--brand-600); box-shadow: 0 0 0 1px var(--brand-600), var(--shadow-sm); }
.card-ok      { background: var(--ok-50);     border-color: var(--ok-200); }
.card-warn    { background: var(--warn-50);   border-color: var(--warn-200); }
.card-danger  { background: var(--danger-50); border-color: var(--danger-200); }
.card-brand   { background: var(--brand-50);  border-color: var(--brand-200); }
.disclosure { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.disclosure > summary {
cursor: pointer; list-style: none;
padding: var(--sp-4) var(--sp-5);
font-weight: var(--fw-medium); color: var(--text);
display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
min-height: var(--target);
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary:hover { background: var(--surface-2); }
.disclosure > summary::after {
content: ''; flex: none;
width: 8px; height: 8px;
border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
transform: rotate(45deg) translateY(-2px);
transition: transform var(--transition);
}
.disclosure[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.disclosure[open] > summary { border-bottom: 1px solid var(--border); }
.disclosure-body { padding: var(--sp-5); }
.notice {
display: flex; flex-direction: column;
padding: var(--sp-4);
border: 1px solid;
border-radius: var(--r-md);
font-size: var(--fs-base);
line-height: var(--lh-normal);
}
.notice-title { font-weight: var(--fw-semibold); margin-bottom: var(--sp-1); }
.notice h2, .notice h3, .notice h4 {
font-size: var(--fs-md);
font-weight: var(--fw-semibold);
line-height: var(--lh-normal);
color: inherit;
margin: 0 0 var(--sp-2);
}
.notice p { margin: 0; }
.notice p + p { margin-top: var(--sp-2); }
.notice a { font-weight: var(--fw-medium); text-decoration: underline; }
.notice a.btn { text-decoration: none; color: inherit; }
.notice a.btn-primary { color: var(--on-brand); }
.notice a.btn-danger { color: #fff; }
.notice a.btn-ok { color: var(--on-ok); }
.notice a.btn-secondary, .notice a.btn-ghost { color: var(--text); }
.notice-info   { background: var(--brand-50);  border-color: var(--brand-200);  color: var(--brand-800); }
.notice-info a { color: var(--brand-800); }
.notice-ok     { background: var(--ok-50);     border-color: var(--ok-200);     color: var(--ok-700); }
.notice-ok a   { color: var(--ok-700); }
.notice-warn   { background: var(--warn-50);   border-color: var(--warn-200);   color: var(--warn-700); }
.notice-warn a { color: var(--warn-700); }
.notice-error  { background: var(--danger-50); border-color: var(--danger-200); color: var(--danger-700); }
.notice-error a{ color: var(--danger-700); }
.notice-list { margin: var(--sp-2) 0 0; padding-left: var(--sp-5); line-height: var(--lh-relaxed); }
.notice-list li { margin-bottom: var(--sp-1); }
.notice-list li:last-child { margin-bottom: 0; }
.badge {
display: inline-flex; align-items: center; gap: var(--sp-1);
padding: 2px var(--sp-2);
border-radius: var(--r-full);
border: 1px solid;
font-size: var(--fs-xs);
font-weight: var(--fw-medium);
white-space: nowrap;
line-height: 1.5;
}
.badge-neutral { background: var(--surface-2);  border-color: var(--border);       color: var(--text-muted-on-tint); }
.badge-info    { background: var(--brand-50);   border-color: var(--brand-200);    color: var(--brand-800); }
.badge-ok      { background: var(--ok-50);      border-color: var(--ok-200);       color: var(--ok-700); }
.badge-warn    { background: var(--warn-50);    border-color: var(--warn-200);     color: var(--warn-700); }
.badge-danger  { background: var(--danger-50);  border-color: var(--danger-200);   color: var(--danger-700); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pill {
display: inline-flex; align-items: center; gap: var(--sp-2);
padding: var(--sp-1) var(--sp-3);
border-radius: var(--r-full);
background: var(--brand-50);
border: 1px solid var(--brand-200);
color: var(--brand-800);
font-size: var(--fs-sm);
font-weight: var(--fw-medium);
}
.form-stack { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-row   { display: flex; gap: var(--sp-3); align-items: flex-end; flex-wrap: wrap; }
.form-row .field { flex: 1 1 220px; }
.form-inline{ display: inline-flex; gap: var(--sp-2); align-items: center; }
.field { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.field > label { font-size: var(--fs-base); font-weight: var(--fw-medium); color: var(--text); }
.field .hint { margin-top: -2px; }
.checkfield label { display: flex; align-items: start; gap: var(--sp-3); cursor: pointer; line-height: var(--lh-normal); }
.checkfield input[type='checkbox'] { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand-600); cursor: pointer; }
.checkfield .hint { margin-top: var(--sp-2); }
.cf-turnstile { margin: var(--sp-1) 0; min-height: 65px; }
.input,
input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']),
select,
textarea {
width: 100%;
min-height: var(--target);
padding: var(--sp-2) var(--sp-3);
background: var(--surface);
border: 1px solid var(--border-strong);
border-radius: var(--r-md);
color: var(--text);
font-family: inherit;
font-size: var(--fs-base);
line-height: var(--lh-normal);
box-shadow: var(--shadow-xs);
transition: border-color var(--transition), box-shadow var(--transition);
}
textarea { min-height: 120px; resize: vertical; padding: var(--sp-3); }
.input:hover,
input:not([type='checkbox']):not([type='radio']):not([type='submit']):hover,
select:hover, textarea:hover { border-color: var(--gray-400); }
.input:focus,
input:not([type='checkbox']):not([type='radio']):not([type='submit']):focus,
select:focus, textarea:focus {
outline: none;
border-color: var(--brand-600);
box-shadow: var(--focus-ring);
}
input::placeholder, textarea::placeholder { color: var(--gray-400); }
input:disabled, select:disabled, textarea:disabled { background: var(--surface-2); color: var(--text-muted); cursor: not-allowed; }
select {
appearance: none;
padding-right: var(--sp-8);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236b7280' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right var(--sp-3) center;
}
select.select-sm { min-height: var(--target-compact); font-size: var(--fs-sm); padding: var(--sp-1) var(--sp-6) var(--sp-1) var(--sp-2); }
@media (pointer: coarse) { select.select-sm { min-height: var(--target); } }
.field-error .input,
.field-error input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.field-error select,
.field-error textarea {
border-color: var(--danger-600);
background-color: var(--danger-50);
}
.field-error-text { font-size: var(--fs-sm); color: var(--danger-700); font-weight: var(--fw-medium); }
.field-narrow { max-width: 220px; }
.divider { display: flex; align-items: center; gap: var(--sp-3); color: var(--text-muted); font-size: var(--fs-sm); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.table-wrap {
overflow-x: auto;
min-width: 0;
position: relative;
border: 1px solid var(--border);
border-radius: var(--r-lg);
background: var(--surface);
-webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
thead th {
position: sticky; top: 0; z-index: 1;
background: var(--surface-2);
text-align: left;
font-size: var(--fs-xs);
font-weight: var(--fw-semibold);
letter-spacing: var(--ls-eyebrow);
text-transform: uppercase;
color: var(--text-muted-on-tint);
padding: var(--sp-3) var(--sp-4);
white-space: nowrap;
border-bottom: 1px solid var(--border);
}
tbody td { padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--border); vertical-align: middle; color: var(--text-2); }
tbody tr:first-child td { border-top: 0; }
tbody tr:hover { background: var(--bg-subtle); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td .btn-sm { vertical-align: middle; }
table.cmp th[scope='row'] {
width: 38%;
font-weight: var(--fw-medium);
color: var(--text);
text-align: left;
vertical-align: top;
}
.cmp-note {
display: block;
margin-top: 2px;
font-weight: var(--fw-normal);
font-size: var(--fs-sm);
color: var(--text-muted);
}
.cmp-name { font-weight: var(--fw-bold); font-size: var(--fs-lg); }
.cmp-sub {
display: block;
margin-top: 2px;
font-weight: var(--fw-normal);
font-size: var(--fs-sm);
color: var(--text-muted-on-tint);
}
.cmp-group th {
background: var(--surface-2);
font-size: var(--fs-xs);
font-weight: var(--fw-semibold);
letter-spacing: var(--ls-eyebrow);
text-transform: uppercase;
color: var(--text-muted-on-tint);
}
.cmp-pick { background: var(--brand-50); }
table.cmp td { vertical-align: top; font-variant-numeric: tabular-nums; }
.empty-state {
text-align: center;
padding: var(--sp-12) var(--sp-6);
border: 1px dashed var(--border-strong);
border-radius: var(--r-lg);
background: var(--bg-subtle);
}
.empty-state h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.empty-state p  { color: var(--text-muted); max-width: 46ch; margin: 0 auto var(--sp-5); line-height: var(--lh-relaxed); }
.empty-state p:last-child { margin-bottom: 0; }
.endpoint-group { display: flex; flex-direction: column; gap: var(--sp-6); }
.endpoint {
border: 1px solid var(--border);
border-radius: var(--r-md);
padding: var(--sp-5) var(--sp-6);
background: var(--surface);
min-width: 0;
}
.endpoint-head { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.endpoint-path { font-family: var(--font-mono); font-size: var(--fs-base); font-weight: var(--fw-medium); overflow-wrap: anywhere; }
.endpoint-anchor { margin-left: auto; color: var(--text-muted); text-decoration: none; opacity: 0; transition: opacity 120ms ease; }
.endpoint:hover .endpoint-anchor, .endpoint-anchor:focus { opacity: 1; }
.endpoint-summary { margin-top: var(--sp-3); color: var(--text); }
.endpoint-summary + p { margin-top: var(--sp-3); line-height: var(--lh-relaxed); }
.endpoint-sub { font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); margin: var(--sp-5) 0 var(--sp-2); }
.endpoint-sample { overflow-x: auto; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: var(--sp-4); font-size: var(--fs-sm); line-height: var(--lh-normal); }
.endpoint-list { margin: 0; padding-left: var(--sp-5); color: var(--text-2); font-size: var(--fs-sm); line-height: var(--lh-relaxed); }
.endpoint-note { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-relaxed); }
.surface-list { display: flex; flex-direction: column; gap: var(--sp-5); }
.surface + .surface { border-top: 1px solid var(--border); padding-top: var(--sp-5); }
.surface-head { display: flex; align-items: baseline; gap: var(--sp-3); flex-wrap: wrap; }
.surface-meta { margin-top: var(--sp-1); display: flex; gap: var(--sp-2); flex-wrap: wrap; font-size: var(--fs-sm); color: var(--text-muted); }
.surface-note { margin-top: var(--sp-2); color: var(--text-2); line-height: var(--lh-relaxed); }
.verdict { display: inline-flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-sm); font-weight: var(--fw-semibold); white-space: nowrap; }
.verdict-yes { color: var(--ok-700); }
.verdict-no { color: var(--danger-700); }
.verdict-mark { display: inline-flex; }
.verdict-mark-yes { color: var(--ok-600); }
.verdict-mark-no { color: var(--danger-600); }
.surface-get { margin-top: var(--sp-3); }
.answer-grid {
display: grid;
gap: var(--sp-5);
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
align-items: start;
margin-bottom: var(--sp-6);
}
.answer-col { border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--sp-5); background: var(--surface); }
.answer-head { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-base); margin-bottom: var(--sp-3); }
.answer-list { list-style: none; margin: 0 0 var(--sp-3); padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); font-weight: var(--fw-medium); }
.cb-which { font-size: var(--fs-sm); white-space: nowrap; }
.endpoint-foot { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--border); font-size: var(--fs-sm); }
.endpoint-label { display: block; color: var(--text-muted); font-size: var(--fs-xs); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; margin-bottom: var(--sp-1); }
.endpoint-code { display: inline-block; margin-right: var(--sp-2); color: var(--text-2); }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 60ch; margin: var(--sp-1) 0 0; color: var(--text-2); line-height: var(--lh-normal); }
.stat-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-lg);
padding: var(--sp-4) var(--sp-5);
box-shadow: var(--shadow-xs);
}
.stat-label { font-size: var(--fs-sm); color: var(--text-muted); font-weight: var(--fw-medium); }
.stat-value { font-size: var(--fs-2xl); font-weight: var(--fw-semibold); letter-spacing: var(--ls-heading); margin: var(--sp-1) 0; font-variant-numeric: tabular-nums; }
.stat-sub   { font-size: var(--fs-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.usage-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-2); }
.usage-row > span:first-child { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--text-2); }
.usage-row > span:last-child  { font-size: var(--fs-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.usage-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.meter { background: var(--meter-track); border-radius: var(--r-full); height: 8px; overflow: hidden; }
.meter-fill { height: 100%; border-radius: var(--r-full); background: var(--meter-fill); transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1); }
.meter.warn .meter-fill { background: var(--meter-warn); }
.meter.over .meter-fill { background: var(--meter-over); }
.meter.unmeasured { opacity: 0.4; }
.w-0{width:0%}.w-1{width:1%}.w-2{width:2%}.w-3{width:3%}.w-4{width:4%}.w-5{width:5%}.w-6{width:6%}.w-7{width:7%}.w-8{width:8%}.w-9{width:9%}.w-10{width:10%}.w-11{width:11%}.w-12{width:12%}.w-13{width:13%}.w-14{width:14%}.w-15{width:15%}.w-16{width:16%}.w-17{width:17%}.w-18{width:18%}.w-19{width:19%}.w-20{width:20%}.w-21{width:21%}.w-22{width:22%}.w-23{width:23%}.w-24{width:24%}.w-25{width:25%}.w-26{width:26%}.w-27{width:27%}.w-28{width:28%}.w-29{width:29%}.w-30{width:30%}.w-31{width:31%}.w-32{width:32%}.w-33{width:33%}.w-34{width:34%}.w-35{width:35%}.w-36{width:36%}.w-37{width:37%}.w-38{width:38%}.w-39{width:39%}.w-40{width:40%}.w-41{width:41%}.w-42{width:42%}.w-43{width:43%}.w-44{width:44%}.w-45{width:45%}.w-46{width:46%}.w-47{width:47%}.w-48{width:48%}.w-49{width:49%}.w-50{width:50%}.w-51{width:51%}.w-52{width:52%}.w-53{width:53%}.w-54{width:54%}.w-55{width:55%}.w-56{width:56%}.w-57{width:57%}.w-58{width:58%}.w-59{width:59%}.w-60{width:60%}.w-61{width:61%}.w-62{width:62%}.w-63{width:63%}.w-64{width:64%}.w-65{width:65%}.w-66{width:66%}.w-67{width:67%}.w-68{width:68%}.w-69{width:69%}.w-70{width:70%}.w-71{width:71%}.w-72{width:72%}.w-73{width:73%}.w-74{width:74%}.w-75{width:75%}.w-76{width:76%}.w-77{width:77%}.w-78{width:78%}.w-79{width:79%}.w-80{width:80%}.w-81{width:81%}.w-82{width:82%}.w-83{width:83%}.w-84{width:84%}.w-85{width:85%}.w-86{width:86%}.w-87{width:87%}.w-88{width:88%}.w-89{width:89%}.w-90{width:90%}.w-91{width:91%}.w-92{width:92%}.w-93{width:93%}.w-94{width:94%}.w-95{width:95%}.w-96{width:96%}.w-97{width:97%}.w-98{width:98%}.w-99{width:99%}.w-100{width:100%}
.copybox {
display: flex; align-items: stretch;
border: 1px solid var(--border-strong);
border-radius: var(--r-md);
overflow: hidden;
background: var(--surface);
box-shadow: var(--shadow-xs);
}
.copybox code {
flex: 1; min-width: 0;
padding: var(--sp-3) var(--sp-4);
font-family: var(--font-mono); font-size: var(--fs-sm);
overflow-x: auto; white-space: nowrap;
background: none; border: 0; border-radius: 0;
color: var(--text);
}
.copybox-link { color: var(--brand-600); font-weight: var(--fw-semibold); text-decoration: none; }
.copybox-link:hover { text-decoration: underline; }
.copybtn {
flex: none;
border: 0; border-left: 1px solid var(--border);
border-radius: 0;
background: var(--surface-2);
color: var(--text-2);
padding: 0 var(--sp-4);
min-height: var(--target);
font-size: var(--fs-sm); font-weight: var(--fw-medium);
cursor: pointer; white-space: nowrap;
transition: background var(--transition), color var(--transition);
}
.copybtn:hover { background: var(--border); color: var(--text); }
.copybtn.copied { background: var(--ok-50); color: var(--ok-700); }
.copybtn-open { display: inline-flex; align-items: center; text-decoration: none; }
.copybtn-open:hover { text-decoration: none; color: var(--text); }
.copypanel {
border: 1px solid var(--border-strong);
border-radius: var(--r-lg);
background: var(--surface);
box-shadow: var(--shadow-sm);
overflow: hidden;
text-align: left;
}
.copypanel-head {
display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-4);
background: var(--surface-2);
border-bottom: 1px solid var(--border);
}
.copypanel-label {
font-size: var(--fs-sm);
font-weight: var(--fw-medium);
color: var(--text-muted-on-tint);
}
.copypanel-head .copybtn {
border: 1px solid var(--border-strong);
border-radius: var(--r-md);
background: var(--surface);
min-height: var(--target-compact);
}
@media (pointer: coarse) { .copypanel-head .copybtn { min-height: var(--target); } }
.copypanel-body {
margin: 0;
border: 0;
border-radius: 0;
background: var(--surface);
padding: var(--sp-4) var(--sp-5);
max-height: 18em;
overflow-y: auto;
white-space: pre-wrap;
word-break: break-word;
font-size: var(--fs-sm);
line-height: var(--lh-relaxed);
color: var(--text-2);
}
.copypanel-caption {
padding: var(--sp-3) var(--sp-5);
border-top: 1px solid var(--border);
background: var(--bg-subtle);
font-size: var(--fs-base);
line-height: var(--lh-normal);
color: var(--text-muted-on-tint);
}
.copypanel-caption a { text-decoration: underline; }
.copypanel-foot { padding: var(--sp-4); border-top: 1px solid var(--border); }
.code-band { background: var(--ok-50); border-bottom: 1px solid var(--ok-200); }
.code-band .wrap {
display: flex; align-items: center; gap: var(--sp-3);
min-height: 52px; padding-block: var(--sp-2); flex-wrap: wrap;
}
.cb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok-600); flex: none; }
.cb-label { font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--ok-700); flex: none; }
.cb-group { display: inline-flex; align-items: stretch; min-width: 0; }
.cb-token {
display: inline-flex; align-items: center;
padding: var(--sp-2) var(--sp-3);
font-family: var(--font-mono); font-size: var(--fs-base); line-height: 1.5;
color: var(--text); background: var(--surface);
border: 1px solid var(--ok-200); border-right: 0;
border-radius: var(--r-sm) 0 0 var(--r-sm);
white-space: nowrap;
user-select: all;
}
.cb-copy {
border-radius: 0 var(--r-sm) var(--r-sm) 0; min-height: 0; padding: 0 var(--sp-4);
flex: none; position: relative; border: 0;
background: var(--ok-600); color: var(--on-ok); font-weight: var(--fw-semibold);
}
.cb-copy:hover { background: var(--ok-700); color: var(--on-ok); }
.cb-copy.copied { background: var(--ok-700); color: var(--on-ok); }
.cb-hint { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-base); font-weight: var(--fw-medium); color: var(--ok-700); }
.cb-point { display: inline-flex; align-items: center; width: 30px; height: 14px; flex: none; }
.cb-arrow { color: var(--ok-700); opacity: 0.55; }
.cb-copy::after {
content: ''; position: absolute; inset: -3px;
border-radius: inherit; border: 2px solid var(--ok-600);
opacity: 0; animation: ring 2.6s ease-out infinite;
}
@keyframes ring {
0%, 54%   { opacity: 0; transform: scale(1); }
58%       { opacity: 0.55; transform: scale(1); }
78%, 100% { opacity: 0; transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
.cb-copy::after { animation: none; }
}
.steps { counter-reset: step; display: flex; flex-direction: column; gap: var(--sp-6); }
.step { position: relative; padding-left: 48px; counter-increment: step; }
.step::before {
content: counter(step);
position: absolute; left: 0; top: 0;
width: 32px; height: 32px;
border-radius: 50%;
background: var(--brand-600); color: var(--on-brand);
font-size: var(--fs-base); font-weight: var(--fw-semibold);
display: grid; place-items: center;
}
.step h3 { font-size: var(--fs-md); margin: var(--sp-1) 0 var(--sp-2); }
.evidence {
max-height: 24rem;
overflow: auto;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--r-md);
padding: var(--sp-3);
font-size: var(--fs-sm);
line-height: var(--lh-normal);
}
.evidence code { white-space: pre; }
.domain-setup + .domain-setup {
margin-top: var(--sp-6);
padding-top: var(--sp-6);
border-top: 1px solid var(--border);
}
.step p  { color: var(--text-muted); line-height: var(--lh-relaxed); max-width: 60ch; }
.danger-zone { border: 1px solid var(--danger-200); border-radius: var(--r-lg); background: var(--danger-50); padding: var(--sp-6); }
.danger-zone h2 { font-size: var(--fs-md); color: var(--danger-700); margin-bottom: var(--sp-2); }
.danger-zone p  { color: var(--danger-700); font-size: var(--fs-base); line-height: var(--lh-relaxed); margin-bottom: var(--sp-4); }
.auth-page { padding: var(--sp-16) 0 var(--sp-20); }
.auth-title { font-size: var(--fs-3xl); text-align: center; }
.auth-lede { text-align: center; margin: var(--sp-2) auto var(--sp-8); font-size: var(--fs-md); }
.auth-centre { text-align: center; }
.key-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.key-list li {
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--r-sm);
padding: var(--sp-1) var(--sp-3);
font-size: var(--fs-sm);
color: var(--text-muted-on-tint);
}
.error-page {
min-height: min(70vh, 520px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: var(--sp-16) 0;
}
.error-code {
display: inline-flex;
align-items: center;
font-family: var(--font-mono);
font-size: var(--fs-sm);
font-weight: var(--fw-semibold);
letter-spacing: var(--ls-eyebrow);
color: var(--brand-800);
background: var(--brand-50);
border: 1px solid var(--brand-200);
border-radius: var(--r-full);
padding: var(--sp-1) var(--sp-4);
margin-bottom: var(--sp-6);
}
.error-page h1 { font-size: var(--fs-4xl); max-width: 18ch; }
.error-detail { margin: var(--sp-4) auto var(--sp-8); text-wrap: pretty; }
.error-actions { justify-content: center; }
.admin-edit { gap: var(--sp-2); align-items: center; flex-wrap: nowrap; }
.admin-edit .field { min-width: 96px; }
.detail-cell { max-width: 380px; font-size: var(--fs-sm); }
.breaker-headline { font-size: var(--fs-md); }
.breaker-detail { font-size: var(--fs-sm); opacity: 0.85; }
.status-line {
display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap;
font-size: var(--fs-lg); color: var(--text-2);
}
.status-line b { color: var(--text); font-weight: var(--fw-semibold); }
.status-pip { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.status-pip-ok { background: var(--ok-600); }
.status-pip-warn { background: var(--warn-600); }
.site-card {
display: grid; gap: var(--sp-4);
padding: var(--sp-5) var(--sp-6);
background: var(--surface);
border: 1px solid var(--border); border-radius: var(--r-lg);
}
.site-card-attention { background: var(--warn-50); border-color: var(--warn-200); }
.site-top { display: flex; align-items: flex-start; gap: var(--sp-3); flex-wrap: wrap; }
.site-name {
font-size: var(--fs-xl); font-weight: var(--fw-bold);
letter-spacing: var(--ls-heading); color: var(--text); text-decoration: none;
}
.site-name:hover { color: var(--brand-700); text-decoration: underline; }
.site-top .badge { margin-left: auto; }
.addr-row { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.addr {
display: inline-flex; align-items: center; min-height: var(--target-inline);
font-family: var(--font-mono); font-size: var(--fs-md); font-weight: var(--fw-medium);
color: var(--brand-700); text-decoration: none;
min-width: 0; word-break: break-all;
}
a.addr:hover { text-decoration: underline; }
.addr-idle { color: var(--text-muted); }
.addr-actions { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; flex-wrap: wrap; }
.site-meta {
display: flex; gap: var(--sp-4); flex-wrap: wrap;
padding-top: var(--sp-4); border-top: 1px solid var(--border);
font-size: var(--fs-base); color: var(--text-muted);
}
.site-card-attention .site-meta { border-top-color: var(--warn-200); }
.site-meta b { color: var(--text-2); font-weight: var(--fw-medium); font-variant-numeric: tabular-nums; }
.todo {
display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-4);
align-items: center; padding: var(--sp-4) var(--sp-5);
background: var(--surface); border: 1px solid var(--warn-200); border-radius: var(--r-md);
}
.todo-i {
width: 34px; height: 34px; border-radius: 50%; flex: none;
display: grid; place-items: center;
background: var(--warn-700); color: var(--on-warn); font-weight: var(--fw-bold);
}
.todo h3 { font-size: var(--fs-md); margin-bottom: 2px; }
.todo p { font-size: var(--fs-base); color: var(--text-2); }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-5); }
.check-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.check-host { font-size: var(--fs-base); }
.check-sub { list-style: none; margin: 0; padding-left: calc(22px + var(--sp-3)); display: flex; flex-direction: column; gap: var(--sp-1); }
.check-row { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.check-mark {
width: 22px; height: 22px; border-radius: 50%; flex: none;
display: grid; place-items: center;
font-size: var(--fs-sm); font-weight: var(--fw-bold); line-height: 1;
}
.check-mark-ok     { background: var(--ok-50);     color: var(--ok-700); }
.check-mark-warn   { background: var(--warn-50);   color: var(--warn-700); }
.check-mark-danger { background: var(--danger-50); color: var(--danger-700); }
.check-note { color: var(--text-2); font-size: var(--fs-base); }
.status-chip {
display: inline-flex; align-items: center; gap: var(--sp-2);
padding: 2px var(--sp-3);
border-radius: var(--r-full);
font-size: var(--fs-sm); font-weight: var(--fw-medium);
white-space: nowrap;
}
.status-means { display: block; color: var(--text-muted); font-size: var(--fs-sm); margin-top: 2px; max-width: 44ch; }
.status-chip-ok   { background: var(--ok-50); color: var(--ok-700); }
.status-chip-down { background: var(--warn-50); color: var(--warn-700); }
.status-chip-idle { background: var(--surface-2); color: var(--text-muted); }
.status-chip-ok .status-dot   { background: var(--ok-600); }
.status-chip-down .status-dot { background: var(--warn-700); animation: none; }
.status-chip-idle .status-dot { background: var(--text-muted); animation: none; }
.site-domain { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-3); }
.site-domain-label { color: var(--text-muted); font-size: var(--fs-sm); }
.site-domain .mono { font-size: var(--fs-sm); }
.plan-line {
display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
padding: var(--sp-5) var(--sp-6);
background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
font-size: var(--fs-md); color: var(--text-2);
}
.plan-line b { color: var(--text); font-weight: var(--fw-semibold); }
.plan-fact + .plan-fact {
padding-left: var(--sp-4);
border-left: 1px solid var(--border);
}
.spacer { margin-left: auto; }
.hero { padding: var(--sp-20) 0 var(--sp-16); text-align: center; }
.hero h1 {
font-size: var(--fs-display);
line-height: 1.05;
letter-spacing: var(--ls-display);
margin: var(--sp-5) auto var(--sp-5);
max-width: 22ch;
text-wrap: balance;
}
.hero .lede { margin: 0 auto var(--sp-8); font-size: var(--fs-lg); }
.hero-cta { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { min-width: 180px; }
.hero-trust { margin: var(--sp-6) auto 0; max-width: 60ch; font-size: var(--fs-base); color: var(--text-muted); }
.hero-trust .dot { color: var(--border-strong); margin: 0 var(--sp-2); }
.hero-panel { max-width: 720px; margin: var(--sp-10) auto 0; }
.hero-more { margin-top: var(--sp-6); }
.hero-wash {
background:
radial-gradient(60% 55% at 50% -10%, var(--brand-50) 0%, transparent 70%),
linear-gradient(var(--bg), var(--bg));
border-bottom: 1px solid var(--border);
}
.sec-head { max-width: 54ch; margin-bottom: var(--sp-12); }
.sec-head.mid { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-block: var(--sp-2) var(--sp-3); }
.gets { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-10); }
.get { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; }
.get-i {
width: 42px; height: 42px; flex: none;
display: grid; place-items: center;
border-radius: var(--r-md);
background: var(--brand-50); border: 1px solid var(--brand-200);
color: var(--brand-700);
}
.get h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.get p { color: var(--text-2); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.make { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.make-top {
height: 108px; padding: var(--sp-4);
display: grid; gap: var(--sp-2); align-content: start;
background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.mk { height: 8px; border-radius: var(--r-sm); background: var(--border-strong); }
.mk-big { height: 16px; width: 60%; }
.mk-img { height: 36px; background: var(--brand-100); }
.mk-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); height: auto; background: none; }
.make-b { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.make-b h3 { font-size: var(--fs-md); margin-bottom: var(--sp-1); }
.make-b p { font-size: var(--fs-base); color: var(--text-muted); }
.make-foot { margin-top: var(--sp-10); text-align: center; color: var(--text-muted); }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-10) var(--sp-12); }
.q h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.q p { color: var(--text-2); }
.pricing { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; height: 100%; }
.plan-name  { font-size: var(--fs-md); font-weight: var(--fw-semibold); }
.plan-price { display: flex; align-items: baseline; gap: var(--sp-1); margin: var(--sp-3) 0 var(--sp-1); }
.plan-price b { font-size: var(--fs-4xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-display); }
.plan-price span { color: var(--text-muted); font-size: var(--fs-base); }
.plan-saving {
font-size: var(--fs-sm);
color: var(--ok-700);
font-weight: var(--fw-medium);
margin-top: calc(-1 * var(--sp-1));
}
.plan-tagline { color: var(--text-muted); font-size: var(--fs-base); margin-bottom: var(--sp-5); min-height: 2.6em; }
.plan-features { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.plan-features li { display: flex; gap: var(--sp-2); align-items: flex-start; font-size: var(--fs-base); color: var(--text-2); }
.plan-features li::before {
content: ''; flex: none; margin-top: 5px;
width: 12px; height: 7px;
border-left: 2px solid var(--ok-600); border-bottom: 2px solid var(--ok-600);
transform: rotate(-45deg);
}
.plan-badge {
position: absolute; top: calc(-1 * var(--sp-3)); left: 50%; transform: translateX(-50%);
background: var(--brand-600); color: var(--on-brand);
font-size: var(--fs-xs); font-weight: var(--fw-semibold);
letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
padding: var(--sp-1) var(--sp-3); border-radius: var(--r-full);
white-space: nowrap;
}
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
cursor: pointer; list-style: none;
padding: var(--sp-5) var(--sp-8) var(--sp-5) 0;
font-size: var(--fs-md); font-weight: var(--fw-medium); color: var(--text);
position: relative; min-height: var(--target);
display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
content: ''; position: absolute; right: var(--sp-2); top: 50%;
width: 9px; height: 9px;
border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
transform: translateY(-70%) rotate(45deg);
transition: transform var(--transition);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer {
padding: 0 var(--sp-8) var(--sp-5) 0;
color: var(--text-muted);
font-size: var(--fs-md);
line-height: var(--lh-relaxed);
max-width: 66ch;
}
.faq-answer p + p { margin-top: var(--sp-3); }
.faq-group + .faq-group { margin-top: var(--sp-12); }
.faq-group > h2 { scroll-margin-top: calc(var(--header-h) + var(--sp-6)); }
.cta-band { background: var(--brand-50); border-block: 1px solid var(--brand-200); padding: var(--sp-16) 0; text-align: center; }
.cta-band h2 { font-size: var(--fs-3xl); margin-bottom: var(--sp-3); }
.cta-band p { color: var(--text-2); margin-bottom: var(--sp-6); font-size: var(--fs-lg); }
.cta-dark { background: var(--gray-950); border-block-color: var(--gray-950); }
.cta-dark h2 { color: var(--on-dark); }
.cta-dark p { color: var(--on-dark-muted); }
.cta-dark .eyebrow { color: var(--brand-on-dark); }
.cta-dark .btn-primary { background: var(--on-dark); color: var(--gray-950); border-color: var(--on-dark); }
.cta-dark .btn-primary:hover { background: var(--gray-200); color: var(--gray-950); border-color: var(--gray-200); }
.cta-dark .btn-secondary { background: transparent; color: var(--on-dark); border-color: var(--gray-500); }
.cta-dark .btn-secondary:hover { background: var(--gray-900); color: var(--on-dark); border-color: var(--gray-400); }
.cta-band-actions { display: flex; justify-content: center; gap: var(--sp-3); flex-wrap: wrap; }
.docs-layout { display: block; }
.docs-toc { margin-bottom: var(--sp-8); }
.docs-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.docs-toc a { display: block; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md); font-size: var(--fs-base); color: var(--text-muted); }
.docs-toc a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
@media (min-width: 640px) {
.wrap { padding-left: var(--sp-6); padding-right: var(--sp-6); }
.hero { padding: var(--sp-24) 0 var(--sp-20); }
.page-header { padding: var(--sp-10) 0 var(--sp-6); }
}
@media (min-width: 768px) {
.page-header .between { flex-wrap: nowrap; }
.form-row { flex-wrap: nowrap; }
}
@media (max-width: 1023px) {
.footer-cols { grid-template-columns: repeat(3, 1fr); }
.footer-brand { grid-column: 1 / -1; }
.grid-4 { grid-template-columns: 1fr 1fr; }
.wrap-article { max-width: var(--container-prose); }
}
@media (min-width: 1024px) {
.docs-layout {
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
gap: var(--sp-12);
align-items: start;
}
.docs-toc {
position: sticky;
top: calc(var(--header-h) + var(--sp-6));
margin-bottom: 0;
}
.docs-toc > summary { display: none; }
.docs-toc[open] > ul, .docs-toc > ul { display: flex; }
}
@media (max-width: 767px) {
.page-header-actions { width: 100%; }
.page-header-actions .btn { flex: 1; }
thead th, tbody td { padding: var(--sp-3); }
.hero-cta { flex-direction: column; }
.hero-cta .btn { width: 100%; }
.gets, .qa, .grid-4 { grid-template-columns: 1fr; }
.gets, .qa { gap: var(--sp-8); }
.sec-head { margin-bottom: var(--sp-8); }
.cta-band-actions { flex-direction: column; }
.cta-band-actions .btn { width: 100%; }
.plan-tagline { min-height: 0; }
.stat-grid, .usage-grid { grid-template-columns: 1fr 1fr; }
.cb-group { flex: 1 1 100%; }
.cb-token { flex: 1; white-space: normal; word-break: break-all; }
.cb-hint { flex: 1 1 100%; }
.cb-point { display: none; }
.footer-cols { grid-template-columns: 1fr 1fr; }
.footer-bottom { display: block; }
.footer-note { margin-left: 0; text-align: left; margin-top: var(--sp-2); }
.addr-actions { margin-left: 0; width: 100%; }
.site-card { padding: var(--sp-4); }
.todo { grid-template-columns: auto 1fr; align-items: start; }
.todo .btn { grid-column: 1 / -1; width: 100%; }
.plan-line { display: grid; justify-items: start; gap: var(--sp-2); }
.plan-fact + .plan-fact { padding-left: 0; border-left: 0; }
.plan-line .spacer { display: none; }
.plan-line .btn { margin-top: var(--sp-2); }
}
@media (min-width: 640px) {
.nav-checkbox, .nav-toggle { display: none; }
nav.site-nav { display: flex; position: static; }
}
@media (min-width: 640px) and (max-width: 767px) {
nav.site-nav a.nav-secondary { display: none; }
nav.site-nav a:not(.btn) { padding-left: var(--sp-2); padding-right: var(--sp-2); }
nav.site-nav .sep { margin: 0 var(--sp-1); }
header.site > .wrap { padding-left: var(--sp-3); padding-right: var(--sp-3); }
}
@media (max-width: 639px) {
.nav-toggle { display: flex; }
nav.site-nav { display: none; }
.nav-checkbox:checked ~ nav.site-nav { display: flex; }
nav.site-nav {
position: absolute;
top: calc(100% + var(--sp-2));
right: 0;
z-index: 30;
flex-direction: column;
align-items: stretch;
gap: 2px;
min-width: 208px;
padding: var(--sp-2);
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-lg);
box-shadow: var(--shadow-lg);
}
nav.site-nav a { padding: var(--sp-3); }
nav.site-nav .sep {
width: auto;
height: 1px;
margin: var(--sp-1) 0;
}
nav.site-nav form { width: 100%; }
nav.site-nav form .btn { width: 100%; justify-content: flex-start; padding: var(--sp-3); }
}
@media (max-width: 559px) {
.stat-grid, .usage-grid { grid-template-columns: 1fr; }
.card { padding: var(--sp-5); }
.card-lg { padding: var(--sp-5); }
.copybox code { font-size: var(--fs-xs); }
}