  /* Brand: BasePit Phase 2 identity pack, Console theme. Green/amber/red-pink mean status only.
     Signal Violet is the marketing-only accent: editorial highlights, never buttons or status. */
  :root {
    --surface: #0A0F1A; --panel: #0E1522; --raised: #152033; --hover: #1A2740;
    --line: #26364D; --line-strong: #3B4D68;
    --text: #E6EDF7; --muted: #A0AEC4; --faint: #8392A8;
    --accent: #5AA9FF; --on-accent: #0A0F1A; --focus: #78B9FF;
    --ok: #3DDC97; --attention: #FFB547; --down: #FF5C7A;
    --violet: #A78BFA;
    --display: "Inter", system-ui, sans-serif;
    --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --wrap: 1200px; --r: 14px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  html, body { overflow-x: clip; }
  body { margin: 0; background: var(--surface); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  img, svg { display: block; }
  :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
  .skip { position: absolute; left: -999px; }
  .skip:focus { left: 16px; top: 12px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; z-index: 99; }
  .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  /* header */
  header.top { position: sticky; top: 0; z-index: 30; background: rgba(10,15,26,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
  header.top.scrolled { border-bottom-color: var(--line); }
  .top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 21px var(--display); letter-spacing: -.02em; color: var(--text); }
  .brand svg { width: 26px; height: 26px; }
  nav.links { display: flex; gap: 24px; margin-left: 10px; }
  nav.links a { color: var(--muted); text-decoration: none; font-size: 15px; }
  nav.links a:hover { color: var(--text); }
  .top .actions { margin-left: auto; display: flex; gap: 10px; }
  .btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 10px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s; white-space: nowrap; cursor: pointer; }
  .btn.primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 30px -10px rgba(90,169,255,.7); }
  .btn.primary:hover { background: #7DBBFF; }
  .btn.ghost { border-color: var(--line-strong); color: var(--text); background: rgba(14,21,34,.6); }
  .btn.ghost:hover { background: var(--raised); }
  .btn.small { height: 38px; padding: 0 16px; font-size: 14px; box-shadow: none; }
  .btn .arrow { transition: transform .15s; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* type */
  .eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin: 0 0 18px; }
  h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; margin: 0; }
  h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
  h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
  p { margin: 0; }
  .lead { font-size: 19px; color: var(--muted); max-width: 680px; }
  code { font-family: var(--mono); font-size: .9em; }
  section { padding: 110px 0; position: relative; }
  section.rule { border-top: 1px solid var(--line); }
  .head { max-width: 780px; margin-bottom: 56px; }
  .head .lead { margin-top: 18px; }

  /* ---------------- HERO */
  .hero { padding: 64px 0 60px; overflow: hidden; }
  .hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(111,141,181,.18) .9px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); pointer-events: none; }
  .orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .55; }
  .orb.a { width: 520px; height: 520px; right: -60px; top: -120px; background: rgba(90,169,255,.30); animation: drift 18s ease-in-out infinite alternate; }
  .orb.b { width: 380px; height: 380px; right: 320px; top: 260px; background: rgba(167,139,250,.20); animation: drift 22s ease-in-out infinite alternate-reverse; }
  @keyframes drift { from { transform: translate(0,0); } to { transform: translate(-80px, 60px); } }
  .hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: center; position: relative; }
  .hero .wrap.stats-wrap { display: block; }
  .hero .wrap > * { min-width: 0; }
  h1 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
  .rot { display: block; height: 1.14em; overflow: hidden; white-space: nowrap; }
  .rot .w { display: inline-block; padding-bottom: .06em; background: linear-gradient(90deg, var(--accent), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s; }
  .rot .w.out { transform: translateY(-60%); opacity: 0; }
  .rot .w.pre { transform: translateY(60%); opacity: 0; transition: none; }
  .hero .lead { margin-top: 24px; }
  .hero .cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
  .hero .fine { margin-top: 16px; color: var(--faint); font-size: 14px; }

  /* the console */
  .stage { position: relative; }
  .stage::after { content: ""; position: absolute; inset: 10% 5% -6%; background: radial-gradient(closest-side, rgba(90,169,255,.28), transparent); filter: blur(30px); z-index: -1; }
  .console { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.03); overflow: hidden; font-size: 14px; }
  .console .bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #0C1320; }
  .console .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); flex: none; }
  .console .path { margin-left: 8px; font: 400 12px var(--mono); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .console .path b { color: var(--muted); font-weight: 400; }
  .screen { height: 318px; padding: 16px 18px; position: relative; overflow: hidden; }
  .mini .screen { height: 296px; }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
  .chip { position: relative; overflow: hidden; border: 1px solid var(--line); background: rgba(14,21,34,.8); color: var(--muted); border-radius: 999px; padding: 6px 12px; font: 500 12.5px var(--body); cursor: pointer; }
  .chip:hover { color: var(--text); border-color: var(--line-strong); }
  .chip.on { color: var(--text); border-color: rgba(90,169,255,.6); background: rgba(90,169,255,.12); }
  .chip .fill { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
  .chip.on .fill { animation-name: fill; animation-timing-function: linear; animation-fill-mode: forwards; }
  @keyframes fill { to { width: 100%; } }
  .stage-note { margin-top: 10px; font-size: 12px; color: var(--faint); }

  /* scene parts */
  .sline { display: flex; align-items: center; gap: 10px; min-height: 26px; font-weight: 500; }
  .sline.foot { position: absolute; left: 18px; right: 18px; bottom: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; animation: lin .3s ease both; }
  .muted { color: var(--muted); font-weight: 400; }
  .live { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px rgba(90,169,255,.14); animation: beat 1.6s cubic-bezier(.4,0,.2,1) infinite; }
  @keyframes beat { 0%,100% { transform: scale(.92); } 22% { transform: scale(1.08); } 42% { transform: scale(.98); } 62% { transform: scale(1.03); } }
  table.rows { width: 100%; border-collapse: collapse; margin-top: 10px; }
  table.rows td { padding: 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
  table.rows td + td { padding-left: 12px; }
  table.rows tr:last-child td { border-bottom: 0; }
  .n { font-family: var(--mono); font-size: 13px; }
  .state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
  .state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
  .state.ok { color: var(--ok); } .state.att { color: var(--attention); } .state.go { color: var(--accent); }
  .state.go::before { animation: beat 1s infinite; }
  .meter { width: 100%; min-width: 56px; height: 6px; border-radius: 3px; background: var(--raised); overflow: hidden; }
  .meter i { display: block; height: 100%; width: 0; background: var(--accent); opacity: .8; border-radius: 3px; transition: width .7s cubic-bezier(.2,.7,.2,1); }
  .lbl { font-size: 11px; color: var(--faint); font-family: var(--mono); }
  .steps-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
  .steps-list li { display: flex; align-items: center; gap: 10px; color: var(--faint); transition: color .3s; }
  .steps-list li .ck { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: background .3s, border-color .3s; }
  .steps-list li.done, .steps-list li.now { color: var(--text); }
  .steps-list li.done .ck { border-color: var(--accent); background: var(--accent); }
  .steps-list li.done .ck::after { content: ""; width: 7px; height: 4px; border-left: 2px solid var(--on-accent); border-bottom: 2px solid var(--on-accent); transform: rotate(-45deg) translate(1px,-1px); }
  .steps-list li.now .ck { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .log { font: 400 12.5px/1.65 var(--mono); margin-top: 6px; }
  .log div, .term div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: lin .25s ease both; }
  @keyframes lin { from { opacity: 0; transform: translateY(4px); } }
  .log .h { color: var(--text); } .log .f { color: var(--faint); } .log .m { color: var(--muted); }
  .log .add { color: var(--accent); } .log .del { color: var(--faint); text-decoration: line-through; }
  .log .chg { color: var(--attention); } .log .okc { color: var(--ok); }
  .card-in { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #0B111D; margin-top: 12px; animation: lin .3s ease both; }
  .card-in.att { border-color: rgba(255,181,71,.45); }
  .qbtns { display: flex; gap: 8px; margin-top: 10px; }
  .qb { border: 1px solid var(--line-strong); border-radius: 8px; padding: 5px 14px; font-size: 13px; color: var(--text); background: var(--raised); transition: all .2s; }
  .qb.press { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: scale(.96); }
  .ring { width: 104px; height: 104px; position: relative; flex: none; }
  .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
  .ring .bg { stroke: var(--raised); }
  .ring .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1); }
  .ring .g { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
  .ring .g b { font: 600 34px/1 var(--display); display: block; }
  .ring .g span { font: 400 11px var(--mono); color: var(--faint); }
  .sec-row { display: flex; gap: 18px; align-items: center; margin-top: 10px; }
  .sec-list { flex: 1; min-width: 0; display: grid; gap: 8px; font-size: 13px; }
  .sec-list div { display: flex; justify-content: space-between; gap: 8px; animation: lin .3s ease both; white-space: nowrap; }
  .tickbar { display: flex; gap: 2px; height: 18px; overflow: hidden; }
  .tickbar i { width: 4px; flex: none; border-radius: 1px; background: var(--ok); opacity: .75; }
  .tickbar i.a { background: var(--attention); opacity: 1; }
  .term { font: 400 12.5px/1.75 var(--mono); margin-top: 8px; }
  .term .you { color: var(--accent); }
  .pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
  .pill.go { color: var(--accent); border-color: rgba(90,169,255,.4); }
  .pill.att { color: var(--attention); border-color: rgba(255,181,71,.45); }
  .pill.ok { color: var(--ok); border-color: rgba(61,220,151,.4); }
  .between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

  /* the dashboards scene: widgets on a grid, drawn as the console's chart kit draws them (2026-11-16). A chart's
     lines are the accent and the violet, never a status colour; a threshold is the attention colour, dashed. */
  .dgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
  .dw { border: 1px solid var(--line); border-radius: 10px; background: #0B111D; padding: 9px 11px; min-width: 0; animation: lin .3s ease both; }
  .dw.wide { grid-column: 1 / -1; }
  .dw .t { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dw .v { font: 600 24px/1 var(--display); letter-spacing: -.02em; margin-top: 7px; font-variant-numeric: tabular-nums; transition: color .4s; }
  .dw .v small { font: 500 11px var(--body); color: var(--faint); letter-spacing: 0; }
  .dw .v.att { color: var(--attention); }
  .dw .d { font-size: 10.5px; color: var(--faint); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dw svg { display: block; width: 100%; overflow: visible; }
  .dw .gauge { height: 34px; margin-top: 4px; }
  .dw .gauge .bg { stroke: var(--raised); } .dw .gauge .fg { stroke: var(--accent); transition: stroke-dashoffset 1.2s cubic-bezier(.2,.7,.2,1); }
  .dchart { height: 42px; margin-top: 6px; }
  .dchart path { fill: none; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
  .dchart .s1 { stroke: var(--accent); } .dchart .s2 { stroke: var(--violet); } .dchart .s3 { stroke: var(--line-strong); }
  .dchart .th { stroke: var(--attention); stroke-width: 1.1; stroke-dasharray: 4 4; opacity: .8; }
  .dchart .draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: dline 1.6s cubic-bezier(.3,.6,.2,1) forwards; }
  @keyframes dline { to { stroke-dashoffset: 0; } }
  .dkey { display: inline-flex; gap: 10px; margin-left: 6px; } .dkey i { display: inline-block; width: 9px; height: 3px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }

  /* the phone: a scene drawn on a handset instead of a browser (frame "phone" in home.js and scenes.js), in the
     look of the console's own phone app, at a third less than a real 390 × 844 screen. An illustration. */
  .handset { width: 290px; max-width: 100%; margin: 0 auto; }
  .hs-screen { position: relative; height: 600px; border-radius: 44px; overflow: hidden; background: var(--surface); font-size: 13px; isolation: isolate;
    box-shadow: 0 0 0 9px #06080c, 0 0 0 10.5px #2B3444, 0 50px 100px -36px rgba(0,0,0,.95), 0 0 120px -40px rgba(90,169,255,.5); }
  .hs-screen::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(111,141,181,.13) .8px, transparent 1.1px); background-size: 18px 18px; }
  .hs-island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #000; z-index: 20; }
  .hs-status { position: absolute; top: 0; left: 0; right: 0; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 2px 24px 0 32px; font: 600 12px/1 var(--body); z-index: 19; }
  .hs-status i { display: block; width: 20px; height: 10px; border-radius: 3px; border: 1.4px solid var(--text); position: relative; }
  .hs-status i::after { content: ""; position: absolute; inset: 1.5px 4px 1.5px 1.5px; border-radius: 1px; background: var(--text); }
  .hs-body { position: absolute; top: 44px; left: 0; right: 0; bottom: 0; overflow: hidden; }
  .hs-home { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 100px; height: 4px; border-radius: 2px; background: var(--text); opacity: .8; z-index: 20; }
  .tone-ok { --tone: var(--ok); --tone-a: rgba(61,220,151,.22); }
  .tone-att { --tone: var(--attention); --tone-a: rgba(255,181,71,.22); }
  .tone-down { --tone: var(--down); --tone-a: rgba(255,92,122,.22); }
  .ph-page { position: absolute; inset: 0; padding: 0 14px; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s; }
  .ph-page.out { transform: translateX(-28%); opacity: 0; }
  .ph-page.in { transform: translateX(100%); }
  .ph-bar { display: flex; align-items: center; justify-content: space-between; height: 38px; }
  .ph-org { display: flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--body); padding: 4px 9px 4px 4px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); }
  .ph-org i { width: 17px; height: 17px; border-radius: 50%; background: var(--accent); }
  .ph-me { display: flex; gap: 6px; } .ph-me i { width: 27px; height: 27px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); }
  .ph-me i:last-child { background: var(--accent); border-color: transparent; }
  .ph-hero { position: relative; margin: 0 -14px; padding: 8px 16px 50px; }
  .ph-hero::before { content: ""; position: absolute; right: -90px; top: -110px; width: 300px; height: 260px; background: radial-gradient(closest-side, var(--tone-a), transparent); pointer-events: none; }
  .ph-eye { position: relative; font: 500 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
  .ph-h { position: relative; font: 700 20px/1.12 var(--display); letter-spacing: -.02em; margin: 8px 0 7px; }
  .ph-sub { position: relative; display: flex; align-items: flex-start; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--tone); line-height: 1.35; }
  .ph-sub .i { width: 13px; height: 13px; flex: none; margin-top: 1px; stroke-width: 2.2; }
  .ph-beat { position: absolute; left: 0; bottom: 6px; width: 100%; height: 36px; }
  .ph-beat path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .ph-beat .base { stroke: var(--tone-a); stroke-width: 1.2; }
  .ph-beat .run { stroke: var(--tone); stroke-width: 1.8; stroke-dasharray: 60 640; animation: phrun 3s linear infinite; filter: drop-shadow(0 0 4px var(--tone)); }
  @keyframes phrun { from { stroke-dashoffset: 700; } to { stroke-dashoffset: 0; } }
  .ph-sec { display: flex; align-items: center; gap: 7px; margin: 2px 2px 8px; font: 700 13px/1 var(--body); }
  .ph-sec b { font: 600 9.5px/1 var(--mono); padding: 3px 6px; border-radius: 999px; color: var(--tone); background: var(--tone-a); }
  .ph-card { position: relative; background: linear-gradient(180deg, var(--raised), var(--panel) 70%); border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 12px 15px; overflow: hidden; }
  .ph-card::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 0 3px 3px 0; background: var(--tone); box-shadow: 0 0 12px var(--tone); }
  .ph-kind { font: 600 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tone); }
  .ph-card h4 { margin: 8px 0 4px; font: 700 13px/1.3 var(--body); }
  .ph-card p { font-size: 10.5px; color: var(--muted); }
  .ph-acts { display: flex; gap: 8px; align-items: center; margin-top: 11px; }
  .ph-acts .nx { margin-left: auto; font-size: 9.5px; color: var(--faint); }
  .ph-btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 12px; border-radius: 10px; font: 700 11px/1 var(--body); background: var(--raised); border: 1px solid var(--line-strong); color: var(--text); white-space: nowrap; transition: transform .15s, filter .15s, opacity .25s; }
  .ph-btn.pri { background: var(--accent); border-color: transparent; color: var(--on-accent); box-shadow: 0 8px 20px -10px var(--accent); }
  .ph-btn.press { transform: scale(.93); filter: brightness(1.18); }
  .ph-btn.off { opacity: .4; box-shadow: none; }
  .ph-vitals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .ph-vital { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 9px 10px; }
  .ph-vital span { display: block; font-size: 9.5px; color: var(--muted); font-weight: 600; }
  .ph-vital b { display: block; font: 700 18px/1 var(--display); margin-top: 6px; font-variant-numeric: tabular-nums; }
  .ph-vital b small { font-size: 11px; color: var(--faint); font-weight: 600; }
  .ph-vital em { display: block; font-style: normal; font-size: 9px; margin-top: 4px; font-weight: 600; color: var(--tone); }
  .ph-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 62px; padding: 8px 4px 20px; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(14,21,34,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); z-index: 5; transition: transform .35s; }
  .ph-tabs.gone { transform: translateY(100%); }
  .ph-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; font: 600 8.5px/1 var(--body); color: var(--faint); position: relative; }
  .ph-tab .i { width: 16px; height: 16px; }
  .ph-tab.on { color: var(--accent); }
  .ph-tab .bd { position: absolute; top: -5px; left: calc(50% + 3px); min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: var(--down); color: var(--surface); font: 800 8.5px/15px var(--body); text-align: center; transition: background .4s; }
  .ph-tab .bd.quiet { background: var(--faint); }
  .ph-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 38px; font: 700 12px/1 var(--body); }
  .ph-nav .bk { color: var(--accent); font-weight: 600; } .ph-nav .mo { justify-self: end; color: var(--muted); letter-spacing: 1px; }
  .ph-state { display: flex; align-items: center; gap: 12px; margin: 10px 2px 12px; }
  .ph-orb { width: 44px; height: 44px; border-radius: 50%; flex: none; background: radial-gradient(circle at 38% 36%, var(--tone) 0 26%, var(--tone-a) 27% 100%); box-shadow: 0 0 0 5px var(--tone-a), 0 0 26px var(--tone-a); transition: background .5s, box-shadow .5s; }
  .ph-word { font: 700 20px/1 var(--display); color: var(--tone); transition: color .5s; }
  .ph-where { display: block; font-size: 10.5px; color: var(--muted); margin-top: 5px; }
  .ph-chips { display: flex; gap: 6px; flex-wrap: wrap; }
  .ph-chips span { font-size: 9.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
  .ph-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
  .ph-kpis div { background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 8px; }
  .ph-kpis span { display: block; font-size: 9px; color: var(--muted); font-weight: 600; }
  .ph-kpis b { display: block; font: 700 14px/1 var(--display); margin-top: 5px; font-variant-numeric: tabular-nums; }
  .ph-chartc { margin-top: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 9px 10px 6px; }
  .ph-ct { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 600; color: var(--muted); }
  .ph-ct .rg { display: flex; gap: 2px; } .ph-ct .rg i { font-style: normal; padding: 2px 6px; border-radius: 6px; font-size: 9px; color: var(--faint); }
  .ph-ct .rg i.on { background: var(--raised); color: var(--text); }
  .ph-chartc svg { display: block; width: 100%; height: 54px; margin-top: 6px; }
  .ph-chartc path { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
  .ph-chartc path.ar { fill: rgba(90,169,255,.12); stroke: none; }
  .handset + .stage-note { text-align: center; }
  .ph-rows { margin-top: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
  .ph-rows div { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 10.5px; border-top: 1px solid var(--line); }
  .ph-rows div:first-child { border-top: 0; }
  .ph-rows .dt { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 8px var(--tone); flex: none; }
  .ph-rows .mu { margin-left: auto; color: var(--faint); }
  .ph-actbar { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px 22px; display: flex; gap: 8px; background: rgba(14,21,34,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); z-index: 5; }
  .ph-actbar .ph-btn { flex: 1; height: 36px; } .ph-actbar .ph-btn.mo { flex: none; width: 40px; padding: 0; }
  .ph-actbar { transition: transform .35s; } .ph-actbar.gone { transform: translateY(100%); }
  .ph-dim { position: absolute; inset: 0; background: rgba(3,6,11,.62); opacity: 0; transition: opacity .3s; z-index: 6; pointer-events: none; }
  .ph-dim.on { opacity: 1; }
  .ph-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--panel); border-top: 1px solid var(--line-strong); border-radius: 22px 22px 0 0; padding: 8px 14px 22px; transform: translateY(105%); transition: transform .45s cubic-bezier(.2,.8,.2,1); z-index: 7; }
  .ph-sheet.on { transform: none; }
  .ph-sheet .grab { width: 34px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 0 auto 10px; }
  .ph-sheet h4 { font: 700 16px/1.2 var(--display); margin: 7px 0 4px; }
  .ph-sheet > p { font-size: 10.5px; color: var(--muted); }
  .ph-reach { margin: 10px 0; border: 1px solid var(--line); border-radius: 12px; }
  .ph-reach p { font: 500 8.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 8px 10px 0; }
  .ph-reach div { display: flex; flex-direction: column; gap: 2px; padding: 7px 10px; font-size: 10.5px; border-top: 1px solid var(--line); }
  .ph-reach p + div { border-top: 0; }
  .ph-reach span { color: var(--muted); font-size: 9.5px; }
  .ph-type { font-size: 10.5px; color: var(--muted); margin-bottom: 6px; } .ph-type b { font: 600 10.5px var(--mono); color: var(--text); }
  .ph-field { height: 34px; border-radius: 10px; border: 1px solid var(--line-strong); background: #070B14; padding: 0 10px; display: flex; align-items: center; font: 500 13px var(--mono); transition: border-color .3s; }
  .ph-field.ok { border-color: rgba(90,169,255,.6); }
  .ph-field .caret { width: 1.5px; height: 15px; background: var(--accent); margin-left: 1px; animation: blink 1s step-end infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .ph-sheet .ph-btn.full { width: 100%; height: 38px; margin-top: 10px; font-size: 12px; }
  .ph-sheet .cancel { text-align: center; font-size: 11px; color: var(--muted); margin-top: 9px; }
  .ph-toast { position: absolute; left: 12px; right: 12px; top: 6px; padding: 10px 12px; border-radius: 13px; background: var(--raised); border: 1px solid var(--line-strong); font-size: 11px; display: flex; gap: 8px; align-items: center; box-shadow: 0 16px 30px -14px rgba(0,0,0,.8); transform: translateY(-150%); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s; z-index: 8; }
  .ph-toast.on { transform: none; opacity: 1; }
  .ph-toast .dt { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); flex: none; }

  /* ---------------- STATS */
  .stats-wrap { margin-top: 64px; }
  .stats { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(14,21,34,.9), rgba(10,15,26,.9)); }
  .stats div { padding: 26px 22px; border-right: 1px solid var(--line); }
  .stats div:last-child { border-right: 0; }
  .stats b { display: block; font: 600 40px/1 var(--display); letter-spacing: -.03em; background: linear-gradient(180deg, #fff, #A9C6EA); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .stats span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.4; }

  /* ---------------- TILES */
  .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .tile { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: border-color .2s, transform .2s; position: relative; overflow: hidden; }
  .tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--mx,50%) var(--my,0%), rgba(90,169,255,.13), transparent 60%); opacity: 0; transition: opacity .25s; pointer-events: none; }
  .tile:hover { border-color: rgba(90,169,255,.5); transform: translateY(-3px); }
  .tile:hover::after { opacity: 1; }
  .tile .i { color: var(--accent); margin-bottom: 14px; }
  .tile b { display: block; font: 600 16px/1.3 var(--display); letter-spacing: -.01em; }
  .tile span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.45; }
  .instead { margin-top: 28px; padding: 22px 26px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-size: 16px; }
  .instead b { color: var(--text); font-weight: 600; }

  /* ---------------- SPOTLIGHTS */
  .spot { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
  .spot + .spot { border-top: 1px solid var(--line); }
  .spot.flip .copy { order: 2; }
  .spot > * { min-width: 0; }
  .spot h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -.02em; }
  .kicker { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
  .kicker .i { width: 18px; height: 18px; color: var(--accent); }
  .spot p.sub { margin-top: 14px; color: var(--muted); font-size: 17px; }
  ul.dots { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
  ul.dots li { position: relative; padding-left: 22px; }
  ul.dots li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
  ul.dots b { font-weight: 600; }

  /* ---------------- MORE */
  .more { columns: 3; column-gap: 32px; }
  .more div { break-inside: avoid; padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid rgba(38,54,77,.6); font-size: 15px; }
  .more div::before { content: ""; position: absolute; left: 2px; top: 16px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

  /* ---------------- HOW */
  .how3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
  .card .num { font: 500 13px var(--mono); color: var(--accent); margin-bottom: 12px; }
  .card h3 { margin-bottom: 8px; font-size: 19px; }
  .card p { color: var(--muted); font-size: 15.5px; }
  .install { margin-top: 24px; display: flex; align-items: center; gap: 12px; background: #070B14; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 14px 20px; }
  .install code { flex: 1; overflow-x: auto; white-space: nowrap; font-size: 14px; }
  .install code .p { color: var(--faint); user-select: none; }
  .install code .t { color: var(--violet); }
  .copybtn { flex: none; background: var(--raised); color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px; height: 34px; padding: 0 12px; font: 500 13px var(--body); cursor: pointer; }
  .copybtn:hover { background: var(--hover); }
  .install-note { margin-top: 12px; color: var(--faint); font-size: 14px; }
  .flow { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.2fr auto 1.2fr 1fr; align-items: center; }
  .machines { display: grid; gap: 8px; }
  .machines div { font: 400 13px var(--mono); padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); display: flex; align-items: center; gap: 8px; }
  .machines div::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
  .wire { position: relative; height: 2px; margin: 0 10px; background-image: linear-gradient(90deg, var(--accent) 50%, transparent 50%); background-size: 12px 2px; animation: wire 1.1s linear infinite; }
  .wire span { position: absolute; left: 50%; top: -28px; transform: translateX(-50%); font: 500 11px var(--mono); color: var(--accent); letter-spacing: .06em; white-space: nowrap; }
  .wire.back { background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 50%); }
  .wire.back span { color: var(--muted); }
  @keyframes wire { to { background-position: 12px 0; } }
  .hub { width: 100px; height: 100px; border-radius: 26px; display: grid; place-items: center; background: var(--panel); border: 1px solid rgba(90,169,255,.45); box-shadow: 0 0 60px -10px rgba(90,169,255,.45); color: var(--text); }
  .node { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center; }
  .node small { display: block; color: var(--faint); font-size: 13px; margin-top: 4px; }

  /* ---------------- CAREFUL */
  .care { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
  .care div { background: var(--panel); padding: 24px; }
  .care b { display: block; font: 600 16.5px/1.35 var(--display); letter-spacing: -.01em; }
  .care p { margin-top: 8px; color: var(--muted); font-size: 15px; }
  .care .tag { display: inline-block; font: 500 11px var(--mono); color: var(--violet); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }

  /* ---------------- PRICING */
  .price { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
  .price > * { min-width: 0; }
  .price .big { font: 600 clamp(30px, 4vw, 48px)/1.08 var(--display); letter-spacing: -.02em; }
  .price .lead { margin-top: 18px; }
  .price .cta { margin-top: 28px; }
  .points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .points .card { padding: 20px; }
  .points h3 { font-size: 16.5px; margin-bottom: 6px; }

  /* ---------------- FAQ */
  .faq { max-width: 880px; }
  details { border-bottom: 1px solid var(--line); }
  details:first-of-type { border-top: 1px solid var(--line); }
  summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 18px/1.4 var(--display); letter-spacing: -.01em; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
  details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
  details p { color: var(--muted); padding: 0 40px 22px 0; }

  /* ---------------- FINAL */
  .final { text-align: center; padding: 130px 0; overflow: hidden; }
  .final .orb.a { left: 50%; top: 50%; right: auto; transform: translate(-50%,-50%); animation: none; }
  .final h2 { font-size: clamp(34px, 5vw, 60px); position: relative; }
  .final .lead { margin: 18px auto 0; position: relative; }
  .final .cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; position: relative; flex-wrap: wrap; }
  .final .mark { margin: 0 auto 30px; width: 64px; position: relative; color: var(--text); }
  .final .mark .dot { transform-box: fill-box; transform-origin: center; animation: beat 1.6s cubic-bezier(.4,0,.2,1) infinite; }
  footer { border-top: 1px solid var(--line); padding: 34px 0 46px; color: var(--faint); font-size: 14px; }
  footer .wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
  footer nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
  footer a { text-decoration: none; color: var(--muted); }
  footer a:hover { color: var(--text); }

  /* Without JavaScript every section shows at once and the hero console, drawn by script, is left out. */
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
  html:not(.js) .stage { display: none; }

  @media (max-width: 1080px) {
    nav.links { display: none; }
    .hero .wrap, .price, .spot { grid-template-columns: 1fr; gap: 40px; }
    .spot.flip .copy { order: 0; }
    .stats { grid-template-columns: repeat(3, 1fr); }
    .stats div:nth-child(3) { border-right: 0; }
    .stats div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
    .tiles { grid-template-columns: repeat(3, 1fr); }
    .more { columns: 2; }
    .care { grid-template-columns: 1fr 1fr; }
    .flow { grid-template-columns: 1fr; gap: 12px; justify-items: center; }
    .flow .node, .flow .machines { width: 100%; max-width: 360px; }
    .wire { width: 2px; height: 46px; margin: 16px 0; background-image: linear-gradient(180deg, var(--accent) 50%, transparent 50%); background-size: 2px 12px; animation: wirev 1.1s linear infinite; }
    .wire.back { background-image: linear-gradient(180deg, var(--line-strong) 50%, transparent 50%); }
    .wire span { top: 50%; left: 16px; transform: translateY(-50%); }
    @keyframes wirev { to { background-position: 0 12px; } }
  }
  @media (max-width: 680px) {
    body { font-size: 16px; }
    section { padding: 80px 0; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stats div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
    .stats div:nth-child(2n) { border-right: 0 !important; }
    .stats b { font-size: 32px; }
    .tiles { grid-template-columns: 1fr 1fr; }
    .how3, .care, .points { grid-template-columns: 1fr; }
    .more { columns: 1; }
    .top .actions .ghost { display: none; }
    .screen, .mini .screen { padding: 14px; height: 300px; }
    .sline.foot { left: 14px; right: 14px; }
    .hide-s { display: none; }
    .ring { width: 84px; height: 84px; }
    .ring .g b { font-size: 28px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .live, .wire, .orb, .final .mark .dot, .state.go::before, .steps-list li.now .ck, .ph-beat .run, .ph-field .caret { animation: none !important; }
    .dchart .draw { animation: none !important; stroke-dashoffset: 0; }
    .ph-page, .ph-sheet, .ph-toast, .ph-dim, .ph-tabs, .ph-actbar { transition: none !important; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
  }
