/* ============================================================
   HashGrid — Mission Control
   OLED black · blueprint grid · cyan + amber telemetry
   ============================================================ */

:root {
  /* Canvas */
  --bg:            #080b0f;
  --bg-2:          #0b0f15;
  --panel:         #0e141c;
  --panel-2:       #111926;
  --grid-line:     rgba(41, 197, 214, 0.055);
  --hair:          rgba(255, 255, 255, 0.08);
  --hair-strong:   rgba(255, 255, 255, 0.14);

  /* Accents */
  --cyan:          #29c5d6;
  --cyan-bright:   #4fe4f2;
  --amber:         #ff9f1c;
  --amber-bright:  #ffb84d;
  --green:         #35e08a;
  --red:           #ff5a5f;

  /* Text */
  --ink:           #eef4f8;
  --ink-2:         #9fb0bd;
  --ink-3:         #5d6f7d;

  /* Glow */
  --glow-cyan:     0 0 24px rgba(41, 197, 214, 0.35);
  --glow-amber:    0 0 24px rgba(255, 159, 28, 0.32);

  /* Type */
  --font-display: "Chakra Petch", system-ui, sans-serif;
  --font-body:    "Barlow", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --maxw: 1180px;
  --radius: 16px;
  --radius-lg: 22px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.1px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Blueprint grid backdrop ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 35%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}
/* Ambient corner glows */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(600px 380px at 12% -5%, rgba(41,197,214,0.14), transparent 70%),
    radial-gradient(560px 360px at 92% 4%, rgba(255,159,28,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Layout helpers ---------- */
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; position: relative; z-index: 1; }
section { position: relative; z-index: 1; padding: clamp(64px, 9vw, 128px) 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before { counter-increment: sec; content: counter(sec, decimal-leading-zero) " /"; font-size: 11px; color: var(--cyan); opacity: 0.75; letter-spacing: 0.1em; }

/* ---------- Global premium details ---------- */
body { counter-reset: sec; scrollbar-color: #22303d var(--bg); }
::selection { background: rgba(41,197,214,0.32); color: #f2f9fc; }
[id] { scroll-margin-top: 86px; }
body::-webkit-scrollbar { width: 11px; }
body::-webkit-scrollbar-track { background: var(--bg); }
body::-webkit-scrollbar-thumb { background: #22303d; border-radius: 6px; border: 2px solid var(--bg); }
body::-webkit-scrollbar-thumb:hover { background: #2e4152; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 52px); }
.section-head p { color: var(--ink-2); font-size: 18px; margin: 18px 0 0; }
.amber-word { color: var(--amber); }
.cyan-word { color: var(--cyan); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  background: linear-gradient(to bottom, rgba(8,11,15,0.92), rgba(8,11,15,0.55));
  border-bottom: 1px solid var(--hair);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

/* Brand — the app's real wordmark: Nippo, all-caps, tracked, teal glow */
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 33px; height: 33px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,0.09), 0 4px 14px rgba(41,197,214,0.28); }
.brand-word { font-family: "Nippo", var(--font-mono); font-size: 17px; letter-spacing: 0.18em; color: var(--ink);
  text-shadow: 0 0 12px rgba(100,255,218,0.45); transition: text-shadow 0.25s; }
.brand:hover .brand-word { text-shadow: 0 0 18px rgba(100,255,218,0.7); }

/* Links */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.nav-cta) {
  position: relative; font-size: 14px; color: var(--ink-2); padding: 8px 14px; border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); background: rgba(255,255,255,0.05); }
/* subtle underline glow on hover */
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transform: scaleX(0.4); transition: opacity 0.2s, transform 0.2s;
}
.nav-links a:not(.nav-cta):hover::after { opacity: 0.8; transform: scaleX(1); }

/* Premium CTA pill */
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 12px;
  padding: 9px 17px; border-radius: 11px; white-space: nowrap;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  color: #06272d;
  background: linear-gradient(180deg, #8af1ff 0%, var(--cyan) 55%, #23b6c6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.12),
    0 6px 18px rgba(41,197,214,0.35);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.nav-cta svg { width: 15px; height: 15px; margin-top: -1px; }
.nav-cta:hover {
  transform: translateY(-1px); filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(0,0,0,0.12),
    0 10px 26px rgba(41,197,214,0.5);
}
.nav-cta:active { transform: translateY(0); }

/* Hamburger (mobile) */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none;
  padding: 10px; margin-left: 4px; cursor: pointer; }
.nav-burger i { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform 0.25s, opacity 0.2s; }
.nav-burger.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open i:nth-child(2) { opacity: 0; }
.nav-burger.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: none; flex-direction: column; padding: 6px 4vw 14px; border-top: 1px solid var(--hair);
  background: rgba(8,11,15,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-mobile.open { display: flex; animation: navDrop 0.25s ease; }
@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav-mobile a { padding: 14px 8px; font-size: 16px; color: var(--ink-2); border-bottom: 1px solid var(--hair); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:active { color: var(--cyan); }

@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-burger { display: flex; }
}
@media (min-width: 821px) { .nav-mobile { display: none !important; } }

/* ============================================================
   HERO
   ============================================================ */
header.hero { padding-top: clamp(48px, 7vw, 92px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.6vw, 82px); font-weight: 700; letter-spacing: -0.02em; }
.hero h1 .line { display: block;
  background: linear-gradient(180deg, #f6fbfe 30%, #aebecb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .glow { background: linear-gradient(180deg, #8af1ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(41,197,214,0.45)); }

/* Ambient light bed + gentle float behind the phone */
.hero-visual::before { content: ""; position: absolute; inset: -10% -14%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 40% at 40% 36%, rgba(41,197,214,0.17), transparent 70%),
    radial-gradient(38% 34% at 70% 66%, rgba(255,159,28,0.11), transparent 70%);
  filter: blur(4px); }
.hero-visual .device-frame { animation: heroFloat 7s ease-in-out infinite; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Supported-hardware strip */
.hw-ticker { margin-top: 20px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--ink-3); }
.hw-ticker span { color: var(--cyan); font-size: 10px; margin-right: 10px; letter-spacing: 0.22em; }

.mock-hint { margin-top: 12px; text-align: center; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--ink-3); }

/* Theme switcher under the phone */
.theme-try { margin-top: 24px; text-align: center; }
.theme-try-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.theme-swatches { display: flex; justify-content: center; gap: 11px; margin-top: 12px; }
.tsw { width: 25px; height: 25px; border-radius: 50%; cursor: pointer; padding: 0;
  background: var(--sw); border: 2px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 8px rgba(0,0,0,0.5);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s; }
.tsw:hover { transform: scale(1.18); }
.tsw.sel { border-color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 0 14px var(--sw); }
.hero p.lede { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); max-width: 520px; margin: 26px 0 14px; }
.hero p.lede b { color: var(--ink); font-weight: 600; }

.live-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green); padding: 7px 15px; border: 1px solid rgba(53,224,138,0.3);
  border-radius: 999px; background: rgba(53,224,138,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 20px rgba(53,224,138,0.12);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.9s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.78); } }

.cta-row { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.appstore-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; border: 1px solid #3a4653; border-radius: 12px;
  padding: 9px 17px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.appstore-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(41,197,214,0.35); border-color: var(--cyan); }
.appstore-badge .asb-logo { width: 26px; height: 26px; flex: none; }
.appstore-badge .asb-text { display: flex; flex-direction: column; line-height: 1.05; color: #fff; text-align: left; }
.appstore-badge .asb-text small { font-family: var(--font-body); font-size: 11px; font-weight: 400; letter-spacing: 0.01em; }
.appstore-badge .asb-text b { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: 0.01em; margin-top: 1px; }
.ghost-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; font-family: var(--font-mono); transition: color 0.2s; }
.ghost-link:hover { color: var(--cyan); }
.ghost-link .arrow { transition: transform 0.2s; }
.ghost-link:hover .arrow { transform: translateY(3px); }

.trust-row { display: flex; gap: 26px; margin-top: 42px; flex-wrap: wrap; }
.trust-row .ti { display: flex; flex-direction: column; }
.trust-row .ti b { font-family: var(--font-mono); font-size: 22px; color: var(--ink); }
.trust-row .ti span { font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.03em; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* ============================================================
   APP CARDS (live telemetry)
   ============================================================ */
.card {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
}
.card::before { /* top scanline sheen */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41,197,214,0.55), transparent);
}

