/* ============================================================================
   Nacre — "Luminous" crypto-mining visual system  (v7)
   Living aurora + mining grid · translucent glass · vibrant cyan→violet→magenta.
   Modern, energetic, alive — a mining rig, not an empty spaceship.
   ============================================================================ */

/* ---------- fonts (bundled, offline) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("vendor/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("vendor/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("vendor/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("vendor/fonts/jbmono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("vendor/fonts/jbmono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("vendor/fonts/jbmono-latin-700-normal.woff2") format("woff2"); }

:root {
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 72px;
  --fs-xs: 12px; --fs-sm: 14px; --fs-base: 16px; --fs-lg: 20px; --fs-xl: 26px; --fs-2xl: 34px;
  --r-sm: 9px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px;

  /* --- deep space base (aurora lives on top) --- */
  --bg: #060f13;
  --glass:   rgba(13, 31, 36, .62);   /* cards */
  --glass-2: rgba(8, 20, 24, .70);    /* inset: code, inputs */
  --glass-hi: rgba(20, 44, 50, .66);  /* elevated / feature */
  --border:   rgba(122, 232, 220, .13);
  --border-2: rgba(122, 232, 220, .30);

  /* --- ink --- */
  --text: #eef5f3;
  --text-dim: #b6c9cb;
  --muted: #86a0a6;
  --muted-2: #628086;

  /* --- vibrant crypto accents --- */
  --accent: #5ef0e0;      /* neon teal — compute/performance */
  --accent-2: #7c5cff;    /* electric violet */
  --accent-3: #ff5ca8;    /* magenta */
  --blue: #7aa2ff;
  --accent-ink: #04231e;
  --good: #4fe6b0;
  --warn: #ffd67a;
  --bad: #ff8a80;

  /* --- bitcoin gold — value/rewards/money --- */
  --gold: #f7931a;
  --gold-2: #ffc24d;
  --gold-lite: #ffe4a8;
  --gold-ink: #3a1e00;
  --gold-grad: linear-gradient(135deg, #ffe4a8 0%, #ffc24d 42%, #f7931a 100%);
  --gold-flow: linear-gradient(115deg, #fff0cf, #ffc24d, #f7931a, #ffb347, #ffe4a8, #ffc24d, #fff0cf);

  /* --- the nacre gradient (brighter, energized) --- */
  --iri: linear-gradient(115deg, #9ffdf1 0%, #5ef0e0 22%, #7aa2ff 50%, #a78bfa 72%, #ff8fc7 100%);
  --iri-flow: linear-gradient(115deg, #9ffdf1, #5ef0e0, #7aa2ff, #a78bfa, #ff8fc7, #5ef0e0, #9ffdf1);
  --iri-line: linear-gradient(90deg, transparent, #5ef0e0 30%, #7aa2ff 55%, #ff8fc7 78%, transparent);

  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 1, "cv05" 1;
  overflow-x: hidden;
}

/* ============================================================================
   LIVING BACKGROUND — aurora + mining grid  (fixed, behind everything)
   ============================================================================ */
.bg { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; background: radial-gradient(1200px 800px at 50% -10%, #0a2028, #060f13 70%); }
.bg-aurora { position: absolute; inset: -10%; z-index: -3; filter: blur(4px); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.blob.b1 { width: 62vw; height: 62vw; top: -22vw; right: -12vw; background: radial-gradient(circle, rgba(30,210,200,.55), transparent 62%); opacity: .5; animation: drift1 28s ease-in-out infinite; }
.blob.b2 { width: 58vw; height: 58vw; bottom: -26vw; left: -14vw; background: radial-gradient(circle, rgba(124,92,255,.5), transparent 62%); opacity: .45; animation: drift2 34s ease-in-out infinite; }
.blob.b3 { width: 44vw; height: 44vw; top: 26vw; left: 34vw; background: radial-gradient(circle, rgba(255,92,168,.42), transparent 62%); opacity: .3; animation: drift3 40s ease-in-out infinite; }
.blob.b4 { width: 40vw; height: 40vw; top: 62vw; right: 6vw; background: radial-gradient(circle, rgba(122,162,255,.42), transparent 62%); opacity: .32; animation: drift1 46s ease-in-out infinite reverse; }
.blob.b5 { width: 50vw; height: 50vw; top: 4vw; left: 40vw; background: radial-gradient(circle, rgba(247,147,26,.4), transparent 60%); opacity: .34; animation: drift2 36s ease-in-out infinite; }
.blob.b6 { width: 34vw; height: 34vw; bottom: 4vw; right: 22vw; background: radial-gradient(circle, rgba(255,194,77,.34), transparent 62%); opacity: .26; animation: drift3 44s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6vw, 5vw) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(7vw, -4vw) scale(1.15); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5vw, -6vw) scale(.9); } }

.bg-grid {
  position: absolute; inset: -2px; z-index: -2;
  background-image:
    linear-gradient(rgba(122,232,220,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,232,220,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 12%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 12%, #000 0%, transparent 78%);
  animation: grid-pan 32s linear infinite;
}
@keyframes grid-pan { from { background-position: 0 0; } to { background-position: 46px 46px; } }

@media (prefers-reduced-motion: reduce) {
  .blob, .bg-grid, .brand-name, .iri-text, .feature-val, .kpi-val.grad, .fee-pill, .mode-pill.rec, .miner-mode, .status .dot, .feature, .progress-bar { animation: none !important; }
}

/* ---------- signature gradient text (animated shimmer) ---------- */
.iri-text, .brand-name, .feature-val, .kpi-val.grad, .big-val.grad, .foot-main strong {
  background: var(--iri-flow); background-size: 260% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: iri-flow 9s linear infinite;
}
@keyframes iri-flow { to { background-position: 260% center; } }

/* ---------- the mother-of-pearl orb (signature) ---------- */
.orb {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 28%, #ffffff 0%, #d6fbff 12%, #5ef0e0 34%, #7aa2ff 54%, #a78bfa 70%, #ff8fc7 100%);
  background-size: 180% 180%;
  box-shadow: inset -3px -4px 7px rgba(4,20,24,.5), inset 3px 3px 6px rgba(255,255,255,.4), 0 0 16px rgba(94,240,224,.5), 0 0 30px rgba(124,92,255,.25);
  animation: pearl-shift 9s ease-in-out infinite;
}
@keyframes pearl-shift { 0%,100% { background-position: 20% 30%; } 50% { background-position: 80% 70%; } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* ---------- brand shell mark (Nacre = mother-of-pearl; NOT a plain orb) ---------- */
.mark { display: inline-flex; line-height: 0; filter: drop-shadow(0 0 7px rgba(94,240,224,.45)); animation: mark-glow 5.5s ease-in-out infinite; }
.mark svg { display: block; }
@keyframes mark-glow { 0%,100% { filter: drop-shadow(0 0 6px rgba(94,240,224,.4)); } 50% { filter: drop-shadow(0 0 12px rgba(122,162,255,.55)); } }
@media (prefers-reduced-motion: reduce) { .mark { animation: none; } }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 22px;
  padding: 14px max(24px, calc((100% - var(--wrap)) / 2 + 4px));
  border-bottom: 1px solid var(--border);
  background: rgba(6,15,19,.6); backdrop-filter: blur(18px) saturate(1.4);
}
nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--iri-line); opacity: .55; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand-name { font-size: 17px; letter-spacing: .4px; }
.brand-sub { font-size: 10.5px; color: var(--muted); font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; padding-top: 2px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-search {
  width: 234px; padding: 8px 14px; font-size: 13px; color: var(--text);
  background: var(--glass-2); border: 1px solid var(--border); border-radius: var(--r-sm); font-family: var(--mono);
  transition: border-color .15s, box-shadow .15s;
}
.nav-search::placeholder { color: var(--muted-2); }
.nav-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,240,224,.14); }
@keyframes dot-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(79,230,176,.5), 0 0 8px var(--good); } 70% { box-shadow: 0 0 0 7px rgba(79,230,176,0), 0 0 8px var(--good); } }
/* nav 0%-fee chip (we're 0%; most pools charge — keep it front-and-centre) */
.nav-fee { font-size: 11px; font-weight: 800; letter-spacing: .3px; color: var(--gold-ink); background: var(--gold-grad); border-radius: 999px; padding: 5px 11px; white-space: nowrap; box-shadow: 0 0 16px -4px rgba(247,147,26,.5); }
/* distinct network-status pill (block height; NO wall clock) */
.net-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border-2); white-space: nowrap; }
.net-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); animation: dot-pulse 2.4s ease-in-out infinite; flex: none; }
.net-label { color: var(--muted); text-transform: uppercase; letter-spacing: .7px; font-size: 10px; font-weight: 700; }
.net-height { color: var(--accent); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .net-dot { animation: none; } }
@media (max-width: 480px) { .nav-fee { display: none; } }
@media (max-width: 760px) { .nav-links, .nav-search { display: none; } }

