/* Central Drive Hub - the central-drive site's system: near-black ground, square edges,
   white-hairline panels, Barlow Condensed display type in caps, Inter for reading,
   silver primary buttons, a soft sky-blue accent used sparingly.
   Layout: brand rail + content column; a top bar with a scrolling tab strip on phones.
   One dark theme, on purpose, like the site and the station app. */
:root {
  --bg: #06080b; --bg-2: #0c1116; --bg-3: #020304;
  --surface: rgba(12, 15, 18, 0.86); --surface-2: rgba(20, 25, 30, 0.94);
  --line: rgba(248, 251, 255, 0.08); --line-strong: rgba(230, 231, 232, 0.16);
  --ink: #f8fbff; --ink-2: #b3bcc7; --muted: #7c8792; --silver: #e6e7e8;
  --accent: #6cc4ff; --accent-soft: rgba(108, 196, 255, 0.5); --accent-faint: rgba(108, 196, 255, 0.14);
  --good: #4fd18b; --warn: #f2c14e; --bad: #ff5c74;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", "SF Mono", Consolas, ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg-3); }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  position: relative; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1100px 520px at 0% 0%, rgba(108, 196, 255, 0.07), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(230, 231, 232, 0.03), transparent 60%); }
#app { position: relative; z-index: 1; min-height: 100vh; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-soft); color: var(--ink); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-3); }
::-webkit-scrollbar-thumb { background: var(--line-strong); }
svg.i { width: 17px; height: 17px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6;
  stroke-linecap: square; stroke-linejoin: miter; }

/* ---------- shell */
.shell { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.rail { position: sticky; top: 0; height: 100vh; padding: 30px 0 22px; display: flex; flex-direction: column; gap: 30px;
  background: rgba(6, 8, 11, 0.92); border-right: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.logo { display: grid; gap: 10px; padding: 0 26px; }
.logo img { width: 168px; max-width: 100%; height: auto; display: block; }
.logo span { font: 700 .72rem/1 var(--display); letter-spacing: .34em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: flex; flex-direction: column; }
.nav a { position: relative; display: flex; align-items: center; gap: 13px; padding: 12px 26px; color: var(--ink-2);
  font: 700 .95rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.nav a:hover { color: var(--ink); background: rgba(248, 251, 255, 0.03); }
.nav a[aria-current="page"] { color: var(--ink); background: linear-gradient(90deg, var(--accent-faint), transparent 85%); }
.nav a[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent);
  box-shadow: 0 0 14px var(--accent-soft); }
.nav a[aria-current="page"] svg.i { color: var(--accent); }
.nav .count { margin-left: auto; font: 700 .72rem/1 var(--mono); letter-spacing: 0; padding: 4px 7px; background: var(--bad); color: #fff; }
.rail-foot { margin-top: auto; display: grid; gap: 12px; padding: 0 26px; font-size: .78rem; color: var(--muted); }
.rail-foot .btn { justify-self: start; }
.main { min-width: 0; padding: 40px clamp(16px, 3.4vw, 48px) 80px; display: grid; gap: 26px; align-content: start;
  max-width: 1320px; width: 100%; }
.topbar { display: none; }

@media (max-width: 899px) {
  .shell { grid-template-columns: 1fr; }
  .rail { display: none; }
  .topbar { display: grid; gap: 12px; position: sticky; top: 0; z-index: 5; padding: calc(14px + env(safe-area-inset-top, 0px)) 0 0;
    background: rgba(6, 8, 11, 0.95); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; }
  .topbar .logo { padding: 0; }
  .topbar .logo img { width: 150px; }
  .topbar .logo span { display: none; }
  .topbar .nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 0 6px; }
  .topbar .nav a { white-space: nowrap; padding: 12px 12px 13px; font-size: .86rem; }
  .topbar .nav a[aria-current="page"] { background: none; }
  .topbar .nav a[aria-current="page"]::before { left: 12px; right: 12px; top: auto; bottom: 0; width: auto; height: 2px; }
  .topbar .nav svg.i { display: none; }
  .main { padding-top: 24px; }
}

/* ---------- type + blocks */
.eyebrow { font: 700 .78rem/1 var(--display); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.page-head > div { display: grid; gap: 10px; min-width: 0; }
.page-head h1 { margin: 0; font: 800 clamp(2.2rem, 4.2vw, 3.3rem)/.95 var(--display); letter-spacing: -.012em; text-transform: uppercase;
  text-wrap: balance; }
.page-head p { margin: 0; color: var(--ink-2); max-width: 70ch; font-size: 1rem; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); padding: 26px; min-width: 0; }
.card > h2 { margin: 0 0 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font: 700 1.25rem/1.1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.card > h2 .spacer { flex: 1; }
.card > h2 a, .card > h2 small { font: 700 .8rem/1 var(--display); letter-spacing: .2em; color: var(--ink-2); }
.card > h2 a:hover { color: var(--ink); }
.card.feature { border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(230, 231, 232, 0.04), 0 22px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(108, 196, 255, 0.06); }
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.tiles { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  border: 1px solid var(--line); background: var(--surface); }
.tile { position: relative; display: grid; gap: 8px; padding: 24px 26px; border-right: 1px solid var(--line); min-width: 0; }
.tile:last-child { border-right: 0; }
@media (max-width: 899px) { .tile { border-right: 0; border-bottom: 1px solid var(--line); } .tile:last-child { border-bottom: 0; } }
.tile .label { font: 700 .74rem/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.tile .value { font: 800 2.7rem/1 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); }
.tile .value.accent { color: var(--accent); text-shadow: 0 0 28px var(--accent-soft); }
.tile .sub { color: var(--ink-2); font-size: .86rem; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.soft { color: var(--ink-2); }
.mono { font-family: var(--mono); font-size: .82em; overflow-wrap: anywhere; }
.num { font-variant-numeric: tabular-nums; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--silver); cursor: pointer;
  font: 700 .92rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { border-color: var(--silver); color: var(--ink); }
.btn.primary { background: var(--silver); border-color: var(--silver); color: var(--bg); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); box-shadow: 0 0 34px rgba(230, 231, 232, 0.18); }
.btn.cta::after { content: "\2192"; font-family: var(--sans); letter-spacing: 0; transition: transform .15s; }
.btn.cta:hover::after { transform: translateX(3px); }
.btn.danger { color: var(--bad); border-color: rgba(255, 92, 116, 0.35); }
.btn.danger:hover { border-color: var(--bad); color: var(--bad); }
.btn.small { padding: 8px 13px; font-size: .8rem; letter-spacing: .16em; }
.btn.big { padding: 15px 26px; font-size: 1rem; }
.btn[disabled] { opacity: .4; cursor: default; box-shadow: none; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; white-space: nowrap;
  font: 700 .76rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; border: 1px solid currentColor; }
.pill::before { content: ""; width: 6px; height: 6px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.pill.good { color: var(--good); } .pill.bad { color: var(--bad); } .pill.warn { color: var(--warn); }
.pill.accent { color: var(--accent); } .pill.muted { color: var(--muted); }
.pill.muted::before { box-shadow: none; }
.chip { font: 700 .72rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; padding: 6px 9px;
  color: var(--ink-2); border: 1px solid var(--line-strong); white-space: nowrap; }
.chip.on { color: var(--accent); border-color: var(--accent-soft); }
.chip.bad { color: var(--bad); border-color: rgba(255, 92, 116, 0.4); }

/* ---------- lists, tables */
.list { display: grid; }
.item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; padding-top: 2px; }
.item .dot { width: 7px; height: 7px; flex: none; margin-top: 8px; background: var(--muted); }
.item .dot.bad { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.item .dot.warn { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.item .dot.good { background: var(--good); }
.item .body { min-width: 0; flex: 1; display: grid; gap: 3px; }
.item .body p { margin: 0; }
.item .when { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.empty { color: var(--muted); padding: 4px 0; margin: 0; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 .74rem/1.2 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.clickable { cursor: pointer; }
tbody tr.clickable:hover td { background: rgba(108, 196, 255, 0.05); }
.bar { height: 4px; background: rgba(248, 251, 255, 0.08); overflow: hidden; min-width: 90px; }
.bar i { display: block; height: 100%; background: var(--accent); box-shadow: 0 0 10px var(--accent-soft); }

/* ---------- source (GitHub) strip */
.source { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.source .glyph { width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent);
  border: 1px solid var(--accent-soft); background: var(--accent-faint); }
.source .what { min-width: 0; display: grid; gap: 4px; }
.source .what b { font: 700 1.1rem/1.2 var(--display); letter-spacing: .04em; overflow-wrap: anywhere; }
@media (max-width: 640px) { .source { grid-template-columns: auto 1fr; } .source > .pill { grid-column: 1 / -1; justify-self: start; } }

/* ---------- machines */
.devices { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.device { display: grid; gap: 16px; }
.device-head { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; }
.device-head h3 { margin: 0; font: 800 1.7rem/1 var(--display); letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; }
.device-head .site { color: var(--ink-2); font-size: .88rem; margin-top: 6px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: .9rem; margin: 0; }
.kv dt { font: 700 .74rem/1.9 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
details.menu { position: relative; }
details.menu > summary { list-style: none; }
details.menu > summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 250px; display: grid; padding: 6px;
  background: rgba(10, 13, 16, 0.98); border: 1px solid var(--line-strong); box-shadow: 0 22px 60px rgba(0, 0, 0, .6); }
.menu-list button { text-align: left; background: none; border: 0; padding: 10px 12px; cursor: pointer; color: var(--ink); font-size: .9rem; }
.menu-list button:hover { background: var(--accent-faint); }
.menu-list button.danger { color: var(--bad); }
.menu-list hr { border: 0; border-top: 1px solid var(--line); margin: 5px 2px; }
.note { border-left: 2px solid var(--warn); padding: 6px 14px; color: var(--ink-2); font-size: .9rem; margin: 0; }
.error-line { color: var(--bad); font-size: .88rem; overflow-wrap: anywhere; margin: 0; }
details.fold > summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: center;
  font: 700 .95rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: "+"; color: var(--accent); font-family: var(--mono); }
details.fold[open] > summary::before { content: "\2212"; }
details.fold > div { margin-top: 20px; }

/* ---------- forms, code, steps */
.form { display: grid; gap: 20px; }
.fields { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: 8px; }
.field label { font: 700 .74rem/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { background: var(--bg-3); border: 1px solid var(--line-strong); border-radius: 0; padding: 12px 13px; width: 100%; }
.field input::placeholder { color: #4d5660; }
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-faint); }
.field small { color: var(--muted); font-size: .8rem; }
.check { display: flex; gap: 12px; align-items: center; color: var(--ink-2); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.code { position: relative; }
.code pre { margin: 0; padding: 16px 104px 16px 16px; background: var(--bg-3); border: 1px solid var(--line-strong);
  font: 13px/1.65 var(--mono); color: var(--ink); overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.code .btn { position: absolute; top: 9px; right: 9px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 4px 16px; }
.steps > li::before { content: counter(step, decimal-leading-zero); font: 800 2rem/1 var(--display); color: transparent;
  -webkit-text-stroke: 1px var(--line-strong); }
.steps > li > div { display: grid; gap: 10px; min-width: 0; }
.steps h3 { margin: 0; font: 700 1.2rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.steps p { margin: 0; color: var(--ink-2); max-width: 74ch; }
.result { border-color: var(--accent-soft); box-shadow: 0 0 0 1px rgba(108, 196, 255, 0.06), 0 22px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(108, 196, 255, 0.08); }

/* ---------- dialog */
dialog { padding: 0; border: 1px solid var(--line-strong); border-radius: 0; background: rgba(10, 13, 16, 0.99); color: var(--ink);
  width: min(580px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 30px 90px rgba(0, 0, 0, .7); }
dialog::backdrop { background: rgba(2, 3, 4, 0.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog form { padding: 28px; display: grid; gap: 20px; }
dialog h2 { margin: 0; font: 800 1.9rem/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- sign in */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.login .card { width: min(100%, 440px); padding: 40px 34px; display: grid; gap: 26px; }
.login .logo { padding: 0; }
.login .logo img { width: 220px; }
.login h1 { margin: 0; font: 800 2.6rem/.95 var(--display); letter-spacing: -.012em; text-transform: uppercase; }
.login h1 em, .page-head h1 em { font-style: normal; color: var(--accent); }
.login p { margin: 0; color: var(--ink-2); }

/* ---------- toasts */
#toasts { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; z-index: 50;
  max-width: min(440px, calc(100vw - 32px)); }
.toast { background: rgba(10, 13, 16, 0.98); border: 1px solid var(--line-strong); border-left: 2px solid var(--accent);
  padding: 12px 16px; box-shadow: 0 18px 48px rgba(0, 0, 0, .55); }
.toast.bad { border-left-color: var(--bad); }
@media (prefers-reduced-motion: no-preference) {
  .toast { animation: rise .2s ease-out; }
  @keyframes rise { from { transform: translateY(8px); opacity: 0; } }
}

/* ---------- live dot */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent); margin-right: 11px; vertical-align: 1px; }

/* ---------- gaze field backdrops (motion.js) */
.gaze-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* ---------- overview deck: the live command header */
.deck { position: relative; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(900px 340px at 82% 0%, rgba(108, 196, 255, 0.10), transparent 65%),
              linear-gradient(180deg, rgba(12, 17, 22, 0.92), rgba(6, 8, 11, 0.94)); }
.deck .gaze-bg { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.deck-in { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  padding: 36px clamp(20px, 3vw, 40px) 30px; }
.deck-head { display: grid; gap: 12px; max-width: 640px; }
.deck-head h1 { margin: 0; font: 800 clamp(2.7rem, 5.6vw, 4.6rem)/.9 var(--display); text-transform: uppercase; letter-spacing: -.012em; }
.deck-head h1 em { font-style: normal; color: var(--accent); text-shadow: 0 0 44px rgba(108, 196, 255, 0.35); }
.deck-head p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.deck-clock { font: 700 1.05rem/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.deck .tiles { position: relative; border: 0; border-top: 1px solid var(--line); background: rgba(6, 8, 11, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.skeleton .value { min-height: 2.7rem; }
@media (max-width: 640px) { .deck-in { flex-direction: column; align-items: flex-start; } }

/* ---------- sign in: the gaze field behind, the mark draws itself */
.login { position: relative; overflow: hidden; }
.login .gaze-bg { position: fixed; }
.login-card { position: relative; z-index: 1; background: rgba(10, 13, 16, 0.8); border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(108, 196, 255, 0.06); }
.grid.tight { gap: 12px; }
.brandline { display: flex; align-items: center; gap: 14px; }
.brandline .mark-draw { width: 40px; height: 40px; flex: none; overflow: visible; }
.brandline .wordmark { width: 190px; height: auto; display: block; }
.mark-draw .fill { fill: var(--silver); }
.mark-draw .edge { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linejoin: round; opacity: 0; }
.login-foot { position: fixed; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); margin: 0; z-index: 1;
  text-align: center; font: 700 .72rem/1 var(--display); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }

/* ---------- motion (none of it under reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .enter { animation: enter .75s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes enter { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
  .pill.good::before, .pill.accent::before, .live-dot { animation: beat 2.2s ease-in-out infinite; }
  @keyframes beat { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
  .bar i { position: relative; overflow: hidden; }
  .bar i::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); animation: sheen 1.6s ease-in-out infinite; }
  @keyframes sheen { to { transform: translateX(100%); } }
  .skeleton .label, .skeleton .value, .skeleton .sub { color: transparent; background-size: 200% 100%;
    background-image: linear-gradient(90deg, rgba(248, 251, 255, 0.03), rgba(248, 251, 255, 0.09), rgba(248, 251, 255, 0.03));
    animation: shimmer 1.3s linear infinite; }
  @keyframes shimmer { to { background-position: -200% 0; } }
  .card { transition: border-color .25s, box-shadow .25s; }
  .devices .card:hover, .cols-2 > .card:hover, .source:hover { border-color: var(--line-strong);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(108, 196, 255, 0.06); }
  .btn.primary { position: relative; overflow: hidden; isolation: isolate; }
  .btn.primary::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
    transition: transform .65s cubic-bezier(.16, 1, .3, 1); }
  .btn.primary:hover::before { transform: translateX(120%); }
  .mark-draw .fill { opacity: 0; animation: markfill .7s ease 1.25s forwards; }
  .mark-draw .edge { opacity: 1; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(108, 196, 255, 0.8));
    animation: markedge 1.1s cubic-bezier(.65, 0, .35, 1) .25s forwards, markfade .6s ease 1.55s forwards; }
  .mark-draw .edge.inner { animation-delay: .42s, 1.55s; }
  .brandline .wordmark { opacity: 0; transform: translateX(-8px); animation: wordin .8s cubic-bezier(.16, 1, .3, 1) 1.1s forwards; }
  @keyframes markedge { to { stroke-dashoffset: 0; } }
  @keyframes markfade { to { opacity: 0; } }
  @keyframes markfill { to { opacity: 1; } }
  @keyframes wordin { to { opacity: 1; transform: none; } }
}
