/* Public pages and dashboard layout.
   Look: paper and ink (see base.css). Patterns taken from a look at current product sites: a centred headline in two tones, the product itself as the centrepiece, black buttons, use cases as tabs. */
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---- the page ---- */
body:has(> .wrap > .topbar) { background-color: var(--bg); overflow-x: clip; }

/* ---- top bar and brand ---- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 600 21px var(--display); letter-spacing: -.03em; color: var(--ink); }
.brand:hover { text-decoration: none; }
/* the mark: a ring with the pointer as its tail, which makes the q of the name */
.brand-mark { width: 30px; height: 30px; flex: none; font-size: 0; color: transparent; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='14' cy='14' r='9.6' fill='none' stroke='%2317181a' stroke-width='4'/%3E%3Cpath d='M14.6 14.6l15 6.2-6.4 2.2-2.2 6.4z' fill='%232257e6' stroke='%23f6f5f2' stroke-width='2.2' stroke-linejoin='round' paint-order='stroke'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-mark { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='14' cy='14' r='9.6' fill='none' stroke='%23f1f1ee' stroke-width='4'/%3E%3Cpath d='M14.6 14.6l15 6.2-6.4 2.2-2.2 6.4z' fill='%235b8cff' stroke='%230d0d0f' stroke-width='2.2' stroke-linejoin='round' paint-order='stroke'/%3E%3C/svg%3E"); } }
:root[data-theme="dark"] .brand-mark { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='14' cy='14' r='9.6' fill='none' stroke='%23f1f1ee' stroke-width='4'/%3E%3Cpath d='M14.6 14.6l15 6.2-6.4 2.2-2.2 6.4z' fill='%235b8cff' stroke='%230d0d0f' stroke-width='2.2' stroke-linejoin='round' paint-order='stroke'/%3E%3C/svg%3E"); }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a:not(.btn) { display: flex; align-items: center; color: var(--muted); padding: 8px 12px; border-radius: 8px; font: 500 14.5px var(--font); transition: background-color .15s ease, color .15s ease; }
.nav a:not(.btn):hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav .btn { margin-left: 10px; min-height: 38px; }
/* light or dark: the sun shows in dark mode (to go light), the moon in light mode */
.theme-toggle { display: grid; place-items: center; flex: none; width: 38px; height: 38px; margin-left: 8px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.theme-toggle:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--line) 50%, var(--ink)); }
.theme-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }
.theme-toggle .ic { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; } :root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .moon { display: none; } }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---- home: headline ---- */
.hero { text-align: center; padding: 76px 0 44px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 86px); font-weight: 560; line-height: 1; letter-spacing: -.05em; margin: 0 auto 24px; max-width: 13ch; }
.hero h1 span, .say span { color: var(--faint); }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); max-width: 54ch; margin: 0 auto; text-wrap: pretty; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.hero-note { margin: 14px 0 0; font: 450 13px var(--font); color: var(--muted); }
/* connect with an ID: one line */
.quick { display: flex; align-items: center; gap: 6px; width: min(430px, 100%); margin: 34px auto 0; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s ease, box-shadow .15s ease; }
.quick:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 10%, transparent); }
.quick label { display: flex; align-items: center; flex: 1; min-width: 0; gap: 10px; padding-left: 12px; font: 500 13.5px var(--font); color: var(--muted); white-space: nowrap; }
.quick input[type=text] { flex: 1; min-width: 0; width: 100%; min-height: 40px; border: 0; padding: 0 4px; background: transparent; color: var(--ink); font: 500 17px var(--mono); letter-spacing: .02em; }
.quick input:focus { outline: 0; }
.quick input::placeholder { color: var(--faint); }
.quick .btn { min-height: 40px; }
.quick-alt { display: inline-block; margin-top: 12px; font: 450 13.5px var(--font); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.quick-alt:hover { color: var(--ink); }

/* ---- home: the stage. A session window; what the visitor does in the left part happens on the remote desktop ---- */
.stage { margin: 28px 0 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.stage-bar { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 10px 6px 16px; border-bottom: 1px solid var(--line); }
.stage-name { display: flex; align-items: center; gap: 9px; min-width: 0; font: 550 14px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-name i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--good); }
.stage-name small { font: 450 13px var(--mono); color: var(--muted); }
.stage-tools { display: flex; gap: 4px; margin-left: auto; }
.stage-tools button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px; border: 1px solid transparent; border-radius: 9px; background: none; color: var(--muted); font: 500 13.5px var(--font); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.stage-tools button .ic { width: 18px; height: 18px; }
.stage-tools button:hover { background: var(--surface-2); color: var(--ink); }
.stage-tools button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.stage-tools button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 1px; }
.stage-body { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
.try-pad { position: relative; min-height: 440px; padding: 28px; cursor: crosshair; outline: 0; touch-action: none; text-align: left;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 15%, transparent) 1px, transparent 1.4px); background-size: 22px 22px; }
.try-pad:focus-visible { box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.try-pad h2 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 560; letter-spacing: -.035em; margin: 0 0 10px; max-width: 12ch; pointer-events: none; }
.try-pad p { margin: 0; color: var(--muted); font-size: 15px; max-width: 28ch; pointer-events: none; }
.try-who { position: absolute; left: 28px; bottom: 22px; font: 500 12.5px var(--mono); color: var(--muted); pointer-events: none; }
.try-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid var(--accent); pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.try.live .try-dot { opacity: 1; }
.try-screen { position: relative; min-height: 440px; background: #1c2535; border-left: 1px solid var(--line); overflow: hidden; }
.try-desk { position: absolute; inset: 0; background: #223049; }
.try-desk::before { content: ""; position: absolute; right: -12%; top: -30%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: #2a3c5c; }
.try-desk::after { content: ""; position: absolute; left: -8%; bottom: -46%; width: 52%; aspect-ratio: 1; border-radius: 50%; background: #1d2a41; }
.try-icons { position: absolute; left: 20px; top: 20px; display: grid; gap: 16px; z-index: 1; }
.try-icons i { display: block; width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, .16); }
.try-icons i:nth-child(2) { background: #6f9be8; } .try-icons i:nth-child(3) { background: #e3b86a; }
.try-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: #141b28; display: flex; align-items: center; gap: 9px; padding: 0 14px; z-index: 1; }
.try-bar i { width: 17px; height: 17px; border-radius: 5px; background: rgba(255, 255, 255, .2); } .try-bar i:first-child { background: #6f9be8; }
.try-bar span { margin-left: auto; font: 500 11.5px var(--mono); color: rgba(255, 255, 255, .72); }
.try-win { position: absolute; left: 20%; top: 14%; width: 50%; min-height: 44%; border-radius: 10px; background: #fff; color: #17181a; box-shadow: 0 20px 44px rgba(0, 0, 0, .4); overflow: hidden; transition: left .25s ease, top .25s ease; z-index: 1; text-align: left; }
.try-winbar { display: flex; align-items: center; gap: 6px; padding: 9px 11px; background: #efeeea; font: 550 12px var(--font); color: #5f6168; }
.try-winbar i { width: 9px; height: 9px; border-radius: 50%; background: #cfcdc6; }
.try-winbar span { margin-left: 6px; }
.try-text { padding: 13px 15px; font: 14px/1.5 var(--mono); min-height: 84px; white-space: pre-wrap; overflow-wrap: anywhere; }
.try-text::after { content: ""; display: inline-block; width: 7px; height: 16px; margin-left: 1px; vertical-align: -3px; background: #2257e6; animation: caret 1s steps(2, start) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.try-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -2px 0 0 -3px; pointer-events: none; z-index: 6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 2l13 6.6-5.5 1.7L8.6 16z' fill='%23fff' stroke='%2317181a' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; will-change: transform; }
.try-ring { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid #fff; pointer-events: none; animation: ring .5s ease-out forwards; z-index: 5; }
.try-pad .try-ring { border-color: var(--accent); }
@keyframes ring { to { transform: scale(4.2); opacity: 0; } }
/* what the three tools of the stage show */
.try-pop { position: absolute; z-index: 3; border-radius: 12px; background: #fff; color: #17181a; box-shadow: 0 18px 40px rgba(0, 0, 0, .42); text-align: left; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.try-pop h4 { margin: 0; padding: 10px 14px; border-bottom: 1px solid #e2e0da; font: 550 12.5px var(--font); color: #5f6168; }
.try-chat { right: 16px; top: 16px; width: min(240px, 46%); }
.try-chat p { margin: 10px 12px; padding: 8px 11px; border-radius: 12px 12px 12px 4px; background: #efeeea; font-size: 13.5px; line-height: 1.4; }
.try-chat p.me { margin-left: 34px; border-radius: 12px 12px 4px 12px; background: #17181a; color: #fff; }
.try-files { left: 16px; bottom: 50px; width: min(270px, 52%); }
.try-files div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 12px 14px 14px; font-size: 13.5px; }
.try-files div b { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.try-files div span { font: 12.5px var(--mono); color: #5f6168; }
.try-files div u { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: #e2e0da; overflow: hidden; }
.try-files div u::after { content: ""; display: block; height: 100%; width: 0; border-radius: 6px; background: #2257e6; }
.show-files .try-files div u::after { animation: fill 2.6s ease-out forwards; }
@keyframes fill { to { width: 100%; } }
.try-room { right: 16px; bottom: 50px; width: min(210px, 40%); }
.try-room div { margin: 12px; aspect-ratio: 16 / 10; border-radius: 6px; background: #000; border: 3px solid #2b2c30; }
.show-chat .try-chat, .show-files .try-files, .show-privacy .try-room { opacity: 1; transform: none; }

/* ---- home: use cases as tabs ---- */
.say { font: 540 clamp(26px, 3.4vw, 44px)/1.14 var(--display); letter-spacing: -.04em; margin: 110px 0 44px; max-width: 26ch; text-wrap: balance; }
.uses-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.uses-tabs button { display: grid; gap: 4px; justify-items: start; padding: 18px; border: 1px solid transparent; border-radius: 14px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.uses-tabs button .ic { margin-bottom: 8px; color: var(--accent); }
.uses-tabs button b { font: 560 15.5px var(--font); letter-spacing: -.01em; }
.uses-tabs button span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.uses-tabs button:hover { background: var(--surface-2); }
.uses-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.uses-tabs button[aria-selected="true"] span { color: color-mix(in srgb, var(--bg) 72%, var(--ink)); }
.uses-tabs button[aria-selected="true"] .ic { color: inherit; }
.uses-tabs button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }
.uses-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; margin-top: 12px; padding: 48px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); min-height: 420px; }
.uses-panel h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 560; letter-spacing: -.04em; line-height: 1.08; margin: 0 0 14px; }
.uses-panel p { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; max-width: 44ch; }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.uses-art { display: grid; place-items: center; min-height: 300px; padding: 28px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
/* small drawn pieces of the product, used as pictures */
.mock { width: min(340px, 100%); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 14px; text-align: left; }
.mock-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 560 14px var(--font); }
.mock-head .brand-mark { width: 20px; height: 20px; }
.mock-head small { margin-left: auto; font: 450 12.5px var(--font); color: var(--muted); }
.mock-id { padding: 18px 16px 6px; }
.mock-id small { display: block; font: 500 12px var(--font); color: var(--muted); margin-bottom: 2px; }
.mock-id b { font: 560 30px/1.2 var(--mono); letter-spacing: -.02em; }
.mock-id b.pw { font-size: 22px; }
.mock-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.mock-foot i, .mock-row i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--good); }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.mock-row:last-child { border-bottom: 0; }
.mock-row i.off { background: var(--faint); }
.mock-row b { font-weight: 550; }
.mock-row small { display: block; color: var(--muted); font-size: 12.5px; }
.mock-row em { margin-left: auto; padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); font: 550 12.5px var(--font); font-style: normal; }
.mock-row em.go { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.mock-grid { display: grid; grid-template-columns: minmax(0, 1fr) 62px 62px 62px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.mock-grid:last-child { border-bottom: 0; }
.mock-grid.top { font: 500 12px var(--font); color: var(--muted); }
.mock-grid span { text-align: center; color: var(--faint); }
.mock-grid span.y { color: var(--good); font-weight: 600; }
.mock-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: min(440px, 100%); }
.mock-pair figure { margin: 0; text-align: center; font: 500 13px var(--font); color: var(--muted); }
.mock-pair figure div { position: relative; aspect-ratio: 16 / 10; margin-bottom: 10px; border-radius: 8px; border: 4px solid #2b2c30; background: #223049; overflow: hidden; }
.mock-pair figure div::before { content: ""; position: absolute; left: 14%; top: 16%; width: 52%; height: 50%; border-radius: 4px; background: #fff; }
.mock-pair figure div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12%; background: #141b28; }
.mock-pair figure.dark div { background: #000; } .mock-pair figure.dark div::before, .mock-pair figure.dark div::after { content: none; }

/* ---- home: sections ---- */
.section { padding: 0; }
.section-head { padding: 110px 0 36px; max-width: 760px; }
.section h2, .section-head h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 560; line-height: 1.04; letter-spacing: -.045em; margin: 0; max-width: 20ch; }
.section-head p { font-size: 18px; color: var(--muted); margin: 16px 0 0; max-width: 56ch; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.feat { padding: 30px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .15s ease; }
.feat:nth-child(3n) { border-right: 0; } .feat:nth-last-child(-n+3) { border-bottom: 0; }
.feat:hover { background: color-mix(in srgb, var(--bg) 60%, var(--surface)); }
.feat .ic { color: var(--accent); margin-bottom: 18px; }
.feat h3 { font-size: 17px; font-weight: 560; letter-spacing: -.015em; margin: 0 0 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 110px; padding-top: 36px; border-top: 1px solid var(--line); }
.fig b { display: block; font: 540 clamp(44px, 5.6vw, 76px)/1 var(--display); letter-spacing: -.055em; }
.fig b small { font: 500 .26em var(--mono); letter-spacing: 0; margin-left: 6px; color: var(--muted); }
.fig span { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); max-width: 24ch; }
/* compare: what is in the box */
.cmp { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 15px 24px; border-bottom: 1px solid var(--line); font-size: 15px; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-row.top { font: 560 14px var(--font); background: color-mix(in srgb, var(--bg) 60%, var(--surface)); }
.cmp-row > :nth-child(2) { font-weight: 550; }
.cmp-row > :nth-child(3) { color: var(--muted); }
/* security */
.sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.sec p { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 18px 0 24px; }
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts li span { font: 500 13px var(--mono); color: var(--muted); padding-top: 2px; }
/* three steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { padding-top: 22px; border-top: 1px solid var(--ink); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font: 500 13px var(--mono); color: var(--muted); margin-bottom: 44px; }
.step h3 { font-size: 21px; font-weight: 560; letter-spacing: -.025em; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }

.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin: 110px 0 8px; padding: 56px; border-radius: 22px; background: var(--ink); color: var(--bg); }
.cta h2 { font-size: clamp(30px, 4.4vw, 58px); font-weight: 560; line-height: 1.02; letter-spacing: -.05em; color: inherit; margin: 0; max-width: 14ch; }
.cta p { font-size: 17px; color: color-mix(in srgb, var(--bg) 70%, var(--ink)); margin: 16px 0 0; }
.cta .hero-actions { margin: 0; justify-content: flex-end; }
.cta .btn { background: var(--bg); border-color: var(--bg); color: var(--ink); }
.cta .btn:hover { background: color-mix(in srgb, var(--bg) 86%, var(--ink)); border-color: transparent; color: var(--ink); }
.cta .btn:not(.signal):not(.primary) { background: transparent; border-color: color-mix(in srgb, var(--bg) 35%, var(--ink)); color: var(--bg); }
.cta .btn:not(.signal):not(.primary):hover { background: color-mix(in srgb, var(--bg) 14%, var(--ink)); }

@media (max-width: 980px) {
  .hero { padding: 44px 0 32px; }
  .stage-body { grid-template-columns: 1fr; } .try-pad { min-height: 200px; } .try-screen { border-left: 0; border-top: 1px solid var(--line); min-height: 320px; }
  .stage-tools button span { display: none; } .stage-tools button { padding: 0 10px; }
  .say { margin: 72px 0 28px; }
  .uses-tabs { grid-template-columns: 1fr 1fr; } .uses-tabs button span { display: none; } .uses-tabs button { padding: 14px; }
  .uses-panel { grid-template-columns: 1fr; padding: 26px 22px; gap: 26px; min-height: 0; } .uses-art { min-height: 0; padding: 18px; }
  .section-head { padding: 72px 0 26px; }
  .feats { grid-template-columns: 1fr; } .feat, .feat:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--line); } .feat:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); } .feat:last-child { border-bottom: 0; }
  .figs { grid-template-columns: 1fr 1fr; margin-top: 72px; }
  .cmp-row { grid-template-columns: 1fr 1fr; padding: 14px 18px; } .cmp-row > :first-child { grid-column: 1 / -1; font-weight: 560; } .cmp-row.top > :first-child { display: none; }
  .sec { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; gap: 28px; } .step::before { margin-bottom: 18px; }
  .cta { grid-template-columns: 1fr; margin-top: 72px; padding: 34px 26px; } .cta .hero-actions { justify-content: flex-start; }
  .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-actions .btn { width: 100%; } .quick label span { display: none; } .facts li { grid-template-columns: 1fr; gap: 2px; }
  .stage-name small { display: none; }
}

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; }
.grid3 .card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 22px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.grid3 .card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.grid3 h3 { font-size: 17.5px; margin-bottom: 8px; }
.grid3 p { color: var(--muted); margin: 0; font-size: 14.5px; }

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { min-height: 60px; gap: 0; } .topbar .brand { flex: 1; }
  .topbar .nav-toggle { display: flex; order: 3; } .topbar .theme-toggle { order: 2; margin: 0 8px 0 0; } .topbar .brand { order: 1; }
  .topbar .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
  .topbar.nav-open .nav { display: flex; }
  .topbar .nav a:not(.btn) { padding: 13px 14px; font-size: 15px; color: var(--ink); }
  .topbar .nav .btn { align-self: stretch; margin: 6px 0 0; min-height: 46px; }
}

/* ---- the pieces every public page is built from ---- */
.nav a[aria-current="page"]:not(.btn) { color: var(--ink); }
.nav .nav-gap { margin-left: 14px; }
.phead { padding: 64px 0 8px; max-width: 880px; }
.phead h1 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 560; line-height: 1.02; letter-spacing: -.048em; margin: 0 0 20px; }
.phead h1 span, .two { color: var(--faint); }
.phead > p { font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.5; color: var(--muted); max-width: 58ch; margin: 0; text-wrap: pretty; }
.phead .hero-actions { justify-content: flex-start; }
.phead > p.hero-note { text-align: left; font-size: 13.5px; margin-top: 14px; }
.kicker { display: block; font: 500 13px var(--mono); color: var(--muted); margin-bottom: 14px; }
/* a block of text beside a drawn piece of the product */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 84px 0 0; }
.split.flip > :first-child { order: 2; }
.split h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 560; letter-spacing: -.04em; line-height: 1.06; margin: 0 0 14px; }
.split p { color: var(--muted); font-size: 16.5px; margin: 0 0 18px; max-width: 46ch; }
.mock-row .ic { width: 18px; height: 18px; color: var(--muted); }
.mock-row em.on { border-color: transparent; background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); }
/* questions that open */
.qa { border-top: 1px solid var(--line); max-width: 860px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 550 17.5px var(--font); letter-spacing: -.015em; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font: 400 22px/1 var(--mono); color: var(--muted); }
.qa details[open] summary::after { content: "\2013"; }
.qa summary:hover { color: var(--accent-text); }
.qa details > p, .qa details > ul { margin: -4px 0 20px; color: var(--muted); max-width: 70ch; }
.qa-group { font: 500 13px var(--mono); color: var(--muted); margin: 56px 0 14px; }
/* numbered steps, one under the other */
ol.how { list-style: none; counter-reset: how; margin: 18px 0 0; padding: 0; max-width: 760px; }
ol.how > li { position: relative; counter-increment: how; padding: 16px 0 16px 54px; border-top: 1px solid var(--line); color: var(--muted); margin: 0; }
ol.how > li:last-child { border-bottom: 1px solid var(--line); }
ol.how > li::before { content: counter(how); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 13px var(--mono); }
ol.how > li b { display: block; color: var(--ink); font-weight: 560; }
.kbd { display: inline-block; font: 500 12.5px var(--mono); padding: 1px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--surface); color: var(--ink); white-space: nowrap; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); max-width: 760px; }
.callout .ic { color: var(--accent); margin-top: 1px; }
.callout p { margin: 0; color: var(--muted); }
.callout b { color: var(--ink); font-weight: 560; }
.cmp.two .cmp-row { grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); align-items: start; }
.cmp.two .cmp-row > :nth-child(1) { font-weight: 550; } .cmp.two .cmp-row > :nth-child(2) { font-weight: 400; color: var(--muted); }
/* the guide: a list of chapters beside the text */
.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding: 48px 0 0; }
.toc { position: sticky; top: 20px; align-self: start; display: grid; gap: 2px; }
.toc b { font: 500 13px var(--mono); color: var(--muted); padding: 0 10px 10px; }
.toc a { padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: 14.5px; }
.toc a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.guide section { padding: 0 0 72px; scroll-margin-top: 20px; max-width: 820px; }
.guide h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 560; letter-spacing: -.04em; margin: 0 0 12px; }
.guide h3 { font-size: 18.5px; font-weight: 560; letter-spacing: -.02em; margin: 34px 0 8px; }
.guide section > p { color: var(--muted); font-size: 16.5px; max-width: 66ch; }
.guide .cmp { margin-top: 18px; }
/* download: one card per system */
.os-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.os { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.os.me { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.os.me::after { content: "This device"; position: absolute; top: 0; right: 22px; padding: 5px 10px 6px; border-radius: 0 0 8px 8px; background: var(--ink); color: var(--bg); font: 550 12px var(--font); }
.os .ic { width: 26px; height: 26px; color: var(--accent); }
.os h3 { font-size: 20px; font-weight: 560; letter-spacing: -.025em; margin: 6px 0 0; }
.os p { margin: 0; color: var(--muted); font-size: 15px; }
.os small { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.os .codebox { width: 100%; margin: 0; white-space: pre-wrap; }
.os .toolbar-row { margin-top: 4px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.two-col h3 { font-size: 17px; margin-top: 22px; } .two-col ul { color: var(--muted); padding-left: 20px; }
/* help: where to go */
.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.hub a { display: block; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.hub a:hover { border-color: var(--ink); text-decoration: none; transform: translateY(-2px); }
.hub .ic { color: var(--accent); margin-bottom: 18px; }
.hub b { display: block; font: 560 18px var(--font); letter-spacing: -.02em; margin-bottom: 6px; }
.hub span { color: var(--muted); font-size: 15px; }
/* security: the path of a session */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; margin-top: 56px; }
.flow > div { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); min-height: 168px; }
.flow > div.mid { background: transparent; border-style: dashed; border-color: var(--faint); }
.flow > i { height: 1px; background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 10px); }
.flow .ic { color: var(--accent); margin-bottom: 14px; }
.flow b { display: block; font: 560 18px var(--font); letter-spacing: -.02em; margin-bottom: 6px; }
.flow span { color: var(--muted); font-size: 15px; }
.flow code { display: inline-block; margin-top: 12px; font: 500 12.5px var(--mono); color: var(--muted); overflow-wrap: anywhere; }
/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; padding-top: 48px; }
.contact .hub { grid-template-columns: 1fr; margin: 0; } .contact .hub a { display: grid; grid-template-columns: 22px 1fr; gap: 2px 14px; padding: 18px 20px; } .contact .hub .ic { margin: 2px 0 0; grid-row: span 2; } .contact .hub b { font-size: 16px; margin: 0; }
.pad-top { padding-top: 84px; }
.pad-top > h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 560; letter-spacing: -.04em; margin: 0 0 24px; }
.plans + .muted { margin-top: -8px; }
@media (max-width: 980px) {
  .phead { padding-top: 36px; }
  .split { grid-template-columns: 1fr; gap: 26px; padding-top: 56px; } .split.flip > :first-child { order: 0; }
  .guide { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; } .toc { position: static; grid-template-columns: 1fr 1fr; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); } .toc b { grid-column: 1 / -1; }
  .guide section { padding-bottom: 52px; }
  .os-grid, .two-col, .hub, .contact { grid-template-columns: 1fr; } .two-col, .contact { gap: 32px; }
  .flow { grid-template-columns: 1fr; } .flow > i { width: 1px; height: 28px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--ink) 0 5px, transparent 5px 10px); } .flow > div { min-height: 0; }
  .cmp.two .cmp-row { grid-template-columns: 1fr; gap: 4px; } .cmp.two .cmp-row > :first-child { grid-column: auto; }
  .pad-top { padding-top: 56px; }
  .nav .nav-gap { margin-left: 0; }
}

footer.site { padding: 56px 0 48px; margin-top: 96px; border-top: 1px solid var(--line); color: var(--muted); font: 450 14.5px var(--font); }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--ink); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-grid nav { display: grid; gap: 9px; align-content: start; }
.footer-grid nav b { color: var(--ink); font-weight: 560; margin-bottom: 6px; }
.footer-brand p { margin: 14px 0 0; max-width: 30ch; }
.footer-brand .footer-copy { margin-top: 22px; font-size: 13.5px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } footer.site { margin-top: 64px; } }

/* ---- sign-in, sign-up and join: a few words beside the form, inside the same frame as every other page ---- */
.auth-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: center; padding: 72px 0 8px; }
.auth-copy h1 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 560; line-height: 1.04; letter-spacing: -.045em; margin: 0 0 18px; }
.auth-copy h1 span { color: var(--faint); }
.auth-copy > p { font-size: 18px; color: var(--muted); max-width: 44ch; margin: 0 0 22px; }
.auth-copy .ticks { margin: 0; font-size: 15.5px; }
.auth-copy ol.how { max-width: 460px; }
.auth-form { padding: 32px; border-radius: 20px; box-shadow: var(--shadow-lg); }
.auth-form h2 { font-size: 24px; font-weight: 560; letter-spacing: -.03em; margin: 0 0 14px; }
.auth-form h2 + p.muted { margin: -8px 0 16px; }
.auth-form .btn { width: 100%; min-height: 48px; }
.auth-form .btn + .btn { margin-top: 10px; }
.auth-form .alt { margin: 18px 0 0; font-size: 14px; text-align: center; }
.auth-form .fine { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.auth-form .code-input { text-align: center; font-size: 24px; letter-spacing: .15em; text-transform: uppercase; min-height: 56px; }
.auth-form .found-team { background: var(--surface-2); margin-bottom: 14px; box-shadow: none; }
.auth-form .found-team img { max-height: 48px; max-width: 200px; display: block; margin-bottom: 8px; }
@media (max-width: 980px) {
  .auth-page { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .auth-copy .ticks, .auth-copy ol.how { display: none; }
  .auth-copy > p { margin-bottom: 0; font-size: 16.5px; }
  .auth-form { padding: 24px 20px; }
}

/* ---- sign-in pages ---- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 16px; background-color: var(--bg);
 }
.auth .card { width: min(440px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); }
.auth .card h1, .auth .card h2 { font-size: 26px; margin-top: 18px; }
.auth .btn.primary { width: 100%; min-height: 48px; }
.auth .alt { margin-top: 16px; font-size: 14px; text-align: center; }

/* ---- dashboard ---- */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 0 10px 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .brand { padding: 0 8px; min-height: 68px; margin-bottom: 6px; font-size: 18px; }
.side a.item { display: block; padding: 9px 12px; border-radius: 9px; color: var(--muted); font-weight: 550; font-size: 14.5px; transition: background-color .12s ease, color .12s ease; }
.side a.item:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.side a.item.active { background: var(--surface-2); color: var(--ink); }
.side a.item.has-new { font-weight: 700; color: var(--ink); }
.side a.item.has-new::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 8px; vertical-align: middle; }
.side .spacer { flex: 1; }
.side .who { padding: 12px; font: 500 12.5px var(--font); color: var(--muted); overflow-wrap: anywhere; border-top: 1px solid var(--line); margin-top: 6px; }
.main { padding: 0 32px 56px; min-width: 0; }
.main > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 68px; margin: 0 -32px 22px; padding: 10px 32px; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 3; }
.main h1 { font-size: 24px; margin: 0; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 600 12.5px var(--font); color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; background: color-mix(in srgb, var(--surface-2) 55%, var(--surface)); }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:hover td { background: color-mix(in srgb, var(--accent) 4%, var(--surface)); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.toolbar-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
dialog { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); padding: 28px; width: min(480px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
dialog h2 { font-size: 22px; }
dialog::backdrop { background: rgba(15, 23, 42, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.codebox { font: 13px var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; overflow-wrap: anywhere; user-select: all; }
.bigcode { font: 700 32px var(--mono); letter-spacing: .04em; text-align: center; padding: 14px; }
/* the menu button: only on small screens */
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer; font: 600 14px var(--font); }
.nav-toggle:hover, .nav-open > .nav-toggle { background: var(--surface-2); }
.nav-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }
.nav-toggle-label { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-toggle-bars { display: grid; gap: 4px; width: 18px; flex: none; }
.nav-toggle-bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .15s ease, opacity .15s ease; }
.nav-open > .nav-toggle .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open > .nav-toggle .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-open > .nav-toggle .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .nav-toggle-bars i { transition: none; } }
@media (max-width: 760px) {
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .side { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; height: auto; max-height: 100dvh; padding: 0 12px; overflow-y: auto; }
  .side .brand { margin: 0; min-height: 60px; }
  .side .nav-toggle { display: flex; }
  .side > :not(.brand):not(.nav-toggle) { grid-column: 1 / -1; display: none; }
  .side.nav-open > a.item { display: block; padding: 13px 12px; font-size: 15px; }
  .side.nav-open > .who { display: block; }
  .side.nav-open { box-shadow: var(--shadow-lg); padding-bottom: 10px; }
  .main { padding: 0 16px 40px; min-width: 0; } .main > header { margin: 0 -16px 16px; padding: 8px 16px; position: static; }
}

/* console detail views */
.block { margin-bottom: 16px; }
.block h3 { font-size: 17px; margin-bottom: 14px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .cols { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 12px; font-size: 14px; }
.kv .k { color: var(--muted); }
.kv .v { overflow-wrap: anywhere; }
.msgs { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow: auto; }
.msg { align-self: flex-start; max-width: 85%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); font-size: 14px; overflow-wrap: anywhere; white-space: pre-wrap; }
.msg.me { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-radius: 14px 14px 4px 14px; }
.msg small { display: block; color: var(--muted); font-size: 11px; }
.msg.me small { color: rgba(255, 255, 255, .75); }
.block form input[type=text] { flex: 1; min-width: 160px; }
details.cmd { border-top: 1px solid var(--line); padding: 8px 0; font-size: 13px; }
details.cmd summary { cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details.cmd pre { margin: 8px 0 0; max-height: 260px; overflow: auto; white-space: pre-wrap; user-select: text; }
.timeline { display: grid; gap: 4px; font-size: 13px; max-height: 360px; overflow: auto; }
.tl { display: grid; grid-template-columns: 170px 200px minmax(0, 1fr); gap: 10px; padding: 3px 0; }
.tl span:last-child { overflow-wrap: anywhere; }
@media (max-width: 760px) { .tl { grid-template-columns: 1fr; gap: 0; padding: 6px 0; } .kv { grid-template-columns: 1fr; } }
fieldset.checks, div.checks { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 13px; }
fieldset.checks legend { font-weight: 600; padding: 0 6px; color: var(--muted); }
.checks label { display: flex; gap: 8px; align-items: flex-start; }
dialog:has(.role-edit) { width: min(720px, calc(100vw - 32px)); }
@media (max-width: 600px) { fieldset.checks, div.checks { grid-template-columns: 1fr; } }

/* public content pages */
.prose { max-width: 820px; padding: 48px 0 64px; }
.prose.wide { max-width: none; }
.prose h1 { font-size: clamp(34px, 4.8vw, 60px); font-weight: 560; line-height: 1.03; letter-spacing: -.048em; margin-bottom: 20px; max-width: 18ch; }
.prose h2 { font-size: 24px; margin-top: 2.2em; }
.prose h1 .two { color: var(--faint); }
.prose p.lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.prose li { margin-bottom: .4em; }
.grid3.tight { padding: 8px 0 8px; }
.prose .grid3 { margin: 24px 0; }
.notice { background: color-mix(in srgb, var(--warn) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); border-radius: 12px; padding: 12px 16px; font-size: 14px; }

/* plans, meters, stats, severities */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0 32px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.plan.current { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--shadow-lg); }
.plan h3 { margin: 0; font-size: 17px; }
.plan .price { font: 700 44px/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 10px; }
.plan .price small { font: 500 13px var(--font); letter-spacing: 0; color: var(--muted); }
.plan ul { padding-left: 0; list-style: none; margin: 16px 0 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); flex: 1; }
.plan li { padding: 9px 0; margin: 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.plan .btn { align-self: stretch; }
.plan-flag { position: absolute; top: 0; right: 22px; padding: 5px 10px 6px; border-radius: 0 0 8px 8px; background: var(--ink); color: var(--bg); font: 650 12px var(--font); }
.meter { margin: 10px 0; max-width: 520px; }
.meter-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.meter-bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.meter-bar > div { height: 100%; border-radius: 99px; background: var(--accent); }
.meter-bar > div.full { background: var(--bad); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
a.stat { color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.stat:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.stat-value { font: 700 38px/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.badge.sev-warning { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.badge.sev-critical { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.badge.sev-info { background: var(--accent-soft); color: var(--accent-text); }

.bulkbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px; margin-bottom: 12px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 12px; }
tr.sel td { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.main > header select { min-height: 40px; }