/* ---------- layout ---------- */
main { max-width: var(--wrap); margin: 0 auto; padding: 40px 24px 96px; position: relative; z-index: 1; }
.section-title { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -.8px; margin: 68px 0 22px; display: flex; align-items: center; gap: 16px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--iri-line); opacity: .6; }

/* ---------- hero ---------- */
.hero-strip { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 36px; margin: 24px 0 8px; }
.hero-copy { flex: 1; min-width: 320px; max-width: 680px; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.fee-pill { font-size: 12.5px; font-weight: 700; letter-spacing: .2px; color: var(--accent-ink); background: var(--iri-flow); background-size: 220% auto; border-radius: 999px; padding: 6px 14px; box-shadow: 0 4px 20px rgba(94,240,224,.3); animation: iri-flow 7s linear infinite; }
.mini-pill { font-size: 12px; font-weight: 600; color: var(--text-dim); border: 1px solid var(--border-2); background: rgba(255,255,255,.02); border-radius: 999px; padding: 6px 13px; }
.link-pill { text-decoration: none; cursor: pointer; transition: color .15s, border-color .15s, box-shadow .15s; }
.link-pill:hover { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 18px -6px rgba(94,240,224,.55); }
.hero-strip h1 { font-size: clamp(38px, 5.4vw, 58px); line-height: 1.04; margin: 0; font-weight: 700; letter-spacing: -1.6px; max-width: 780px; }
.iri-text { filter: drop-shadow(0 0 22px rgba(94,240,224,.28)); }
.hero-tag { color: var(--text-dim); font-size: 16.5px; margin: 20px 0 0; max-width: 620px; }
.hero-tag strong { color: var(--accent); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- hero coin (bitcoin-style value shape, pearl-flavored) ---------- */
.hero-visual { position: relative; width: 300px; height: 300px; flex: none; display: grid; place-items: center; }
@media (max-width: 900px) { .hero-visual { width: 220px; height: 220px; margin: 0 auto; } }
@media (max-width: 520px) { .hero-visual { display: none; } }
.coin {
  position: relative; width: 216px; height: 216px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 62%, rgba(247,147,26,.0) 63%),
    conic-gradient(from 210deg, #b46608, #ffe4a8, #f7931a, #ffd27a, #b46608, #ffe4a8, #f7931a);
  padding: 12px;
  box-shadow: 0 0 0 1px rgba(255,228,168,.5), 0 26px 70px -20px rgba(247,147,26,.65), 0 0 60px -10px rgba(247,147,26,.45);
  animation: coin-float 6.5s ease-in-out infinite;
  will-change: transform;
}
.coin-face {
  width: 100%; height: 100%; border-radius: 50%; position: relative; overflow: hidden;
  background: radial-gradient(circle at 36% 30%, #fff4d6 0%, #ffd27a 26%, #f7931a 60%, #c56f0c 100%);
  box-shadow: inset -8px -12px 26px rgba(120,60,0,.55), inset 8px 10px 22px rgba(255,255,255,.55);
  display: grid; place-items: center;
}
/* dashed inner ring like a minted coin */
.coin-face::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 2px dashed rgba(90,45,0,.35); }
/* shine sweep */
.coin-face::after { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(66deg, transparent 40%, rgba(255,255,255,.65) 50%, transparent 60%); transform: translateX(-40%); animation: coin-shine 5.5s ease-in-out infinite; }
@keyframes coin-shine { 0%, 62%, 100% { transform: translateX(-60%); opacity: 0; } 74% { opacity: .9; } 86% { transform: translateX(60%); opacity: 0; } }
/* pearl emblem centered on the coin */
.coin-mark { position: relative; z-index: 2; width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffffff 0%, #eafcff 14%, #5ef0e0 40%, #7aa2ff 62%, #a78bfa 82%, #ff8fc7 100%);
  background-size: 180% 180%;
  box-shadow: inset -4px -5px 10px rgba(4,20,24,.45), inset 4px 4px 8px rgba(255,255,255,.5), 0 3px 12px rgba(0,0,0,.35);
  animation: pearl-shift 9s ease-in-out infinite;
}
@keyframes coin-float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
/* orbiting mini shapes */
.hero-visual .spark { position: absolute; border-radius: 50%; filter: blur(.2px); }
.hero-visual .s1 { width: 18px; height: 18px; top: 8%; right: 14%; background: var(--gold-grad); box-shadow: 0 0 16px rgba(247,147,26,.7); animation: coin-float 5s ease-in-out infinite; }
.hero-visual .s2 { width: 12px; height: 12px; bottom: 14%; left: 8%; background: linear-gradient(135deg,#9ffdf1,#7aa2ff); box-shadow: 0 0 14px rgba(94,240,224,.7); animation: coin-float 7s ease-in-out infinite reverse; }
.hero-visual .hex { position: absolute; top: 18%; left: 2%; width: 42px; height: 46px; background: linear-gradient(135deg, rgba(255,194,77,.5), rgba(247,147,26,.15)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: .7; animation: coin-float 8s ease-in-out infinite; }
.hero-visual .hex2 { top: auto; bottom: 6%; left: auto; right: 4%; width: 30px; height: 33px; background: linear-gradient(135deg, rgba(122,162,255,.5), rgba(124,92,255,.12)); animation: coin-float 6s ease-in-out infinite reverse; }
@media (prefers-reduced-motion: reduce) { .coin, .coin-face::after, .coin-mark, .hero-visual .spark, .hero-visual .hex, .hero-visual .hex2 { animation: none !important; } }

/* ---------- gold value utilities (money glows gold) ---------- */
.kpi-val.gold, .big-val.gold { background: var(--gold-flow); background-size: 260% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: iri-flow 9s linear infinite; }
.calc-val.gold { color: var(--gold-2); }
.kv dd.gold { color: var(--gold-2); }
.gold-tx { color: var(--gold-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: var(--r-md); font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: filter .15s, box-shadow .2s, border-color .15s, color .15s, transform .1s; }
.btn-primary { position: relative; overflow: hidden; color: var(--accent-ink); background: linear-gradient(120deg, #7ff6e6, #5ce0d4 45%, #7aa2ff); box-shadow: 0 1px 0 rgba(255,255,255,.34) inset, 0 8px 26px -8px rgba(94,240,224,.65); animation: cta-glow 3.4s ease-in-out infinite; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent); transform: skewX(-18deg); animation: btn-shine 4.6s ease-in-out infinite; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.34) inset, 0 14px 34px -8px rgba(94,240,224,.9); }
@keyframes btn-shine { 0%, 58% { left: -70%; } 80% { left: 130%; } 100% { left: 130%; } }
@keyframes cta-glow { 0%, 100% { box-shadow: 0 1px 0 rgba(255,255,255,.34) inset, 0 8px 26px -8px rgba(94,240,224,.5); } 50% { box-shadow: 0 1px 0 rgba(255,255,255,.34) inset, 0 12px 34px -6px rgba(94,240,224,.85); } }
@media (prefers-reduced-motion: reduce) { .btn-primary { animation: none; } .btn-primary::after { display: none; } }

/* ---------- trust strip (factual signals; attention → value → trust) ---------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 8px; margin: 30px 0 4px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-dim); background: var(--glass); border: 1px solid var(--border); border-radius: 999px; padding: 7px 15px; backdrop-filter: blur(10px); transition: border-color .18s, transform .18s; }
.trust-item:hover { transform: translateY(-2px); border-color: var(--border-2); }
.trust-item b { font-size: 13px; line-height: 1; }
.ti-teal { color: var(--accent); filter: drop-shadow(0 0 6px rgba(94,240,224,.6)); }
.ti-gold { color: var(--gold-2); filter: drop-shadow(0 0 6px rgba(247,147,26,.6)); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); animation: dot-pulse 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---------- scroll reveal (JS-gated; no-JS shows everything) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; transition: none; } }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 22px -6px rgba(94,240,224,.5); }

/* ============================================================================
   CARDS — translucent glass; aurora glows through
   ============================================================================ */
.card {
  position: relative; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 24px; backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 50px -34px rgba(0,0,0,.85);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card-hover:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: 0 0 0 1px rgba(94,240,224,.14), 0 26px 60px -30px rgba(94,240,224,.4); }
.card-head { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.card-head::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 8px var(--accent); flex: none; }

/* ---------- get-an-address prerequisite callout ---------- */
.prereq { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding: 16px 20px; border-radius: var(--r-lg); background: linear-gradient(120deg, rgba(94,240,224,.06), rgba(124,92,255,.05)); border: 1px solid var(--border-2); backdrop-filter: blur(12px); }
.prereq-ic { font-size: 26px; line-height: 1; flex: none; filter: drop-shadow(0 0 10px rgba(94,240,224,.4)); }
.prereq-tx { flex: 1; min-width: 260px; font-size: 14px; color: var(--text-dim); }
.prereq-tx b { color: var(--text); }
.prereq-tx .tlink { color: var(--accent); text-decoration: none; font-weight: 600; }
.prereq-tx .tlink:hover { text-decoration: underline; }
.prereq code { font-family: var(--mono); font-size: 12px; color: var(--accent); background: var(--glass-2); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--border); }
.prereq { flex-direction: column; align-items: stretch; gap: 14px; }
.prereq-head { display: flex; align-items: center; gap: 16px; }
.prereq-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.prereq-actions .btn { flex: none; }
.ep-region { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.ep-region b { color: var(--accent); font-weight: 600; }
.ep-region .flag { font-size: 14px; }
/* EU trust chip — extra emphasis */
.trust-item.eu { color: var(--text); border-color: rgba(94,240,224,.4); background: rgba(94,240,224,.07); box-shadow: 0 0 18px -6px rgba(94,240,224,.5); }
.trust-item.eu b { font-size: 14px; }

/* safety / trust note (unsigned-app + antivirus false-positive context) */
.safe-note { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.prereq-actions .safe-note { flex: 1; min-width: 260px; }
.safe-note b { color: var(--text-dim); }
.safe-note code { font-family: var(--mono); font-size: 11px; color: var(--accent); background: var(--glass-2); padding: 1px 5px; border-radius: 4px; border: 1px solid var(--border); }

/* docker alternative command */
.cmd-alt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ---------- quickstart tabs ---------- */
.qs { padding: 0; }
.qs-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.qs-tabs::-webkit-scrollbar { height: 6px; }
.qs-tabs::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 6px; }
.qs-tabs .tab { flex: none; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); background: var(--glass-2); border: 1px solid var(--border); border-radius: 999px; padding: 7px 15px; cursor: pointer; white-space: nowrap; transition: color .15s, border-color .15s, background .15s; }
.qs-tabs .tab:hover { color: var(--text); border-color: var(--border-2); }
.qs-tabs .tab.active { color: var(--accent-ink); background: var(--iri-flow); background-size: 200% auto; border-color: transparent; animation: iri-flow 7s linear infinite; }
.qs-panel { padding: 22px 24px 24px; }
.qs-lead { font-size: 14px; color: var(--text-dim); margin: 0 0 14px; line-height: 1.6; }
.qs-lead code, .qs-panel .hint code { font-family: var(--mono); font-size: 12px; color: var(--accent); background: var(--glass-2); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--border); }
.qs-lead b, .qs-panel .hint b { color: var(--text); }
.codewrap { position: relative; }
.codewrap .copy { position: absolute; top: 9px; right: 9px; z-index: 3; box-shadow: 0 2px 10px rgba(0,0,0,.5); }
.qs-panel .cmd-block { margin: 0; padding-top: 15px; }
.qs-panel .cmd-block::before { display: none; }
.qs-panel .cmd-block code { color: var(--text-dim); white-space: pre; }
.qs-panel .hint { margin-top: 14px; }
.qs-panel .tlink { color: var(--accent); text-decoration: none; font-weight: 600; }
.qs-panel .tlink:hover { text-decoration: underline; }

/* ---------- hardware support ---------- */
.hw-row { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.hw-row:last-of-type { border-bottom: none; }
.hw-tag { flex: none; width: 128px; font-size: 12.5px; font-weight: 700; letter-spacing: .2px; padding-top: 5px; }
.hw-tag.ok { color: var(--good); } .hw-tag.beta { color: var(--warn); } .hw-tag.no { color: var(--muted-2); }
.hw-chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 240px; }
.chip { font-size: 12.5px; font-weight: 600; color: var(--text-dim); background: var(--glass-2); border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; }
.chip.muted { color: var(--muted-2); }
#hardware .hint { margin-top: 16px; }

/* ---------- why nacre (asymmetric: fee statement + check-list) ---------- */
.why { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 800px) { .why { grid-template-columns: 1fr; } }
.why-hero { position: relative; border: 1px solid transparent; border-radius: var(--r-xl); padding: 32px 34px; overflow: hidden;
  background: linear-gradient(150deg, rgba(52,38,12,.5), rgba(11,25,30,.72)) padding-box, var(--gold-flow) border-box;
  background-size: auto, 300% 100%; backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 0 60px -34px rgba(247,147,26,.6); animation: border-flow 10s linear infinite;
  display: flex; flex-direction: column; justify-content: center; }
.why-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at 88% 12%, rgba(255,194,77,.16), transparent 62%); pointer-events: none; }
.why-hero-lbl { position: relative; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-2); font-weight: 700; }
.why-big { position: relative; font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; letter-spacing: -1.2px; margin: 10px 0 14px; line-height: 1.05; color: var(--text); }
.grad-gold { background: var(--gold-flow); background-size: 260% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: iri-flow 9s linear infinite; }
.why-hero p { position: relative; margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.6; max-width: 460px; }
.why-hero p b { color: var(--gold-2); }
.why-hero .fee-note { margin-top: 12px; padding: 10px 12px; font-size: 12.5px; line-height: 1.55; border-radius: 10px;
  background: rgba(255,194,77,.07); border: 1px solid rgba(255,194,77,.22); }
.why-hero .plus { color: var(--muted); margin: 0 3px; }
.why-hero code { font-family: var(--mono); font-size: 12.5px; color: var(--gold-2); }
.why-list { list-style: none; margin: 0; padding: 4px; display: grid; gap: 2px; align-content: center; background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-xl); backdrop-filter: blur(14px); }
.why-list li { display: flex; gap: 14px; padding: 15px 16px; border-radius: var(--r-md); transition: background .15s; }
.why-list li:hover { background: rgba(255,255,255,.025); }
.why-list .wk { flex: none; width: 24px; height: 24px; border-radius: 7px; background: rgba(94,240,224,.12); border: 1px solid rgba(94,240,224,.36); color: var(--accent); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.why-list li > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.why-list b { color: var(--text); font-size: 14px; }
.why-list li span:not(.wk) { color: var(--muted); font-size: 12.8px; line-height: 1.5; }
.why-list code { font-family: var(--mono); font-size: 11.5px; color: var(--accent); }

/* ---------- onboarding: 3 steps ---------- */
.start { margin-top: 60px; }
.start-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.start-head h2 { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.5px; margin: 0; }
.nv-badge { font-size: 12px; font-weight: 600; color: var(--warn); border: 1px solid rgba(255,214,122,.32); background: rgba(255,214,122,.07); border-radius: 999px; padding: 5px 13px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; backdrop-filter: blur(14px) saturate(1.3); overflow: hidden; transition: border-color .2s, transform .2s; }
.step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--iri-line); opacity: .5; }
.step:hover { transform: translateY(-3px); border-color: var(--border-2); }
.step-n { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, rgba(94,240,224,.18), rgba(124,92,255,.18)); border: 1px solid rgba(94,240,224,.35); color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; box-shadow: 0 0 16px -4px rgba(94,240,224,.5); }
.step h3 { margin: 16px 0 8px; font-size: var(--fs-lg); font-weight: 650; letter-spacing: -.2px; }
.step p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.step p code, .cmd-head code, .step-sub code { font-family: var(--mono); font-size: 12.5px; color: var(--accent); background: var(--glass-2); padding: 1.5px 6px; border-radius: 5px; border: 1px solid var(--border); }
.step-link { display: inline-flex; align-items: center; margin-top: 16px; color: var(--accent); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.step-link:hover { text-decoration: underline; text-shadow: 0 0 12px rgba(94,240,224,.6); }
/* one-click per-OS download buttons */
.dl-row { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.dl-btn { flex: 1; min-width: 128px; display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: var(--r-md); text-decoration: none; color: var(--text); background: linear-gradient(180deg, rgba(94,240,224,.16), rgba(94,240,224,.05)); border: 1px solid rgba(94,240,224,.35); transition: transform .15s, box-shadow .18s, border-color .15s; }
.dl-btn:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 10px 26px -10px rgba(94,240,224,.7); }
.dl-btn b { font-size: 14.5px; font-weight: 700; color: var(--accent); }
.dl-btn small { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.step .step-link { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.step .step-link:hover { color: var(--accent); }
.ep-mini { display: flex; align-items: center; gap: 8px; margin-top: 10px; background: var(--glass-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 10px; }
.ep-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .6px; color: var(--accent); text-transform: uppercase; }
.ep-mini code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* connect builder */
.build { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.b-in { padding: 11px 14px; font-size: 13px; color: var(--text); background: var(--glass-2); border: 1px solid var(--border); border-radius: var(--r-sm); font-family: var(--mono); transition: border-color .15s, box-shadow .15s; }
.b-in::placeholder { color: var(--muted-2); }
.b-in:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,240,224,.14); }
#b-addr { flex: 1; min-width: 240px; }
.b-worker { width: 120px; }
.b-mode { cursor: pointer; }

.cmd { margin-top: 26px; }
.cmd-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.cmd-block { margin: 12px 0 0; background: var(--glass-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; overflow-x: auto; position: relative; }
.cmd-block::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--iri); border-radius: 2px; box-shadow: 0 0 12px rgba(94,240,224,.6); }
.cmd-block code { font-family: var(--mono); font-size: 13px; color: var(--text); white-space: pre; }
.hint { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

/* copy button */
.copy { background: rgba(94,240,224,.08); border: 1px solid rgba(94,240,224,.28); color: var(--accent); border-radius: var(--r-sm); padding: 5px 12px; font-size: 12px; cursor: pointer; font-family: var(--sans); font-weight: 600; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.copy:hover { background: rgba(94,240,224,.16); box-shadow: 0 0 16px -4px rgba(94,240,224,.6); }
.copy.copied { background: var(--good); color: var(--accent-ink); border-color: var(--good); }

/* ---------- PPLNS vs Solo ---------- */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
@media (max-width: 720px) { .modes { grid-template-columns: 1fr; } }
.mode-card { position: relative; background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; backdrop-filter: blur(14px) saturate(1.3); overflow: hidden; transition: border-color .2s, transform .2s; }
.mode-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--iri-line); opacity: .45; }
.mode-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.mode-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mode-top h3 { margin: 0; font-size: var(--fs-lg); font-weight: 700; }
.mode-port { font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--glass-2); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }
.mode-pill { font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; border-radius: 999px; padding: 4px 11px; }
.mode-pill.rec { color: var(--accent-ink); background: var(--iri-flow); background-size: 220% auto; animation: iri-flow 7s linear infinite; }
.mode-card p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.mode-card strong { color: var(--text); }

