:root {
  --ink: #071116;
  --ink-soft: #0c1d24;
  --paper: #edf7f4;
  --paper-deep: #cbdcd8;
  --cyan: #36d2e4;
  --cyan-soft: #a9f0f4;
  --lime: #c3f76a;
  --mint: #79f2c6;
  --violet: #b5a5ff;
  --muted: #91a5aa;
  --line: rgba(203, 233, 228, .13);
  --surface: rgba(15, 31, 38, .78);
  --surface-strong: #10232b;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --radius: 22px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); background: var(--ink); }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 15px; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { width: 31px; height: 31px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; filter: drop-shadow(0 0 12px rgba(195,247,106,.24)); }

.button { border: 0; border-radius: 999px; padding: 14px 22px; display: inline-flex; justify-content: center; align-items: center; background: var(--mint); color: var(--ink); font-weight: 760; font-size: 14px; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; box-shadow: 0 9px 24px rgba(121,242,198,.13); }
.button:hover { transform: translateY(-2px); background: var(--cyan-soft); box-shadow: 0 12px 30px rgba(54,210,228,.2); }
.button-small { padding: 10px 17px; font-size: 13px; }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--cyan-soft); }
.button.full { width: 100%; }
.text-link { font-size: 14px; font-weight: 720; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link span { margin-left: 6px; }

.eyebrow { margin: 0 0 18px; display: flex; gap: 9px; align-items: center; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 800; color: #79abb4; }
.eyebrow span { width: 19px; height: 2px; background: var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
em { color: var(--cyan); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }

/* Landing */
.landing-page { min-height: 100vh; overflow-x: hidden; position: relative; background: linear-gradient(180deg, #071116 0, #091820 46%, #071116 100%); }
.ambient { pointer-events: none; position: absolute; border-radius: 999px; filter: blur(2px); opacity: .45; }
.ambient-one { width: 540px; height: 540px; right: -230px; top: 40px; background: radial-gradient(circle, rgba(37,199,217,.23), transparent 68%); }
.ambient-two { width: 380px; height: 380px; left: -220px; top: 520px; background: radial-gradient(circle, rgba(185,242,94,.18), transparent 70%); }
.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 5; border-bottom: 1px solid var(--line); }
.site-nav { display: flex; align-items: center; gap: 27px; }
.site-nav > a:not(.button) { text-decoration: none; font-size: 13px; font-weight: 650; color: #9bb0b5; }
.site-nav > a:not(.button):hover { color: var(--cyan); }
.hero { min-height: 640px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 42px; padding-block: 74px 84px; position: relative; z-index: 2; }
.hero-copy { max-width: 640px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(52px, 6.1vw, 88px); line-height: .95; font-weight: 760; }
.hero-lede { max-width: 580px; font-size: 18px; line-height: 1.65; color: #a1b5b9; }
.hero-actions { display: flex; gap: 26px; align-items: center; margin: 33px 0 38px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 11px 23px; padding-top: 24px; border-top: 1px solid var(--line); color: #81979c; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.trust-row b { color: var(--paper); }

.hero-visual { min-height: 510px; position: relative; }
.orbit { position: absolute; border: 1px dashed rgba(19,143,161,.28); border-radius: 50%; left: 50%; top: 46%; transform: translate(-50%, -50%); }
.orbit-one { width: 390px; height: 390px; animation: spin 34s linear infinite; }
.orbit-two { width: 285px; height: 285px; animation: spin-back 26s linear infinite; }
.relay-core { width: 168px; height: 168px; border: 1px solid rgba(121,242,198,.2); border-radius: 50%; position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); background: #0b1c24; color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 0 13px rgba(37,199,217,.07), 0 0 0 28px rgba(37,199,217,.035), 0 30px 55px rgba(0,0,0,.38); }
.relay-core .large { transform: scale(1.3); margin-bottom: 15px; }
.relay-core small { font-size: 8px; letter-spacing: .18em; color: #8ca2aa; }
.relay-core strong { font-size: 13px; margin-top: 4px; }
.node { position: absolute; background: rgba(14,32,40,.88); border: 1px solid rgba(169,240,244,.12); border-radius: 16px; padding: 13px 15px; display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 38px rgba(0,0,0,.28); backdrop-filter: blur(14px); }
.node-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: rgba(54,210,228,.12); color: var(--cyan); font-weight: 850; font-size: 12px; }
.node small, .node strong { display: block; }
.node small { color: #80949a; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.node strong { font-size: 13px; }
.node-local { left: 0; top: 29%; }
.node-remote { right: 0; }
.node-codex { top: 16%; }
.node-api { top: 58%; }
.status { font-size: 9px; color: #79d99b; display: flex; gap: 5px; align-items: center; margin-top: 4px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: #63cb86; box-shadow: 0 0 0 4px rgba(99,203,134,.12); }
.connection-line { position: absolute; width: 110px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--mint)); left: 22%; top: 46%; }
.connection-line i { width: 5px; height: 5px; background: #fff; border-radius: 50%; position: absolute; top: -1px; animation: pulse-line 2s ease-in-out infinite; }
.connection-line i:nth-child(2) { animation-delay: .5s; }
.connection-line i:nth-child(3) { animation-delay: 1s; }
.terminal-card { position: absolute; bottom: 2px; left: 14%; right: 3%; border: 1px solid rgba(169,240,244,.1); border-radius: 15px; background: #050d11; color: #cce2e5; padding: 14px 17px 16px; box-shadow: 0 22px 42px rgba(0,0,0,.36); transform: rotate(-1deg); }
.terminal-dots { color: #5b7480; letter-spacing: 3px; font-size: 8px; display: block; margin-bottom: 11px; }
.terminal-card code { font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; line-height: 1.7; }
.terminal-card b { color: var(--lime); }
.terminal-card code span { color: var(--mint); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-back { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes pulse-line { from { left: 0; opacity: 0; } 30% { opacity: 1; } to { left: 100%; opacity: 0; } }

.signal-strip { border-block: 1px solid var(--line); background: #050d11; color: #a7babd; padding: 17px 0; }
.signal-grid { display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 740; letter-spacing: .14em; }
.signal-grid i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }
.section { padding-block: 108px; }
.section-heading { max-width: 670px; margin: 0 auto 54px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section h2, .cta h2 { font-size: clamp(39px, 5vw, 62px); line-height: 1.02; margin-bottom: 18px; }
.section-heading > p:last-child, .use-copy > p { color: #91a5aa; line-height: 1.7; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { min-height: 295px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.step-card.featured { background: linear-gradient(145deg, rgba(21,66,71,.72), rgba(13,35,43,.92)); border-color: rgba(54,210,228,.34); transform: translateY(-10px); }
.step-number { position: absolute; right: 20px; top: 17px; font-family: Georgia, serif; font-size: 54px; color: rgba(237,247,244,.07); }
.step-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: #071116; color: var(--mint); margin-bottom: 52px; font-size: 20px; }
.step-card h3 { font-size: 24px; margin-bottom: 12px; }
.step-card p { color: #94a9ad; font-size: 14px; line-height: 1.65; margin: 0; }
.use-cases { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: center; border-top: 1px solid var(--line); }
.use-copy h2 { font-size: clamp(40px, 4.6vw, 65px); }
.check-list { padding: 0; margin: 31px 0 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-list li { font-size: 13px; font-weight: 650; display: flex; align-items: center; gap: 9px; }
.check-list li::before { content: '✓'; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: rgba(121,242,198,.12); color: var(--mint); font-size: 11px; }
.check-list.compact { display: flex; flex-direction: column; }
.code-window { border: 1px solid var(--line); border-radius: 21px; overflow: hidden; background: #050d11; color: #d7e9ea; box-shadow: var(--shadow); transform: rotate(1deg); }
.code-title { height: 47px; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; padding: 0 18px; gap: 26px; color: #79929a; font-size: 9px; }
.code-title span { letter-spacing: 4px; }
.code-title b { font-weight: 600; }
.code-window pre { margin: 0; padding: 31px; overflow-x: auto; }
.code-window code { font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; line-height: 1.9; }
.code-muted { color: #6e8790; }
.code-string { color: var(--mint); }
.cta { border: 1px solid rgba(54,210,228,.22); background: linear-gradient(110deg, #103b46, #0c2932); color: white; border-radius: 27px; min-height: 220px; padding: 48px 55px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 85px; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.cta .eyebrow { color: #c9f2f2; }
.cta .eyebrow span { background: var(--lime); }
.cta h2 { margin: 0; }
.site-footer { min-height: 110px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: #7f9499; font-size: 11px; }
.footer-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 5px; }
.footer-meta p { margin: 0; }
.runtime-meta { display: inline-flex; align-items: center; gap: 7px; }

/* Authentication */
.auth-page { min-height: 100vh; background: var(--ink); color: var(--paper); position: relative; padding: 28px; display: grid; grid-template-rows: auto 1fr; }
.auth-page::before { content: ''; position: fixed; inset: 0; background: radial-gradient(circle at 18% 68%, rgba(37,199,217,.16), transparent 35%), radial-gradient(circle at 80% 20%, rgba(185,242,94,.08), transparent 32%); pointer-events: none; }
.auth-brand { position: relative; z-index: 2; width: max-content; }
.auth-brand .brand-mark { color: var(--mint); }
.auth-shell { position: relative; z-index: 2; width: min(980px, 100%); margin: 25px auto 45px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.09); border-radius: 28px; overflow: hidden; box-shadow: 0 35px 100px rgba(0,0,0,.24); }
.auth-panel { padding: clamp(34px, 6vw, 64px); }
.auth-message { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, rgba(37,199,217,.12), rgba(123,244,200,.03)); }
.auth-message .eyebrow { color: #8fc7ca; }
.auth-message h1 { font-size: clamp(39px, 4.7vw, 60px); line-height: 1.01; }
.auth-message p { color: #9bb0b7; line-height: 1.65; }
.auth-message em { color: var(--mint); }
.mini-diagram { margin-top: 40px; display: flex; align-items: center; color: #9bb0b7; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.mini-diagram i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.mini-diagram b { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(123,244,200,.4); color: var(--mint); border-radius: 50%; }
.auth-form-panel { background: #0d2028; color: var(--paper); }
.auth-form-panel h2 { font-size: 36px; margin-bottom: 7px; }
.auth-form-panel > div:first-child > p { color: var(--muted); font-size: 13px; }
.auth-form-panel a { color: var(--cyan); font-weight: 700; }
.auth-form-panel a.button { color: var(--ink); }
.stack-form { display: grid; gap: 19px; margin-top: 28px; }
.stack-form label, .token-form label { display: grid; gap: 8px; font-size: 11px; font-weight: 760; text-transform: uppercase; letter-spacing: .07em; color: #9cb1b5; }
.stack-form label small { font-weight: 500; text-transform: none; letter-spacing: 0; float: right; color: #859398; }
input, select { width: 100%; border: 1px solid rgba(203,233,228,.18); border-radius: 12px; background: #07161c; color: var(--paper); padding: 13px 14px; outline: none; transition: border .18s, box-shadow .18s; }
input::placeholder { color: #62777c; }
input:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(37,199,217,.13); }
.fine-print { font-size: 10px; line-height: 1.55; color: #82969b; margin: 20px 0 0; }
.alert { border-radius: 13px; padding: 13px 15px; font-size: 12px; margin: 18px 0; line-height: 1.5; }
.alert.success { background: rgba(82,200,117,.13); color: #9ce6af; }
.alert.danger { background: rgba(218,88,78,.14); color: #f0a49e; }
.alert.neutral { background: rgba(169,190,186,.1); color: #a9bbbe; }

/* Dashboard */
.dashboard-page { background: radial-gradient(circle at 88% 0, rgba(54,210,228,.06), transparent 32%), #071116; min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 245px; padding: 28px 22px; color: #dce9e8; background: #050d11; border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 10; }
.sidebar .brand { padding: 0 8px; }
.sidebar .brand-mark { color: var(--mint); }
.side-nav { display: grid; gap: 6px; margin-top: 52px; }
.side-nav a { display: flex; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 10px; text-decoration: none; color: #8da2a9; font-size: 12px; font-weight: 650; }
.side-nav a:hover, .side-nav a.active { background: rgba(123,244,200,.1); color: #e8f7f3; }
.side-nav span { width: 22px; color: var(--mint); text-align: center; }
.sidebar-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.09); padding-top: 19px; }
.account-chip { display: flex; align-items: center; gap: 10px; }
.account-chip > span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #18505c; color: var(--mint); text-transform: uppercase; font-weight: 800; }
.account-chip strong, .account-chip small { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-chip strong { font-size: 11px; }
.account-chip small { color: #7e969e; font-size: 9px; margin-top: 3px; }
.quiet-button { margin-top: 15px; border: 0; background: none; color: #7e969e; padding: 0; font-size: 10px; cursor: pointer; }
.quiet-button:hover { color: white; }
.dashboard-main { margin-left: 245px; padding: 38px clamp(25px, 4vw, 58px) 25px; max-width: 1450px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.dashboard-header .eyebrow { margin-bottom: 8px; }
.dashboard-header h1 { font-size: 34px; margin: 0; }
.dashboard-header h1 span { color: var(--cyan); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.metrics article { min-height: 112px; background: var(--surface); border: 1px solid var(--line); border-radius: 17px; padding: 20px; display: flex; align-items: center; gap: 14px; position: relative; }
.metric-icon { width: 45px; height: 45px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; }
.metric-icon.cyan { background: rgba(54,210,228,.12); color: var(--cyan); }
.metric-icon.lime { background: rgba(195,247,106,.12); color: var(--lime); }
.metric-icon.violet { background: rgba(181,165,255,.12); color: var(--violet); }
.metrics small, .metrics strong { display: block; }
.metrics small { color: #879b9f; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.metrics strong { font-size: 27px; margin-top: 3px; }
.metrics strong.metric-word { font-size: 19px; }
.metrics em { position: absolute; right: 17px; top: 18px; font-family: inherit; color: #83c995; font-style: normal; font-size: 9px; display: flex; align-items: center; gap: 5px; }
.metrics em i { width: 6px; height: 6px; border-radius: 50%; background: #58c875; }
.metrics em.muted { color: #879599; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 19px; padding: 25px; margin-bottom: 18px; scroll-margin-top: 25px; box-shadow: inset 0 1px 0 rgba(255,255,255,.02); }
.panel-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 22px; }
.panel-heading .eyebrow { margin-bottom: 5px; }
.panel-heading h2 { margin: 0; font-size: 23px; }
.panel-count { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #879b9f; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.empty-state { border: 1px dashed rgba(169,240,244,.2); border-radius: 15px; text-align: center; padding: 35px 20px; }
.empty-state h3 { font-size: 18px; margin: 13px 0 7px; }
.empty-state p { max-width: 520px; margin: 0 auto 16px; color: #91a5aa; font-size: 12px; line-height: 1.55; }
.empty-orbit { margin: auto; width: 64px; height: 64px; border: 1px dashed rgba(54,210,228,.5); border-radius: 50%; display: grid; place-items: center; color: var(--cyan); }
.connection-list { display: grid; gap: 9px; }
.connection-row { min-height: 70px; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; display: grid; grid-template-columns: 10px 1.2fr .6fr 1.4fr .5fr .75fr; align-items: center; gap: 15px; background: #0a1920; }
.connection-light { width: 7px; height: 7px; border-radius: 50%; background: #9babad; }
.connection-light.online { background: #52c875; box-shadow: 0 0 0 5px rgba(82,200,117,.11); }
.connection-row small, .connection-row strong { display: block; }
.connection-row small { color: #819499; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.connection-row strong { font-size: 10px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.connection-name strong { font-size: 13px; margin: 0; }
.connection-name small { margin-top: 3px; text-transform: none; }
.alert.secret { background: #0e313b; color: #dcebea; display: grid; grid-template-columns: .7fr 1.3fr; gap: 18px; align-items: center; padding: 17px 19px; }
.alert.secret p { color: #8fa8ad; font-size: 10px; margin: 3px 0 0; }
.secret-value, .command-block { display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,.22); border-radius: 9px; padding: 10px 11px; min-width: 0; }
.secret-value code { white-space: nowrap; overflow-x: auto; color: var(--mint); }
.copy-button { flex: 0 0 auto; border: 1px solid rgba(255,255,255,.2); background: transparent; color: inherit; border-radius: 8px; padding: 6px 9px; font-size: 9px; cursor: pointer; }
.copy-button:hover { background: rgba(255,255,255,.09); }
.token-form { display: grid; grid-template-columns: 1fr 180px auto; align-items: end; gap: 12px; padding-bottom: 9px; }
.token-form .button { min-height: 43px; }
.form-note { color: #879b9f; font-size: 10px; margin: 4px 0 21px; }
.token-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.token-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.token-table th { padding: 10px 12px; background: #09171d; color: #879b9f; text-align: left; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.token-table td { border-top: 1px solid var(--line); padding: 12px; color: #96a9ad; font-size: 10px; }
.token-table td strong { color: var(--paper); }
.token-table code { color: var(--cyan); }
.danger-button { border: 1px solid rgba(240,164,158,.25); background: rgba(218,88,78,.1); color: #f0a49e; border-radius: 7px; padding: 6px 9px; font-size: 9px; cursor: pointer; }
.danger-button:hover { background: rgba(218,88,78,.2); }
.inline-empty { padding: 18px; border: 1px dashed rgba(169,240,244,.18); border-radius: 12px; color: #879b9f; font-size: 11px; text-align: center; }
.setup-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.setup-steps > li { display: grid; grid-template-columns: 32px 1fr; gap: 13px; padding: 15px 0; border-top: 1px solid var(--line); }
.setup-steps > li > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: rgba(54,210,228,.12); color: var(--cyan); font-size: 10px; font-weight: 800; }
.setup-steps h3 { margin: 4px 0 6px; font-size: 14px; }
.setup-steps p { color: #8ca0a5; font-size: 11px; }
.setup-steps code { font-family: "SFMono-Regular", Consolas, monospace; }
.command-block { background: #0b212c; color: #d7e7e7; padding: 13px 14px; align-items: start; }
.command-block code { flex: 1; white-space: pre-wrap; line-height: 1.65; font-size: 10px; overflow-wrap: anywhere; }
.api-callout { margin-top: 18px; border: 1px solid rgba(121,242,198,.12); border-radius: 13px; padding: 16px 18px; background: rgba(121,242,198,.07); display: flex; align-items: center; gap: 24px; }
.api-callout > div { white-space: nowrap; }
.api-callout span { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 6px; background: #050d11; color: var(--mint); font-size: 7px; margin-right: 7px; }
.api-callout strong { font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.api-callout p { margin: 0; color: #8ea5a9; font-size: 10px; line-height: 1.5; }
.dashboard-footer { display: flex; justify-content: space-between; color: #809095; font-size: 9px; padding: 6px 2px 16px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(600px, 100%); margin: 0 auto; }
  .use-cases { grid-template-columns: 1fr; }
  .code-window { transform: none; }
  .connection-row { grid-template-columns: 10px 1.2fr .7fr 1fr; }
  .connection-row > div:nth-last-child(-n+2) { display: none; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, 1180px); }
  .site-header { height: 70px; }
  .site-nav > a:not(.button) { display: none; }
  .hero { padding-block: 54px 67px; }
  .hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { transform: scale(.88); margin: -25px auto; }
  .node-local { left: -4%; }
  .node-remote { right: -4%; }
  .signal-grid { justify-content: center; gap: 12px; flex-wrap: wrap; }
  .signal-grid i { display: none; }
  .section { padding-block: 74px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card.featured { transform: none; }
  .check-list { grid-template-columns: 1fr; }
  .cta { margin-inline: 15px; width: calc(100% - 30px); flex-direction: column; align-items: flex-start; gap: 26px; padding: 38px 30px; }
  .site-footer { flex-direction: column; justify-content: center; gap: 9px; padding-block: 30px; }
  .footer-meta { align-items: center; }
  .auth-page { padding: 20px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-message { display: none; }
  .sidebar { position: static; width: 100%; height: auto; flex-direction: row; align-items: center; padding: 15px; }
  .side-nav { margin: 0 0 0 auto; display: flex; }
  .side-nav a { padding: 9px; }
  .side-nav a span { width: auto; }
  .side-nav a { font-size: 0; }
  .side-nav a span { font-size: 16px; }
  .sidebar-foot { display: none; }
  .dashboard-main { margin-left: 0; padding: 25px 15px; }
  .metrics { grid-template-columns: 1fr; }
  .panel { padding: 19px 15px; }
  .token-form { grid-template-columns: 1fr; }
  .alert.secret { grid-template-columns: 1fr; }
  .connection-row { grid-template-columns: 10px 1fr .6fr; }
  .connection-row > div:nth-child(n+4) { display: none; }
  .api-callout { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
