/* CONTROL: silver-blue instrumentation within the SMARTREEFS visual system. */
:root {
  --accent: #b1dfff; --accent2: #6d92ff; --glow: 95, 151, 255;
  --ink-2: #e3edf7; --muted-2: #a2b1c2; --soft: #95a6b9; --faint: #8698ac;
  --aqua: #adddff; --teal: #89cfff; --lav: #a3b8ff; --pink: #d2beff; --peach: #efc9a0;
  --glass-border: #a5c4ff22; --glass-bg: #0a1220; --thin-glass-bg: #09111c;
  --radius: 6px; --radius-lg: 6px; --radius-xl: 8px;
  --shadow: none; --shadow-hover: 0 8px 30px #0003;
  --disabled-bg-start: #172338; --disabled-bg-end: #172338; --disabled-text: #9eacc0;
  --text: #c8d6e6; --grad-brand: linear-gradient(100deg, #dfedff, #8faaff);
  --grad-cta: linear-gradient(100deg, #cae6ff, #8fbaff);
}
body { overflow-x: clip; }
.site-footer .brand { color: var(--ink); font-family: var(--sans); }
/* Global header uses experience.css without CONTROL-specific overrides.
   Product-local routes are a distinct, quieter navigation level below it. */
html { scroll-padding-top: 158px; }
.product-subnav { position: sticky; top: 87px; z-index: 20; background: #080e17f0; backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.product-subnav-inner { display: flex; align-items: center; gap: 32px; min-height: 53px; }
.product-subnav-brand { font: 11px var(--mono); color: var(--accent); letter-spacing: .12em; display: flex; align-items: center; gap: 14px; min-height: 44px; }
.product-subnav-brand > span { color: var(--dim); font-size: 9px; }
.product-subnav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.product-subnav-links a { position: relative; display: flex; align-items: center; min-height: 53px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.product-subnav-links a:hover, .product-subnav-links a[aria-current] { color: var(--ink); }
.product-subnav-links .nav-dot { display: none; }
.product-subnav-links a[aria-current]::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--accent); }
.product-subnav-account { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-left: 26px; border-left: 1px solid var(--line); color: var(--accent); font-size: 11px; }
.site-footer { background: none; color: var(--ink); }
.site-footer .footer-links { flex-wrap: wrap; gap: 10px 27px; justify-content: flex-start; }
.site-footer .footer-note { max-width: 820px; margin: 17px 0 0; text-align: left; font-size: 11px; line-height: 1.85; color: var(--dim); }
.site-footer .footer-bottom { flex-wrap: wrap; text-align: left; }
.site-footer .footer-bottom > div { flex-wrap: wrap; }
[data-page="control"] .hero { min-height: 780px; }
[data-page="control"] .hero h1 { font-size: clamp(46px, 4.6vw, 76px); }
[data-page="control"] .hero-body { max-width: 445px; }
[data-page="control"] .hero-scene { right: -9%; width: 70%; }
[data-page="control"] .hero-note { letter-spacing: 0; }
[data-page="control"][lang="en"] .hero h1 { font-size: clamp(46px, 4.15vw, 67px); }
[data-page="control"][lang="en"] .hero-copy { width: 54%; }
.control-metrics { border-block: 1px solid var(--line); background: #080e17; }
.control-metrics > div { display: grid; grid-template-columns: repeat(4, 1fr); }
.control-metrics > div > div { padding: 28px 30px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.control-metrics > div > div:first-child { border-left: 0; padding-left: 0; }
.control-metrics strong { font: 34px var(--mono); letter-spacing: -.07em; color: #d7ebff; }
.control-metrics span { font-size: 11px; color: var(--muted); }
.control-bridge { background: #08101b; border: 1px solid #adc9ff2b; border-radius: 8px; box-shadow: 0 40px 90px #0004, 0 0 100px #5e9bff08; overflow: hidden; }
.control-console-top, .control-console-bottom { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding: 19px 24px; }
.console-name { display: flex; align-items: center; gap: 12px; font: 10px var(--mono); letter-spacing: .13em; color: var(--muted); }
.control-view-tabs { display: flex; gap: 6px; }
.control-view-tabs button { color: var(--muted); background: none; border: 1px solid transparent; border-radius: 3px; min-height: 40px; padding: 6px 18px; font: 11px var(--sans); transition: background .2s; }
.control-view-tabs button[aria-selected="true"] { color: var(--accent); background: #a3caff0d; border-color: #a3caff2b; }
.control-view-tabs button:hover { color: var(--ink); }
#control-screen { padding: 0 12px; }
#control-screen img { width: 100%; height: auto; aspect-ratio: 1600 / 900; object-fit: contain; object-position: top; background: #080c14; border: 1px solid #ffffff14; border-radius: 3px; }
.control-console-bottom { font-size: 10px; color: var(--dim); }
.control-console-bottom > span:last-child { font-family: var(--mono); letter-spacing: .13em; }
.control-access-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.control-access-card { min-width: 0; padding: 37px 34px 35px; border-left: 1px solid var(--line); position: relative; }
.control-access-card:first-child { border-left: 0; padding-left: 0; }
.control-access-card .eyebrow { font-size: 10px; }
.control-access-card h3 { font-size: 24px; font-weight: 500; margin-bottom: 17px; }
.control-access-card p { font-size: 13px; line-height: 1.95; min-height: 80px; max-width: 310px; }
.access-line { display: flex; align-items: center; gap: 7px; height: 46px; margin-top: 19px; }
.access-line i { display: block; height: 2px; width: 12%; background: var(--accent); opacity: .5; box-shadow: 0 0 12px #aacdff33; }
.access-line i:nth-child(2n) { height: 7px; width: 7px; opacity: .7; }
.control-access-cta { margin-top: 35px; }
/* Document pages retain their exact content; their layout is now a calm
   technical companion to the cinematic landing page. */
.container { max-width: none; padding-inline: 0; }
.control-content { min-height: 65svh; padding-bottom: 85px; }
.control-page-coordinate { display: flex; justify-content: space-between; gap: 20px; padding-top: 32px; color: var(--dim); font: 10px var(--mono); letter-spacing: .13em; }
.control-page-coordinate a { min-height: 30px; }
.control-page-coordinate a:hover { color: var(--accent); }
.control-doc-actions { display: flex; align-items: baseline; gap: 30px; }
.control-doc-actions .motion-toggle { letter-spacing: 0; font-family: var(--sans); }
.control-content .page-head { text-align: left; padding: 77px 0 48px; margin: 0; position: relative; }
.control-content .page-head::after { content: ''; width: 180px; height: 1px; position: absolute; bottom: 10px; background: linear-gradient(90deg, var(--accent), transparent); }
.control-content .page-head h1 { font-size: clamp(36px, 4.2vw, 66px); font-weight: 500; line-height: 1.24; color: var(--ink); letter-spacing: -.045em; }
.control-content .page-head h1 em, .control-content .section-title em, .control-content .claim h3 em { color: var(--accent); background: none; -webkit-text-fill-color: currentColor; font-style: normal; }
.control-content .page-head p { margin: 26px 0 0; max-width: 780px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.control-content .section { padding-block: 35px; }
.control-content .section-title { text-align: left; font-size: clamp(28px, 3vw, 42px); font-weight: 500; color: var(--ink); }
.control-content .section-sub { text-align: left; margin: 20px 0 35px; font-size: 14px; color: var(--muted); }
.control-content .glass { border: 1px solid #a5c4ff22; border-radius: 6px; background: linear-gradient(140deg, #0e1826, #080f19 70%); box-shadow: none; backdrop-filter: none; }
.control-content :is(.dl-card, .way, .feature, .code-card) { transition: border-color .25s, background .25s; }
.control-content :is(.dl-card, .way, .feature, .code-card):hover { transform: none; border-color: #a5c4ff55; box-shadow: none; }
.control-content :is(.feature-icon, .way-icon) { background: #a7ceff0c !important; color: var(--accent); border: 1px solid #afceff25; border-radius: 4px; box-shadow: none; }
.control-content :is(.feature-icon, .way-icon) svg { color: inherit; width: 22px; height: 22px; }
.control-content h3 { font-weight: 500; line-height: 1.45; color: var(--ink); }
.control-content .feature { padding: 28px 32px; min-height: 0; }
.control-content .feature h3 { font-size: 22px; margin-bottom: 17px; }
.control-content .feature p { font-size: 14px; line-height: 1.95; margin-top: 12px; }
.control-content .features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.control-content .btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 24px; min-height: 48px; font: 500 13px/1.6 var(--sans); border-radius: 3px; border: 1px solid #b6d6ff3d; box-shadow: none; transform: none; }
.control-content .btn--primary { background: linear-gradient(120deg, #ceeaff, #8ebaff); color: #07121f; border-color: transparent; }
.control-content .btn--ghost { background: #ffffff03; color: var(--ink); }
.control-content .btn:hover { transform: none; box-shadow: 0 0 25px #a7ceff1a; }
.control-content .btn[aria-disabled="true"] { background: #172338; color: #9eacc0; pointer-events: none; cursor: not-allowed; box-shadow: none; }
.control-content .tag { background: #a7ceff08; border: 1px solid #b8d8ff28; color: #a9c5e0; border-radius: 3px; font-weight: 400; font-size: 10px; padding: 5px 10px; }
.control-content code { color: #b8d9ff; background: #a7ceff09; border: 1px solid #a7ceff17; border-radius: 3px; padding: 1px 5px; font-family: var(--mono); overflow-wrap: anywhere; }
.control-content a:not(.btn) { text-underline-offset: 4px; }
.control-content p > a, .protocol-context a { color: var(--accent); text-decoration: underline; }
/* Stable package card. Download button IDs and release renderer are unchanged. */
.dl-hero { margin-top: 0; padding: 40px 48px; gap: 30px; position: relative; overflow: hidden; }
.dl-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 83% 40%, #779dff12, transparent 60%); }
.dl-main { flex: 1 1 450px; position: relative; }
.dl-eyebrow { border: 1px solid #a7ceff33; background: #a7ceff08; color: var(--accent); font: 10px var(--mono); letter-spacing: .09em; border-radius: 3px; padding: 8px 11px; }
.dl-title { font-weight: 500; font-size: 30px; margin-top: 23px; }
.dl-desc { color: var(--muted); font-size: 14px; line-height: 1.9; }
.dl-cta-row { display: block; margin-top: 29px; }
.dl-cta-row .btn { font-size: 14px; min-width: 230px; padding-block: 17px; }
.dl-meta { margin-top: 19px; font-size: 11px; line-height: 2; font-weight: 400; color: var(--muted); max-width: 570px; overflow-wrap: anywhere; }
.dl-meta b { color: var(--accent); font-weight: 500; }
.dl-meta code.dl-hash { display: inline; font-size: 11px; color: #b9cde1; border: none; background: none; padding: 0; word-break: break-all; font-weight: 400; }
.dl-meta .dl-stale { color: #f1c28a; display: block; margin-top: 8px; font-weight: 400; }
.dl-badges { margin-top: 25px; }
.control-package { flex: 0 1 300px; min-width: 200px; position: relative; padding-block: 12px; }
.package-coordinate { display: block; text-align: center; font: 9px var(--mono); letter-spacing: .16em; color: #8ca8c8; }
.control-package svg { filter: drop-shadow(0 0 16px #79adff28); margin: 20px 0; }
.dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 25px; }
.dl-card { padding: 30px; }
.dl-card h3 { font-size: 19px; font-weight: 500; gap: 13px; }
.req-list, .steps { padding: 0; margin-bottom: 0; }
.req-list li { font-size: 13px; line-height: 1.9; }
.steps b { font-size: 14px; font-weight: 500; }
.steps p { font-size: 12px; line-height: 1.9; }
.steps li .step-no { background: #a7ceff0e; border: 1px solid #a7ceff30; color: #b3d5ff; border-radius: 3px; font: 13px var(--mono); }
.price-note { background: #0a111c; border-color: #a7ceff22; border-radius: 6px; box-shadow: none; backdrop-filter: none; padding: 27px 30px; }
.price-note-body b { font-size: 16px; font-weight: 500; }
.price-note-body p { font-size: 13px; line-height: 1.9; }
/* Open connectivity: dark terminals, equal-width interface cards. */
.ways { gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.way { padding: 28px 24px; }
.way h3 { font-size: 20px; }
.way p { font-size: 13px; color: var(--muted); line-height: 1.95; }
.way-foot { gap: 6px; flex-wrap: wrap; }
.soon-bar, .protocol-context { background: #0a111c; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 12px; padding: 18px 22px; margin-top: 20px; }
.protocol-context { display: flex; justify-content: space-between; gap: 20px; border-left-color: var(--accent); }
.protocol-context + .soon-bar { margin-top: 8px; }
.code-duo { gap: 20px; }
.code-card-head { padding: 25px; border-color: var(--line); }
.code-card-head h3 { font-size: 18px; }
.code-card-head p { color: var(--muted); font-size: 12px; }
.codeblock { background: #050a12; border-radius: 0; margin: 0; padding: 24px; border-block: 1px solid var(--line); overflow: auto; max-width: 100%; font: 12px/1.9 var(--mono); color: #c2d9ef; }
.control-content .codeblock code { color: #c2d9ef; border: 0; background: none; padding: 0; white-space: pre; overflow-wrap: normal; }
.tk-cmt { color: #7a91aa; }.tk-cmd,.tk-fn { color: #b3ddff; }.tk-flag,.tk-kw { color: #baaeff; }.tk-url,.tk-token { color: #8eccff; }.tk-str { color: #a0e2d6; }.tk-num { color: #efc59b; }
.code-card-note { color: var(--muted); padding: 20px 25px; font-size: 12px; line-height: 1.95; }
.claim { padding: 32px; margin-top: 30px; }
.claim-head h3 { font-size: 24px; font-weight: 500; }
.claim-flow { margin-top: 30px; }
.claim-step p { font-size: 13px; color: var(--muted); }
.claim-step b { font-size: 15px; font-weight: 500; }
.claim-step .step-dot { background: #a7ceff12; border: 1px solid #a7ceff30; color: var(--accent); border-radius: 3px; }
.claim-arrow { color: var(--accent); }
.disclaimer { background: #0a111c; padding: 34px; }
.disclaimer h3 { font-size: 24px; font-weight: 500; }
.disclaimer p { font-size: 14px; line-height: 1.95; color: var(--muted); }
/* Server-fed release timeline, with separate empty/unavailable states. */
.cl-wrap { max-width: none; }
.tested-bar { background: #a7ceff08; color: #a7bfd7; border: 1px solid #a7ceff20; border-radius: 4px; font-size: 12px; padding: 16px 20px; }
.timeline { padding-left: 34px; max-width: 100%; }
.timeline::before { background: linear-gradient(var(--accent), #a7ceff16); left: 7px; }
.release { padding: 28px 34px; margin-bottom: 24px; }
.release::before { background: var(--accent); border: 3px solid #102039; box-shadow: 0 0 18px #94c2ff44; left: -33px; }
.release-version { font: 28px var(--mono); color: #e0eeff; }
.release:first-child .release-version { background: none; -webkit-text-fill-color: currentColor; }
.release-latest, .latest-tag { background: #a7ceff12; border: 1px solid #a7ceff33; border-radius: 3px; color: var(--accent); font-size: 10px; }
.release-notes { color: var(--muted); font-size: 14px; line-height: 2; overflow-wrap: anywhere; }
.cl-loading { color: var(--muted); }
.cl-spinner { border-color: #a7ceff20; border-top-color: var(--accent); }
.cl-error h2 { font-size: 28px; font-weight: 500; }
.cl-error p { color: var(--muted); font-size: 14px; }
.cl-error-icon { background: #a7ceff0a; color: var(--accent); border: 1px solid #a7ceff22; border-radius: 5px; }
.archive-note { padding: 16px 20px; border: 1px solid #a7ceff2b; border-left: 2px solid #b1dfff; background: #a7ceff06; font-size: 12px; color: #a9c0d8; margin: 0 0 28px; line-height: 1.8; }
.archive-note a { display: inline-block; color: var(--accent); margin-left: 14px; text-decoration: underline; }
[data-control-page="404"] .control-content { min-height: 70svh; }
[data-control-page="404"] .page-head { padding-top: 90px; }
.control-error-code { font: 150px/1 var(--mono); letter-spacing: -.08em; color: var(--accent); margin-bottom: 25px; text-shadow: 0 0 80px #79adff33; }
[data-control-page="404"] .page-head h1 { font-size: 38px; }
[data-control-page="404"] .promise-bar { background: none; border: 0; padding: 0; justify-content: flex-start; box-shadow: none; }
[data-control-page="privacy"] .control-content, [data-control-page="terms"] .control-content, [data-control-page="known-issues"] .control-content { max-width: 1120px; }
@media (max-width: 1100px) {
  .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-main { flex-basis: 360px; }
  .control-package { flex-basis: 230px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 178px; }
  .product-subnav { top: 72px; }
  .product-subnav-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; }
  .product-subnav-brand { min-height: 38px; font-size: 10px; }
  .product-subnav-brand > span { display: none; }
  .product-subnav-account { grid-column: 2; grid-row: 1; min-height: 38px; padding-left: 0; border-left: 0; font-size: 10px; }
  .product-subnav-links { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; gap: 0; border-top: 1px solid var(--line); }
  .product-subnav-links a { min-height: 44px; justify-content: center; text-align: center; padding: 4px 2px; font-size: 10px; }
  [data-page="control"] .hero { height: auto; min-height: 935px; }
  [data-page="control"] .hero-copy, [data-page="control"][lang="en"] .hero-copy { width: 100%; padding-top: 94px; padding-bottom: 460px; }
  [data-page="control"] .hero h1, [data-page="control"][lang="en"] .hero h1 { font-size: clamp(37px, 8vw, 59px); line-height: 1.28; }
  [data-page="control"] .hero-body { max-width: 490px; font-size: 13px; margin-top: 22px; }
  [data-page="control"] .hero-scene { top: auto; bottom: 76px; height: 420px; width: calc(100% + 64px); right: -32px; }
  [data-page="control"] .hero-buttons { margin-top: 24px; }
  [data-page="control"] .hero-note { margin-top: 24px; font-size: 9px; }
  [data-page="control"] .scene-caption { left: 10%; right: 10%; bottom: 2%; font-size: 8px; }
  [data-page="control"] .orbit-label-a { top: 7%; right: 10%; }
  [data-page="control"] .orbit-label-b { right: 10%; bottom: 10%; font-size: 8px; }
  .control-metrics > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .control-metrics > div > div { padding: 24px 15px; }
  .control-metrics > div > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .control-metrics > div > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .control-metrics strong { font-size: 29px; }
  .control-metrics span { font-size: 10px; }
  .control-console-top { padding: 17px; flex-wrap: wrap; gap: 15px; }
  .console-name { font-size: 9px; }
  .control-view-tabs { width: 100%; border-top: 1px solid var(--line); padding-top: 12px; }
  .control-view-tabs button { flex: 1; min-height: 44px; }
  #control-screen { padding: 0 7px; }
  .control-console-bottom { padding: 14px; font-size: 9px; }
  .control-console-bottom > span:last-child { display: none; }
  .control-access-grid { grid-template-columns: 1fr; }
  .control-access-card, .control-access-card:first-child { padding: 30px 0; border-left: 0; }
  .control-access-card + .control-access-card { border-top: 1px solid var(--line); }
  .control-access-card p { min-height: 0; max-width: 500px; }
  .access-line { height: 22px; margin-top: 20px; }
  .control-page-coordinate { padding-top: 23px; font-size: 9px; }
  .control-page-coordinate > span { display: none; }
  .control-doc-actions > span { display: none; }
  .control-content { padding-bottom: 55px; }
  .control-content .page-head { padding: 43px 0 38px; }
  .control-content .page-head h1 { font-size: 38px; line-height: 1.33; overflow-wrap: anywhere; }
  .control-content .page-head p { font-size: 13px; margin-top: 22px; }
  .control-content .section { padding-block: 24px; }
  .control-content .features, .dl-grid, .code-duo { grid-template-columns: minmax(0, 1fr); }
  .control-content .feature { padding: 25px; }
  .dl-hero { padding: 28px; gap: 20px; }
  .dl-main { flex-basis: 100%; }
  .dl-title { font-size: 25px; }
  .dl-desc { font-size: 13px; }
  .control-package { max-width: 245px; padding-top: 18px; border-top: 1px solid var(--line); }
  .control-package svg { margin-block: 12px; }
  .dl-card, .price-note { padding: 25px; }
  .control-content .dl-card h3 { font-size: 17px; }
  .dl-badges { gap: 8px; }
  .claim { padding: 25px; }
  .claim-flow { flex-direction: column; align-items: stretch; gap: 20px; }
  .claim-arrow { transform: rotate(90deg); margin-left: 6px; }
  .claim-step { flex-basis: auto; }
  .disclaimer { padding: 25px; }
  .protocol-context { flex-wrap: wrap; gap: 8px; }
  .timeline { padding-left: 22px; }
  .timeline::before { left: 0; }
  .release { padding: 22px; }
  .release::before { left: -29px; }
  .release-version { font-size: 23px; }
  .release-notes { font-size: 13px; }
  .site-footer .footer-bottom > div { gap: 12px; }
}
@media (max-width: 480px) {
  [data-page="control"] .hero-coordinate { font-size: 8px; }
  [data-page="control"] .hero-coordinate > span:last-child { display: none; }
  [data-page="control"] .hero-buttons { gap: 10px; }
  [data-page="control"] .hero-buttons .button { padding: 12px 16px; gap: 16px; font-size: 11px; }
  [data-page="control"] .hero-note { align-items: flex-start; }
  [data-page="control"] .hero-note .note-line { margin-top: 7px; flex-shrink: 0; }
  .control-content .page-head h1 { font-size: 34px; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .way { padding: 26px; }
  .dl-hero { padding: 25px 22px; }
  .dl-cta-row .btn { min-width: 0; width: 100%; padding-inline: 12px; font-size: 13px; }
  .dl-meta { font-size: 11px; }
  .dl-card, .price-note { padding: 24px 22px; }
  .control-content .dl-card h3 { align-items: flex-start; }
  .code-card-head { padding: 22px; align-items: flex-start; }
  .codeblock { padding: 18px; font-size: 11px; }
  .code-card-note { padding: 20px; }
  .control-content .cl-error { padding: 30px 22px; }
  .cl-error h2 { font-size: 24px; }
  .site-footer .footer-main { flex-wrap: wrap; }
  .site-footer .footer-main > p { display: none; }
  .archive-note a { margin: 8px 0 0; display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .control-package .arrow { animation: none; }
  .control-content * { scroll-behavior: auto; }
}