/* ---------- miner lookup ---------- */
.lookup-band { margin-top: 60px; position: relative; border-radius: var(--r-xl); padding: 36px; overflow: hidden; border: 1px solid transparent;
  background:
    linear-gradient(155deg, rgba(20,44,50,.72), rgba(10,24,29,.72)) padding-box,
    var(--iri-flow) border-box;
  background-size: auto, 300% 100%;
  backdrop-filter: blur(16px) saturate(1.3);
  animation: border-flow 10s linear infinite;
}
@keyframes border-flow { to { background-position: center, 300% center; } }
.lookup-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 220px at 100% 0, rgba(124,92,255,.16), transparent 62%), radial-gradient(460px 220px at 0 100%, rgba(94,240,224,.12), transparent 64%); pointer-events: none; }
.lookup-band h2 { margin: 0 0 6px; font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.5px; position: relative; }
.lookup { display: flex; gap: 12px; flex-wrap: wrap; position: relative; margin-top: 18px; }
.lookup input { flex: 1; min-width: 260px; padding: 13px 16px; font-size: 14px; color: var(--text); background: var(--glass-2); border: 1px solid var(--border); border-radius: var(--r-md); font-family: var(--mono); }
.lookup input::placeholder { color: var(--muted-2); }
.lookup input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,240,224,.14); }
.error { color: var(--bad); font-size: 13px; margin-top: 12px; }
.hidden { display: none; }