/* Hero device stack */
.hero-visual { position: relative; }
.device-frame {
  width: min(420px, 92vw); margin-inline: auto;
  background: #05080c; border: 1px solid var(--hair-strong);
  border-radius: 40px; padding: 14px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.7), 0 0 0 1px rgba(41,197,214,0.12), var(--glow-cyan);
  position: relative;
}
.device-frame::after { /* notch */
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 6px; border-radius: 999px; background: #11161d;
}
.device-screen {
  background: radial-gradient(120% 80% at 50% 0%, #0d1420, #06090d);
  border-radius: 28px; padding: 30px 16px 18px; overflow: hidden;
}
.screen-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding: 0 4px; }
.screen-topbar .title { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.screen-topbar .title b { color: var(--amber); }

/* Miner card (inside phone + standalone) */
.miner-card { padding: 16px 16px 18px; border-radius: 16px; margin-bottom: 12px;
  background: linear-gradient(155deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  border: 1px solid var(--hair); }
.miner-card:last-child { margin-bottom: 0; }
.mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mc-name { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; }
.mc-name .chip { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 6px; background: rgba(41,197,214,0.12); color: var(--cyan); border: 1px solid rgba(41,197,214,0.25); }
.status-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; color: var(--green); }
.status-live .dot { width: 6px; height: 6px; }

.mc-hash { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.mc-hash .val { font-family: var(--font-mono); font-size: 30px; font-weight: 700; color: var(--cyan-bright);
  text-shadow: 0 0 22px rgba(79,228,242,0.4); letter-spacing: -0.01em; }
.mc-hash .unit { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
.mc-hash .lightning { color: var(--amber); filter: drop-shadow(0 0 8px rgba(255,159,28,0.6)); }

.spark { width: 100%; height: 46px; margin: 4px 0 14px; display: block; }

.mc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { padding: 9px 10px; border-radius: 10px; background: rgba(0,0,0,0.28); border: 1px solid var(--hair); }
.stat .k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.stat .v { font-family: var(--font-mono); font-size: 15px; font-weight: 600; margin-top: 3px; }
.stat .v.warm { color: var(--amber); }
.stat .v.cool { color: var(--cyan); }
.stat .v.ok { color: var(--green); }

/* ============================================================
   DASHBOARD BAND (standalone cards)
   ============================================================ */
.band-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.fleet-card { padding: 26px; }
.fleet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.fleet-head h3 { font-size: 17px; }
.fleet-big { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.fleet-big .num { font-family: var(--font-mono); font-size: clamp(38px, 6vw, 56px); font-weight: 700; color: var(--cyan-bright);
  text-shadow: 0 0 30px rgba(79,228,242,0.35); }
.fleet-big .unit { font-family: var(--font-mono); font-size: 16px; color: var(--ink-3); }
.fleet-sub { color: var(--ink-2); font-size: 14px; margin-bottom: 20px; }
.fleet-sub b { color: var(--green); }
.fleet-spark { width: 100%; height: 90px; display: block; }
.mini-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.mini { padding: 14px 16px; border-radius: 12px; background: rgba(0,0,0,0.25); border: 1px solid var(--hair); }
.mini .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.mini .v { font-family: var(--font-mono); font-size: 20px; font-weight: 600; margin-top: 4px; }

.side-stack { display: flex; flex-direction: column; gap: 20px; }
.solo-card { padding: 24px; }
.solo-card h3 { font-size: 16px; margin-bottom: 4px; }
.solo-card .desc { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.prob-ring { display: flex; align-items: center; gap: 18px; }
.prob-ring svg { flex: none; }
.prob-info .big { font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: var(--amber); }
.prob-info .lbl { font-size: 12px; color: var(--ink-3); }
.alert-card { padding: 18px 22px; display: flex; align-items: center; gap: 14px; }
.alert-card .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: rgba(255,159,28,0.12); border: 1px solid rgba(255,159,28,0.3); font-size: 18px; }
.alert-card .txt b { display: block; font-size: 14px; }
.alert-card .txt span { font-size: 12.5px; color: var(--ink-3); }

@media (max-width: 840px) { .band-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HARDWARE
   ============================================================ */
.hw-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hw {
  padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hair); position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.hw::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0; transition: opacity 0.3s; }
.hw:hover { transform: translateY(-5px); border-color: rgba(41,197,214,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 20px 46px rgba(0,0,0,0.5), 0 0 30px rgba(41,197,214,0.1); }
.hw:hover::before { opacity: 0.85; }
.hw .badge { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.hw h3 { font-size: 24px; margin: 10px 0 8px; }
.hw p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.hw .proto { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hair); }
@media (max-width: 980px) { .hw-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hw-strip { grid-template-columns: 1fr; } }

/* ============================================================
   FEATURES
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  padding: 26px 24px; border-radius: var(--radius); position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,0.035), rgba(255,255,255,0.006));
  border: 1px solid var(--hair); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feat:hover { transform: translateY(-5px); border-color: rgba(41,197,214,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 20px 46px rgba(0,0,0,0.5), 0 0 30px rgba(41,197,214,0.1); }
.feat.amber:hover { border-color: rgba(255,159,28,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 20px 46px rgba(0,0,0,0.5), 0 0 30px rgba(255,159,28,0.1); }
.feat .fi { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(160deg, rgba(41,197,214,0.16), rgba(41,197,214,0.05)); border: 1px solid rgba(41,197,214,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 20px rgba(41,197,214,0.22); transition: transform 0.25s, box-shadow 0.25s; }
.feat.amber .fi { background: linear-gradient(160deg, rgba(255,159,28,0.16), rgba(255,159,28,0.05)); border-color: rgba(255,159,28,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 20px rgba(255,159,28,0.2); }
.feat:hover .fi { transform: translateY(-2px) scale(1.04); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 26px rgba(41,197,214,0.35); }
.feat.amber:hover .fi { box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 26px rgba(255,159,28,0.32); }
.feat svg { width: 22px; height: 22px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BENTO — "What's inside"
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.bt { position: relative; padding: 24px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(170deg, #10161f, #0b1117);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
  display: flex; flex-direction: column; gap: 9px;
  transition: transform 0.35s cubic-bezier(0.2,0.7,0.2,1), border-color 0.35s, box-shadow 0.35s; }
.bt:hover { transform: translateY(-4px) scale(1.008); border-color: rgba(41,197,214,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 24px 54px rgba(0,0,0,0.55), 0 0 34px rgba(41,197,214,0.08); }
.bt h3 { font-size: 17px; letter-spacing: -0.01em; }
.bt p { font-size: 12.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }
/* staggered cascade when the grid reveals */
.bento.in .bt { animation: btIn 0.7s cubic-bezier(0.2,0.7,0.2,1) both; }
.bento.in .bt:nth-child(1) { animation-delay: 0.02s; } .bento.in .bt:nth-child(2) { animation-delay: 0.08s; }
.bento.in .bt:nth-child(3) { animation-delay: 0.14s; } .bento.in .bt:nth-child(4) { animation-delay: 0.20s; }
.bento.in .bt:nth-child(5) { animation-delay: 0.26s; } .bento.in .bt:nth-child(6) { animation-delay: 0.32s; }
.bento.in .bt:nth-child(7) { animation-delay: 0.38s; } .bento.in .bt:nth-child(8) { animation-delay: 0.44s; }
@keyframes btIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.bt.big { grid-column: span 2; grid-row: span 2; padding: 30px;
  background:
    radial-gradient(130% 85% at 18% 0%, rgba(41,197,214,0.12), transparent 55%),
    linear-gradient(170deg, #111925, #0b1117); }
.bt.big h3 { font-size: 26px; margin-top: 6px; }
.bt.big p { font-size: 14px; max-width: 34ch; }
.bt.big .status-live { position: absolute; top: 24px; right: 24px; }
.bt.wide { grid-column: span 2; }
.bt-hash { font-family: var(--font-mono); margin-top: auto; line-height: 1; }
.bt-hash::before { content: "FLEET HASHRATE"; display: block; font-size: 10px; letter-spacing: 0.22em;
  color: var(--ink-3); margin-bottom: 8px; }
.bt-hash > span { font-size: clamp(38px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.02em;
  color: var(--cyan-bright); text-shadow: 0 0 28px rgba(79,228,242,0.4); }
.bt-hash em { font-style: normal; font-size: 15px; color: var(--ink-3); margin-left: 7px; }
.bt-spark { width: 100%; height: 70px; }
.bt-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.bt-chips > span { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2);
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.05); white-space: nowrap; }
.bt-chips > span b { color: var(--amber); }
.bt-chips > span.ok { color: var(--green); }
/* digit-roll spans inside chips must never inherit chip styling */
.bt-chips span span { padding: 0; background: none; border: none; }
.bt-notif { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 12px; margin: 4px 0;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); }
.bt-notif img { width: 26px; height: 26px; border-radius: 7px; }
.bt-notif b { display: block; font-size: 11.5px; }
.bt-notif span { display: block; font-size: 11px; color: var(--ink-2); }
.bt-notif em { font-style: normal; font-size: 10px; color: var(--ink-3); margin-left: auto; align-self: flex-start; }
.bt-dots { display: flex; gap: 7px; margin: 6px 0; flex-wrap: wrap; }
.bt-dots i { width: 20px; height: 20px; border-radius: 50%; background: var(--c);
  border: 2px solid rgba(255,255,255,0.15); box-shadow: 0 0 8px color-mix(in srgb, var(--c) 50%, transparent);
  transition: transform 0.2s; }
.bt:hover .bt-dots i { transform: scale(1.12); }
.bt-stat { font-family: var(--font-mono); font-size: 26px; font-weight: 700; margin: 6px 0; }
.bt-stat.gold { color: var(--amber); text-shadow: 0 0 20px rgba(255,159,28,0.35); }
.bt-stat em { font-style: normal; font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.bt-widget { border-radius: 14px; padding: 10px 12px; margin: 4px 0; width: max-content;
  background: linear-gradient(150deg, #1c2a38, #121e2b); border: 1px solid rgba(100,255,218,0.3); }
.bt-widget small { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.12em; color: var(--ink-3); }
.bt-widget b { display: block; font-family: var(--font-mono); font-size: 16px; color: #64ffda; margin: 2px 0 3px; }
.bt-widget svg { width: 120px; height: 22px; display: block; }
.bt-slider { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.bt-slider span { flex: none; font-size: 11.5px; color: var(--ink-3); width: 84px; }
.bt-slider b { flex: none; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink); }
.bt-slider .track { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.bt-slider .fill { position: absolute; inset: 0 auto 0 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-bright)); box-shadow: 0 0 8px rgba(41,197,214,0.5); }
.bt-slider .knob { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 13px; height: 13px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.bt-radar { position: relative; height: 74px; margin: 2px 0; }
.bt-radar i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid rgba(41,197,214,0.5); width: 26px; height: 26px; animation: radar 2.6s ease-out infinite; }
.bt-radar i:nth-child(2) { animation-delay: 1.3s; }
@keyframes radar { 0% { width: 18px; height: 18px; opacity: 0.9; } 100% { width: 84px; height: 84px; opacity: 0; } }
.bt-radar .d { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-bright);
  box-shadow: 0 0 8px rgba(79,228,242,0.8); }
.bt-radar .d1 { left: 26%; top: 28%; } .bt-radar .d2 { left: 68%; top: 55%; animation: dblink 2.6s infinite 0.6s; }
.bt-radar .d3 { left: 42%; top: 70%; animation: dblink 2.6s infinite 1.6s; }
@keyframes dblink { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.bt.goldtile { border-color: rgba(242,201,76,0.35);
  background: radial-gradient(120% 90% at 50% 0%, rgba(242,153,74,0.1), transparent 60%),
    linear-gradient(165deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  animation: goldbreathe 3.4s ease-in-out infinite; }
@keyframes goldbreathe { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 14px rgba(242,153,74,0.1); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 30px rgba(242,153,74,0.28); } }
.bt.goldtile:hover { border-color: rgba(242,201,76,0.6); }
.bt-block { font-size: 26px; margin: 4px 0; }
/* "Also inside" — slow-drifting feature ticker */
.ticker { overflow: hidden; margin-top: 20px; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tickdrift 44s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickdrift { to { transform: translateX(-50%); } }
.tk { flex: none; display: inline-flex; align-items: center; gap: 9px; margin-right: 12px;
  padding: 10px 18px; border-radius: 999px; font-size: 13px; color: var(--ink-2); white-space: nowrap;
  background: linear-gradient(170deg, #10161f, #0b1117); border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); transition: color 0.2s, border-color 0.2s; }
.tk:hover { color: var(--ink); border-color: rgba(41,197,214,0.35); }
.tk svg { width: 14px; height: 14px; flex: none; color: var(--cyan); }
.tk.amber svg { color: var(--amber); }
@media (prefers-reduced-motion: reduce) {
  .ticker { mask-image: none; -webkit-mask-image: none; }
  .ticker-track { animation: none; flex-wrap: wrap; gap: 10px; width: auto; }
  .ticker-track [aria-hidden="true"] { display: none; }
}
@media (max-width: 940px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bt.big, .bt.wide { grid-column: span 1; } }

/* ============================================================
   REMOTE / SECURITY
   ============================================================ */
.secure { background: linear-gradient(180deg, transparent, rgba(41,197,214,0.03), transparent); }
.secure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.secure-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 16px; }
.secure-list li { display: flex; gap: 14px; align-items: flex-start; }
.secure-list .ck { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center;
  background: rgba(53,224,138,0.12); border: 1px solid rgba(53,224,138,0.3); color: var(--green); font-size: 14px; }
.secure-list b { display: block; font-size: 15.5px; }
.secure-list span { font-size: 14px; color: var(--ink-2); }
.crypto-panel { padding: 28px; }
.crypto-panel .flow { display: flex; flex-direction: column; gap: 12px; }
.flow-node { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(0,0,0,0.25)); border: 1px solid var(--hair);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.flow-node .fn-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; font-size: 16px;
  background: rgba(41,197,214,0.1); border: 1px solid rgba(41,197,214,0.25); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.flow-node b { font-size: 14px; }
.flow-node .mono-sm { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.flow-link { text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--cyan); letter-spacing: 0.1em; }
.flow-node.locked { border-color: rgba(53,224,138,0.3); }
.flow-node.locked .fn-ico { background: rgba(53,224,138,0.1); border-color: rgba(53,224,138,0.3); }
@media (max-width: 840px) { .secure-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PRIVACY strip
   ============================================================ */
.privacy-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pv { padding: 22px; border-radius: var(--radius); background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hair); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); transition: transform 0.25s, border-color 0.25s; }
.pv:hover { transform: translateY(-3px); border-color: rgba(255,159,28,0.32); }
.pv .pk { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.pv b { font-size: 15px; display: block; margin-bottom: 4px; }
.pv span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 820px) { .privacy-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .privacy-strip { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 18px; max-width: 1120px; margin-inline: auto; align-items: center; }

/* ---- Premium hero — the app's paywall, rendered premium ---- */
#pricing .price-grid { margin-top: 30px; }   /* room for the raised card + badge */
.plan.hero { position: relative; text-align: center; padding: 38px 28px 28px; border-radius: 26px;
  /* gradient border via dual background-clip; gold radial breathes at the top */
  border: 1px solid transparent;
  background:
    radial-gradient(130% 65% at 50% -5%, rgba(242,201,76,0.13), transparent 60%) padding-box,
    linear-gradient(170deg, #151d28, #0d131b) padding-box,
    linear-gradient(165deg, rgba(242,201,76,0.85), rgba(242,153,74,0.25) 30%, rgba(242,201,76,0.08) 55%, rgba(242,153,74,0.55)) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 34px 80px rgba(0,0,0,0.6), 0 0 50px rgba(242,153,74,0.1);
  transform: translateY(-12px);
  transition: transform 0.3s, box-shadow 0.3s; }
.plan.hero:hover { transform: translateY(-17px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 44px 90px rgba(0,0,0,0.65), 0 0 70px rgba(242,153,74,0.18); }
.plan.hero::before { content: "BEST VALUE"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; padding: 6px 15px; border-radius: 999px;
  white-space: nowrap; font-weight: 700; color: #241a05; z-index: 2;
  background: linear-gradient(135deg, #f6d365, #f2994a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 6px 18px rgba(242,153,74,0.55); }
/* Crest: crown + wordmark over the app's gold grid glow */
.pw-crest { position: relative; padding: 6px 0 2px; margin-bottom: 2px; }
.pw-crest::before { content: ""; position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%);
  width: 82%; height: 74px; border-radius: 999px; pointer-events: none;
  background-image:
    linear-gradient(rgba(242,201,76,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,201,76,0.22) 1px, transparent 1px);
  background-size: 7px 7px;
  -webkit-mask-image: radial-gradient(ellipse 52% 85% at 50% 50%, #000 25%, transparent 74%);
  mask-image: radial-gradient(ellipse 52% 85% at 50% 50%, #000 25%, transparent 74%); }
.pw-crest::after { content: ""; position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%);
  width: 65%; height: 60px; border-radius: 999px; background: rgba(242,201,76,0.14); filter: blur(22px); pointer-events: none; }
.pw-crown { position: relative; z-index: 1; width: 74px; height: 74px; object-fit: contain; margin: 0 auto -8px;
  filter: drop-shadow(0 0 16px rgba(242,153,74,0.55)); }
.pw-title { position: relative; z-index: 1; font-family: "Nippo", var(--font-mono); font-size: 42px; line-height: 1.02;
  background: linear-gradient(180deg, #ffffff 55%, #e8d9b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pw-tag { font-size: 14.5px; font-weight: 500; color: var(--ink-2); margin: 8px 0 24px; }
.pw-feats { display: flex; flex-direction: column; gap: 13px; text-align: left; margin-bottom: 24px; }
.pw-feat { display: flex; align-items: flex-start; gap: 13px; }
.pwf-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(242,201,76,0.16), rgba(242,153,74,0.05));
  border: 1px solid rgba(242,201,76,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 14px rgba(242,153,74,0.14); }
.pwf-ic svg { width: 17px; height: 17px; }
.pw-feat b { display: block; font-size: 14.5px; color: var(--ink); }
.pw-feat small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 1.5px; line-height: 1.4; }
/* PurchaseButton rows */
.pw-buy { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; text-align: left; border-radius: 15px; padding: 13px 17px; margin-bottom: 10px; min-height: 74px;
  transition: transform 0.2s, box-shadow 0.25s, filter 0.2s, border-color 0.2s; }
.pw-buy:last-child { margin-bottom: 0; }
.pw-buy .pwb-l b { display: block; font-size: 14.5px; font-weight: 700; }
.pw-buy .pwb-l small { display: block; font-size: 9.5px; font-weight: 600; margin-top: 1px; }
.pw-buy .pwb-l em { display: block; font-style: normal; font-size: 11px; margin-top: 3px; line-height: 1.35; }
.pw-buy .pwb-r { flex: none; font-size: 20px; font-weight: 800; text-align: right; letter-spacing: -0.01em; }
.pw-buy .pwb-r small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 0; }
.pw-buy.gold { color: #1c1200;
  background: linear-gradient(135deg, #f8d975 0%, #f2c94c 34%, #f2994a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -2px 5px rgba(140,70,10,0.28), 0 10px 28px rgba(242,153,74,0.32); }
.pw-buy.gold::after { /* sheen sweep on hover */
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); transition: left 0.55s ease; }
.pw-buy.gold:hover { transform: translateY(-2px); filter: saturate(1.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), inset 0 -2px 5px rgba(140,70,10,0.28), 0 16px 36px rgba(242,153,74,0.45); }
.pw-buy.gold:hover::after { left: 130%; }
.pw-buy.gold .pwb-l small { color: rgba(28,18,0,0.62); }
.pw-buy.gold .pwb-l em { color: rgba(28,18,0,0.72); }
.pw-buy.darkrow { color: var(--ink); border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)); }
.pw-buy.darkrow .pwb-l small, .pw-buy.darkrow .pwb-l em, .pw-buy.darkrow .pwb-r small { color: var(--ink-3); }
.pw-buy.darkrow:hover { transform: translateY(-2px); border-color: rgba(242,201,76,0.4); }
/* quiet the side cards so the hero owns the section */
.plan.side { opacity: 0.92; }
.plan.side:hover { opacity: 1; }
.plan { padding: 32px 28px; border-radius: var(--radius-lg); background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hair); position: relative; display: flex; flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.plan:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 50px rgba(0,0,0,0.5); }
.plan.pro { border-color: rgba(41,197,214,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 1px rgba(41,197,214,0.18), 0 30px 70px rgba(0,0,0,0.55), 0 0 40px rgba(41,197,214,0.1); }
.plan.pro:hover { transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(41,197,214,0.32), 0 30px 70px rgba(0,0,0,0.55), 0 0 56px rgba(41,197,214,0.18); }
.plan.pro::before { content: "BEST VALUE"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; padding: 5px 13px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(180deg, #8af1ff, var(--cyan)); color: #06272d; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 14px rgba(41,197,214,0.45); }
.plan .pname { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.plan .pprice { font-family: var(--font-mono); font-size: 38px; font-weight: 700; margin: 12px 0 2px; }
.plan .pprice .per { font-size: 15px; font-weight: 500; color: var(--ink-3); margin-left: 3px; }
.plan.pro .pprice { color: var(--cyan-bright); }
.plan .pnote { font-size: 13px; color: var(--ink-3); margin-bottom: 22px; min-height: 34px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.plan li::before { content: "▸"; color: var(--cyan); flex: none; }
.plan.pro li::before { color: var(--amber); }
.plan .pcta { display: block; text-align: center; padding: 12px; border-radius: 12px; font-weight: 600; font-family: var(--font-display); letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s, border-color 0.2s, background 0.2s; }
.plan .pcta.solid { color: #06272d;
  background: linear-gradient(180deg, #8af1ff 0%, var(--cyan) 55%, #23b6c6 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -1px 0 rgba(0,0,0,0.12), 0 6px 18px rgba(41,197,214,0.35); }
.plan .pcta.solid:hover { transform: translateY(-2px); filter: brightness(1.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 10px 26px rgba(41,197,214,0.5); }
.plan .pcta.outline { border: 1px solid var(--hair-strong); color: var(--ink); background: rgba(255,255,255,0.02); }
.plan .pcta.outline:hover { border-color: var(--cyan); background: rgba(41,197,214,0.08); }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; }
  .plan.hero { order: -1; transform: none; } .plan.hero:hover { transform: translateY(-4px); } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finale { text-align: center; }
.finale-card { padding: clamp(44px, 7vw, 84px) 30px; border-radius: 28px; position: relative; overflow: hidden;
  background: radial-gradient(120% 130% at 50% 0%, rgba(41,197,214,0.16), transparent 60%), linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hair-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 40px 100px rgba(0,0,0,0.6); }
.finale-card::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100,255,218,0.6), transparent); }
.finale-card h2 { font-size: clamp(32px, 5.4vw, 62px); }
.finale-card p { color: var(--ink-2); font-size: 18px; max-width: 520px; margin: 18px auto 32px; }
.platform-line { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.02em; margin-top: 24px; }
.finale .cta-row { justify-content: center; }
.finale img.icon-glow { width: 78px; height: 78px; border-radius: 20px; margin: 0 auto 24px; box-shadow: 0 0 0 1px var(--hair), var(--glow-cyan); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--hair); padding: 46px 0 60px; position: relative; z-index: 1; }
footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100,255,218,0.35), transparent); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 3px 12px rgba(41,197,214,0.22); }
.foot-brand .brand-word { font-size: 15px; }
.foot-badge { transform: scale(0.85); transform-origin: right center; }
.foot-links { display: flex; gap: 6px; flex-wrap: wrap; }
.foot-links a { font-size: 14px; color: var(--ink-2); padding: 6px 12px; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.foot-links a:hover { color: var(--ink); background: rgba(255,255,255,0.05); }
.foot-copy { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-top: 22px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Legal / support pages
   ============================================================ */
.doc { width: min(760px, 90vw); margin: 0 auto; padding: clamp(48px, 8vw, 96px) 0 120px; position: relative; z-index: 1; }
.doc h1 { font-size: clamp(34px, 6vw, 56px); margin-bottom: 10px; }
.doc .updated { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); margin-bottom: 40px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; color: var(--cyan); }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc a.inline { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.doc ul { padding-left: 22px; }
.doc .back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--cyan); margin-bottom: 40px; }
.support-card { padding: 26px 28px; border-radius: var(--radius); background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hair); margin: 20px 0; }
.support-card b { color: var(--ink); }

/* ============================================================
   ACCURATE APP MOCKUP — reproduces HashGrid's real screen
   Aurora theme (default) · Nippo numerals · exact card layout
   ============================================================ */
@font-face {
  font-family: "Nippo";
  src: url("assets/Nippo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

/* App's real Aurora palette (from ThemeManager.swift), tuned to the device screenshot */
.app-screen {
  --a-bg-top: #0e1a27;
  --a-bg-bottom: #0a121c;
  --a-card-top: #1c2a38;
  --a-card-bottom: #121e2b;
  --a-accent: #64ffda;       /* sharp mint teal — metric row, efficiency */
  --a-accent-2: #2dd4bf;     /* premium teal — uptime, chip, power */
  --a-text: #ffffff;
  --a-text-2: #8496a6;       /* slate label grey */
  --a-success: #34d399;
  --a-warning: #f5b423;      /* amber — hashrate, best diff, luck */
  --a-error: #fb7185;
  /* sparkline colors (JS reads these via inline var()) */
  --a-spark: var(--a-accent);
  --a-spark-glow: color-mix(in srgb, var(--a-accent) 60%, transparent);
  --font-nippo: "Nippo", var(--font-mono);

  border-radius: 30px;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 390 / 820;   /* real iPhone proportions — empty space falls at the bottom, like the app */
  background:
    radial-gradient(120% 55% at 50% 0%, color-mix(in srgb, var(--a-accent) 6%, transparent), transparent 55%),
    linear-gradient(to bottom, var(--a-bg-top), var(--a-bg-bottom) 60%);
  color: var(--a-text);
  font-family: var(--font-body);
}

/* ---- Top bar ---- */
.app-topbar { padding: 34px 16px 6px; position: relative; }
.app-topbar-row { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
.app-status .online { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--a-success); }
.app-status .online .d { width: 7px; height: 7px; border-radius: 50%; background: var(--a-success); box-shadow: 0 0 6px var(--a-success); }
.app-menu { display: flex; flex-direction: column; gap: 5px; }
.app-menu i { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--a-text); }

.app-wordmark {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-nippo); font-size: 25px; letter-spacing: 0.09em;
  color: var(--a-text); text-shadow: 0 0 10px color-mix(in srgb, var(--a-accent) 50%, transparent);
  padding: 8px 26px; white-space: nowrap; z-index: 1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--a-accent) 16%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--a-accent) 16%, transparent) 1px, transparent 1px);
  background-size: 7px 7px;
  -webkit-mask-image: radial-gradient(ellipse 62% 130% at 50% 50%, #000 42%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 130% at 50% 50%, #000 42%, transparent 78%);
}
.app-wordmark span { -webkit-mask-image: none; mask-image: none; }

/* ---- Fleet metrics ---- */
.app-metrics { padding: 2px 14px 8px; }
.app-metrics-spark { width: 100%; height: 26px; display: block; margin-bottom: 10px; }
.app-metrics-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
.app-metric { display: flex; align-items: center; gap: 4px; font-family: var(--font-nippo); }
.app-metric .mrow { display: flex; align-items: baseline; gap: 4px; }
.app-metric svg { width: 15px; height: 15px; flex: none; align-self: center; }
.app-metric .v { font-size: 19px; line-height: 1; }
.app-metric .u { font-size: 11px; opacity: 0.85; }
.app-metric.teal, .app-metric.teal svg { color: var(--a-accent); }
.app-metric.amber, .app-metric.amber svg { color: var(--a-warning); }
.app-metric.stacked { flex-direction: column; align-items: flex-start; gap: 2px; }
.app-scrypt { font-family: var(--font-body); font-size: 10px; font-weight: 500; color: var(--a-accent); opacity: 0.65; padding-left: 19px; }
.app-chev { color: var(--a-text-2); font-size: 11px; }

/* ---- Solo Luck banner ---- */
.app-sololuck { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 10px; }
.app-sololuck .l { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: var(--a-text); }
.app-sololuck .club { color: #b6c2cd; font-size: 15px; }
.app-sololuck .r { display: flex; align-items: center; gap: 7px; font-family: var(--font-nippo); font-size: 15px; color: var(--a-warning); }
.app-sololuck .r .chev { color: var(--a-text-2); font-size: 13px; }

/* ---- Miner cards: 2×2 grid ----
   Each card is a CONTAINER with the app's compact proportion (179w × 178h).
   All type/spacing is in cqw (= 1% of the card's own width), so the whole card
   scales as a unit at any viewport — it can never get tall on a narrow window,
   and the hashrate can never clip. */
.app-cards { padding: 2px 11px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
.app-card {
  container-type: inline-size;
  /* NOTE: the card's OWN cqw would resolve to its ancestor, not itself — so its
     radius is px. Descendants below use cqw (they resolve to the card).
     Height is driven by content (all cqw), so the card is exactly as tall as its
     content — no overlap, no empty space — and stays proportional at any width. */
  position: relative; border-radius: 14px; padding: 0;
  background: linear-gradient(155deg, var(--a-card-top), var(--a-card-bottom));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 5px 14px rgba(0,0,0,0.4);
  overflow: hidden;
}
.app-card::after { /* accent signature outline (theme-aware) */
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--a-accent) 30%, transparent); pointer-events: none;
}
.app-card-spark { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; pointer-events: none; }

.app-card-body { position: relative; display: flex; justify-content: space-between; gap: 3.5cqw; padding: 4.5cqw 5cqw 0; }
.app-lbl { font-size: 5cqw; font-weight: 700; letter-spacing: 0.02em; color: var(--a-text-2); line-height: 1; margin-bottom: -0.6cqw; }
/* pull each metric value tight under its label (app uses spacing 0) */
.app-uptime, .app-hash, .app-stat, .app-pool, .app-shares { line-height: 1; }

/* keep every value on one line */
.app-name, .app-ip, .app-uptime .val, .app-hash, .app-stat .val, .app-shares, .app-pool .val, .app-fm .val { white-space: nowrap; }

/* left column */
.app-col-l { display: flex; flex-direction: column; gap: 1.5cqw; min-width: 0; overflow: hidden; }
.app-name { font-size: 8.9cqw; font-weight: 700; color: var(--a-text); line-height: 1.05; overflow: hidden; text-overflow: ellipsis; }
.app-ip { font-size: 6.4cqw; color: var(--a-text-2); font-variant-numeric: tabular-nums; margin-top: 0.5cqw; }
.app-statusline { display: flex; align-items: center; gap: 2.8cqw; margin-top: 1.5cqw; }
.app-statusline .pdot { width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: var(--a-success); box-shadow: 0 0 3cqw var(--a-success); position: relative; flex: none; }
.app-statusline .pdot::before { content: ""; position: absolute; inset: -2cqw; border-radius: 50%; border: 0.8cqw solid var(--a-success); opacity: 0.5; animation: appPulse 3s ease-out infinite; }
@keyframes appPulse { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }
.app-statusline .act { font-size: 6cqw; font-weight: 500; color: var(--a-success); }
.app-statusline .mode { font-size: 4.8cqw; color: var(--a-text); background: rgba(0,0,0,0.6); border-radius: 2.5cqw; width: 8.6cqw; height: 8cqw; display: grid; place-items: center; flex: none; }
.app-uptime .val { font-family: var(--font-nippo); font-size: 8.9cqw; color: var(--a-accent-2); }
.app-hash { margin-top: 1cqw; }   /* small extra nudge toward the efficiency baseline */
.app-hash .val { font-family: var(--font-nippo); font-size: 11.5cqw; color: var(--a-warning); line-height: 1; }
.app-hash .u { font-family: var(--font-nippo); font-size: 6cqw; color: var(--a-warning); opacity: 0.9; margin-left: 0.5cqw; }

/* right column */
.app-col-r { display: flex; flex-direction: column; align-items: flex-end; gap: 1.8cqw; text-align: right; flex: none; overflow: hidden; }
.app-stat .val { font-family: var(--font-nippo); font-size: 8.6cqw; }
.app-stat .val.amber { color: var(--a-warning); }
.app-stat .val.teal { color: var(--a-accent); font-size: 7cqw; }   /* EFFICIENCY — smaller */
.app-stat .val .u { font-size: 4.6cqw; opacity: 0.85; }
.app-shares .ok { color: var(--a-success); font-family: var(--font-nippo); font-size: 5.6cqw; }
.app-shares .sep { color: var(--a-text-2); font-size: 5cqw; margin: 0 0.5cqw; }
.app-shares .bad { color: var(--a-error); font-family: var(--font-nippo); font-size: 5.6cqw; }
.app-pool .val { font-family: var(--font-nippo); font-size: 6.6cqw; color: var(--a-success); }

/* footer metrics */
.app-footer { position: relative; display: flex; justify-content: space-between; align-items: flex-end; margin-top: 2cqw; padding: 0 5cqw 4cqw; }
.app-fm { display: flex; flex-direction: column; gap: 1.3cqw; }   /* net ~0.7cqw after the label's -0.6 margin */
.app-fm.c { align-items: center; text-align: center; }
.app-fm.r { align-items: flex-end; text-align: right; }
.app-fm .val { font-family: var(--font-nippo); font-size: 13cqw; color: var(--a-accent-2); line-height: 1; }
.app-fm .val .u { font-size: 6cqw; opacity: 0.85; margin-left: 0.5cqw; }
.app-fm .val.mode { font-size: 8.5cqw; }

/* ---- Wide layout (app's 1-column wide cards) ---- */
.app-cards-wide { display: none; }
.app-screen.wide .app-cards { display: none; }
.app-screen.wide .app-cards-wide { display: flex; flex-direction: column; gap: 9px; padding: 2px 12px 0; }
.app-wcard {
  container-type: inline-size;
  /* CRITICAL: the card's OWN cqw resolves against the viewport (no ancestor
     container), so all padding/gap lives on the CHILDREN below — never here. */
  position: relative; border-radius: 15px; overflow: hidden; padding: 0;
  background: linear-gradient(155deg, var(--a-card-top), var(--a-card-bottom));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 5px 14px rgba(0,0,0,0.4);
}
.app-wcard::after { content: ""; position: absolute; inset: 0; border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--a-accent) 30%, transparent); pointer-events: none; }
/* App insets: top 8 / leading 10 / trailing 8; the 12pt VStack gap is the
   bottom row's padding-top. All on children so cqw resolves against the card. */
.wc-top { position: relative; display: flex; justify-content: space-between; gap: 3cqw; padding: 2.2cqw 2.2cqw 0 2.7cqw; }
.wc-head { min-width: 0; }
.wc-head .app-name { font-size: 4.3cqw; }
.wc-head .app-ip { font-size: 3.4cqw; }
.wc-fw { font-size: 2.6cqw; color: var(--a-text-2); opacity: 0.85; margin-top: 0.4cqw; white-space: nowrap; }
.wc-head .app-statusline { margin-top: 1.2cqw; }
.wc-head .app-statusline .act { font-size: 3cqw; }
.wc-head .app-statusline .pdot { width: 1.8cqw; height: 1.8cqw; }
.wc-head .app-statusline .mode { width: 4.4cqw; height: 4.1cqw; font-size: 2.5cqw; border-radius: 1.3cqw; }
/* Belt-and-braces: the sparkline must never enter flow inside a wide card */
.app-wcard > .app-card-spark { position: absolute !important; inset: 0; width: 100%; height: 100%; opacity: 0.3; }
.wc-stats { display: flex; flex-direction: column; gap: 3.8cqw; padding-top: 0.5cqw; } /* VStack spacing 14 */
.wc-row { display: flex; justify-content: flex-end; gap: 3.8cqw; }                     /* row1 spacing 20 */
.wc-row + .wc-row { gap: 5.2cqw; }                                                     /* row2 spacing 30 */
.wc-m { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5cqw; }
.wc-m .app-lbl { font-size: 2.2cqw; }
.wval { font-family: var(--font-nippo); font-size: 4cqw; color: var(--a-text); white-space: nowrap; line-height: 1; }
.wval .u { font-size: 2.7cqw; opacity: 0.85; }
.wval.t2 { color: var(--a-accent-2); }
.wval.ok, .wval .ok { color: var(--a-success); }
.wval .bad { color: var(--a-error); }
.wval .sep { color: var(--a-text-2); font-size: 2.8cqw; margin: 0 0.4cqw; }
.wval.amber { color: var(--a-warning); }
.wval.teal { color: var(--a-accent); }
.wfan { color: var(--a-accent); font-size: 3cqw; display: inline-block; animation: fanSpin 1.5s linear infinite; }
@keyframes fanSpin { to { transform: rotate(360deg); } }
.wc-bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; padding: 3.3cqw 2.2cqw 2.7cqw 2.7cqw; }
.wc-hash .app-lbl { font-size: 2.5cqw; }
.wc-hash .val { font-family: var(--font-nippo); font-size: 6.7cqw; color: var(--a-warning); line-height: 1; }
.wc-hash .u { font-family: var(--font-nippo); font-size: 3.5cqw; color: var(--a-warning); opacity: 0.9; margin-left: 0.4cqw; }
.wc-foot { display: flex; gap: 4.4cqw; align-items: flex-end; }
.wc-foot .wc-m .app-lbl { font-size: 2.2cqw; }
.fval { font-family: var(--font-nippo); font-size: 5.9cqw; color: var(--a-accent-2); line-height: 1; white-space: nowrap; }
.fval .u { font-size: 3cqw; opacity: 0.85; margin-left: 0.3cqw; }
.fval.teal { color: var(--a-accent); }

/* ---- App menu overlay (opens from the mockup's ☰) ---- */
.app-menu { cursor: pointer; }
.app-menu i { transition: transform 0.25s, opacity 0.2s; }
.app-screen.menu-open .app-menu i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.app-screen.menu-open .app-menu i:nth-child(2) { opacity: 0; }
.app-screen.menu-open .app-menu i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.app-menu-dim { display: none; position: absolute; inset: 0; z-index: 4; background: rgba(4,8,12,0.55); }
.app-menu-panel {
  container-type: inline-size;
  display: none; position: absolute; z-index: 5; top: 13%; right: 4.5%; width: 60%;
  border-radius: 18px; padding: 4px 0;
  background: rgba(16,24,33,0.94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--a-accent, #64ffda) 22%, transparent);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.app-screen.menu-open .app-menu-dim { display: block; }
.app-screen.menu-open .app-menu-panel { display: block; animation: ampIn 0.22s cubic-bezier(0.2,0.8,0.3,1); }
@keyframes ampIn { from { opacity: 0; transform: translateY(-10px) scale(0.97); } to { opacity: 1; transform: none; } }
.amp-row { display: flex; align-items: center; gap: 5.5cqw; padding: 5.4cqw 6.5cqw; font-size: 6.6cqw; font-weight: 500;
  color: var(--a-text, #fff); border-bottom: 1px solid rgba(255,255,255,0.07); }
.amp-row:last-child { border-bottom: none; }
.amp-row svg { width: 8cqw; height: 8cqw; flex: none; color: var(--a-accent, #64ffda); }
.amp-fx { font-family: var(--font-nippo); font-size: 6cqw; color: var(--a-accent, #64ffda); flex: none; width: 8cqw; text-align: center; }
.amp-chev { margin-left: auto; color: var(--a-text-2, #8496a6); font-size: 7cqw; line-height: 1; }
.amp-row.danger, .amp-row.danger svg { color: var(--a-error, #fb7185); }

/* ---- In-phone sub-panels (Fleet Health, Pool Profiles) ---- */
.app-sub-panel {
  container-type: inline-size;
  display: none; position: absolute; z-index: 6; top: 16%; left: 6%; right: 6%;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--a-card-top, #1c2a38), var(--a-card-bottom, #121e2b));
  border: 1.2px solid color-mix(in srgb, var(--a-accent, #64ffda) 35%, transparent);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  color: var(--a-text, #fff);
}
.app-sub-panel.open { display: block; animation: ampIn 0.22s cubic-bezier(0.2,0.8,0.3,1); }
.asp-head { display: flex; align-items: center; gap: 3cqw; padding: 4.5cqw 5cqw 3.5cqw;
  border-bottom: 1px solid color-mix(in srgb, var(--a-accent, #64ffda) 20%, transparent);
  font-family: var(--font-nippo); font-size: 5.5cqw; }
.asp-ic { width: 5.5cqw; height: 5.5cqw; color: var(--a-accent, #64ffda); flex: none; }
.asp-x { margin-left: auto; color: var(--a-text-2, #8496a6); font-size: 4.5cqw; cursor: pointer; padding: 1cqw 2cqw; }
.asp-body { padding: 4cqw 5cqw 5cqw; }
.asp-body.center { text-align: center; padding: 9cqw 5cqw 10cqw; }
.asp-seal { width: 13cqw; height: 13cqw; margin: 0 auto 3.5cqw; border-radius: 50%; display: grid; place-items: center;
  font-size: 6.5cqw; color: #06272d; background: var(--a-success, #34d399); box-shadow: 0 0 20px color-mix(in srgb, var(--a-success, #34d399) 50%, transparent); }
.asp-big { font-family: var(--font-nippo); font-size: 5.2cqw; }
.asp-sub { font-family: var(--font-nippo); font-size: 3.9cqw; color: var(--a-text-2, #8496a6); margin-top: 1.5cqw; }
.asp-profile { display: flex; align-items: center; justify-content: space-between; gap: 3cqw;
  padding: 3.6cqw 4cqw; border-radius: 12px; background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08); margin-bottom: 2.6cqw; }
.asp-profile b { display: block; font-size: 4.4cqw; font-weight: 600; }
.asp-profile span { display: block; font-size: 3.3cqw; color: var(--a-text-2, #8496a6); margin-top: 0.6cqw; }
.asp-apply { flex: none; font-size: 3.6cqw; font-weight: 700; color: #06272d; padding: 2cqw 4.4cqw; border-radius: 8px;
  background: var(--a-accent, #64ffda); box-shadow: 0 0 12px color-mix(in srgb, var(--a-accent, #64ffda) 35%, transparent); }
.asp-create { text-align: center; padding: 3.4cqw; border-radius: 12px; font-size: 3.9cqw; font-weight: 600;
  color: var(--a-accent, #64ffda); border: 1.5px dashed color-mix(in srgb, var(--a-accent, #64ffda) 45%, transparent); }

/* Layout toggle pills */
.layout-toggle { margin-top: 22px; display: flex; justify-content: center; gap: 0; border: 1px solid var(--hair-strong);
  border-radius: 11px; overflow: hidden; width: max-content; margin-inline: auto; background: rgba(255,255,255,0.03); }
.lt-btn { padding: 8px 22px; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  background: none; border: none; color: var(--ink-2); cursor: pointer; transition: background 0.2s, color 0.2s; }
.lt-btn:hover { color: var(--ink); }
.lt-btn.sel { background: linear-gradient(180deg, #8af1ff, var(--cyan)); color: #06272d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5); }

/* ============================================================
   MINER DETAIL — faithful reproduction of the detail overlay
   ============================================================ */
/* The app's miner-detail overlay: header + pills + info + highlights + section list */
.detail-panel {
  --a-accent: #64ffda; --a-accent-2: #2dd4bf; --a-text: #ffffff; --a-text-2: #94a3b8;
  --a-warning: #fbbf24; --a-success: #34d399; --a-error: #fb7185;
  --font-nippo: "Nippo", var(--font-mono);
  width: min(430px, 100%); margin-inline: auto;
  border-radius: 22px; padding: 20px 18px;
  background: linear-gradient(165deg, #17222e, #0e1620);
  border: 1.5px solid rgba(100,255,218,0.3);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
  color: var(--a-text); font-family: var(--font-body);
}
.dp-titlerow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-name { font-size: 30px; font-weight: 700; letter-spacing: 0.01em; }
.dp-edit { font-size: 15px; color: var(--a-text-2); vertical-align: 6px; }
.dp-actions { display: flex; gap: 9px; }
.dp-btn { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #fff; }
.dp-btn svg { width: 15px; height: 15px; }
.dp-btn.red { background: #c96371; }
.dp-btn.amber { background: #cf9d43; }
.dp-btn.grey { background: rgba(255,255,255,0.14); }
.dp-iprow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.dp-iplink { font-family: var(--font-nippo); font-size: 15px; color: var(--a-accent);
  text-decoration: underline; text-underline-offset: 3px; }
.dp-eye { width: 15px; height: 15px; color: var(--a-text-2); }
.dp-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.09); }
.dp-pill.online { color: #e8f6ef; }
.dp-pill.online i { width: 7px; height: 7px; border-radius: 50%; background: var(--a-success); box-shadow: 0 0 6px var(--a-success); }
.dp-pill.solo { color: var(--a-text); letter-spacing: 0.02em; }
.dp-info { font-size: 13.5px; color: var(--a-text-2); line-height: 1.55; }
.dp-highlights { display: flex; justify-content: space-between; gap: 8px; margin: 16px 0 14px; }
.dp-hi .k { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--a-text-2); margin-bottom: 6px; white-space: nowrap; }
.dp-hi .k svg { width: 13px; height: 13px; flex: none; }
.dp-hi .v { font-family: var(--font-nippo); font-size: 16.5px; line-height: 1; white-space: nowrap; }
.dp-hi .v .u { font-size: 11px; color: var(--a-text-2); }
.dp-sections { display: flex; flex-direction: column; gap: 9px; }
.dp-sec { position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 14px 14px 18px; border-radius: 12px; background: rgba(255,255,255,0.045); overflow: hidden; }
.dp-sec::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3.5px; background: var(--bar); }
.dp-sec span:first-child { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #c8d3dc; }
.dp-sec .chev { color: var(--a-text-2); font-size: 17px; line-height: 1; letter-spacing: 0; text-transform: none; }
.calc-modal {
  --a-accent: #64ffda; --a-gold: #f5b423; --a-text: #eef4f8; --a-text-2: #8496a6;
  --a-green: #34d399; --font-nippo: "Nippo", var(--font-mono);
  width: min(420px, 100%); margin-inline: auto;
  border-radius: 20px; padding: 20px 18px 22px;
  background: linear-gradient(155deg, #223142, #16212e);
  border: 1.5px solid rgba(100,255,218,0.35);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
  color: var(--a-text); font-family: var(--font-body);
}
.calc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calc-head h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.calc-badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--a-accent);
  border: 1px solid rgba(100,255,218,0.3); border-radius: 999px; padding: 4px 11px; }

.calc-coins { display: flex; gap: 8px; margin-bottom: 14px; }
.calc-coins .coin {
  flex: 1; padding: 8px 4px; border-radius: 8px; font-size: 11.5px; font-weight: 600; line-height: 1.15; font-family: var(--font-body);
  background: rgba(255,255,255,0.05); color: var(--a-text-2); border: 1px solid transparent; text-align: center;
  cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
}
.calc-coins .coin:hover { color: var(--a-text); background: rgba(255,255,255,0.09); }
.calc-coins .coin:active { transform: scale(0.97); }
.calc-coins .coin.sel { background: rgba(245,180,35,0.16); color: var(--a-gold); border-color: var(--a-gold); }

.calc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.statbox { padding: 14px 8px; border-radius: 12px; text-align: center; }
.statbox.grey { background: rgba(148,158,166,0.09); }
.statbox.green { background: rgba(52,211,153,0.1); }
.statbox .ic { font-size: 16px; margin-bottom: 8px; line-height: 1; }
.statbox .v { font-family: var(--font-nippo); font-size: 15px; color: var(--a-text); }
.statbox .k { font-size: 9px; font-weight: 700; letter-spacing: 0.02em; color: var(--a-text-2); margin-top: 3px; }

.calc-input { display: flex; gap: 12px; justify-content: center; margin-bottom: 12px; }
.calc-field { flex: 0 0 auto; width: 150px; padding: 11px 14px; border-radius: 8px; font-family: var(--font-nippo); font-size: 17px;
  background: rgba(0,0,0,0.28); border: 1px solid rgba(148,158,166,0.3); color: var(--a-text); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s; -webkit-appearance: none; appearance: none; }
.calc-field:focus { border-color: var(--a-accent); box-shadow: 0 0 0 3px rgba(100,255,218,0.14); }
.calc-unit { position: relative; width: 96px; border-radius: 8px; background: rgba(0,0,0,0.28);
  border: 1px solid rgba(148,158,166,0.3); display: flex; align-items: center; }
.calc-unit select { -webkit-appearance: none; appearance: none; width: 100%; background: transparent; border: none; outline: none;
  color: var(--a-text); font-family: var(--font-nippo); font-size: 17px; padding: 11px 28px 11px 14px; cursor: pointer; }
.calc-unit select option { color: #0f1724; }
.calc-unit-chev { position: absolute; right: 12px; color: var(--a-text-2); font-size: 13px; pointer-events: none; }
.calc-autofill { display: block; width: 100%; text-align: center; color: var(--a-accent); font-size: 13px; font-weight: 500;
  margin-bottom: 16px; background: none; border: none; cursor: pointer; font-family: var(--font-body); transition: opacity 0.15s; }
.calc-autofill:hover { opacity: 0.8; }
.calc-inf { transition: color 0.2s; }
.calc-row b { transition: color 0.15s; }

.calc-results { border-radius: 16px; padding: 18px 16px; background: rgba(36,52,71,0.5); border: 1px solid rgba(148,158,166,0.28); }
.calc-results-title { text-align: center; font-size: 15px; color: var(--a-text-2); margin-bottom: 8px; }
.calc-inf { text-align: center; font-family: var(--font-nippo); font-size: 22px; color: var(--a-gold); margin-bottom: 10px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 12px; border-radius: 8px; }
.calc-row span { font-size: 15px; color: var(--a-text-2); }
.calc-row b { font-family: var(--font-nippo); font-size: 16px; font-weight: 400; color: var(--a-text); }
.calc-row.hl { background: rgba(100,255,218,0.06); }

.calc-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .calc-showcase { grid-template-columns: 1fr; } .calc-showcase .calc-copy { order: -1; } }

/* ============================================================
   POWER TOOLS — Manage Swarm / Pool Profiles / Settings
   ============================================================ */
.pt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pt-card { padding: 22px; border-radius: var(--radius-lg); background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--hair); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.pt-card:hover { transform: translateY(-4px); border-color: rgba(41,197,214,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 20px 46px rgba(0,0,0,0.5), 0 0 30px rgba(41,197,214,0.1); }
.pt-card h3 { font-size: 20px; margin: 18px 0 8px; }
.pt-card p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.6; }
/* Mini app-styled mockup atop each card (Aurora tokens) */
.pt-mock { container-type: inline-size; border-radius: 14px; padding: 14px;
  background: linear-gradient(135deg, #1c2a38, #121e2b); border: 1px solid rgba(100,255,218,0.28); }
/* Inside .pt-mock, 1 app-pt ≈ 0.29cqw (content reference 343pt) — sizes below are
   exact app dimensions converted, so the mock is proportionally identical. */
/* header row: bold title + grey sub, red Reboot All capsule (Manage Swarm) */
.ptm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.ptm-head.band { margin: -14px -14px 10px; padding: 11px 14px; background: rgba(0,0,0,0.3); border-radius: 14px 14px 0 0; }
.ptm-t { font-size: 5.5cqw; font-weight: 700; color: #fff; }        /* title2 22pt */
.ptm-t.sm { font-size: 14px; margin-right: auto; }
.ptm-sub { font-size: 3.25cqw; color: #8496a6; margin-top: 2px; }    /* footnote 13pt */
.ptm-reboot { display: flex; align-items: center; flex: none; font-size: 3cqw; font-weight: 700; color: #fb7185;
  padding: 1.5cqw 2.5cqw; border-radius: 999px;                    /* caption bold + 6/10pt pad */
  background: rgba(251,113,133,0.15); border: 1px solid rgba(251,113,133,0.3); white-space: nowrap; }
.ptm-cap { font-size: 2.75cqw; font-weight: 700; letter-spacing: 0.08em; color: #8496a6; margin: 3cqw 2px 1cqw;
  display: flex; justify-content: space-between; }                  /* caption2 bold 11pt */
.ptm-cap .beta { color: #8496a6; font-weight: 600; letter-spacing: 0.02em; }
.ptm-dd { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-radius: 10px; font-size: 12px;
  font-weight: 500; color: #fff; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.07); }
.ptm-dd .chev { margin-left: auto; color: #8496a6; }
.ptm-field { padding: 7px 11px; border-radius: 10px; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 6px; font-family: var(--font-mono); font-size: 10px; color: #cdd7e0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ptm-field small { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em; color: #8496a6; margin-bottom: 2px; }
.ptm-load { text-align: center; margin-top: 4px; padding: 8px; border-radius: 10px; font-size: 11.5px; font-weight: 600;
  color: #64ffda; background: rgba(100,255,218,0.08); border: 1px solid rgba(100,255,218,0.3); }
/* Pool Profiles: header chip + rows with edit/delete actions */
.ptm-add { flex: none; font-size: 10.5px; font-weight: 700; color: #64ffda; padding: 4px 9px; border-radius: 8px;
  background: rgba(100,255,218,0.1); white-space: nowrap; }
.ptm-x { flex: none; color: #8496a6; font-size: 13px; }
.ptm-prow { display: flex; align-items: center; gap: 8px; padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.ptm-prow > div { min-width: 0; margin-right: auto; }
.ptm-prow b { display: block; font-size: 13px; font-weight: 600; color: #fff; }
.ptm-prow small { font-size: 10.5px; color: #8496a6; }
.pact { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.pact.teal { color: #64ffda; background: rgba(100,255,218,0.1); }
.pact.red { color: #fb7185; background: rgba(251,113,133,0.1); font-size: 12px; }
.ptm-scan { display: flex; align-items: center; gap: 7px; padding: 11px 4px 2px; font-size: 11.5px; font-weight: 600; color: #64ffda; }
/* Manage Swarm — matches the app's Pool tab exactly */
.ptm-xc { flex: none; width: 8cqw; height: 8cqw; border-radius: 50%; display: grid; place-items: center;
  color: #64ffda; font-size: 4cqw; background: rgba(255,255,255,0.07); margin-left: 2px; }
/* glassTabStyle exact: nippo(11), pad-v 6pt, radius 8pt, accent fill+stroke+glow */
.ptm-tabs { display: flex; gap: 2cqw; margin-bottom: 3cqw; }
.ptm-tabs span { flex: 1; text-align: center; padding: 1.5cqw; border-radius: 2cqw; font-family: "Nippo", var(--font-mono);
  font-size: 2.75cqw; color: #8496a6; border: 1px solid rgba(148,163,184,0.3); cursor: pointer; transition: all 0.2s; }
.ptm-tabs span.sel { color: #64ffda; border-color: #64ffda; background: rgba(100,255,218,0.15);
  box-shadow: 0 0 6px rgba(100,255,218,0.4); }
.ptm-pane { display: none; }
.ptm-pane.sel { display: block; }
.ptm-t2 { font-size: 5cqw; font-weight: 700; color: #fff; }         /* headline 17pt */
.ptm-sub2 { font-size: 3cqw; color: #8496a6; margin: 0.9cqw 0 3cqw; } /* caption 12pt */
.ptm-seg { display: flex; align-items: center; gap: 2cqw; margin-bottom: 3cqw; }
.ptm-seg .pill { flex: 1; text-align: center; padding: 1.5cqw 2.5cqw; border-radius: 2cqw;
  font-family: "Nippo", var(--font-mono); font-size: 2.75cqw; letter-spacing: 0.06em;
  color: #8496a6; border: 1px solid rgba(148,163,184,0.3); white-space: nowrap; }
.ptm-seg .pill.sel { color: #64ffda; border-color: #64ffda; background: rgba(100,255,218,0.15);
  box-shadow: 0 0 6px rgba(100,255,218,0.4); }
.ptm-seg .pill.gold { flex: none; margin-left: auto; color: #fbbf24; border-color: rgba(251,191,36,0.3); background: rgba(251,191,36,0.1);
  letter-spacing: 0.02em; font-family: var(--font-body); font-weight: 700; font-size: 2.75cqw; }
/* Firmware pane — exact app dims */
.ptm-desc { font-size: 3.75cqw; color: #8496a6; line-height: 1.5; margin-bottom: 3cqw; }   /* subheadline 15pt */
.ptm-chks { display: flex; gap: 4cqw; margin-bottom: 3cqw; }
.ptm-chk { display: inline-flex; align-items: center; gap: 1.5cqw; font-size: 3cqw; font-weight: 500; color: #fff;
  padding: 1.5cqw 2.5cqw; border-radius: 1.5cqw; }                                         /* caption + 6/10 pad, r6 */
.ptm-chk svg { width: 3cqw; height: 3cqw; }
.ptm-chk.teal { color: #eafffa; background: rgba(100,255,218,0.15); border: 1px solid rgba(100,255,218,0.4); }
.ptm-chk.teal svg { color: #64ffda; }
.ptm-chk.pink { color: #ffeef2; background: rgba(255,100,130,0.15); border: 1px solid rgba(255,100,130,0.4); }
.ptm-chk.pink svg { color: #ff6482; }
.ptm-fwlbl { display: flex; justify-content: space-between; font-size: 3cqw; font-weight: 700; margin: 2.5cqw 2px 2cqw; }
.ptm-fwlbl span { color: #8496a6; font-weight: 500; font-size: 3cqw; }
.ptm-fwlbl.teal { color: #64ffda; }
.ptm-fwlbl.pink { color: #ff6482; }
.ptm-dd { display: flex; align-items: center; gap: 2.5cqw; padding: 2.5cqw 3cqw; border-radius: 2.5cqw; font-size: 3.75cqw;
  font-weight: 500; color: #fff; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.07); margin-bottom: 1cqw; }
.ptm-dd .chev { margin-left: auto; color: #8496a6; }
.ptm-dd.teal { border-color: rgba(100,255,218,0.35); }
.ptm-dd.pink { border-color: rgba(255,100,130,0.35); }
.ptm-caps { display: flex; gap: 3cqw; margin-top: 1cqw; }
.ptm-capbtn { font-size: 3cqw; font-weight: 700; color: #0f1724; padding: 1.5cqw 3cqw; border-radius: 999px;
  background: #64ffda; box-shadow: 0 0 6px rgba(100,255,218,0.3); }                          /* caption semibold, 6/12 pad */
.ptm-field.ph { display: flex; align-items: center; gap: 2.75cqw; color: #6b7d8d; font-family: var(--font-body); font-size: 4cqw;
  padding: 3cqw 3cqw; border-radius: 4cqw; margin-bottom: 2.2cqw; }   /* body 16pt field, 12pt pad, 16pt radius */
.ptm-field.ph svg { width: 5cqw; height: 5cqw; flex: none; color: #64ffda; }
.ptm-note { display: flex; align-items: flex-start; gap: 2cqw; font-size: 2.75cqw; color: #8496a6; line-height: 1.45; margin: 1cqw 2px 2cqw; }
.ptm-note svg { width: 3cqw; height: 3cqw; flex: none; color: #64ffda; margin-top: 0.3cqw; }
.ptm-tog { display: flex; align-items: center; justify-content: space-between; gap: 2.5cqw; padding: 1cqw 2px 1cqw 8.5cqw; }
.ptm-tog > span { display: flex; align-items: center; gap: 1.5cqw; font-size: 3cqw; color: #b7c4cf; } /* body×0.65 ≈ 11pt */
.ptm-tog > span svg { width: 3.25cqw; height: 3.25cqw; color: #8496a6; }
.ptm-tog i { flex: none; width: 8.2cqw; height: 5cqw; border-radius: 999px; background: rgba(255,255,255,0.18); position: relative; }
.ptm-tog i::after { content: ""; position: absolute; top: 6%; left: 0.5cqw; width: 3.6cqw; height: 3.6cqw; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.4); }                /* SwitchToggle×0.65 ≈ 33×20pt */
.ptm-tog i.on::after { left: 3.6cqw; }
.ptm-tog i.on.teal { background: #2dd4bf; }
.ptm-tog i.on.pink { background: #ff6482; }
.ptm-update { margin-top: 3cqw; text-align: center; padding: 3cqw; border-radius: 3cqw; font-size: 3cqw;
  font-family: "Nippo", var(--font-mono); color: #64ffda; background: rgba(100,255,218,0.15);
  border: 1px solid #64ffda; box-shadow: 0 0 6px rgba(100,255,218,0.4); }   /* nippo(14), pad 12, radius 12 */
/* Settings — exact SettingsOverlay: title2 header band, Preview card, ExpandableSection rows
   (Nippo 17 titles, 16pt teal icon in 24pt frame, chevron, pad 12, header on cardTop) */
.pt-mock.nopad { padding: 0; overflow: hidden; }
.ptm-sethead { display: flex; align-items: center; justify-content: space-between; padding: 2cqw 4cqw;
  background: #243447; font-size: 5.5cqw; font-weight: 700; color: #fff; }
.ptm-setx { color: #8496a6; font-size: 5.5cqw; font-weight: 400; }
.ptm-setbody { display: flex; flex-direction: column; gap: 4cqw; padding: 4cqw; }
.ptm-preview {
  /* Aurora tokens so the embedded real wide-card renders outside the phone */
  --a-card-top: #243447; --a-card-bottom: #1a2634;
  --a-accent: #64ffda; --a-accent-2: #2dd4bf; --a-text: #ffffff; --a-text-2: #8496a6;
  --a-success: #34d399; --a-warning: #fbbf24; --a-error: #fb7185;
  --a-spark: #64ffda; --a-spark-glow: rgba(100,255,218,0.6);
  --font-nippo: "Nippo", var(--font-mono);
  border-radius: 3cqw; background: rgba(0,0,0,0.2); padding: 2.5cqw; }
.ptm-prev-lbl { font-size: 3.5cqw; color: #8496a6; margin: 0.5cqw 0 2cqw 1cqw; }
.ptm-srow { display: flex; align-items: center; gap: 3cqw; padding: 3cqw; border-radius: 3cqw;
  background: #243447; border: 1px solid rgba(255,255,255,0.06); }
.ptm-srow svg { width: 4cqw; height: 4cqw; flex: none; }
.ptm-srow span { font-family: "Nippo", var(--font-mono); font-size: 4.25cqw; color: #fff; margin-right: auto; }
.ptm-srow b { color: #8496a6; font-weight: 600; font-size: 3.5cqw; }
@media (max-width: 900px) { .pt-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ============================================================
   VIDEOS — featured player + tutorial cards
   ============================================================ */
.vid-grid { display: grid; grid-template-columns: 1.65fr 1fr; grid-auto-rows: 1fr; gap: 16px; }
.vid { position: relative; border-radius: 20px; overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9;
  background:
    radial-gradient(90% 90% at 50% 30%, rgba(41,197,214,0.12), transparent 60%),
    linear-gradient(rgba(41,197,214,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,197,214,0.05) 1px, transparent 1px),
    linear-gradient(170deg, #10161f, #0a0f15);
  background-size: auto, 34px 34px, 34px 34px, auto;
  border: 1px solid rgba(255,255,255,0.07); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.vid.featured { grid-row: span 2; aspect-ratio: auto; }
.vid:hover { transform: translateY(-3px); border-color: rgba(41,197,214,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 22px 50px rgba(0,0,0,0.55), 0 0 34px rgba(41,197,214,0.1); }
.vid-play { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #06272d;
  background: linear-gradient(180deg, #8af1ff, var(--cyan));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 10px 30px rgba(41,197,214,0.4);
  transition: transform 0.25s, box-shadow 0.25s; }
.vid:not(.featured) .vid-play { width: 46px; height: 46px; }
.vid-play svg { width: 45%; height: 45%; margin-left: 3px; }
.vid:hover .vid-play { transform: translate(-50%, -50%) scale(1.1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 14px 38px rgba(41,197,214,0.55); }
.vid-badge { position: absolute; top: 14px; left: 14px; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.16em; font-weight: 600; color: #06272d; padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(180deg, #8af1ff, var(--cyan)); }
.vid-badge.t { background: rgba(255,159,28,0.9); color: #2b1802; }
.vid-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px;
  background: linear-gradient(transparent, rgba(5,8,12,0.85)); }
.vid-meta b { display: block; font-family: var(--font-display); font-size: 16px; }
.vid.featured .vid-meta b { font-size: 20px; }
.vid-meta span { font-size: 12px; color: var(--ink-2); }
.vid.soon::after { content: "COMING SOON"; position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--cyan);
  padding: 8px 16px; border-radius: 999px; background: rgba(8,11,15,0.92); border: 1px solid rgba(41,197,214,0.4);
  animation: soonFade 1.6s ease forwards; pointer-events: none; }
@keyframes soonFade { 0% { opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 820px) { .vid-grid { grid-template-columns: 1fr; } .vid.featured { grid-row: span 1; aspect-ratio: 16/9; } }

/* ============================================================
   REMOTE — 3-step "how it works" strip
   ============================================================ */
.remote-steps { margin-top: 42px; display: flex; align-items: stretch; gap: 12px; }
.rstep { flex: 1; display: flex; align-items: flex-start; gap: 14px; padding: 20px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--hair); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.rstep .rnum { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: #06272d;
  background: linear-gradient(180deg, #8af1ff, var(--cyan)); box-shadow: 0 0 16px rgba(41,197,214,0.3); }
.rstep b { display: block; font-size: 15px; margin-bottom: 3px; }
.rstep span { font-size: 13.5px; color: var(--ink-2); }
.rarrow { display: flex; align-items: center; color: var(--ink-3); font-size: 20px; }
@media (max-width: 760px) { .remote-steps { flex-direction: column; } .rarrow { transform: rotate(90deg); justify-content: center; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--hair); border-radius: var(--radius); background: linear-gradient(160deg, var(--panel-2), var(--panel));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); overflow: hidden; transition: border-color 0.2s; }
.faq-item[open] { border-color: rgba(41,197,214,0.35); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--font-display); font-size: 17px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-family: var(--font-mono); font-size: 22px; line-height: 1; color: var(--cyan); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 22px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* ============================================================
   HASHGRID BRIDGE — faithful reproduction of the bridge panel
   ============================================================ */
.bridge {
  --b-accent: #64ffda; --b-text: #fff; --b-text2: #94a3b8;
  --b-warning: #fbbf24; --b-error: #fb7185;
  --b-stroke: rgba(255,255,255,0.10);
  --b-card-top: #243447; --b-card-bottom: #1a2634;
  --font-nippo: "Nippo", var(--font-mono);
  width: min(400px, 100%); margin-inline: auto; position: relative; isolation: isolate;
  border-radius: 22px; padding: 24px 20px; color: #fff; font-family: var(--font-body);
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(100,255,218,0.06), transparent 60%),
    linear-gradient(180deg, #1a2634, #0f1724);
  border: 1px solid var(--b-stroke);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.bridge::before { /* app-signature grid backdrop, fading in toward the top */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to top, transparent 8%, rgba(0,0,0,0.9));
  mask-image: linear-gradient(to top, transparent 8%, rgba(0,0,0,0.9));
}
.bridge-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding: 0 2px; }
.bridge-title { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.bridge-title img { width: 26px; height: 26px; border-radius: 7px; box-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.bridge-ver { font-family: var(--font-mono); font-size: 12px; color: var(--b-text2); }

.bridge-card { background: linear-gradient(180deg, var(--b-card-top), var(--b-card-bottom)); border: 1px solid var(--b-stroke); border-radius: 16px; margin-bottom: 13px; }

.bridge-code { padding: 20px; text-align: center; }
.bridge-lbl { font-size: 10.5px; color: var(--b-text2); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; }
.bridge-code-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; }
.bridge-code-val { font-family: var(--font-mono); font-size: clamp(24px, 6cqw, 30px); font-weight: 700; letter-spacing: 0.16em; text-shadow: 0 0 18px rgba(100,255,218,0.18); }
.bridge-copy { width: 32px; height: 30px; display: grid; place-items: center; background: rgba(255,255,255,0.05); border: 1px solid var(--b-stroke); border-radius: 8px; color: var(--b-text2); }
.bridge-copy svg { width: 15px; height: 15px; }
.bridge-lbl2 { display: block; margin-top: 16px; font-size: 9.5px; color: var(--b-text2); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.bridge-fp { font-family: var(--font-mono); font-size: 14px; color: var(--b-accent); margin-top: 5px; letter-spacing: 0.14em; font-weight: 600; }

.bridge-status { padding: 12px 16px; }
.bstat { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13.5px; }
.bdot { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(255,255,255,0.04); }
.bdot.yellow { background: var(--b-warning); box-shadow: 0 0 8px rgba(251,191,36,0.55); }
.bdot.red { background: var(--b-error); }

.bridge-miners, .bridge-settings { padding: 15px 16px; }
.bridge-miners h4, .bridge-settings h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.bcount { background: rgba(100,255,218,0.14); color: var(--b-accent); font-family: var(--font-mono); font-size: 12px; font-weight: 700; padding: 1px 9px; border-radius: 10px; }
.bminer { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.bminer:last-child { border-bottom: none; padding-bottom: 0; }
.bm-namerow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bm-ip { font-family: var(--font-mono); font-size: 14px; font-weight: 600; letter-spacing: 0.2px; }
.bm-host { font-size: 12px; color: var(--b-text2); margin-top: 3px; }
.btag { font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: 999px; letter-spacing: 0.3px; white-space: nowrap; }
.btag.nerdaxe { color: #ff6482; background: rgba(255,100,130,0.18); }
.btag.hammer { color: #e8956d; background: rgba(232,149,109,0.18); }
.btag.gammaturbo { color: #4da3ff; background: rgba(77,163,255,0.18); }

.bset-lbl { font-size: 12px; color: var(--b-text2); margin-bottom: 7px; font-weight: 500; }
.bset-row { display: flex; gap: 8px; }
.bset-input { flex: 1; min-width: 0; background: rgba(0,0,0,0.25); border: 1px solid var(--b-stroke); border-radius: 9px; color: var(--b-text2); padding: 9px 12px; font-family: var(--font-mono); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bset-save { background: var(--b-accent); color: #0f1724; border-radius: 9px; padding: 9px 16px; font-size: 13px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 16px rgba(100,255,218,0.22); }

.bridge-actions { display: flex; gap: 10px; margin-top: 2px; }
.bbtn { flex: 1; text-align: center; background: rgba(255,255,255,0.05); color: var(--b-text2); border: 1px solid var(--b-stroke); border-radius: 11px; padding: 11px 10px; font-size: 12.5px; font-weight: 600; }

/* ============================================================
   Numeric roll — emulates SwiftUI .numericText()
   Only changed digits roll vertically; the static digit stays in flow
   (visibility-hidden during the roll) so the text baseline never shifts.
   ============================================================ */
.rollnum { line-height: 1; white-space: nowrap; }
.roll { position: relative; display: inline-block; }
.roll-window { position: absolute; top: 0; left: 0; right: 0; height: 1em; overflow: hidden; }
.roll-track { display: flex; flex-direction: column; transition: transform 0.34s cubic-bezier(0.3, 0.72, 0.24, 1); }
.roll-track > span { display: block; height: 1em; line-height: 1; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
