/* signo's website: home, trust, privacy and docs. Fonts are served by signo itself (OFL-1.1, from Fontsource). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/static/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/static/fonts/inter-latin.woff2") format("woff2"); 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: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/static/fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/static/fonts/jetbrains-mono-latin.woff2") format("woff2"); 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; }

:root {
  color-scheme: light;
  --ink: #0E1411; --ink-2: #2C3530; --muted: #4C5751; --muted-2: #5B6660; --faint: #6A746E;
  --line: #E5E8E3; --line-2: #EEF0EC; --line-3: #D9DDD7;
  --paper: #FAFAF7; --card: #FFFFFF; --tint: #F1F3EF;
  --accent: #2D6A4F; --accent-ink: #1F4D39; --accent-tint: #E7F1EA;
  --amber-ink: #7A4B00; --amber-tint: #FFF1D6;
  --danger: #B42318; --danger-tint: #FFF7F5; --danger-line: #F1C9C4;
  --night: #0B0F0D; --night-2: #0E1411; --night-card: #111714; --night-3: #121815;
  --night-line: #1E2622; --night-line-2: #26302B; --night-line-3: #3A4A42;
  --night-text: #E9EEEA; --night-muted: #A9B4AE; --night-faint: #8B968F;
  --mint: #8FD3AE; --mint-2: #9FD8B9; --sand: #F2C38B; --amber-night: #F5C46B;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --grid-light: linear-gradient(#ECEEE9 1px, transparent 1px), linear-gradient(90deg, #ECEEE9 1px, transparent 1px);
  --grid-dark: linear-gradient(#141B17 1px, transparent 1px), linear-gradient(90deg, #141B17 1px, transparent 1px);
}

* { box-sizing: border-box; }
/* Class rules such as .btn set display, which would otherwise override the hidden attribute. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body.site { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.site a { color: var(--accent); }
.site a:hover { color: var(--accent-ink); }
.site code, .site pre, .mono { font-family: var(--mono); }
.site :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.site h1, .site h2, .site h3 { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 10; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: #fff !important; }
.skip:focus { top: 12px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

/* Labels and tags */
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; line-height: 1.6; vertical-align: middle; white-space: nowrap; }
.tag-soon { background: var(--amber-tint); color: var(--amber-ink); }
.tag-live { background: var(--accent-tint); color: var(--accent-ink); }
.tag-night { background: #1C2A23; color: var(--mint); }
.status { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; white-space: nowrap; }
.status-live { color: var(--accent-ink); }
.status-soon { color: var(--amber-ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.site .btn-dark { background: var(--ink); color: #fff; }
.site .btn-dark:hover { background: #1F2925; color: #fff; }
.site .btn-light { background: var(--card); border-color: var(--line-3); color: var(--ink); }
.site .btn-light:hover { border-color: #B7BFB9; color: var(--ink); }
.site .btn-dashed { background: transparent; border: 1px dashed #B7BFB9; color: var(--ink-2); }
.site .btn-white { background: #fff; color: var(--ink); }
.site .btn-white:hover { background: #E9EEEA; color: var(--ink); }
.site .btn-outline-night { background: transparent; border-color: var(--night-line-3); color: var(--night-text); }
.site .btn-outline-night:hover { border-color: #5A6B62; color: #fff; }
.btn svg { flex: none; }

/* Header */
.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.site .logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; }
.nav-main { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; font-weight: 500; }
.site .nav-main a { color: var(--ink-2); text-decoration: none; }
.site .nav-main a:hover { color: var(--ink); }
.site .nav-main a[aria-current] { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.site .header-link { padding: 9px 10px; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.view-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--line-2); border: 1px solid var(--line); }
.site .view-switch a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; color: var(--ink-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.site .view-switch a[aria-current] { background: var(--ink); color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 48px; }
.footer-about { flex: 1 1 260px; }
.footer-about p { margin: 12px 0 0; max-width: 30em; font-size: 14px; color: var(--muted); }
.footer-grid nav { flex: 0 1 170px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-grid nav span { font-size: 13px; font-weight: 700; }
.site .footer-grid nav a { color: var(--muted); text-decoration: none; }
.site .footer-grid nav a:hover { color: var(--ink); }

/* Home: hero and demo */
.hero { padding: 56px 0 88px; text-align: center; background-image: var(--grid-light); background-size: 56px 56px; background-position: center top; }
.site .pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(14, 20, 17, 0.05); color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; }
.hero h1 { margin: 28px auto 0; max-width: 15ch; font-size: clamp(42px, 7vw, 86px); line-height: 0.98; letter-spacing: -0.05em; font-weight: 700; }
.lead { margin: 26px auto 0; max-width: 40em; font-size: 19px; line-height: 1.55; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

.demo { margin: 64px auto 0; max-width: 1180px; }
.demo-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(14, 20, 17, 0.05); }
.demo-tabs label { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
#demo-person:checked ~ .demo-tabs [for="demo-person"],
#demo-agent:checked ~ .demo-tabs [for="demo-agent"],
#demo-dev:checked ~ .demo-tabs [for="demo-dev"] { background: var(--ink); color: #fff; }
#demo-person:focus-visible ~ .demo-tabs [for="demo-person"],
#demo-agent:focus-visible ~ .demo-tabs [for="demo-agent"],
#demo-dev:focus-visible ~ .demo-tabs [for="demo-dev"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.demo-frame { margin-top: 22px; border-radius: 24px; background: var(--tint); border: 1px solid var(--line); overflow: hidden; text-align: left; box-shadow: 0 40px 80px -40px rgba(14, 20, 17, 0.35); }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.demo-bar .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--line-3); }
.demo-bar .address { margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.demo-body { display: flex; align-items: stretch; min-height: 520px; }
.demo-ghost { flex: 1 1 150px; padding: 28px; opacity: 0.45; display: flex; flex-direction: column; gap: 14px; }
.demo-ghost i { display: block; height: 10px; border-radius: 6px; background: #E2E5E0; }
.demo-ghost i.big { height: 110px; border-radius: 14px; background: #E6E9E4; }
.demo-center { flex: 0 1 880px; min-width: 0; padding: 36px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.demo-panel { display: none; width: 100%; flex-direction: column; align-items: center; gap: 18px; }
#demo-person:checked ~ .demo-frame .panel-person,
#demo-agent:checked ~ .demo-frame .panel-agent,
#demo-dev:checked ~ .demo-frame .panel-dev { display: flex; }
.demo-cards { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 18px; width: 100%; }
.demo-caption { margin: 0; max-width: 46em; font-size: 14px; color: var(--muted); text-align: center; }

.mock { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(14, 20, 17, 0.35); padding: 26px; text-align: left; font-size: 14px; }
.mock h3 { margin: 14px 0 0; font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
.mock-site { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--accent-tint); color: var(--accent); font-weight: 700; font-size: 12px; }
.badge-lg { width: 44px; height: 44px; border-radius: 12px; font-size: 15px; }
.badge-ink { background: #13201A; color: #fff; }
.badge-round { border-radius: 999px; }
.mock-button { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; padding: 13px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.mock-button.light { margin-top: 0; background: var(--card); border: 1px solid var(--line-3); color: var(--ink); }
.mock-field { margin-top: 6px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line-3); font-size: 15px; color: #8A938D; }
.mock-label { display: block; margin-top: 16px; font-size: 13px; font-weight: 600; }
.mock-or { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.mock-foot { margin: 16px 0 0; text-align: center; font-size: 12px; color: var(--faint); }
.mock-head { display: flex; align-items: center; gap: 12px; }
.mock-head p { margin: 0; }
.mock-head strong { display: block; font-size: 15px; }
.mock-head p span { font-size: 13px; color: var(--muted); }
.mock-section { margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.mock-rows { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mock-rows > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.mock-rows > div:last-child { border-bottom: 0; }
.mock-rows .k { color: var(--muted); }
.mock-rows .ok { font-size: 12px; font-weight: 600; color: var(--accent-ink); }
.mock-rows .no { font-size: 12px; font-weight: 600; color: var(--danger); }
.mock-rows .blocked { background: var(--danger-tint); }
.mock-rows .time { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mock-rows > .mock-perm { justify-content: flex-start; gap: 10px; padding: 11px 14px; }
.mock-perm:last-child { border-bottom: 0; }
.mock-perm .box { flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 4px; background: var(--ink); }
.mock-perm .box.off { background: none; border: 1.5px solid #B7BFB9; }
.mock-perm small { display: block; font-size: 13px; color: var(--muted); }
.mock-actions { display: flex; gap: 10px; margin-top: 16px; }
.mock-actions .mock-button { flex: 1; margin: 0; }
.mock-stop { margin-top: 14px; padding: 11px; border-radius: 12px; border: 1px solid var(--danger-line); color: var(--danger); font-weight: 600; text-align: center; }
.verified { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-ink); font-weight: 600; font-size: 12px; }
.prompt-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: left; box-shadow: 0 24px 50px -24px rgba(14, 20, 17, 0.25); }
.prompt-card p.prompt { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.prompt-card .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Code panels (dark) */
.code-panel { min-width: 0; border-radius: 16px; background: var(--night-2); border: 1px solid var(--night-line-2); overflow: hidden; color: var(--night-text); }
.code-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 10px 16px; border-bottom: 1px solid var(--night-line); font-family: var(--mono); font-size: 12px; color: var(--night-muted); }
.code-panel pre { margin: 0; padding: 16px 18px; font-size: 13px; line-height: 1.75; color: var(--night-text); white-space: pre; overflow-x: auto; }
.code-panel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--night-line); font-size: 13px; color: #9DA8A2; }
.code-panel .title { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--night-line); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--night-muted); }
.code-panel .body { margin: 0; padding: 14px 16px; font-size: 14px; color: var(--night-muted); }
.c-key { color: var(--mint-2); }
.c-str { color: var(--sand); }
.c-mute { color: #7E8A84; }
.c-ok { color: var(--mint); }
.copy-btn { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--night-line-3); background: transparent; color: var(--mint); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.copy-btn:hover { border-color: var(--mint); }

/* Home: sections */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 34px; padding-top: 22px; padding-bottom: 22px; font-size: 15px; font-weight: 500; color: var(--muted); }
.strip strong { font-size: 13px; letter-spacing: 0.06em; color: var(--ink); }
.section { padding: 112px 0; }
.section h2 { margin: 14px 0 0; max-width: 20ch; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.section .intro { margin: 20px 0 0; max-width: 40em; font-size: 18px; color: var(--muted); }
.night { background-color: var(--night); color: var(--night-text); background-image: var(--grid-dark); background-size: 56px 56px; }
.night .eyebrow { color: var(--mint); }
.night .intro { color: var(--night-muted); }
.site .night a:not(.btn) { color: var(--mint); }
.flow { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: stretch; }
.flow-step { flex: 1 1 200px; min-width: 0; padding: 22px; border: 1px solid var(--night-line-2); border-radius: 16px; background: var(--night-card); }
.flow-step.signo { border-color: var(--accent); background: #0F1A15; box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.18); }
.flow-step p { margin: 0; }
.flow-step .who { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--night-faint); }
.flow-step.signo .who { color: var(--mint); }
.flow-step strong { display: block; margin-top: 8px; font-size: 17px; }
.flow-step span { display: block; margin-top: 6px; font-size: 14px; color: var(--night-muted); }
.flow-link { flex: 0 1 64px; min-width: 32px; display: flex; align-items: center; }
.flow-link::before { content: ""; width: 100%; border-top: 1.5px dashed var(--night-line-3); }
.cards { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.night-card { padding: 22px; border: 1px solid var(--night-line-2); border-radius: 16px; background: var(--night-card); }
.night-card .std { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--mint); }
.night-card strong { display: block; margin-top: 10px; }
.night-card p { margin: 6px 0 0; font-size: 15px; color: var(--night-muted); }
.night-card .code { display: inline-block; margin-top: 14px; padding: 8px 14px; border-radius: 10px; background: var(--night); border: 1px solid var(--night-line-2); font-family: var(--mono); font-size: 18px; letter-spacing: 0.12em; color: var(--night-text); }
.feature-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.feature { min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.feature h3 { margin: 0; font-size: 19px; letter-spacing: -0.02em; }
.feature p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.feature .visual { min-height: 132px; padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: center; gap: 8px; font-size: 14px; }
.feature .visual.domains { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.feature .visual.log { padding: 16px 14px; background: var(--night-2); border: 0; font-family: var(--mono); font-size: 10px; line-height: 1.8; color: #9DA8A2; white-space: pre; overflow-x: auto; display: block; }
.feature .visual.log .c-ok { display: block; margin-top: 4px; }
.domain { padding: 8px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
.domain.fake { background: var(--danger-tint); border-color: var(--danger-line); color: var(--danger); text-decoration: line-through; }
.visual .row { display: flex; justify-content: space-between; gap: 12px; }
.visual .row b { color: var(--accent-ink); font-weight: 600; }
.visual .row.never { color: var(--faint); }
.small-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.small-card { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.small-card .std { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.small-card strong { display: block; margin-top: 8px; }
.small-card p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.more { margin: 28px 0 0; font-weight: 600; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.steps { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: baseline; }
.steps .n { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.steps span span { color: var(--muted); }
.white-band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta { text-align: center; }
.cta h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(38px, 5.4vw, 70px); line-height: 1; letter-spacing: -0.05em; }
.cta .intro { margin-left: auto; margin-right: auto; max-width: 34em; }
.cta .actions { margin-top: 36px; }

/* Page heads (trust, privacy) */
.page-head { padding: 48px 0 0; }
.page-head h1 { margin: 12px 0 0; font-size: clamp(36px, 4.6vw, 52px); line-height: 1.02; letter-spacing: -0.045em; }
.page-head .intro { margin: 14px 0 0; max-width: 42em; font-size: 18px; color: var(--muted); }

/* Trust page */
.trust { padding-bottom: 80px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 32px; }
.fact { padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.fact p { margin: 0; }
.fact .k { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.fact .v { margin-top: 6px; font-size: 17px; font-weight: 600; }
.fact .s { margin-top: 2px; font-size: 13px; color: var(--muted); }
.columns { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 40px; }
.columns > .wide { flex: 999 1 560px; min-width: 0; }
.columns > .narrow { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.panel { border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.panel h2 { margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line-2); font-size: 17px; letter-spacing: -0.01em; }
.panel .rows > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 11px 20px; border-bottom: 1px solid #F1F3EF; }
.panel .rows > div:last-child { border-bottom: 0; }
.panel .rows.tight > div { padding-top: 9px; padding-bottom: 9px; font-size: 14px; }
.panel .rows code { font-size: 12px; color: var(--muted-2); }
.panel .rows .num { font-family: var(--mono); font-size: 13px; }
.panel .body { padding: 14px 20px; font-size: 14px; color: var(--muted); }
.panel .body > :first-child { margin-top: 0; }
.panel .body > :last-child { margin-bottom: 0; }
.panel .body ul { margin: 0; padding-left: 18px; }
.panel .body li + li { margin-top: 6px; }
.panel .body strong { color: var(--ink); }
.panel .note { margin: 0; padding: 12px 20px; border-top: 1px solid #F1F3EF; font-size: 13.5px; color: var(--muted); }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; gap: 16px; margin-top: 20px; }
.checks { margin: 0; padding: 0 20px 18px; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.checks li { display: flex; gap: 10px; }
.checks svg { flex: none; margin-top: 3px; }
.report { padding: 18px 20px; border-radius: 18px; background: var(--night-2); color: var(--night-text); scroll-margin-top: 24px; }
.report h2 { margin: 0 0 8px; font-size: 17px; }
.report p { margin: 0; font-size: 14px; color: var(--night-muted); }
.report .contact { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--night-3); border: 1px solid var(--night-line); font-family: var(--mono); font-size: 13px; color: var(--night-text); overflow-wrap: anywhere; }
.site .report a { color: var(--mint); }

/* Docs */
.docs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.docs-nav { flex: 1 1 200px; max-width: 230px; padding: 28px 0; display: flex; flex-direction: column; gap: 20px; font-size: 14px; }
.docs-nav div { display: flex; flex-direction: column; gap: 2px; }
.docs-nav .label { margin: 0; padding: 0 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.site .docs-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.site .docs-nav a:hover { background: var(--line-2); color: var(--ink); }
.site .docs-nav a[aria-current] { background: var(--card); box-shadow: 0 1px 2px rgba(14, 20, 17, 0.07); color: var(--ink); font-weight: 600; }
.docs-nav .status { font-size: 10.5px; }
.docs-main { flex: 999 1 560px; min-width: 0; max-width: 740px; padding: 36px 0 80px; }
.crumb { margin: 0; font-size: 14px; color: var(--muted-2); }
.site .crumb a { color: var(--muted-2); text-decoration: none; }
.docs-main h1 { margin: 8px 0 0; font-size: clamp(32px, 4vw, 42px); line-height: 1.08; letter-spacing: -0.045em; }
.doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.site .chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid #E0E3DE; background: var(--card); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.site .chip:hover { border-color: #B7BFB9; color: var(--ink); }
.site .doc-actions .edit { margin-left: auto; font-size: 13px; color: var(--muted); }
.docs-toc { flex: 1 1 200px; max-width: 220px; padding: 40px 0; display: flex; flex-direction: column; gap: 18px; font-size: 13px; position: sticky; top: 0; }
.docs-toc > div { display: flex; flex-direction: column; gap: 6px; }
.docs-toc .k { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.site .docs-toc a { color: var(--muted); text-decoration: none; }
.site .docs-toc a:hover { color: var(--ink); }
.docs-toc .agents { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.docs-toc .agents a { font-family: var(--mono); font-size: 12px; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.site .pager a { color: var(--muted); text-decoration: none; }
.pager strong { color: var(--ink); }

/* Prose: rendered Markdown (docs and privacy) */
.prose { color: var(--ink-2); }
.prose h2 { margin: 40px 0 0; font-size: 23px; line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); scroll-margin-top: 24px; }
.prose h3 { margin: 28px 0 0; font-size: 18px; letter-spacing: -0.015em; color: var(--ink); scroll-margin-top: 24px; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 14px 0 0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li > p { margin: 6px 0 0; }
.prose strong { color: var(--ink); }
.prose :not(pre) > code { padding: 1px 6px; border-radius: 6px; background: var(--line-2); font-size: 0.86em; color: var(--ink); overflow-wrap: anywhere; }
.prose pre { position: relative; margin: 16px 0 0; padding: 16px 72px 16px 18px; border-radius: 14px; background: var(--night-2); color: var(--night-text); font-size: 13px; line-height: 1.7; overflow-x: auto; }
.prose pre code { font-size: inherit; }
.prose pre .add { color: var(--mint); }
.prose pre .del { color: #F2A29B; }
.prose pre .hunk { color: #7E8A84; }
.prose .copy-btn { position: absolute; top: 10px; right: 10px; padding: 4px 10px; font-size: 12px; background: var(--night-2); }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-size: 13px; color: var(--ink); background: var(--tint); }
.prose blockquote { padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: #F1F6F2; color: #1F3A2D; }
.prose blockquote > :first-child { margin-top: 0; }
.prose hr { margin: 32px 0; border: 0; border-top: 1px solid var(--line); }
.prose-page { max-width: 760px; padding-bottom: 80px; }
.prose-page .prose { margin-top: 28px; }

/* Agent view */
.agent-view { min-height: 70vh; padding: 32px 0 80px; background-color: var(--night); color: var(--night-text); background-image: var(--grid-dark); background-size: 56px 56px; }
.agent-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 18px; border-radius: 14px; background: var(--night-3); border: 1px solid var(--night-line-2); }
.agent-bar p { margin: 0; font-size: 14px; color: var(--night-muted); }
.agent-bar code { font-size: 13px; color: var(--night-text); }
.site .agent-bar a { color: var(--night-text); }
.agent-bar .buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.agent-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; align-items: flex-start; }
.agent-grid > .code-panel { flex: 999 1 600px; }
.agent-grid aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
pre.md { padding: 22px 24px 28px; font-size: 13.5px; line-height: 1.8; color: #D4DCD7; white-space: pre-wrap; overflow-wrap: anywhere; }
pre.md .md-h { color: #fff; font-weight: 700; }
pre.md .md-code { color: var(--sand); }
pre.md .md-mute { color: #7E8A84; }
.lines { margin: 0; padding: 14px 16px; font-family: var(--mono); font-size: 12px; line-height: 1.8; color: #D4DCD7; }

@media (max-width: 1000px) {
  .demo-ghost { display: none; }
  .docs-toc { display: none; }
}
@media (max-width: 860px) {
  .docs { gap: 0; }
  .docs-nav { order: 2; max-width: none; flex-basis: 100%; padding-top: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .docs-main { padding-bottom: 40px; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header .wrap { column-gap: 10px; }
  .header-actions { display: contents; }
  .site-header .logo { order: 1; }
  .site-header .btn-dark { order: 2; padding: 9px 14px; }
  .nav-main { order: 3; gap: 6px 14px; }
  .view-switch { order: 4; }
  .site .header-link { display: none; }
  .site .view-switch a { padding: 6px 10px; font-size: 12px; }
  .demo-tabs { border-radius: 22px; }
  .demo-tabs label { padding: 7px 12px; font-size: 13px; }
  .hero { padding-top: 40px; padding-bottom: 56px; }
  .lead { font-size: 17px; }
  .section { padding: 72px 0; }
  .demo { margin-top: 44px; }
  .demo-center { padding: 24px 12px; }
  .flow-link { flex-basis: 100%; height: 16px; }
  .flow-link::before { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .doc-actions .edit { margin-left: 0; }
}

/* Sign-in, consent and the other one-card pages */
body.auth { min-height: 100vh; background-color: var(--paper); background-image: radial-gradient(#E3E6E1 1px, transparent 1px); background-size: 22px 22px; }
.auth-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; }
.site .auth-header .logo { font-size: 16px; }
.auth-main { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 28px 16px 56px; }
.card { width: 100%; max-width: 420px; padding: 32px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(14, 20, 17, 0.3); }
.card h1 { margin: 16px 0 0; font-size: 26px; line-height: 1.2; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.card h1:first-child { margin-top: 0; }
.sub { margin: 8px 0 0; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.small { margin: 14px 0 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.note { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-3); font-size: 14px; color: var(--muted); }
.site-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 4px 12px 4px 4px; border-radius: 999px; background: #F4F5F1; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 12px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--ink); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
.site .button { background: var(--ink); color: #fff; }
.site .button:hover { background: #1F2925; color: #fff; }
.site .button.secondary { background: var(--card); border-color: var(--line-3); color: var(--ink); }
.site .button.secondary:hover { border-color: #B7BFB9; color: var(--ink); }
.site .button.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.site .button.secondary.danger { background: var(--card); border-color: var(--danger-line); color: var(--danger); }
.or { display: flex; align-items: center; gap: 12px; margin: 20px 0 4px; font-size: 12px; color: var(--faint); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, form.inline input { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--line-3); background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 400; }
.field textarea { resize: vertical; font-family: var(--mono); font-size: 13px; }
.field input:focus, .field textarea:focus, form.inline input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input[readonly] { background: var(--paper); font-family: var(--mono); font-size: 13px; }
.error { margin: 12px 0 0; font-size: 14px; color: var(--danger); }
.error:empty { display: none; }
.below { margin: 0; max-width: 420px; text-align: center; font-size: 13px; color: var(--muted); }
.help { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; }
.site .help a { color: var(--muted); }
.pair { display: flex; align-items: center; gap: 10px; }
.pair .dots { width: 34px; border-top: 2px dotted #B7BFB9; }
.receives { margin: 14px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; }
.receives li { padding: 10px 14px; border-bottom: 1px solid var(--line-2); overflow-wrap: anywhere; }
.receives li:last-child { border-bottom: 0; color: var(--muted); }
.choices { display: flex; gap: 10px; margin-top: 16px; }
.choices form { flex: 1; }
.choices .button { margin-top: 0; }
body.auth.agent { background-color: var(--night); background-image: var(--grid-dark); background-size: 56px 56px; color: var(--night-text); }
.site.agent .auth-header .logo { color: var(--night-text); }
.agent .view-switch { background: var(--night-3); border-color: var(--night-line-2); }
.agent .view-switch a:not([aria-current]) { color: var(--night-muted); }
.agent .view-switch a[aria-current] { background: #fff; color: var(--ink); }
.auth-agent { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; max-width: 1080px; margin: 0 auto; padding: 24px 24px 64px; }
.auth-agent > section { flex: 1 1 420px; }
.agent-note { padding: 26px 28px; }
.agent-note h1 { margin: 14px 0 0; font-size: 26px; letter-spacing: -0.03em; }
.agent-note p { margin: 10px 0 0; color: var(--night-muted); }
.agent-note p:first-child { margin-top: 0; }
.site .agent-note a { color: var(--mint); }

/* The console: account and sites */
body.console { background: var(--paper); }
.console-shell { display: flex; min-height: 100vh; }
.console-side { position: sticky; top: 0; flex: 0 0 248px; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; padding: 18px 14px; border-right: 1px solid var(--line); background: #F4F5F1; }
.site .console-side .logo { padding: 4px 8px; font-size: 17px; }
.console-tag { padding: 1px 8px; border-radius: 999px; border: 1px solid #E0E3DE; font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.console-side nav { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.console-side .label { margin: 0; padding: 0 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.site .console-side nav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.site .console-side nav a:hover { background: var(--line-2); color: var(--ink); }
.site .console-side nav a[aria-current] { background: var(--card); box-shadow: 0 1px 2px rgba(14, 20, 17, 0.06); color: var(--ink); font-weight: 600; }
.badge-plus { background: transparent; border: 1px dashed #B7BFB9; color: var(--muted); }
.console-user { display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding: 10px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.console-side .console-about { flex-direction: row; gap: 14px; margin-top: -14px; padding: 0 10px; font-size: 13px; }
.site .console-side .console-about a { padding: 0; color: var(--muted); text-decoration: underline; }
.console-main { flex: 1; min-width: 0; max-width: 1180px; padding: 28px 32px 64px; }
.console-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.console-head h1 { margin: 4px 0 0; font-size: 30px; line-height: 1.15; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.site-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.site-title h1 { margin: 0; }
.console-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; gap: 16px; }
.console-grid.two { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.console-main > .panel + .panel { margin-top: 16px; }
.panel .body p { margin: 0 0 12px; }
.panel .body .button { margin-top: 0; }
.panel .body .button + .button { margin-top: 10px; }
.panel .body .copy-field + .button { margin-top: 16px; }
.panel .body .field:first-child { margin-top: 0; }
.panel .body form > .button { margin-top: 16px; }
.panel h2 .tag { margin-left: 6px; }
.panel h2 + .checks { padding-top: 14px; }
form.inline { display: flex; gap: 8px; align-items: center; }
.panel form.inline .button { width: auto; margin: 0; white-space: nowrap; }
.list { margin: 0 0 12px; padding: 0; list-style: none; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
button.link { padding: 0; border: 0; background: none; color: var(--danger); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.site-list { margin: 0; padding: 0; list-style: none; }
.site-list li { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.site-list li:last-child { border-bottom: 0; }
.site .site-list a { color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.site-list small { display: block; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.hint { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.panel .body .hint p { margin: 0 0 6px; }
.hint ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.hint li { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.hint li span { min-width: 130px; color: var(--ink-2); }
.hint code { font-size: 12px; overflow-wrap: anywhere; }
.copy-field { display: flex; align-items: flex-end; gap: 8px; margin-top: 14px; }
.copy-field:first-child { margin-top: 0; }
.copy-field .field { flex: 1; min-width: 0; margin-top: 0; }
.copy-field .chip { margin-bottom: 5px; }
.panel .body .field-like { margin: 18px 0 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.fw-tabs { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; padding: 4px; border-radius: 12px; background: var(--line-2); }
.fw-tabs label { padding: 6px 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.fw-panel { display: none; flex-direction: column; gap: 12px; margin-top: 12px; }
.fw-panel .code-panel pre { font-size: 12.5px; }
.panel .body .fw-panel .small { margin: 0; }
#fw-signo-js:checked ~ .fw-tabs [for="fw-signo-js"],
#fw-authjs:checked ~ .fw-tabs [for="fw-authjs"],
#fw-better-auth:checked ~ .fw-tabs [for="fw-better-auth"],
#fw-supabase:checked ~ .fw-tabs [for="fw-supabase"],
#fw-oidc:checked ~ .fw-tabs [for="fw-oidc"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 20, 17, 0.08); }
#fw-signo-js:focus-visible ~ .fw-tabs [for="fw-signo-js"],
#fw-authjs:focus-visible ~ .fw-tabs [for="fw-authjs"],
#fw-better-auth:focus-visible ~ .fw-tabs [for="fw-better-auth"],
#fw-supabase:focus-visible ~ .fw-tabs [for="fw-supabase"],
#fw-oidc:focus-visible ~ .fw-tabs [for="fw-oidc"] { outline: 2px solid var(--accent); outline-offset: 2px; }
#fw-signo-js:checked ~ .fw-signo-js,
#fw-authjs:checked ~ .fw-authjs,
#fw-better-auth:checked ~ .fw-better-auth,
#fw-supabase:checked ~ .fw-supabase,
#fw-oidc:checked ~ .fw-oidc { display: flex; }
.check { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--accent); }
.urls { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.urls code { font-size: 13px; overflow-wrap: anywhere; }
.checks .dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 999px; border: 1.5px solid #B7BFB9; }
.checks .dot.ok { background: var(--accent); border-color: var(--accent); }
.big { margin-right: 4px; font-size: 28px; letter-spacing: -0.03em; }
.narrow-panel { max-width: 640px; }

@media (max-width: 860px) {
  .console-shell { flex-direction: column; }
  .console-side { position: static; flex-basis: auto; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .console-user { margin-top: 0; }
  .console-main { padding: 20px 16px 48px; }
  .console-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .card { padding: 24px 20px; }
  form.inline { flex-wrap: wrap; }
}
