/* Deskhand / Northstar UI - original visual direction, Phase 8.6.
   Overrides the original stylesheet only; no authentication or API behaviour here. */
:root {
  --paper:#08151e;
  --paper-raised:#10232e;
  --ink:#ecf8f5;
  --ink-soft:#c2d4d5;
  --muted:#92adb2;
  --line:#28404d;
  --line-strong:#3c5763;
  --green:#5de6ca;
  --green-hover:#91f5e0;
  --green-wash:rgba(93,230,202,.11);
  --brass:#e6b778;
  --glow:#efca89;
  --glow-wash:rgba(239,202,137,.12);
  --danger:#ff9b96;
  --danger-wash:rgba(255,107,110,.13);
  --console:#06111a;
  --console-ink:#d6e9e6;
  --console-dim:#819da8;
  --on-green:#082820;
  --focus:#f0bd7d;
  --surface-glass:rgba(13,30,42,.87);
  --surface-higher:#142b36;
  --edge-light:rgba(169,222,227,.12);
  --shadow:0 24px 70px rgba(0,8,15,.29);
  color-scheme:dark;
}
@media(prefers-color-scheme:dark) {
  :root {
    --paper:#08151e;--paper-raised:#10232e;--ink:#ecf8f5;--ink-soft:#c2d4d5;
    --muted:#92adb2;--line:#28404d;--line-strong:#3c5763;
    --green:#5de6ca;--green-hover:#91f5e0;--green-wash:rgba(93,230,202,.11);
    --brass:#e6b778;--glow:#efca89;--glow-wash:rgba(239,202,137,.12);
    --danger:#ff9b96;--danger-wash:rgba(255,107,110,.13);--console:#06111a;
    --console-ink:#d6e9e6;--console-dim:#819da8;--on-green:#082820;--focus:#f0bd7d;
  }
}
html { scroll-behavior:smooth; }
body {
  min-height:100vh;
  font-size:15.5px;
  line-height:1.65;
  background:
    radial-gradient(ellipse 68% 38% at 94% 0%,rgba(20,82,100,.16),transparent 80%),
    linear-gradient(180deg,#0b1923 0%,#08151e 54%,#091720 100%);
}
h1,h2,h3 { letter-spacing:-.038em; }
h1 { font-stretch:108%; }
h2 { font-size:clamp(25px,3vw,36px);font-weight:760; }
h3 { font-size:19px;font-weight:680; }
.wrap { max-width:1180px;padding-inline:30px; }
a { transition:color .17s ease; }
a:hover { color:var(--green-hover); }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:2px solid var(--focus);outline-offset:4px; }
.site-header {
  position:sticky;top:0;z-index:25;
  border-bottom:1px solid rgba(141,182,189,.14);
  background:rgba(8,21,30,.87);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}
