/* Link Connectivity — The Working Exchange */
:root {
  --blue: #2c4bd4;
  --blue-dark: #1c35a8;
  --orange: #f06840;
  --ink: #10131a;
  --ink-soft: #5a6070;
  --cloud: #f7f8fb;
  --line: #dde1ea;
  --line-dark: #bbc2d0;
  --white: #fff;
  --success: #0a8f5a;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", Arial, sans-serif;
  --mono: "Azeret Mono", Consolas, monospace;
  --container: min(100% - 48px, 1440px);
  --section: clamp(80px, 10vw, 148px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cloud); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::selection { background: var(--orange); color: var(--ink); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 16px; color: var(--white); background: var(--ink); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Public navigation */
.site-header { position: relative; z-index: 20; width: 100%; min-height: 88px; padding: 0 max(24px, calc((100vw - 1440px) / 2)); display: flex; align-items: stretch; background: var(--cloud); border-bottom: 1px solid var(--line); }
.brand { min-width: 250px; display: inline-flex; gap: 13px; align-items: center; color: var(--ink); text-decoration: none; font: 700 15px/.82 var(--display); letter-spacing: .025em; }
.brand-mark { width: 34px; height: 34px; overflow: visible; }
.brand-mark path, .platform-brand svg path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle, .platform-brand svg circle { fill: var(--orange); stroke: none; }
.site-nav { flex: 1; display: flex; justify-content: flex-end; align-items: stretch; }
.site-nav a { min-width: 138px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border-left: 1px solid var(--line); text-decoration: none; font-size: .92rem; font-weight: 700; transition: color .2s, background .2s; }
.site-nav a:hover { background: var(--white); color: var(--blue); }
.site-nav .nav-platform { min-width: 220px; justify-content: space-between; color: var(--white); background: var(--ink); }
.site-nav .nav-platform:hover { color: var(--white); background: var(--blue); }
.menu-toggle { display: none; }

/* Hero */
.hero { min-height: calc(100vh - 88px); max-width: 1660px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .98fr) minmax(510px, 1.02fr); background: var(--cloud); }
.hero-copy { min-width: 0; padding: clamp(74px, 8vw, 132px) clamp(40px, 6vw, 106px) 88px max(24px, calc((100vw - 1440px) / 2)); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.location-line { margin-bottom: 46px; display: flex; gap: 10px; align-items: center; font: 600 .69rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 90, 54, .15); }
.hero h1 { max-width: 720px; margin-bottom: 38px; font: 600 clamp(4rem, 7vw, 5.6rem)/.88 var(--display); letter-spacing: -.035em; }
.hero h1 span { color: var(--blue); }
.hero-intro { max-width: 590px; margin-bottom: 42px; color: var(--ink-soft); font-size: clamp(1.12rem, 1.4vw, 1.35rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.button { min-height: 54px; padding: 15px 20px; display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .22s var(--ease), background .22s, color .22s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--ink); background: var(--orange); box-shadow: 4px 4px 6px rgba(16,19,26,.18); }
.button-primary:hover { background: #e8754e; }
.text-link { display: inline-flex; gap: 16px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 700; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--blue); }

.routing-board { min-width: 0; padding: 26px clamp(22px, 3.4vw, 58px) 34px; color: var(--white); background: var(--blue); display: flex; flex-direction: column; overflow: hidden; border-bottom-left-radius: clamp(58px, 9vw, 146px); }
.board-topline { display: flex; justify-content: space-between; gap: 20px; font: 600 .63rem/1.2 var(--mono); letter-spacing: .08em; }
.board-state { display: flex; align-items: center; gap: 8px; }
.board-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.route-visual { position: relative; flex: 1; min-height: 500px; margin: 22px 0 8px; }
.route-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-lines path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.route-base { stroke: rgba(255,255,255,.22); stroke-width: 2; }
.route-active { stroke: var(--orange); stroke-width: 3; stroke-dasharray: 11 10; opacity: 0; transition: opacity .4s; }
.route-active.is-active { opacity: 1; animation: routeFlow 2.4s linear infinite; }
.js .route-active.is-active { stroke-dashoffset: 80; }
@keyframes routeFlow { to { stroke-dashoffset: 38; } }
.route-node { position: absolute; width: 145px; padding: 11px 12px 12px; background: var(--white); color: var(--ink); border: 1px solid var(--line-dark); border-radius: 6px; box-shadow: 3px 3px 8px rgba(16,19,26,.12); }
.route-node small { display: block; margin-bottom: 4px; color: var(--ink-soft); font: 600 .55rem/1.1 var(--mono); letter-spacing: .05em; }
.route-node strong { font-size: .92rem; }
.node-origin { left: 0; top: 50%; transform: translateY(-50%); }
.node-switch { left: 50%; top: 50%; width: 158px; padding-top: 13px; transform: translate(-50%, -50%); background: var(--ink); color: var(--white); border-color: var(--white); }
.node-switch small { color: #cbd2df; }
.node-open { right: 0; top: 9%; }
.node-proprietary { right: 0; top: 50%; transform: translateY(-50%); }
.node-compute { right: 0; bottom: 9%; }
.port { position: absolute; left: -9px; top: calc(50% - 8px); width: 16px; height: 16px; border: 4px solid var(--white); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.node-origin .port { left: auto; right: -9px; }
.port-orange { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.switch-logo { float: left; width: 36px; height: 36px; margin-right: 10px; display: grid; place-items: center; color: var(--ink); background: var(--orange); border-radius: 50%; font: 700 .8rem var(--mono); }
.route-controls { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.38); border-bottom: 1px solid rgba(255,255,255,.38); }
.route-control { min-height: 64px; padding: 12px; color: rgba(255,255,255,.7); background: transparent; border: 0; border-right: 1px solid rgba(255,255,255,.38); text-align: left; font-size: .82rem; font-weight: 700; cursor: pointer; }
.route-control:last-child { border-right: 0; }
.route-control span { margin-right: 9px; font: 600 .58rem var(--mono); }
.route-control:hover, .route-control.is-active { color: var(--white); background: rgba(16,19,26,.18); }
.route-control.is-active span { color: var(--orange); }
.route-caption { min-height: 20px; margin: 16px 0 0; color: rgba(255,255,255,.78); font: 500 .62rem/1.4 var(--mono); letter-spacing: .03em; }

.fact-rail { min-height: 84px; padding: 0 max(24px, calc((100vw - 1440px) / 2)); display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; color: var(--white); background: var(--ink); border-bottom: 1px solid #2d313a; }
.fact-rail p { margin: 0; padding: 23px 20px; display: flex; gap: 14px; align-items: center; border-right: 1px solid #343943; font: 600 .65rem/1.3 var(--mono); letter-spacing: .07em; }
.fact-rail p:last-child { border-right: 0; }
.fact-rail span { color: var(--white); }

.layout-grid { width: var(--container); margin-inline: auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(18px, 2.4vw, 38px); }
.section-marker { color: var(--blue); font: 600 .68rem/1.3 var(--mono); letter-spacing: .09em; }
.section-marker::before { content: ""; width: 34px; height: 2px; margin: 0 12px 3px 0; display: inline-block; background: currentColor; }
.manifesto { padding-block: var(--section); row-gap: 72px; }
.manifesto > .section-marker { grid-column: 1 / 4; padding-top: 10px; }
.manifesto-heading { grid-column: 4 / 10; }
.manifesto-heading h2, .developer-copy h2, .platform-intro h2 { margin-bottom: 0; font: 600 clamp(3rem, 5.8vw, 5.2rem)/.9 var(--display); letter-spacing: -.03em; }
.manifesto-copy { grid-column: 10 / 13; padding-top: 10px; }
.manifesto-copy p { max-width: 42ch; margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.model-ledger { grid-column: 1 / 13; border-top: 1px solid var(--line-dark); }
.ledger-row { min-height: 128px; display: grid; grid-template-columns: 140px 1.2fr 1fr 180px; gap: 24px; align-items: center; border-bottom: 1px solid var(--line-dark); }
.ledger-code { font: 600 .65rem var(--mono); color: var(--blue); }
.ledger-row h3 { margin: 0; font: 600 clamp(1.9rem, 3vw, 2.9rem)/1 var(--display); }
.ledger-row p { max-width: 42ch; margin: 0; color: var(--ink-soft); }
.ledger-status { justify-self: end; display: flex; gap: 8px; align-items: center; font: 600 .56rem var(--mono); letter-spacing: .05em; }
.ledger-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-dark); }
.ledger-row-dark { margin-inline: -24px; padding-inline: 24px; color: var(--white); background: var(--ink); border-radius: 12px; border-bottom: 0; }
.ledger-row-dark .ledger-code, .ledger-row-dark .ledger-status { color: var(--white); }
.ledger-row-dark p { color: #c9cfda; }
.ledger-row-dark .ledger-status i { background: var(--line-dark); }

.connection-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(540px, 1.1fr); color: var(--white); background: var(--blue); }
.connection-copy { padding: var(--section) clamp(42px, 7vw, 120px) var(--section) max(24px, calc((100vw - 1440px) / 2)); }
.section-marker-light { color: var(--white); }
.connection-copy h2 { max-width: 700px; margin: 44px 0 30px; font: 600 clamp(3.2rem, 6vw, 5.2rem)/.9 var(--display); letter-spacing: -.03em; }
.connection-copy > p { max-width: 58ch; margin-bottom: 24px; color: #e2e6ff; font-size: 1.1rem; }
.estate-list { max-width: 680px; margin-bottom: 38px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.42); }
.estate-list span { min-height: 44px; padding: 0 12px; display: grid; place-items: center; border-right: 1px solid rgba(255,255,255,.42); color: var(--white); font: 600 .58rem/1.2 var(--mono); letter-spacing: .05em; }
.estate-list span:last-child { border-right: 0; }
.button-light { color: var(--ink); background: var(--white); box-shadow: 4px 4px 6px rgba(16,19,26,.14); }
.button-light:hover { color: var(--white); background: var(--ink); }
.button-outline-light { color: var(--white); background: transparent; border-color: #687080; }
.button-outline-light:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.exchange-diagram { position: relative; padding: var(--section) max(24px, calc((100vw - 1440px) / 2)) var(--section) clamp(52px, 6vw, 96px); display: flex; align-items: center; background: #1e3dcc; overflow: hidden; }
.exchange-diagram ol { position: relative; z-index: 2; width: 100%; max-width: 690px; margin: 0; padding: 0; list-style: none; }
.exchange-diagram li { position: relative; min-height: 150px; display: grid; grid-template-columns: 52px 1fr; gap: 28px; align-items: start; }
.step-port { width: 52px; height: 52px; display: grid; place-items: center; color: var(--ink); background: var(--white); border: 6px solid rgba(255,255,255,.22); outline: 2px solid var(--white); border-radius: 50%; font: 700 .7rem var(--mono); }
.exchange-diagram small { color: #bfc9ff; font: 600 .61rem var(--mono); letter-spacing: .08em; }
.exchange-diagram h3 { margin: 5px 0 7px; font: 600 clamp(1.7rem, 2.6vw, 2.4rem)/1 var(--display); }
.exchange-diagram p { max-width: 45ch; color: #dbe1ff; }
.exchange-track { position: absolute; left: calc(clamp(52px, 6vw, 96px) + 25px); top: 22%; bottom: 22%; width: 2px; background: rgba(255,255,255,.28); }
.exchange-track span { position: absolute; top: 0; left: -1px; width: 4px; height: 33%; background: var(--orange); animation: signalMove 6s var(--ease) infinite alternate; }
@keyframes signalMove { to { transform: translateY(200%); } }

.developer-section { padding-block: var(--section); align-items: start; }
.developer-section > .section-marker { grid-column: 1 / 3; padding-top: 9px; }
.developer-copy { grid-column: 3 / 7; }
.developer-copy h2 { margin-bottom: 30px; }
.developer-copy > p { max-width: 55ch; color: var(--ink-soft); }
.plain-list { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.plain-list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.plain-list li::before { content: "↳"; margin-right: 13px; color: var(--blue); }
.code-window { grid-column: 8 / 13; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--ink); color: var(--white); box-shadow: 6px 6px 14px rgba(44,75,212,.12); overflow: hidden; }
.code-toolbar, .code-status { min-height: 50px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #343944; font: 600 .58rem var(--mono); letter-spacing: .07em; }
.code-toolbar button { padding: 7px 11px; color: var(--white); background: transparent; border: 1px solid #555c6a; border-radius: 4px; cursor: pointer; }
.code-toolbar button:hover { border-color: var(--orange); }
.code-window pre { min-height: 300px; margin: 0; padding: 42px 26px; overflow: auto; font: 500 clamp(.75rem, 1vw, .9rem)/1.85 var(--mono); }
.code-muted { color: #8d96a5; }
.code-key { color: #8ba3ff; }
.code-string { color: #ff967f; }
.code-status { justify-content: flex-start; gap: 9px; border-top: 1px solid #343944; border-bottom: 0; color: #abb3c0; }
.code-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.platform-section { padding: var(--section) max(24px, calc((100vw - 1440px) / 2)); background: var(--white); }
.platform-intro { margin-bottom: 68px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 8vw; align-items: end; }
.platform-intro .section-marker { margin-bottom: 38px; }
.platform-intro h2 { max-width: 850px; }
.platform-intro > div:last-child p { max-width: 46ch; color: var(--ink-soft); }
.dashboard-preview { position: relative; min-height: 650px; display: grid; grid-template-columns: 82px 1fr; color: var(--ink); background: var(--cloud); border: 1px solid var(--line-dark); border-radius: 12px; box-shadow: 8px 8px 20px rgba(16,19,26,.08); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.dashboard-preview:hover { transform: translate(-2px, -2px); box-shadow: 12px 12px 28px rgba(44,75,212,.12); }
.preview-rail { padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 28px; color: var(--white); background: var(--ink); }
.mini-brand { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); background: var(--orange); border-radius: 50%; font: 700 .7rem var(--mono); }
.preview-rail i { width: 22px; height: 22px; border: 1px solid #687080; border-radius: 5px; }
.preview-rail i:first-of-type { background: var(--blue); border-color: var(--blue); }
.preview-workspace { padding: 28px clamp(25px, 4vw, 66px) 50px; }
.preview-top { padding-bottom: 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line-dark); font: 600 .61rem var(--mono); letter-spacing: .07em; }
.preview-top span:last-child { color: var(--blue); }
.preview-title { min-height: 230px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.preview-title h3 { margin: 0; font: 600 clamp(3.4rem, 6.2vw, 5.6rem)/.9 var(--display); letter-spacing: -.035em; }
.preview-action { padding: 12px 16px; color: var(--ink); background: var(--orange); border-radius: 6px; font-size: .8rem; font-weight: 700; }
.preview-modules { display: grid; grid-template-columns: 1.4fr .6fr; gap: 22px; }
.preview-route, .preview-activity { min-height: 230px; padding: 25px; border: 1px solid var(--line-dark); border-radius: 8px; background: var(--white); }
.preview-route small, .preview-activity small { font: 600 .58rem var(--mono); letter-spacing: .06em; }
.preview-route svg { width: 100%; height: 130px; margin-top: 24px; overflow: visible; }
.preview-route path { fill: none; stroke: var(--blue); stroke-width: 3; }
.preview-route circle { fill: var(--orange); }
.preview-labels { display: flex; justify-content: space-between; font: 600 .55rem var(--mono); }
.preview-activity { display: flex; flex-direction: column; }
.preview-activity strong { margin-top: auto; font: 600 2.4rem/1 var(--display); }
.preview-activity p { color: var(--ink-soft); }
.preview-activity > span { color: var(--blue); font: 600 .57rem var(--mono); }

.enterprise-section { padding: var(--section) max(24px, calc((100vw - 1440px) / 2)); display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: clamp(54px, 8vw, 130px); align-items: start; background: var(--cloud); }
.enterprise-copy .section-marker { margin-bottom: 42px; }
.enterprise-copy h2 { max-width: 720px; margin-bottom: 30px; font: 600 clamp(3rem, 5.8vw, 5.2rem)/.9 var(--display); letter-spacing: -.03em; }
.enterprise-copy > p { max-width: 58ch; color: var(--ink-soft); font-size: 1.05rem; }
.enterprise-topics { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.enterprise-topics li { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.enterprise-topics li::before { content: "↳"; margin-right: 13px; color: var(--blue); }
.consultation-form { padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: var(--white); border: 1px solid var(--line-dark); border-radius: 12px; box-shadow: 6px 6px 14px rgba(44,75,212,.1); }
.form-topline { grid-column: 1 / -1; padding-bottom: 18px; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line-dark); font: 600 .58rem/1.2 var(--mono); letter-spacing: .07em; }
.form-topline span:last-child { color: var(--blue); }
.consultation-form label { min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: .82rem; font-weight: 700; }
.consultation-form input, .consultation-form select, .consultation-form textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: var(--cloud); border: 1px solid var(--line-dark); border-radius: 4px; }
.consultation-form textarea { min-height: 116px; resize: vertical; }
.form-field-wide, .form-submit-row, .consultation-response { grid-column: 1 / -1; }
.form-submit-row { display: flex; gap: 22px; align-items: center; }
.form-submit-row p { margin: 0; color: var(--ink-soft); font-size: .76rem; }
.consultation-response { margin: 0; padding: 14px 16px; color: #263577; background: #e8ecff; border: 1px solid #c9d1ff; border-radius: 6px; font-weight: 700; }
.consultation-response[hidden] { display: none; }

.closing-section { min-height: 660px; display: grid; grid-template-columns: minmax(330px, .38fr) minmax(0, 1fr); color: var(--white); background: var(--ink); }
.closing-signal { position: relative; min-height: 560px; background: var(--blue); overflow: hidden; }
.closing-signal::before, .closing-signal::after { content: ""; position: absolute; border: 2px solid rgba(255,255,255,.24); border-radius: 50%; }
.closing-signal::before { width: 540px; height: 540px; left: -330px; top: 60px; }
.closing-signal::after { width: 360px; height: 360px; left: -240px; top: 150px; }
.closing-signal span { position: absolute; z-index: 2; left: 0; top: calc(50% - 2px); width: 78%; height: 4px; background: var(--orange); }
.closing-signal i { position: absolute; z-index: 3; width: 18px; height: 18px; border: 4px solid var(--white); border-radius: 50%; background: var(--blue); }
.closing-signal i:nth-of-type(1) { left: 35%; top: calc(50% - 9px); }
.closing-signal i:nth-of-type(2) { left: 55%; top: calc(50% - 9px); }
.closing-signal i:nth-of-type(3) { left: 76%; top: calc(50% - 9px); background: var(--orange); }
.closing-copy { padding: var(--section) max(24px, calc((100vw - 1440px) / 2)) var(--section) clamp(48px, 7vw, 120px); display: flex; flex-direction: column; justify-content: center; }
.closing-copy > p { color: var(--white); font: 600 .65rem var(--mono); letter-spacing: .08em; }
.closing-copy h2 { max-width: 950px; margin: 38px 0 62px; font: 600 clamp(3.4rem, 6.5vw, 5.4rem)/.9 var(--display); letter-spacing: -.03em; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.closing-actions p { margin: 0; color: #aeb5c3; font-size: .86rem; }
.site-footer { min-height: 160px; padding: 34px max(24px, calc((100vw - 1440px) / 2)); display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 28px; align-items: center; background: var(--cloud); border-top: 1px solid var(--line); }
.brand-footer { min-width: 0; }
.site-footer > p { margin: 0; color: var(--ink-soft); }
.footer-links { display: flex; justify-content: flex-end; gap: 24px; }
.footer-links a { font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.footer-legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); font: 500 .58rem var(--mono); letter-spacing: .04em; }

/* Client platform */
.platform-body { min-height: 100vh; background: #eef1f7; }
.platform-sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: 260px; padding: 22px 16px 18px; display: flex; flex-direction: column; color: #f5f7fc; background: var(--ink); }
.platform-brand-row { display: flex; justify-content: space-between; align-items: center; }
.platform-brand { display: flex; gap: 11px; align-items: center; color: var(--white); text-decoration: none; font: 700 14px/.83 var(--display); letter-spacing: .025em; }
.platform-brand svg { width: 30px; height: 30px; overflow: visible; }
.platform-close { display: none; color: var(--white); background: transparent; border: 0; font-size: 1.8rem; cursor: pointer; }
.workspace-switcher { min-height: 64px; margin: 35px 0 22px; padding: 10px; display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; border: 1px solid #3a3f4a; border-radius: 6px; }
.workspace-avatar { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: var(--orange); border-radius: 4px; font: 700 .72rem var(--mono); }
.workspace-switcher small, .operator small { display: block; color: #929aa8; font: 600 .56rem var(--mono); letter-spacing: .06em; }
.workspace-switcher strong { display: block; font-size: .8rem; }
.platform-nav { display: flex; flex-direction: column; gap: 4px; }
.platform-nav button, .platform-side-bottom button, .platform-side-bottom a { width: 100%; min-height: 44px; padding: 0 12px; display: flex; gap: 12px; align-items: center; color: #b8bfcc; background: transparent; border: 0; border-radius: 5px; text-align: left; text-decoration: none; font-size: .88rem; font-weight: 700; cursor: pointer; }
.platform-nav button:hover, .platform-side-bottom button:hover, .platform-side-bottom a:hover { color: var(--white); background: #242936; }
.platform-nav button.is-active { color: var(--white); background: var(--blue); }
.nav-glyph { width: 20px; text-align: center; font-size: 1rem; }
.platform-side-bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid #353a44; }
.operator { margin-top: 18px; padding: 13px 10px 0; display: flex; gap: 10px; align-items: center; border-top: 1px solid #353a44; }
.operator-avatar { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: var(--white); border-radius: 50%; font: 700 .6rem var(--mono); }
.operator strong { display: block; font-size: .78rem; }
.platform-shell { min-height: 100vh; margin-left: 260px; }
.platform-topbar { position: sticky; z-index: 30; top: 0; min-height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.platform-menu { display: none; }
.breadcrumb { display: flex; gap: 13px; align-items: center; }
.breadcrumb span { color: var(--blue); font: 600 .56rem var(--mono); letter-spacing: .06em; }
.breadcrumb span::after { content: "/"; margin-left: 13px; color: var(--line-dark); }
.breadcrumb strong { font-size: .88rem; }
.topbar-actions { display: flex; gap: 10px; align-items: center; }
.preview-badge { min-height: 32px; padding: 0 11px; display: flex; gap: 7px; align-items: center; color: #3247a8; background: #e8ecff; border-radius: 4px; font: 600 .52rem var(--mono); letter-spacing: .05em; }
.preview-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.icon-button, .help-button { min-height: 44px; padding: 0 13px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; font-weight: 700; cursor: pointer; }
.icon-button:hover, .help-button:hover { border-color: var(--blue); }
.platform-main { width: min(100% - 64px, 1500px); margin: 0 auto; padding: 55px 0 90px; }
.app-panel { animation: panelIn .35s var(--ease); }
@keyframes panelIn { from { opacity: .4; transform: translateY(8px); } }
.app-heading { margin-bottom: 38px; display: flex; justify-content: space-between; gap: 32px; align-items: end; }
.app-kicker { margin-bottom: 15px; color: var(--blue); font: 600 .58rem var(--mono); letter-spacing: .08em; }
.app-heading h1 { margin-bottom: 7px; font: 600 clamp(3.2rem, 5.5vw, 5rem)/.88 var(--display); letter-spacing: -.03em; }
.app-heading > div > p:last-child { max-width: 58ch; margin: 0; color: var(--ink-soft); }
.app-button { min-height: 44px; padding: 0 16px; display: inline-flex; gap: 24px; align-items: center; justify-content: space-between; border: 1px solid transparent; border-radius: 5px; font-weight: 700; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.app-button:hover { transform: translateY(-1px); }
.app-button-primary { color: var(--ink); background: var(--orange); box-shadow: 3px 3px 6px rgba(16,19,26,.14); }
.app-button-primary:hover { background: #e8754e; }
.app-button-dark { color: var(--white); background: var(--ink); }
.app-button-dark:hover { background: var(--blue); }
.app-button-secondary { color: var(--ink); background: var(--white); border-color: var(--line-dark); }
.preview-notice { margin-bottom: 22px; padding: 15px 18px; display: grid; grid-template-columns: 28px 1fr auto; gap: 13px; align-items: center; background: #e8ecff; border: 1px solid #c9d1ff; border-radius: 6px; }
.notice-icon { width: 25px; height: 25px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font: 600 .65rem var(--mono); }
.preview-notice p { margin: 0; color: #263577; font-size: .85rem; }
.preview-notice a { color: #263577; font-size: .82rem; font-weight: 700; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 22px; }
.app-module { background: var(--white); border: 1px solid var(--line-dark); border-radius: 8px; }
.module-header { min-height: 76px; padding: 18px 20px; display: flex; justify-content: space-between; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); }
.module-header p { margin: 0 0 5px; color: var(--blue); font: 600 .56rem var(--mono); letter-spacing: .07em; }
.module-header h2 { margin: 0; font: 600 1.55rem/1 var(--display); }
.module-header > span, .module-header > button { color: var(--ink-soft); background: transparent; border: 0; font: 600 .56rem var(--mono); letter-spacing: .05em; }
.module-header > button { cursor: pointer; text-decoration: underline; }
.module-state { display: flex; gap: 7px; align-items: center; }
.module-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.app-routing-map { position: relative; min-height: 290px; }
.app-routing-map svg { position: absolute; inset: 20px 28px 10px; width: calc(100% - 56px); height: calc(100% - 30px); overflow: visible; }
.app-routing-map path { fill: none; vector-effect: non-scaling-stroke; }
.app-route-base { stroke: var(--line); stroke-width: 3; }
.app-route-active { stroke: var(--blue); stroke-width: 3; stroke-dasharray: 10 9; animation: routeFlow 2.4s linear infinite; }
.map-port { fill: var(--white); stroke: var(--blue); stroke-width: 6; vector-effect: non-scaling-stroke; }
.map-port.source { fill: var(--orange); stroke: var(--orange); }
.map-node { position: absolute; min-width: 125px; }
.map-node small { display: block; color: var(--ink-soft); font: 600 .56rem var(--mono); }
.map-node strong { font-size: .82rem; }
.map-source { left: 27px; top: 53%; }
.map-open { right: 26px; top: 13%; text-align: right; }
.map-closed { right: 26px; bottom: 8%; text-align: right; }
.connection-footer { min-height: 50px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; background: var(--cloud); border-top: 1px solid var(--line); }
.connection-footer p { margin: 0; display: flex; gap: 8px; align-items: center; color: var(--ink-soft); font-size: .76rem; }
.empty-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-dark); }
.connection-footer button, .text-button { color: var(--blue); background: transparent; border: 0; font-size: .75rem; font-weight: 700; cursor: pointer; }
.quick-module { padding-bottom: 18px; }
.quick-steps { margin: 0; padding: 14px 20px 18px; list-style: none; }
.quick-steps li { min-height: 70px; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; color: var(--ink-soft); }
.quick-steps li > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; font: 600 .55rem var(--mono); }
.quick-steps strong, .quick-steps small { display: block; }
.quick-steps strong { color: var(--ink); font-size: .82rem; }
.quick-steps small { margin-top: 2px; font-size: .72rem; }
.quick-steps .is-current > span { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.quick-module .app-button { width: calc(100% - 40px); margin-inline: 20px; }
.lower-grid { margin-top: 22px; display: grid; grid-template-columns: 1.45fr .55fr; gap: 22px; }
.empty-chart { position: relative; min-height: 230px; display: grid; place-items: center; overflow: hidden; }
.chart-grid { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(4, 1fr); }
.chart-grid i { border-bottom: 1px solid var(--line); }
.empty-chart-message { position: relative; z-index: 2; padding: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(255,255,255,.9); }
.empty-chart-message strong { margin: 11px 0 4px; }
.empty-chart-message small { color: var(--ink-soft); }
.pulse-port { width: 18px; height: 18px; border: 5px solid #ffb6a6; border-radius: 50%; background: var(--orange); }
.readiness-list { margin: 0; padding: 0 20px; }
.readiness-list div { padding: 15px 0; display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.readiness-list dt { font-size: .8rem; font-weight: 700; }
.readiness-list dd { margin: 0; color: var(--ink-soft); font-size: .75rem; }
.account-module .text-button { margin: 18px 20px; }

.catalog-toolbar { margin-bottom: 18px; display: flex; justify-content: space-between; gap: 16px; }
.catalog-toolbar input { min-width: 300px; min-height: 44px; padding: 0 14px; background: var(--white); border: 1px solid var(--line-dark); border-radius: 5px; }
.filter-group { display: flex; padding: 4px; background: #e3e7ef; border-radius: 6px; }
.filter-group button { padding: 7px 13px; background: transparent; border: 0; border-radius: 4px; font-size: .78rem; font-weight: 700; cursor: pointer; }
.filter-group button.is-active { background: var(--white); box-shadow: 0 2px 8px rgba(16,19,26,.1); }
.model-table { background: var(--white); border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; }
.model-table-head, .model-table-row { min-height: 64px; padding: 0 20px; display: grid; grid-template-columns: 1.25fr 1fr 1fr 130px; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); }
.model-table-head { min-height: 42px; color: var(--ink-soft); background: var(--cloud); font: 600 .56rem var(--mono); letter-spacing: .05em; }
.model-table-row:last-child { border-bottom: 0; }
.model-table-row > span { font-size: .8rem; }
.model-table-row > button { color: var(--blue); background: transparent; border: 0; font-size: .75rem; font-weight: 700; cursor: pointer; }
.model-empty { padding: 42px 20px; text-align: center; background: var(--white); border: 1px solid var(--line-dark); border-radius: 8px; }
.model-empty strong { display: block; margin-bottom: 4px; font: 600 1.6rem/1 var(--display); text-transform: uppercase; }
.model-empty p { margin-bottom: 14px; color: var(--ink-soft); }
.model-empty button { min-height: 44px; padding: 0 14px; color: var(--white); background: var(--ink); border: 0; border-radius: 4px; font-weight: 700; cursor: pointer; }
.model-empty[hidden] { display: none; }
.model-identity { display: flex; gap: 12px; align-items: center; }
.model-identity > i { width: 36px; height: 36px; display: grid; place-items: center; color: var(--white); background: var(--ink); border-radius: 5px; font: 600 .65rem var(--mono); font-style: normal; }
.model-identity strong, .model-identity small { display: block; }
.model-identity small { color: var(--ink-soft); }
.state-chip { padding: 6px 8px; display: inline-block; border-radius: 4px; font: 600 .54rem var(--mono); letter-spacing: .03em; }
.state-neutral { color: #5e6470; background: #eef0f4; }
.security-note { margin-bottom: 22px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; color: #71402d; background: #fff0e9; border: 1px solid #ffd1c4; border-radius: 6px; }
.security-note > span { width: 26px; height: 26px; display: grid; place-items: center; color: var(--ink); background: var(--orange); border-radius: 50%; font-weight: 700; }
.security-note p { margin: 0; font-size: .83rem; }
.empty-state-module { min-height: 430px; padding: 60px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.key-illustration { position: relative; width: 160px; height: 100px; margin-bottom: 28px; }
.key-illustration span { position: absolute; width: 68px; height: 68px; left: 0; top: 16px; border: 13px solid var(--blue); border-radius: 50%; }
.key-illustration span::after { content: ""; position: absolute; width: 90px; height: 13px; left: 48px; top: 14px; background: var(--blue); }
.key-illustration i { position: absolute; z-index: 2; width: 13px; height: 28px; right: 6px; background: var(--blue); }
.key-illustration i:first-of-type { top: 50px; }
.key-illustration i:last-of-type { top: 36px; right: 28px; }
.empty-state-module h2 { margin-bottom: 8px; font: 600 2.2rem/1 var(--display); }
.empty-state-module p { color: var(--ink-soft); }
.usage-summary-grid { margin-bottom: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.usage-summary-grid > div { min-height: 130px; padding: 20px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-dark); border-radius: 7px; }
.usage-summary-grid small { color: var(--blue); font: 600 .52rem var(--mono); letter-spacing: .05em; }
.usage-summary-grid strong { margin-top: auto; font: 600 2.9rem/1 var(--display); }
.usage-summary-grid span { color: var(--ink-soft); font-size: .73rem; }
.empty-chart-large { min-height: 430px; }
.billing-layout { display: grid; grid-template-columns: 1fr 390px; gap: 22px; }
.billing-layout > .app-module { padding-bottom: 20px; }
.billing-empty { min-height: 230px; padding: 40px; display: flex; gap: 26px; align-items: center; }
.billing-empty > span { width: 75px; height: 75px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font: 600 2rem var(--display); }
.billing-empty strong { font: 600 1.6rem var(--display); }
.billing-empty p { color: var(--ink-soft); }
.billing-layout > .app-module > .app-button { margin-left: 20px; }
.billing-aside { padding: 34px; color: var(--white); background: var(--blue); border-radius: 8px; }
.billing-aside p { color: #c5cfff; font: 600 .55rem var(--mono); }
.billing-aside h2 { margin: 38px 0 80px; font: 600 2.7rem/.95 var(--display); }
.billing-aside a { font-weight: 700; }
.settings-form { max-width: 850px; padding: 32px; background: var(--white); border: 1px solid var(--line-dark); border-radius: 8px; }
.settings-form fieldset { margin: 0 0 36px; padding: 0; border: 0; }
.settings-form fieldset:last-child { margin-bottom: 0; }
.settings-form legend { width: 100%; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font: 600 1.6rem var(--display); }
.settings-form label { max-width: 600px; margin-bottom: 18px; display: block; font-size: .8rem; font-weight: 700; }
.settings-form input, .settings-form select { width: 100%; min-height: 46px; margin-top: 7px; padding: 0 13px; background: var(--cloud); border: 1px solid var(--line-dark); border-radius: 4px; }
.field-help { max-width: 600px; margin: -2px 0 18px; padding: 12px 14px; color: #263577; background: #e8ecff; border: 1px solid #c9d1ff; border-radius: 4px; font-size: .78rem; }
.app-toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; width: min(420px, calc(100% - 48px)); min-height: 64px; padding: 14px 14px 14px 18px; display: grid; grid-template-columns: 9px 1fr 28px; gap: 12px; align-items: center; color: var(--white); background: var(--ink); border-radius: 6px; box-shadow: 4px 4px 14px rgba(44,75,212,.12); }
.app-toast > span { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.app-toast p { margin: 0; font-size: .82rem; }
.app-toast button { color: var(--white); background: transparent; border: 0; font-size: 1.3rem; cursor: pointer; }
.app-toast[hidden], .app-panel[hidden], .sidebar-scrim[hidden] { display: none; }

@media (max-width: 1180px) {
  .site-header { min-height: 78px; }
  .brand { min-width: 210px; }
  .site-nav a { min-width: auto; padding: 0 17px; }
  .site-nav .nav-platform { min-width: 190px; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 700px; padding-right: max(24px, calc((100vw - 1000px) / 2)); }
  .routing-board { min-height: 690px; border-bottom-left-radius: 0; border-top-right-radius: 100px; }
  .route-visual { width: 100%; max-width: 840px; align-self: center; }
  .connection-section { grid-template-columns: 1fr; }
  .enterprise-section { grid-template-columns: 1fr; }
  .enterprise-copy { max-width: 820px; }
  .connection-copy { padding-right: max(24px, calc((100vw - 1000px) / 2)); }
  .exchange-diagram { padding-left: max(24px, calc((100vw - 1000px) / 2)); }
  .developer-section > .section-marker { grid-column: 1 / 4; }
  .developer-copy { grid-column: 4 / 8; }
  .code-window { grid-column: 8 / 13; }
  .platform-sidebar { width: 230px; }
  .platform-shell { margin-left: 230px; }
  .overview-grid, .lower-grid { grid-template-columns: 1fr; }
  .quick-module { padding-bottom: 20px; }
  .billing-layout { grid-template-columns: 1fr; }
  .billing-aside h2 { margin-bottom: 40px; }
}

@media (max-width: 900px) {
  :root { --container: min(100% - 40px, 760px); }
  .site-header { padding-inline: 20px; justify-content: space-between; align-items: center; }
  .menu-toggle { min-height: 42px; padding: 0 12px; display: inline-flex; gap: 10px; align-items: center; background: transparent; border: 1px solid var(--line-dark); border-radius: 5px; font-weight: 700; }
  .menu-lines, .menu-lines::before, .menu-lines::after { width: 18px; height: 2px; display: block; background: var(--ink); transition: transform .2s; }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -5px; }
  .menu-lines::after { top: 5px; }
  .menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }
  .site-nav { position: absolute; inset: 78px 0 auto; display: none; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line-dark); box-shadow: 0 18px 30px rgba(16,19,26,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav .nav-platform { min-height: 58px; padding: 0 20px; justify-content: space-between; border-top: 1px solid var(--line); border-left: 0; }
  .hero-copy { min-height: 650px; padding-inline: 20px; }
  .fact-rail { padding: 0; grid-template-columns: repeat(2, 1fr); }
  .fact-rail p:nth-child(2) { border-right: 0; }
  .fact-rail p:nth-child(-n+2) { border-bottom: 1px solid #343943; }
  .manifesto > .section-marker { grid-column: 1 / 13; }
  .manifesto-heading { grid-column: 1 / 10; }
  .manifesto-copy { grid-column: 10 / 13; }
  .ledger-row { grid-template-columns: 100px 1fr 150px; padding-block: 20px; }
  .ledger-row p { grid-column: 2 / 3; }
  .ledger-status { grid-column: 3; grid-row: 1 / 3; }
  .developer-section { row-gap: 50px; }
  .developer-section > .section-marker, .developer-copy, .code-window { grid-column: 1 / 13; }
  .developer-copy { max-width: 680px; }
  .platform-intro { grid-template-columns: 1fr; gap: 35px; }
  .dashboard-preview { min-height: 560px; grid-template-columns: 65px 1fr; }
  .preview-title { min-height: 190px; }
  .preview-modules { grid-template-columns: 1fr; }
  .preview-activity { display: none; }
  .closing-section { grid-template-columns: 180px 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
  .platform-sidebar { transform: translateX(-102%); transition: transform .3s var(--ease); }
  .platform-sidebar.is-open { transform: translateX(0); }
  .platform-close { display: block; }
  .platform-shell { margin-left: 0; }
  .platform-topbar { padding-inline: 20px; }
  .platform-menu { width: 44px; height: 44px; margin-right: 15px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
  .breadcrumb { margin-right: auto; }
  .platform-main { width: min(100% - 40px, 760px); }
  .sidebar-scrim { position: fixed; z-index: 40; inset: 0; display: block; background: rgba(16,19,26,.5); }
  .model-table-head { display: none; }
  .model-table-row { padding-block: 18px; grid-template-columns: 1fr 1fr; }
  .model-table-row > button { justify-self: end; }
}

@media (max-width: 640px) {
  :root { --container: calc(100% - 32px); --section: 76px; }
  .brand { min-width: 0; }
  .hero-copy { min-height: 590px; padding-block: 68px; }
  .location-line { margin-bottom: 32px; }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 5.4rem); }
  .hero-intro { font-size: 1.05rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .routing-board { min-height: 740px; padding-inline: 16px; border-top-right-radius: 60px; }
  .board-topline { font-size: .6rem; }
  .route-lines { display: none; }
  .route-visual { min-height: 440px; padding: 12px 26px; display: grid; grid-template-columns: 1fr; gap: 10px; align-content: center; }
  .route-node, .node-origin, .node-switch, .node-open, .node-proprietary, .node-compute { position: relative; inset: auto; width: 100%; min-height: 58px; padding: 9px 11px; transform: none; }
  .route-node:not(.node-compute)::after { content: ""; position: absolute; top: 100%; left: 50%; width: 2px; height: 12px; background: rgba(255,255,255,.4); }
  .route-node.is-active { outline: 3px solid var(--orange); outline-offset: -4px; }
  .route-node .port { display: none; }
  .route-node strong { font-size: .85rem; }
  .route-node small { font-size: .62rem; }
  .switch-logo { width: 32px; height: 32px; font-size: .65rem; }
  .route-controls { grid-template-columns: 1fr; }
  .route-control { min-height: 44px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.3); }
  .route-control:last-child { border-bottom: 0; }
  .route-caption { display: none; }
  .fact-rail { grid-template-columns: 1fr; }
  .fact-rail p { min-height: 58px; border-right: 0; border-bottom: 1px solid #343943; }
  .manifesto { row-gap: 40px; }
  .manifesto-heading, .manifesto-copy { grid-column: 1 / 13; }
  .manifesto-heading h2, .developer-copy h2, .platform-intro h2 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .model-ledger { margin-top: 12px; }
  .ledger-row { grid-template-columns: 62px 1fr; gap: 12px; }
  .ledger-row h3 { font-size: 1.8rem; }
  .ledger-row p { grid-column: 2; }
  .ledger-status { grid-column: 2; grid-row: auto; justify-self: start; }
  .ledger-row-dark { margin-inline: -8px; padding-inline: 8px; }
  .connection-copy, .exchange-diagram { padding-inline: 16px; }
  .estate-list { grid-template-columns: repeat(2, 1fr); }
  .estate-list span:nth-child(2) { border-right: 0; }
  .estate-list span:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.42); }
  .enterprise-section { padding-inline: 16px; gap: 48px; }
  .enterprise-copy h2 { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .consultation-form { grid-template-columns: 1fr; padding: 24px 16px; box-shadow: 4px 4px 10px rgba(44,75,212,.08); }
  .consultation-form label, .form-topline, .form-field-wide, .form-submit-row, .consultation-response { grid-column: 1; }
  .form-submit-row { align-items: flex-start; flex-direction: column; }
  .connection-copy h2, .closing-copy h2 { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .exchange-diagram li { grid-template-columns: 44px 1fr; gap: 20px; }
  .step-port { width: 44px; height: 44px; }
  .exchange-track { left: 37px; }
  .code-window { margin-right: 8px; }
  .code-window pre { padding: 28px 18px; }
  .platform-section { padding-inline: 16px; }
  .dashboard-preview { min-height: 500px; grid-template-columns: 1fr; box-shadow: 5px 5px 14px rgba(16,19,26,.08); }
  .preview-rail { padding: 12px 16px; flex-direction: row; }
  .preview-rail i { width: 18px; height: 18px; }
  .preview-workspace { padding: 20px 16px 30px; }
  .preview-title { min-height: 180px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .preview-title h3 { font-size: 3rem; }
  .preview-action { display: none; }
  .preview-route { min-height: 210px; padding: 18px; }
  .closing-section { grid-template-columns: 1fr; }
  .closing-signal { min-height: 180px; }
  .closing-signal::before { top: -180px; }
  .closing-signal::after { top: -90px; }
  .closing-copy { padding-inline: 16px; }
  .closing-actions { align-items: flex-start; flex-direction: column; }
  .site-footer { padding-inline: 16px; grid-template-columns: 1fr; }
  .footer-links { grid-column: auto; flex-wrap: wrap; }
  .footer-legal { grid-column: auto; }
  .platform-topbar { min-height: 64px; }
  .breadcrumb span, .help-button, .preview-badge { display: none; }
  .platform-main { width: calc(100% - 28px); padding-top: 38px; }
  .app-heading { align-items: flex-start; flex-direction: column; }
  .app-heading h1 { font-size: 3.4rem; }
  .app-heading .app-button { width: 100%; }
  .preview-notice { grid-template-columns: 28px 1fr; }
  .preview-notice a { grid-column: 2; }
  .module-header { padding-inline: 15px; }
  .app-routing-map { min-height: 240px; }
  .map-node { min-width: 100px; }
  .map-node strong { font-size: .7rem; }
  .connection-footer { padding: 12px 15px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-toolbar input { width: 100%; min-width: 0; }
  .filter-group { overflow-x: auto; }
  .model-table-row { grid-template-columns: 1fr; }
  .model-table-row > button { justify-self: start; }
  .usage-summary-grid { grid-template-columns: 1fr; }
  .billing-empty { padding: 28px 20px; align-items: flex-start; flex-direction: column; }
  .billing-aside { padding: 26px; }
  .settings-form { padding: 22px 16px; }
}

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


/* Layout refinement — preserve hierarchy as the exchange reflows */
.hero-copy { padding-left: clamp(24px, calc((100vw - 1440px) / 2), 110px); }
#platform-main { scroll-margin-top: 88px; }
.platform-sidebar { overflow-y: auto; overscroll-behavior: contain; }
.catalog-toolbar { flex-wrap: wrap; align-items: center; }
.catalog-toolbar > label { flex: 1 1 300px; min-width: 0; }
.catalog-toolbar input { width: 100%; }
.model-table-head > *, .model-table-row > * { min-width: 0; overflow-wrap: anywhere; }
.platform-close, .connection-footer button, .text-button, .model-table-row > button, .app-toast button { min-width: 44px; min-height: 44px; }
.filter-group button { min-height: 44px; }
.app-toast { right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); grid-template-columns: 9px minmax(0, 1fr) 44px; }

@media (max-width: 1180px) {
  .hero-copy { min-height: clamp(620px, 60vw, 700px); }
  .routing-board { min-height: clamp(630px, 58vw, 690px); }
  .enterprise-section { gap: clamp(64px, 8vw, 88px); }
  .consultation-form { width: 100%; max-width: 900px; }
}

@media (max-width: 900px) {
  .menu-toggle { min-height: 44px; }
  .hero-copy { min-height: auto; padding: clamp(76px, 10vw, 92px) 20px; }
  .routing-board { min-height: 640px; }
  .manifesto { row-gap: 40px; }
  .manifesto-heading { grid-column: 1 / 11; }
  .manifesto-copy { grid-column: 1 / 9; padding-top: 0; }
  .manifesto-copy p { max-width: 58ch; }
  .platform-sidebar { visibility: hidden; }
  .platform-sidebar.is-open { visibility: visible; }
  .platform-close { width: 44px; height: 44px; }
  .model-table-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; padding-block: 20px; }
  .model-table-row > .model-identity { grid-column: 1; grid-row: 1; }
  .model-table-row > [role="cell"]:nth-of-type(2) { grid-column: 1; grid-row: 2; }
  .model-table-row > [role="cell"]:nth-of-type(3) { grid-column: 2; grid-row: 2; }
  .model-table-row > button { grid-column: 2; grid-row: 1; justify-self: end; }
  .model-table-row > [role="cell"]:not(.model-identity)::before { content: attr(data-label); margin-bottom: 5px; display: block; color: var(--ink-soft); font: 600 .54rem/1.2 var(--mono); letter-spacing: .05em; }
}

@media (max-width: 640px) {
  #platform-main { scroll-margin-top: 72px; }
  .hero-copy { min-height: auto; padding: 68px 16px 72px; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  .routing-board { min-height: 610px; }
  .route-visual { min-height: 350px; padding-inline: 20px; }
  .manifesto-heading, .manifesto-copy { grid-column: 1 / 13; }
  .catalog-toolbar > label { flex-basis: 100%; }
  .filter-group button { flex: 0 0 auto; }
  .model-table-row { gap: 14px; }
  .model-table-row > .model-identity,
  .model-table-row > [role="cell"]:nth-of-type(2),
  .model-table-row > [role="cell"]:nth-of-type(3),
  .model-table-row > button { grid-column: 1; grid-row: auto; justify-self: start; }
  .empty-state-module, .empty-chart-large { min-height: clamp(320px, 92vw, 380px); }
  .app-toast { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: min(420px, calc(100% - 28px)); }
}

/* Stable initial rendering */
.app-panel { animation: none; }

/* Routing geometry */
.route-channel { fill: none; stroke: rgba(255,255,255,.045); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.route-base { stroke: rgba(216,224,255,.3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.route-active { stroke: url(#route-signal-gradient); stroke-width: 3; stroke-dasharray: none; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(240,104,64,.24)); }
.route-active.is-active { animation: none; }
.route-pulse { stroke: #fff2ed; stroke-width: 5; stroke-dasharray: 1 18; stroke-linecap: round; filter: none; }
.route-pulse.is-active { animation: routePulse 3s linear infinite; }
.js .route-pulse.is-active { stroke-dashoffset: 100; }
@keyframes routePulse { to { stroke-dashoffset: 0; } }

@media (min-width: 641px) {
  .routing-board { background: var(--blue); }
  .route-lines { z-index: 1; }
  .route-node { z-index: 2; border-radius: 8px; transition: border-color .22s, box-shadow .22s; }
  .node-origin { top: 50%; }
  .node-switch { left: 48%; top: 50%; border-radius: 10px; box-shadow: 0 12px 28px rgba(16,19,26,.2); }
  .node-open { top: 13.5%; }
  .node-proprietary { top: 50%; }
  .node-compute { bottom: 11.5%; }
  .node-switch .switch-port-in { left: -9px; }
  .node-switch .switch-port-out { right: -9px; left: auto; }
  .route-node.is-active { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(240,104,64,.15), 5px 8px 20px rgba(16,19,26,.16); }
  .route-node.is-active .port { background: var(--orange); box-shadow: 0 0 0 2px var(--orange), 0 0 12px rgba(240,104,64,.3); }
}

/* Desktop first viewport — keep header, hero, and fact rail visible together */
@media (min-width: 1181px) {
  .hero { min-height: calc(100vh - 172px); }
}

/* Short desktop — stable first-paint compression for common laptop heights */
@media (min-width: 1181px) and (max-height: 880px) {
  .site-header { min-height: 72px; }
  .hero { min-height: calc(100vh - 140px); }
  .hero-copy { padding-top: 32px; padding-bottom: 32px; }
  .location-line { margin-bottom: 24px; }
  .hero h1 { margin-bottom: 24px; font-size: clamp(4rem, 5.15vw, 4.65rem); }
  .hero-intro { margin-bottom: 24px; font-size: 1.06rem; line-height: 1.42; }
  .button { min-height: 50px; padding-block: 12px; }
  .routing-board { padding-top: 18px; padding-bottom: 18px; }
  .route-visual { min-height: 0; margin-block: 12px 6px; }
  .route-control { min-height: 52px; padding-block: 10px; }
  .route-caption { margin-top: 8px; }
  .fact-rail { min-height: 68px; }
  .fact-rail p { padding-block: 15px; }
}

/* Extra-short desktop — preserve content and controls before decoration */
@media (min-width: 1181px) and (max-height: 700px) {
  .site-header { min-height: 64px; }
  .hero { min-height: calc(100vh - 120px); }
  .hero-copy { padding-top: 22px; padding-bottom: 22px; }
  .location-line { margin-bottom: 17px; }
  .hero h1 { margin-bottom: 17px; font-size: clamp(3.55rem, 4.5vw, 4rem); }
  .hero-intro { margin-bottom: 18px; font-size: 1rem; line-height: 1.38; }
  .hero-actions { gap: 20px; }
  .button { min-height: 48px; padding-block: 10px; }
  .routing-board { padding-top: 14px; padding-bottom: 14px; }
  .route-visual { margin-block: 8px 4px; }
  .route-control { min-height: 48px; padding-block: 8px; }
  .route-caption { display: none; }
  .fact-rail { min-height: 56px; }
  .fact-rail p { padding-block: 10px; }
}

/* Short-screen density across the public site and client platform */
@media (min-width: 901px) and (max-height: 880px) {
  :root { --section: clamp(68px, 7vw, 104px); }

  .manifesto { row-gap: 52px; }
  .ledger-row { min-height: 108px; }
  .connection-copy h2 { margin-block: 34px 24px; }
  .exchange-diagram li { min-height: 130px; }
  .platform-intro { margin-bottom: 48px; }
  .dashboard-preview { min-height: 560px; }
  .preview-title { min-height: 190px; }
  .closing-section { min-height: 560px; }
  .closing-signal { min-height: 500px; }
  .closing-copy h2 { margin-block: 30px 44px; }
  .site-footer { min-height: 140px; }

  .platform-sidebar { padding-block: 16px 14px; }
  .workspace-switcher { min-height: 56px; margin-block: 20px 14px; padding-block: 7px; }
  .platform-side-bottom { padding-top: 10px; }
  .operator { margin-top: 10px; padding-top: 10px; }
  .platform-topbar { min-height: 60px; }
  .platform-main { padding-block: 28px 48px; }
  #platform-main { scroll-margin-top: 68px; }
  .app-heading { margin-bottom: 24px; align-items: center; }
  .app-kicker { margin-bottom: 8px; }
  .app-heading h1 { margin-bottom: 5px; font-size: clamp(3.1rem, 4.5vw, 4rem); }
  .preview-notice { margin-bottom: 16px; padding: 12px 16px; }
  .overview-grid, .lower-grid, .billing-layout { gap: 16px; }
  .module-header { min-height: 64px; padding: 13px 18px; }
  .app-routing-map { min-height: 230px; }
  .connection-footer { min-height: 48px; }
  .quick-module { padding-bottom: 14px; }
  .quick-steps { padding: 8px 18px 12px; }
  .quick-steps li { min-height: 58px; }
  .quick-module .app-button { width: calc(100% - 36px); margin-inline: 18px; }
  .lower-grid { margin-top: 16px; }
  .empty-chart { min-height: 190px; }
  .readiness-list div { padding-block: 11px; }
  .account-module .text-button { margin-block: 10px; }
  .catalog-toolbar { margin-bottom: 14px; }
  .model-table-row { min-height: 58px; }
  .security-note { margin-bottom: 16px; padding: 11px 16px; }
  .empty-state-module { min-height: 340px; padding-block: 34px; }
  .key-illustration { margin-bottom: 18px; }
  .usage-summary-grid { margin-bottom: 16px; }
  .usage-summary-grid > div { min-height: 104px; padding: 16px; }
  .empty-chart-large { min-height: 320px; }
  .billing-empty { min-height: 180px; padding: 28px; }
  .billing-aside { padding: 28px; }
  .billing-aside h2 { margin-block: 28px 48px; font-size: 2.35rem; }
  .settings-form { padding: 24px; }
  .settings-form fieldset { margin-bottom: 26px; }
  .settings-form legend { margin-bottom: 16px; padding-bottom: 8px; }
  .settings-form label { margin-bottom: 14px; }
  .field-help { margin-bottom: 14px; }
}

/* Very short desktop — prioritize working content over ambient spacing */
@media (min-width: 901px) and (max-height: 700px) {
  :root { --section: 60px; }

  .manifesto { row-gap: 40px; }
  .ledger-row { min-height: 96px; }
  .exchange-diagram li { min-height: 116px; }
  .platform-intro { margin-bottom: 36px; }
  .dashboard-preview { min-height: 500px; }
  .preview-title { min-height: 160px; }
  .closing-section { min-height: 500px; }
  .closing-signal { min-height: 440px; }
  .closing-copy h2 { margin-block: 24px 34px; }
  .site-footer { min-height: 124px; padding-block: 24px; }

  .platform-sidebar { padding-block: 12px; }
  .workspace-switcher { margin-block: 14px 10px; }
  .platform-side-bottom { padding-top: 8px; }
  .operator { margin-top: 8px; padding-top: 8px; }
  .platform-topbar { min-height: 56px; }
  .platform-main { padding-block: 20px 36px; }
  #platform-main { scroll-margin-top: 64px; }
  .app-heading { margin-bottom: 18px; gap: 24px; }
  .app-kicker { margin-bottom: 6px; }
  .app-heading h1 { font-size: clamp(2.9rem, 4vw, 3.45rem); }
  .app-heading > div > p:last-child { font-size: .94rem; }
  .preview-notice { margin-bottom: 12px; padding-block: 9px; }
  .module-header { min-height: 58px; padding-block: 10px; }
  .app-routing-map { min-height: 190px; }
  .quick-steps { padding-block: 5px 9px; }
  .quick-steps li { min-height: 52px; }
  .lower-grid { margin-top: 12px; }
  .empty-chart { min-height: 160px; }
  .readiness-list div { padding-block: 9px; }
  .empty-state-module { min-height: 280px; padding-block: 24px; }
  .key-illustration { margin-block: -10px 4px; transform: scale(.76); }
  .usage-summary-grid > div { min-height: 90px; padding: 13px 16px; }
  .usage-summary-grid strong { font-size: 2.45rem; }
  .empty-chart-large { min-height: 250px; }
  .billing-empty { min-height: 150px; padding: 22px; }
  .billing-empty > span { width: 62px; height: 62px; }
  .billing-aside { padding: 24px; }
  .billing-aside h2 { margin-block: 22px 34px; font-size: 2.1rem; }
  .settings-form { padding: 20px 24px; }
  .settings-form fieldset { margin-bottom: 20px; }
  .settings-form legend { margin-bottom: 12px; }
  .settings-form label { margin-bottom: 11px; }
  .field-help { padding-block: 9px; }
}

/* Authentication bridge */
.auth-body { min-height: 100vh; background: var(--cloud); }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(480px, .96fr) minmax(520px, 1.04fr); }
.auth-signal { position: relative; min-width: 0; padding: clamp(34px, 4.5vw, 72px); display: flex; flex-direction: column; color: var(--white); background: var(--blue); overflow: hidden; }
.auth-signal::before { content: ""; position: absolute; width: min(44vw, 680px); aspect-ratio: 1; right: min(-24vw, -260px); bottom: min(-30vw, -360px); border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 72px rgba(255,255,255,.025), 0 0 0 144px rgba(255,255,255,.018); }
.auth-brand { position: relative; z-index: 2; width: fit-content; display: inline-flex; gap: 13px; align-items: center; color: var(--white); text-decoration: none; font: 700 15px/.82 var(--display); letter-spacing: .025em; }
.auth-brand-mark { width: 34px; height: 34px; overflow: visible; }
.auth-brand-mark path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.auth-brand-mark circle { fill: var(--orange); }
.auth-signal-copy { position: relative; z-index: 2; max-width: 660px; margin-top: auto; }
.auth-kicker { margin-bottom: 22px; color: #dce2ff; font: 600 .62rem/1.3 var(--mono); letter-spacing: .1em; }
.auth-signal h1 { max-width: 720px; margin-bottom: 24px; font: 600 clamp(4.2rem, 6.5vw, 6rem)/.87 var(--display); letter-spacing: -.035em; }
.auth-signal h1 span { color: var(--white); }
.auth-signal-copy > p:last-child { max-width: 56ch; margin-bottom: 0; color: #dce2ff; font-size: clamp(1rem, 1.25vw, 1.18rem); }
.auth-route { position: relative; z-index: 2; width: min(100%, 680px); min-height: 190px; margin-top: 34px; }
.auth-route svg { width: 100%; height: 150px; overflow: visible; }
.auth-route path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.auth-route-channel { stroke: rgba(255,255,255,.24); stroke-width: 2; }
.auth-route-active { stroke: var(--orange); stroke-width: 4; }
.auth-route circle { fill: var(--blue); stroke: var(--white); stroke-width: 5; vector-effect: non-scaling-stroke; }
.auth-route .auth-route-source { fill: var(--orange); stroke: var(--orange); }
.auth-route-labels { margin-top: 3px; display: grid; grid-template-columns: 1fr 1fr 1fr; color: #dce2ff; font: 600 .54rem/1.2 var(--mono); letter-spacing: .06em; }
.auth-route-labels span:nth-child(2) { text-align: center; }
.auth-route-labels span:last-child { text-align: right; }
.auth-signal-meta { position: relative; z-index: 2; margin: auto 0 0; display: flex; gap: 10px; align-items: center; color: #dce2ff; font: 500 .58rem/1.4 var(--mono); letter-spacing: .04em; }
.auth-signal-meta span { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.auth-panel { min-width: 0; min-height: 100vh; padding: clamp(30px, 4vw, 64px) clamp(32px, 6vw, 96px); display: flex; flex-direction: column; background: var(--cloud); }
.auth-panel-top, .auth-panel-foot { display: flex; justify-content: space-between; gap: 24px; align-items: center; font: 600 .58rem/1.3 var(--mono); letter-spacing: .06em; }
.auth-panel-top a { text-decoration: none; font-family: var(--body); font-size: .86rem; letter-spacing: 0; }
.auth-panel-top a:hover { color: var(--blue); }
.auth-panel-top span { color: var(--blue); }
.auth-card { width: min(100%, 560px); margin: auto; padding-block: 34px; }
.auth-kicker-dark { margin-bottom: 14px; color: var(--blue); }
.auth-card h2 { max-width: 560px; margin-bottom: 14px; font: 600 clamp(3.4rem, 5vw, 4.8rem)/.88 var(--display); letter-spacing: -.03em; }
.auth-lede { max-width: 50ch; margin-bottom: 28px; color: var(--ink-soft); font-size: 1.02rem; }
.auth-form { display: grid; gap: 16px; }
.auth-field, .auth-field > span:first-child { min-width: 0; }
.auth-field { display: grid; gap: 7px; font-size: .82rem; font-weight: 700; }
.auth-form input { width: 100%; min-height: 50px; padding: 0 14px; color: var(--ink); background: var(--white); border: 1px solid var(--line-dark); border-radius: 5px; }
.auth-form input:hover { border-color: #929aaa; }
.auth-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-password { position: relative; display: block; }
.auth-password input { padding-right: 72px; }
.auth-password button { position: absolute; top: 3px; right: 3px; min-width: 58px; min-height: 44px; padding: 0 10px; color: var(--blue); background: transparent; border: 0; border-radius: 4px; font-size: .76rem; font-weight: 700; cursor: pointer; }
.auth-password button:hover { background: #eef1ff; }
.auth-options { min-height: 44px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.auth-check { min-height: 44px; display: inline-flex; gap: 9px; align-items: center; color: var(--ink-soft); font-size: .8rem; cursor: pointer; }
.auth-check input { width: 18px; min-height: 18px; accent-color: var(--blue); }
.auth-inline-action { min-height: 44px; padding: 0; color: var(--blue); background: transparent; border: 0; font-size: .8rem; font-weight: 700; cursor: pointer; }
.auth-inline-action:hover { text-decoration: underline; }
.auth-submit { min-height: 54px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; color: var(--ink); background: var(--orange); border: 0; border-radius: 6px; box-shadow: 4px 4px 7px rgba(16,19,26,.16); font-weight: 700; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.auth-submit:hover { background: #e8754e; transform: translateY(-1px); }
.auth-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.auth-status { margin: 0; padding: 12px 14px; color: #263577; background: #e8ecff; border: 1px solid #c9d1ff; border-radius: 5px; font-size: .82rem; font-weight: 700; }
.auth-status[hidden] { display: none; }
.auth-switch { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.auth-switch a { color: var(--blue); font-weight: 700; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-panel-foot { color: var(--ink-soft); }
.auth-panel-foot span:first-child { color: var(--blue); }

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-signal { min-height: 250px; padding: 26px 20px 30px; }
  .auth-signal::before { width: 480px; right: -300px; bottom: -360px; }
  .auth-signal-copy { margin-top: 54px; }
  .auth-kicker { margin-bottom: 12px; }
  .auth-signal h1 { max-width: 620px; margin-bottom: 14px; font-size: clamp(3.2rem, 12vw, 4.8rem); }
  .auth-signal-copy > p:last-child { max-width: 62ch; }
  .auth-route, .auth-signal-meta { display: none; }
  .auth-panel { min-height: auto; padding: 24px 20px 34px; }
  .auth-panel-top { margin-bottom: 36px; }
  .auth-card { margin: 0 auto; padding-block: 0 36px; }
  .auth-panel-foot { padding-top: 22px; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .auth-signal { min-height: 220px; }
  .auth-signal-copy { margin-top: 38px; }
  .auth-signal-copy > p:last-child { display: none; }
  .auth-panel-top span { display: none; }
  .auth-panel-top { margin-bottom: 30px; }
  .auth-card h2 { font-size: clamp(3rem, 14vw, 4rem); }
  .auth-lede { margin-bottom: 22px; }
  .auth-field-grid { grid-template-columns: 1fr; }
  .auth-options { align-items: flex-start; flex-direction: column; gap: 0; }
  .auth-panel-foot { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (min-width: 901px) and (max-height: 880px) {
  .auth-signal { padding-block: 28px; }
  .auth-signal h1 { margin-bottom: 18px; font-size: clamp(3.9rem, 5.4vw, 5rem); }
  .auth-kicker { margin-bottom: 14px; }
  .auth-route { min-height: 150px; margin-top: 18px; }
  .auth-route svg { height: 116px; }
  .auth-panel { padding-block: 26px; }
  .auth-card { padding-block: 20px; }
  .auth-card h2 { font-size: clamp(3.1rem, 4.2vw, 4rem); }
  .auth-lede { margin-bottom: 20px; }
  .auth-form { gap: 12px; }
  .auth-form input { min-height: 48px; }
  .auth-switch { margin-top: 18px; padding-top: 16px; }
}

@media (min-width: 901px) and (max-height: 700px) {
  .auth-signal { padding-block: 22px; }
  .auth-signal h1 { font-size: clamp(3.35rem, 4.6vw, 4.2rem); }
  .auth-signal-copy > p:last-child { font-size: .96rem; }
  .auth-route { min-height: 112px; margin-top: 10px; }
  .auth-route svg { height: 82px; }
  .auth-route-labels { display: none; }
  .auth-panel { padding-block: 20px; }
  .auth-card { padding-block: 12px; }
  .auth-card h2 { margin-bottom: 9px; font-size: clamp(2.8rem, 3.8vw, 3.5rem); }
  .auth-lede { margin-bottom: 14px; font-size: .94rem; }
  .auth-form { gap: 9px; }
  .auth-form input { min-height: 46px; }
  .auth-submit { min-height: 48px; }
  .auth-switch { margin-top: 12px; padding-top: 11px; }
  .auth-panel-foot { font-size: .52rem; }
}