/* ============================================================================
   POOL FEATURE — the hero hashrate; animated gradient border + glow
   ============================================================================ */
.feature {
  position: relative; display: grid; grid-template-columns: minmax(240px, 1fr) 1.5fr; gap: 20px; align-items: center;
  border-radius: var(--r-xl); padding: 32px 34px; overflow: hidden; border: 1px solid transparent;
  background:
    linear-gradient(150deg, rgba(22,50,57,.78), rgba(11,27,32,.8)) padding-box,
    var(--iri-flow) border-box;
  background-size: auto, 300% 100%;
  backdrop-filter: blur(16px) saturate(1.35);
  box-shadow: 0 0 60px -30px rgba(94,240,224,.5);
  animation: border-flow 9s linear infinite;
}
.feature::after { content: ""; position: absolute; inset: 0; background: radial-gradient(480px 240px at 90% 8%, rgba(124,92,255,.18), transparent 62%), radial-gradient(420px 220px at 4% 96%, rgba(94,240,224,.14), transparent 64%); pointer-events: none; }
.feature-main { position: relative; z-index: 2; }
.feature-lbl { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.feature-lbl::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: dot-pulse 2.4s ease-in-out infinite; }
.feature-val { font-size: clamp(42px, 6.2vw, 60px); font-weight: 700; letter-spacing: -1.8px; margin-top: 12px; line-height: 1; font-variant-numeric: tabular-nums; filter: drop-shadow(0 0 26px rgba(94,240,224,.4)); }
.feature-sub { font-size: 12.5px; color: var(--muted); margin-top: 14px; font-family: var(--mono); max-width: 320px; }
.feature-chart { position: relative; z-index: 1; width: 100%; height: 140px; }
@media (max-width: 720px) { .feature { grid-template-columns: 1fr; } .feature-chart { height: 96px; } }