.site-header .wrap { min-height:76px;gap:24px; }
.brand { color:#f5fbf9;font-size:23px;font-weight:820;letter-spacing:-.05em;gap:12px; }
.brand svg { width:36px;height:36px; padding:6px;border-radius:12px;background:#123540;box-shadow:0 0 0 1px rgba(111,233,218,.23),0 9px 21px rgba(0,0,0,.18); }
.brand:hover { color:#fff; }
.primary-nav { display:flex;gap:28px;align-items:center;margin-left:auto; }
.primary-nav a { font-size:13.5px;font-weight:580;color:#aec4c8;text-decoration:none;white-space:nowrap; }
.primary-nav a:hover { color:#fff; }
.header-nav { margin-left:auto;gap:12px; }
.header-nav .who {
  font-size:12.5px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8caab4;
}
.button {
  min-height:44px;border-radius:11px;padding-inline:18px;
  border-color:var(--green);background:var(--green);
  color:var(--on-green);font-size:14px;letter-spacing:-.014em;font-weight:760;
  box-shadow:0 9px 26px rgba(24,197,173,.10);
  transition:background .2s,border-color .2s,transform .2s,box-shadow .2s;
}
.button:hover { transform:translateY(-1px);box-shadow:0 14px 29px rgba(24,197,173,.13); }
.button.quiet {background:rgba(190,230,235,.035);border-color:var(--line-strong);color:#e8f7f4;box-shadow:none;}
.button.quiet:hover {background:rgba(124,185,194,.11);border-color:#60818c;color:#fff;}
.button.danger {border-color:rgba(255,135,145,.32);color:var(--danger);}
.button.danger:hover {background:var(--danger-wash);border-color:var(--danger);}
.button.small {min-height:37px;font-size:12.7px;border-radius:9px;padding-inline:14px;}
.button.large {min-height:54px;font-size:15px;padding-inline:25px;border-radius:12px;}
.site-footer { margin-top:105px;padding:30px 0 44px;background:#07131b;border-top:1px solid var(--line); }
.site-footer .wrap { gap:22px; }
.site-footer a { color:#91aab3; }
.eyebrow {
  display:inline-flex;align-items:center;gap:9px;
  color:#88dfcc;font-family:var(--mono);font-size:11px;
  font-weight:750;letter-spacing:.13em;text-transform:uppercase;
}
.status-light {
  display:inline-block;width:8px;height:8px;flex:none;
  border-radius:50%;background:#6bebc5;
  box-shadow:0 0 0 4px rgba(75,222,178,.12),0 0 15px rgba(78,255,198,.35);
}
.hero-band {
  position:relative;overflow:hidden;
  border-bottom:1px solid rgba(122,186,195,.16);
  background:
   radial-gradient(ellipse 44% 60% at 78% 45%,rgba(27,138,141,.14),transparent 85%),
   radial-gradient(ellipse 40% 65% at 9% 25%,rgba(22,83,93,.12),transparent 85%);
}
.hero-band::before {
  content:"";position:absolute;inset:0;opacity:.2;pointer-events:none;
  background-image:linear-gradient(rgba(120,204,215,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(120,204,215,.13) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(to right,transparent 25%,#000 100%);
}
.hero.hero-split {
  position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:65px;align-items:center;padding-top:116px;padding-bottom:106px;
}
.hero-copy { position:relative;z-index:2; }
.hero .eyebrow { margin-bottom:30px; }
.hero h1 {
  max-width:12ch;color:#f3fbf9;font-size:clamp(48px,5.65vw,77px);
  font-stretch:112%;font-weight:850;line-height:1.055;letter-spacing:-.06em;
}
.hero h1 .accent { color:#72e3cf; }
.hero .lede {max-width:32em;margin:23px 0 28px;color:#a8c2c9;font-size:17px;line-height:1.72;}
.hero .actions { gap:12px; }
.hero-footnotes {display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:32px;}
.hero-footnotes span {display:inline-flex;gap:8px;align-items:center;font-size:12px;color:#91b7bb;}
.hero-footnotes b {font-size:15px;color:#72e4c9;}
.scene {position:relative;max-width:560px;width:100%;margin-inline:auto;transform:translateY(6px);}
.scene::before {
  content:"";position:absolute;inset:-27px -14px -40px;
  background:radial-gradient(ellipse at center,rgba(33,192,163,.21),transparent 70%);
  filter:blur(18px);z-index:0;
}
.scene-window {
  position:relative;overflow:hidden;z-index:1;border-radius:19px;
  background:#0b1d29;border:1px solid rgba(126,212,211,.30);
  box-shadow:0 28px 80px rgba(0,0,0,.43),0 1px 0 rgba(230,255,251,.06) inset;
}
.scene-top {
  padding:13px 17px;display:flex;align-items:center;gap:13px;
  border-bottom:1px solid rgba(130,187,197,.16);background:#112733;
}
.scene-dots {display:flex;gap:6px;}
.scene-dots i {width:8px;height:8px;border-radius:50%;background:#4a6874;}
.scene-dots i:first-child {background:#e9998a;}.scene-dots i:nth-child(2){background:#e3bd7d;}.scene-dots i:nth-child(3){background:#79d8b8;}
.scene-top strong {font-size:11px;font-weight:740;letter-spacing:.035em;color:#bdd6dc;}
.scene-top .scene-label {margin-left:auto;font-size:10px;color:#7799a4;font-family:var(--mono);}
.scene-interior {padding:24px;display:grid;gap:18px;}
.scene-heading {display:flex;justify-content:space-between;align-items:center;gap:8px;}
.scene-heading strong {font-size:18px;color:#f6fbfa;}
.scene-heading small {font-size:10px;letter-spacing:.1em;color:#8baab2;text-transform:uppercase;}
.scene-pill {border:1px solid rgba(88,234,195,.28);border-radius:999px;padding:5px 10px;font-size:10px;color:#82edc9;background:rgba(65,202,158,.1);}
.scene-device {display:flex;gap:13px;align-items:center;padding:17px;border:1px solid #315563;background:#142e3b;border-radius:13px;}
.scene-computer-icon {flex:none;width:40px;height:40px;border-radius:11px;display:grid;place-items:center;color:#7debd5;background:rgba(86,208,193,.13);}
.scene-computer-icon svg {width:22px;height:22px;}
.scene-device-copy {flex:1;min-width:0;line-height:1.35;}
.scene-device-copy strong {display:block;font-size:13px;color:#ebf7f3;}
.scene-device-copy span {font-size:11px;color:#8eacb5;}
.scene-device .online-indicator {font-size:10px;color:#86f4ca;font-weight:700;white-space:nowrap;}
.scene-events {display:grid;gap:8px;}
.scene-event {display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;border:1px solid rgba(112,163,177,.12);background:#102734;}
.scene-event .event-icon {display:grid;place-items:center;color:#73e8cc;width:25px;height:25px;border-radius:7px;background:rgba(101,227,195,.08);font-family:var(--mono);font-weight:800;font-size:13px;}
.scene-event div {display:grid;min-width:0;}
.scene-event strong {font-size:11px;color:#d5e8e9;font-weight:650;}
.scene-event small {font-size:10px;color:#87a7b2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.scene-event .event-ok {font-size:9px;color:#84e7bf;font-family:var(--mono);}
.scene-foot {border-top:1px solid rgba(121,192,194,.12);padding:11px 20px;color:#7b9ca7;font-size:10px;display:flex;align-items:center;justify-content:space-between;}
.scene-foot span {display:inline-flex;align-items:center;gap:8px;}
.scene-badge {position:absolute;right:-19px;bottom:-25px;z-index:3;background:#193742;border:1px solid rgba(102,211,185,.35);border-radius:12px;padding:12px 16px;box-shadow:0 15px 40px rgba(0,0,0,.32);font-size:11px;color:#c3dadd;}
.scene-badge strong {display:block;color:#7defce;font-size:12px;}
.story-strip {display:grid;grid-template-columns:.9fr 1.2fr;gap:40px;align-items:center;padding-top:70px;padding-bottom:10px;}
.story-intro .eyebrow {margin-bottom:12px;}
.story-intro h2 {font-size:clamp(26px,3.3vw,40px);max-width:14ch;line-height:1.13;}
.story-intro p {color:#9bb7be;max-width:38ch;margin-top:13px;}
.story-console {padding:19px;background:#0b1c27;border:1px solid #2b4651;border-radius:16px;box-shadow:var(--shadow);min-width:0;}
.story-console .console {border:0;padding:0;min-height:0;background:transparent;overflow:auto;}
.story-console .console .bar {display:none;}
.story-console .console .line {font-size:11px;}
.section {padding-top:100px;}
.section > h2 {margin-bottom:16px;}
.section-subhead {max-width:52ch;color:var(--muted);font-size:15px;margin-bottom:30px;}
.feature-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.feature-card {
  min-width:0;min-height:240px;border:1px solid var(--line);border-radius:17px;
  padding:25px 22px;background:linear-gradient(170deg,rgba(22,49,62,.86),rgba(14,30,40,.9));
  transition:transform .18s,border-color .18s,background .18s;
}
.feature-card:hover {transform:translateY(-3px);border-color:#457c7f;}
.feature-icon {display:grid;place-items:center;width:43px;height:43px;border-radius:12px;margin-bottom:26px;background:rgba(84,230,202,.11);color:#7de7d2;}
.feature-icon svg {width:24px;height:24px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.feature-card h3 {font-size:18px;margin-bottom:9px;}
.feature-card p {color:#98b0b8;font-size:13px;line-height:1.64;margin-bottom:0;}
.steps {gap:14px;}
.steps li {padding:26px 23px 18px;border:1px solid var(--line);border-radius:16px;background:var(--paper-raised);}
.steps li::before {font-size:15px;display:grid;place-items:center;width:36px;height:36px;color:var(--on-green);background:var(--green);border-radius:10px;margin-bottom:24px;}
.steps li h3 {font-size:19px;margin-bottom:10px;}
.steps p {font-size:13px;color:#a4bfc5;}
.control {gap:28px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);}
.control h2 {font-size:clamp(28px,3.4vw,42px);max-width:12ch;line-height:1.15;}
.control-intro {color:#9bb7bd;max-width:35ch;margin-top:15px;}
.control li {padding:17px 0;}
.control li strong {font-size:14px;}
.control li span {font-size:13px;color:#94b0b7;}
.cta-panel {
  margin-top:102px;padding:44px 48px;display:flex;gap:24px;
  align-items:center;justify-content:space-between;
  background:linear-gradient(110deg,#153b45,#12303c);
  border:1px solid rgba(100,230,208,.3);border-radius:22px;box-shadow:var(--shadow);
}
.cta-panel h2 {font-size:clamp(27px,3vw,39px);max-width:18ch;margin:9px 0 10px;}
.cta-panel p {color:#a7cbd1;max-width:58ch;margin:0;}
.cta-panel .actions {flex:none;display:flex;gap:10px;}
/* Auth, pairing and consent screens */
.auth {
  position:relative;max-width:500px;margin-top:83px;padding:38px 40px 41px;
  border:1px solid var(--line);border-radius:23px;
  background:linear-gradient(155deg,#132b37,#0d202c);
  box-shadow:var(--shadow);
}
.auth::before {content:"";position:absolute;width:62px;height:3px;top:0;left:40px;border-radius:0 0 5px 5px;background:#77eed3;}
.auth h1 {font-size:clamp(30px,4vw,40px);margin-bottom:11px;}
.auth .lede {font-size:14.5px;line-height:1.6;color:#a7c1c9;}
.auth .switch {font-size:13px;}
.field {gap:8px;}
.field label {font-size:13px;color:#c7e2e4;}
input[type=email],input[type=password],input[type=text] {
  background:#071b25;border-color:#395663;border-radius:11px;
  padding:12px 13px;min-height:50px;color:#effcf9;
}
input:hover {border-color:#557b82;}
input:focus-visible {outline:2px solid var(--focus);outline-offset:1px;}
.key-note {font-size:12px;color:#89abb3;border:1px solid rgba(119,193,195,.14);padding:14px;border-radius:11px;background:rgba(99,165,181,.06);}
.notice {border:1px solid var(--line);background:#173340;}
.notice.error {border-left:3px solid var(--danger);}
.notice.warn {border-left:3px solid var(--brass);}
.big-code {color:#8af4d6;text-align:center;padding:13px;border-radius:13px;background:#0a1a24;border:1px solid var(--line);}
.facts dt {font-size:13px;}
/* App dashboard */
.dash {padding-top:38px;}
.dash-overview {
  position:relative;overflow:hidden;border-radius:22px;padding:36px 38px 33px;
  border:1px solid rgba(87,200,193,.27);
  background:linear-gradient(125deg,#153b45 0%,#112c39 49%,#0d2431 100%);
}
.dash-overview::after {content:"";position:absolute;right:-90px;top:-130px;width:380px;height:380px;background:radial-gradient(circle,rgba(82,215,191,.14),transparent 70%);pointer-events:none;}
.dash-overview h1 {font-size:clamp(29px,3.8vw,44px);margin:14px 0 6px;}
.dash-overview p {font-size:14px;color:#a2c2c7;max-width:56ch;}
.dash-stat-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:25px;}
.dash-stat {
  padding:16px 18px;display:block;text-decoration:none;position:relative;
  border:1px solid rgba(134,207,204,.20);border-radius:12px;background:rgba(5,20,31,.38);
}
.dash-stat:hover {color:#fff;border-color:rgba(120,239,208,.52);}
.dash-stat strong {display:block;color:#e6fbf5;font-size:27px;font-weight:800;line-height:1.2;}
.dash-stat span {color:#a3c3c7;font-size:12px;}
.dash-section {margin-top:33px;padding:27px 29px 30px;border:1px solid var(--line);border-radius:19px;background:rgba(17,37,49,.68);}
.dash-section:first-child {margin-top:0;}
.section-head {align-items:center;margin-bottom:22px;}
.dash .section-head h1,.dash .section-head h2 {font-size:23px;font-weight:720;letter-spacing:-.035em;}
.section-head .aside {font-size:12px;color:#8daab2;}
.devices {grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;}
.device {border:1px solid #34545d;background:linear-gradient(155deg,#14303c,#102733);border-radius:14px;padding:23px;gap:6px;box-shadow:none;}
.device.online {border-color:#458f83;box-shadow:0 0 0 1px rgba(88,221,188,.13);}
.device .top {gap:10px;}
.device h3 {font-size:18px;}
.device-icon {display:grid;place-items:center;width:43px;height:43px;border-radius:12px;color:#8df0d9;background:rgba(109,221,193,.12);margin-bottom:12px;}
.device-icon svg {width:22px;height:22px;stroke:currentColor;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.device .status {font-size:13px;color:#b7d6d8;}
.device.online .status {color:#9af6d5;}
.device .detail {font-size:12.2px;color:#8caeb8;}
.device .tags {margin-top:10px;}
.device .actions {margin-top:18px;}
.device .actions form.inline {margin-left:auto;}
.pilot {width:9px;height:9px;border:0;background:#5e7280;outline:0;box-shadow:none;}
.online .pilot {background:#55e0b4;box-shadow:0 0 0 4px rgba(74,228,175,.13),0 0 12px rgba(74,228,175,.3);outline:0;}
.tag {border:1px solid var(--line);background:#163744;color:#afd5db;padding:3px 9px;font-size:11px;}
.tag.warn {color:#e4cda7;border-color:#5b5544;background:rgba(224,176,110,.07);}
.setup,.connect-steps {
  padding:23px;border:1px solid var(--line);background:rgba(8,25,35,.55);border-radius:15px;
}
.connect-steps {margin-top:19px;}
.setup h3 {font-size:17px;}
.copybox {border-color:#355363;border-radius:11px;background:#071b26;}
.copybox code {font-size:12px;line-height:1.65;color:#bdebdc;max-width:100%;}
.copybox button {color:#9df2d9;border-left-color:#355363;font-size:12px;font-weight:750;background:rgba(74,180,161,.08);}
.copybox button:hover {background:rgba(74,180,161,.18);}
.os {color:#c9e0e1;font-size:13px;}
.apps {gap:14px;}
.apps>div {min-width:0;border-radius:14px;border:1px solid #2c4a58;padding:19px 19px 12px;background:rgba(26,54,65,.48);}
.apps h3 {font-size:16px;}
.apps ol {padding-left:18px;font-size:12.5px;color:#a8c5c8;}
.rows {border-top:0;}
.rows li {padding:17px 0;}
.table-scroll {border-radius:12px;border:1px solid var(--line);}
table.activity th {background:rgba(37,66,79,.55);font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#a8c7ce;padding:12px 14px;border-color:var(--line);}
table.activity td {font-size:12px;padding:12px 14px;border-color:#25414f;}
table.activity tbody tr:hover {background:rgba(69,143,150,.07);}
table.activity td.tool {font-size:12px;color:#b0ecdc;}
table.activity th:last-child,table.activity td:last-child {padding-right:16px;}
.usage strong {font-size:32px;color:#e6faf4;}
.empty {border-color:#36535f;background:rgba(8,28,39,.32);font-size:13.5px;color:#8fb0b8;}
.more-computers {margin-top:16px;}
details summary {cursor:pointer;}
.prose {color:#b5cbcf;}
.prose h1,.prose h2 {color:#ecf8f5;}
@media(max-width:1050px) {
  .hero.hero-split {gap:34px;padding-top:88px;padding-bottom:88px;}
  .hero h1 {font-size:clamp(43px,5.7vw,69px);}
  .scene-interior {padding:18px;}
  .feature-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .feature-card {min-height:210px;}
  .primary-nav {gap:16px;}
}
@media(max-width:760px) {
  .wrap {padding-inline:20px;}
  .site-header .wrap {min-height:69px;}
  .primary-nav {display:none;}
  .header-nav .who {max-width:110px;}
  .hero.hero-split {grid-template-columns:1fr;gap:46px;padding-top:70px;padding-bottom:65px;}
  .hero h1 {font-size:clamp(44px,9.6vw,68px);max-width:14ch;}
  .hero .lede {font-size:16px;}
  .scene {max-width:560px;}
  .scene-badge {right:-6px;}
  .story-strip {grid-template-columns:1fr;gap:20px;padding-top:62px;}
  .story-intro h2 {max-width:18ch;}
  .steps {grid-template-columns:1fr;}
  .steps li {padding:22px;}
  .control {grid-template-columns:1fr;gap:15px;}
  .control h2 {max-width:none;}
  .cta-panel {margin-top:70px;padding:30px;flex-direction:column;align-items:flex-start;}
  .auth {margin-top:50px;padding:33px 28px;}
  .dash-stat-grid {gap:8px;}
  .dash-overview {padding:28px;}
}
@media(max-width:480px) {
  .wrap {padding-inline:17px;}
  .site-header .wrap {gap:8px;}
  .brand {font-size:19px;gap:8px;}
  .brand svg {width:31px;height:31px;}
  .header-nav {gap:6px;}
  .header-nav .who {display:none;}
  .header-nav .button.small {font-size:11px;padding:0 9px;min-height:34px;}
  .header-nav .wide-only {display:none;}
  .hero.hero-split {padding-top:48px;padding-bottom:56px;}
  .hero .eyebrow {font-size:10px;margin-bottom:20px;}
  .hero h1 {font-size:clamp(39px,10.9vw,51px);line-height:1.07;}
  .hero .lede {font-size:14.5px;}
  .hero .actions {align-items:stretch;}
  .hero .actions .button {width:100%;min-height:48px;}
  .hero-footnotes {gap:9px 14px;}
  .hero-footnotes span {font-size:10px;}
  .scene-interior {padding:14px;gap:13px;}
  .scene-heading strong {font-size:15px;}
  .scene-device {padding:11px;gap:9px;}
  .scene-device .online-indicator {font-size:9px;}
  .scene-computer-icon {width:33px;height:33px;}
  .scene-event {gap:7px;padding:9px 8px;}
  .scene-event small {font-size:9px;}
  .scene-badge {font-size:9px;padding:9px;bottom:-20px;}
  .feature-grid {grid-template-columns:1fr;}
  .feature-card {min-height:0;padding:23px;}
  .feature-icon {margin-bottom:19px;}
  .story-console {padding:12px;}
  .section {padding-top:72px;}
  .cta-panel {padding:24px;}
  .cta-panel .actions,.cta-panel .actions .button {width:100%;}
  .auth {margin-top:26px;padding:25px 20px;border-radius:17px;}
  .auth::before {left:20px;}
  .dash {padding-top:20px;}
  .dash-overview {padding:24px 19px;}
  .dash-overview h1 {font-size:30px;}
  .dash-stat-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
  .dash-stat {padding:11px 8px;}
  .dash-stat strong {font-size:23px;}
  .dash-stat span {font-size:10px;line-height:1.3;display:block;}
  .dash-section {padding:20px 15px;margin-top:18px;}
  .section-head {gap:4px 12px;}
  .section-head .aside {margin-left:0;}
  .devices {grid-template-columns:1fr;}
  .device {padding:19px;}
  .setup,.connect-steps {padding:16px;}
  .apps {grid-template-columns:1fr;}
  .copybox code {font-size:11px;}
  .copybox button {padding:0 9px;font-size:11px;}
  .site-footer {margin-top:65px;}
  .site-footer .spacer {margin-left:0;width:100%;}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto;}
  *,*::before,*::after {transition-duration:0s!important;animation-duration:0s!important;}
}

/* Phase 8.6 screenshot-review refinements */
.scene-heading>div small { display:block; margin-bottom:3px; }
.scene-heading>div strong { display:block; }
.devices { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
@media(max-width:480px) {
  .devices { grid-template-columns:1fr; }
}

/* Phase 8.7: future public pricing and account usage. */
.pricing-section { padding-top:110px; }
.pricing-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px; }
.pricing-card {
  min-width:0;display:flex;flex-direction:column;gap:12px;
  padding:31px 30px 27px;border-radius:19px;border:1px solid #385360;
  background:linear-gradient(160deg,#152e3b,#102430);
}
.pricing-card-featured {
  border-color:rgba(89,229,196,.65);
  background:linear-gradient(160deg,#174443,#12333b 60%,#102732);
  box-shadow:0 0 0 1px rgba(96,226,199,.1),0 20px 65px rgba(0,0,0,.13);
}
.pricing-card-top {display:flex;align-items:center;justify-content:space-between;gap:14px;}
.pricing-tier {font-size:11px;letter-spacing:.12em;color:#78ebce;font-weight:850;}
.pricing-status {border:1px solid #446270;border-radius:99px;padding:5px 11px;font-size:10px;color:#abcad0;}
.pricing-card-featured .pricing-status {color:#9df1d9;border-color:#468778;background:rgba(73,185,156,.11);}
.pricing-amount {font-size:clamp(33px,3.4vw,46px);font-weight:850;letter-spacing:-.055em;line-height:1.15;color:#f4fdf9;margin-top:12px;}
.pricing-amount small {font-size:15px;font-weight:500;letter-spacing:normal;color:#9fbac1;}
.pricing-card>p {color:#b1cbd0;font-size:13px;max-width:42ch;min-height:42px;}
.pricing-card ul {list-style:none;margin:14px 0 23px;padding:0;display:grid;gap:15px;flex:1;}
.pricing-card li {position:relative;padding-left:26px;color:#b4cfd2;font-size:13px;line-height:1.55;}
.pricing-card li::before {content:"✓";position:absolute;left:0;top:0;color:#6ef0c9;font-size:15px;font-weight:800;}
.pricing-card li strong {color:#f3fcf9;}
.pricing-action {display:block;border:1px solid #466371;background:rgba(92,169,168,.06);color:#b4d2d6;border-radius:10px;padding:12px;text-align:center;font-size:12px;font-weight:670;}
.pricing-card-featured .pricing-action {border-color:#487d74;background:rgba(65,177,142,.09);color:#a2ebd7;}
.pricing-disclaimer {margin-top:19px;color:#8faeb4;font-size:12px;max-width:92ch;}
.usage-meter {
  display:block;margin:17px 0 9px;width:100%;height:10px;
  appearance:none;border:0;border-radius:999px;overflow:hidden;background:#243e49;
}
.usage-meter::-webkit-progress-bar {background:#243e49;border-radius:999px;}
.usage-meter::-webkit-progress-value {background:linear-gradient(90deg,#55d6c1,#93efd2);border-radius:999px;}
.usage-meter::-moz-progress-bar {background:linear-gradient(90deg,#55d6c1,#93efd2);border-radius:999px;}
.usage-explainer {font-size:12px;color:#9cb7c0;margin-top:6px;}
.usage-plan {display:inline-block;font-size:11px;font-weight:750;letter-spacing:.08em;border:1px solid #42716c;color:#86efcf;background:rgba(86,218,175,.06);padding:3px 9px;border-radius:999px;margin-bottom:12px;}
@media(max-width:760px) {
  .pricing-grid {grid-template-columns:1fr;}
  .pricing-card {padding:24px 22px;}
  .pricing-card>p {min-height:0;}
}