/* ---------- KPI strip ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 980px) { .kpi-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 560px) { .kpi-grid { grid-template-columns: repeat(2, 1fr) !important; } }
.kpi { position: relative; background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 16px 15px; min-width: 0; backdrop-filter: blur(12px) saturate(1.2); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.kpi::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--iri-line); opacity: .35; }
.kpi:hover { transform: translateY(-2px); border-color: var(--border-2); box-shadow: 0 16px 40px -28px rgba(94,240,224,.5); }
.kpi-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 600; }
.kpi-val { font-size: 24px; font-weight: 700; letter-spacing: -.6px; margin-top: 8px; font-variant-numeric: tabular-nums; line-height: 1.15; word-break: break-word; }
.kpi-sub { font-size: 11.5px; color: var(--muted-2); margin-top: 7px; font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- two-column bands ---------- */
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-top: 16px; align-items: start; }
.two-col.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .two-col, .two-col.even { grid-template-columns: 1fr; } }
.stack { margin-top: 16px; }

/* charts */
.chart-box { width: 100%; height: 230px; }
.chart-box.short { height: 190px; }

/* ---------- tables ---------- */
.table-scroll { max-height: 320px; overflow: auto; margin: -4px -4px 0; padding: 4px; }
.table-scroll::-webkit-scrollbar { width: 8px; height: 8px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th { position: sticky; top: 0; background: rgba(10,24,29,.94); backdrop-filter: blur(6px); z-index: 2; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .6px; }
td { color: var(--text-dim); font-family: var(--mono); }
td code { font-family: var(--mono); color: var(--text); }
tbody tr { transition: background .12s; }
tbody tr:hover td { background: rgba(94,240,224,.05); }
tbody tr:last-child td { border-bottom: none; }
.badge { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; font-family: var(--sans); }
.status-confirmed, .status-sent { color: var(--good); background: rgba(79,230,176,.14); }
.status-pending { color: var(--warn); background: rgba(255,214,122,.14); }
.status-failed, .status-frozen { color: var(--bad); background: rgba(255,138,128,.14); }
.wstat { font-family: var(--sans); font-size: 12px; font-weight: 600; white-space: nowrap; }
.wstat.on { color: var(--good); }
.wstat.off { color: var(--muted-2); }

/* ---------- key/value lists ---------- */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; margin: 0; font-size: 13.5px; align-content: start; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-family: var(--mono); color: var(--text); overflow: hidden; text-overflow: ellipsis; }
.kv dd.accent { color: var(--accent); }

/* ---------- miner dashboard ---------- */
.miner-topbar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 8px 0 26px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.miner-id { display: flex; flex-direction: column; gap: 5px; }
.miner-lbl { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 1.1px; color: var(--muted); font-weight: 600; }
.miner-addr-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.miner-addr { font-family: var(--mono); font-size: 13px; color: var(--text); }
.bookmark-hint { font-size: 12px; color: var(--muted-2); }
.miner-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.miner-mode { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--accent-ink); background: var(--iri-flow); background-size: 220% auto; border-radius: 999px; padding: 5px 13px; animation: iri-flow 7s linear infinite; }

.big-val { font-size: 30px; font-weight: 700; letter-spacing: -.8px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.accent-tx { color: var(--accent); }
.mono { font-family: var(--mono); }

/* progress */
.progress { height: 12px; background: var(--glass-2); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; margin-top: 4px; }
.progress-bar { height: 100%; width: 0%; background: var(--iri-flow); background-size: 220% auto; border-radius: 999px; transition: width .5s ease; box-shadow: 0 0 14px rgba(94,240,224,.6); animation: iri-flow 6s linear infinite; }
.progress-legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 12.5px; color: var(--muted); font-family: var(--mono); }

/* earnings calculator */
.calc { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 16px; align-items: end; }
.calc-input { display: flex; flex-direction: column; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr 1fr; } }
.calc-input label { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 600; display: block; margin-bottom: 8px; }
.calc-row { display: flex; gap: 8px; }
.calc-row input { flex: 1; min-width: 0; padding: 10px 12px; background: var(--glass-2); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); font-family: var(--mono); font-size: 14px; }
.calc-row select { background: var(--glass-2); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); padding: 0 8px; font-family: var(--mono); font-size: 13px; }
.calc-row input:focus, .calc-row select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,240,224,.14); }
.linklike { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 12px; padding: 8px 0 0; text-align: left; }
.linklike:hover { text-decoration: underline; }
.calc-out { background: var(--glass-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 13px 15px; min-width: 0; }
.calc-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 600; }
.calc-val { font-family: var(--mono); font-size: var(--fs-lg); margin-top: 8px; color: var(--text); word-break: break-word; }
.calc-val.accent { color: var(--accent); }
.calc-note { margin-top: 16px; }
.activity-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.activity-head .card-head { margin-bottom: 0; }

/* ---------- footer ---------- */
footer { max-width: var(--wrap); margin: 0 auto; padding: 40px 24px 64px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.foot-main { display: flex; flex-direction: column; gap: 7px; max-width: 460px; }
.foot-main strong { font-size: 15px; }
.foot-desc { font-size: 13px; color: var(--muted); }
.foot-legal { font-size: 11.5px; color: var(--muted-2); margin-top: 4px; line-height: 1.6; }
.foot-legal code { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; align-content: start; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .15s; }
.foot-links a:hover { color: var(--accent); }
