/* ==========================================================================
   NODE.MP — Multi-Protocol Node Infrastructure
   Hex lattice / 24h pulse. Copper + lime on forest ink / warm limestone.
   ========================================================================== */

:root {
  --font-display: "Unbounded", "Segoe UI", sans-serif;
  --font-heading: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --container: 1160px;
  --header-h: 72px;
  --cut: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: 20px;
}

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b110e;
  --bg-2: #121a16;
  --bg-3: #18221c;
  --ink: #f3ede3;
  --muted: #a8b4a8;
  --faint: #6e7a72;
  --line: rgba(243, 237, 227, 0.12);
  --line-strong: rgba(243, 237, 227, 0.22);
  --surface: rgba(243, 237, 227, 0.035);
  --surface-2: rgba(243, 237, 227, 0.07);
  --copper: #e07a3d;
  --copper-2: #f0a36a;
  --copper-ink: #0b110e;
  --lime: #c6e35b;
  --lime-ink: #0b110e;
  --moss: #3d6b52;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.65);
  --noise-op: 0.22;
  --header-bg: rgba(11, 17, 14, 0.78);
  --theme-meta: #0b110e;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3ede3;
  --bg-2: #e8e0d2;
  --bg-3: #ddd4c4;
  --ink: #1c2420;
  --muted: #4a564e;
  --faint: #6d776f;
  --line: rgba(28, 36, 32, 0.12);
  --line-strong: rgba(28, 36, 32, 0.22);
  --surface: rgba(28, 36, 32, 0.035);
  --surface-2: rgba(28, 36, 32, 0.06);
  --copper: #c45c26;
  --copper-2: #e07a3d;
  --copper-ink: #f3ede3;
  --lime: #4f6d14;
  --lime-ink: #f3ede3;
  --moss: #2d5a42;
  --shadow: 0 20px 50px -28px rgba(28, 36, 32, 0.28);
  --noise-op: 0.12;
  --header-bg: rgba(243, 237, 227, 0.82);
  --theme-meta: #f3ede3;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; touch-action: manipulation; }

html, body {
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  font-kerning: normal;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Atmosphere ---------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atmosphere .glow-a,
.atmosphere .glow-b {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.atmosphere .glow-a {
  width: min(70vw, 720px);
  height: min(50vw, 480px);
  top: -12%;
  right: -8%;
  background: color-mix(in srgb, var(--copper) 28%, transparent);
}

.atmosphere .glow-b {
  width: min(60vw, 560px);
  height: min(50vw, 420px);
  bottom: -16%;
  left: -10%;
  background: color-mix(in srgb, var(--lime) 16%, transparent);
}

.atmosphere .hex-grid {
  position: absolute;
  inset: -2%;
  opacity: 0.45;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'><path d='M28 2 L54 17 V47 L28 62 L2 47 V17 Z' fill='none' stroke='%23c6e35b' stroke-opacity='0.18' stroke-width='0.8'/></svg>");
  background-size: 56px 97px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
}

:root[data-theme="light"] .atmosphere .hex-grid {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'><path d='M28 2 L54 17 V47 L28 62 L2 47 V17 Z' fill='none' stroke='%231c2420' stroke-opacity='0.14' stroke-width='0.8'/></svg>");
}

.atmosphere .grain {
  position: absolute;
  inset: 0;
  opacity: var(--noise-op);
  background: url("../img/noise.png") repeat;
  mix-blend-mode: overlay;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--copper);
  color: var(--copper-ink);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.skip-link:focus { top: 12px; }

/* ---------- Cut shape ---------- */
.cut {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--copper);
  color: var(--copper-ink);
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--copper) 70%, transparent);
}

.btn-primary:hover { background: var(--copper-2); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn-ghost:hover { background: var(--surface-2); }

.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
}

.btn-block { width: 100%; }

.btn-sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 11px;
}

.btn:focus-visible,
.icon-btn:focus-visible,
.theme-seg button:focus-visible,
.lang-switch a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  flex: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img,
.brand svg {
  width: 36px;
  height: 36px;
  background: transparent;
  clip-path: polygon(50% 4.7%, 91.4% 28.4%, 91.4% 71.6%, 50% 95.3%, 8.6% 71.6%, 8.6% 28.4%);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand-name b { color: var(--copper); font-weight: 600; }

.mesh-wire {
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  fill: none;
  opacity: 0.85;
  stroke-dasharray: 3 10;
  animation: mesh-flow 1.6s linear infinite;
}

.hero-mesh .mesh-wire:nth-child(2) { animation-delay: 0.35s; }
.hero-mesh .mesh-wire:nth-child(3) { animation-delay: 0.7s; }

@keyframes mesh-flow {
  to { stroke-dashoffset: -26; }
}

.main-nav {
  display: flex;
  gap: 22px;
  margin-left: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav a:hover { color: var(--ink); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  overflow: hidden;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.lang-switch a {
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.lang-switch a.active {
  background: var(--ink);
  color: var(--bg);
}

.theme-seg {
  display: flex;
  border: 1px solid var(--line);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.theme-seg button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--faint);
}

.theme-seg button svg { width: 15px; height: 15px; }

.theme-seg button.is-on,
html[data-theme-pref="auto"] [data-theme-btn="auto"],
html[data-theme-pref="light"] [data-theme-btn="light"],
html[data-theme-pref="dark"] [data-theme-btn="dark"] {
  background: var(--ink);
  color: var(--bg);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
}

.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  position: fixed;
  z-index: 45;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--bg);
  padding: 20px var(--pad) calc(32px + env(safe-area-inset-bottom, 0px));
  flex-direction: column;
  gap: 6px;
  overflow: auto;
}

.mobile-nav.is-open { display: flex; }

.mobile-nav > a:not(.btn) {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 16px;
}

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 36px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero-grid > * { min-width: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}

.kicker .dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(28px, 4.6vw, 48px);
  max-width: 24ch;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.hero h1 .accent { color: var(--copper); }

.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

.trust-row span { display: inline-flex; align-items: center; gap: 8px; }

.trust-row i {
  width: 6px;
  height: 6px;
  background: var(--copper);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.hero-stage {
  position: relative;
  min-height: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  overflow: hidden;
}

.hero-access {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 420px;
  padding: 36px 24px 40px;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
  color: var(--copper);
}

.hero-hub,
.hero-nets {
  position: relative;
  z-index: 1;
}

.hero-hub {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-hub-mark {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: transparent;
  z-index: 2;
}

.hero-hub-mark svg,
.hero-hub-mark img {
  display: block;
  width: 72px;
  height: 72px;
  background: transparent;
  clip-path: polygon(50% 4.7%, 91.4% 28.4%, 91.4% 71.6%, 50% 95.3%, 8.6% 71.6%, 8.6% 28.4%);
}

.hero-hub-name,
.hero-hub-cap {
  position: relative;
  z-index: 2;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  padding: 0 8px;
}

.hero-hub-name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.hero-hub-name span { color: var(--copper); }

.hero-hub-cap {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.hero-nets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 240px);
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
}

.hero-nets li {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 8px 12px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border: 1px solid var(--line);
  text-align: center;
}

.hero-net-ico {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.hero-net-ico img {
  display: block;
  width: 40px;
  height: 40px;
}

.hero-nets b {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-nets em {
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.hero-nets .is-soon {
  opacity: 0.78;
}

.hero-nets .is-soon em { color: var(--copper); }

/* ---------- Sections ---------- */
main { position: relative; z-index: 1; }

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px 48px;
  margin-bottom: 40px;
  align-items: end;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}

.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 16ch; }

.section-head p { color: var(--muted); max-width: 52ch; }

.section-head:has(> :only-child) { grid-template-columns: 1fr; }

/* ---------- Networks honeycomb ---------- */
.honeycomb {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.net-card {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 240px;
  height: 100%;
  display: flex;
  flex-direction: column;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}

.net-card.soon {
  opacity: 0.78;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    color-mix(in srgb, var(--ink) 3%, transparent) 8px,
    color-mix(in srgb, var(--ink) 3%, transparent) 9px
  );
}

.net-mark {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.net-mark img {
  display: block;
  width: 48px;
  height: 48px;
}

.net-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.net-card p {
  color: var(--muted);
  font-size: 14.5px;
  flex: 1;
}

.net-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: auto;
  padding-top: 16px;
  min-height: 36px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-live { background: var(--lime); color: var(--lime-ink); }
.badge-soon { background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- 24h billing ---------- */
.billing-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.bill-hero {
  padding: 36px;
  background: var(--ink);
  color: var(--bg);
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

:root[data-theme="light"] .bill-hero { color: #f3ede3; background: #1c2420; }

.bill-hero .eyebrow { color: var(--copper-2); }

.bill-eq {
  display: flex;
  align-items: center;
  gap: 14px 18px;
  margin: 18px 0 20px;
}

.bill-eq-price {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #3d5812;
  flex-shrink: 0;
}

.bill-eq-sign {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--copper-2);
  flex-shrink: 0;
}

.bill-eq-pack {
  list-style: none;
  margin: 0;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--copper);
  display: grid;
  gap: 2px;
}

.bill-eq-pack li {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: inherit;
  max-width: none;
}

.bill-eq-pack li + li {
  position: relative;
  margin-top: 10px;
  padding-top: 10px;
}

.bill-eq-pack li + li::before {
  content: "+";
  position: absolute;
  top: -8px;
  left: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--copper-2);
}

.bill-eq-pack b {
  font-weight: 700;
  color: #3d5812;
}

:root[data-theme="light"] .bill-eq-price,
:root[data-theme="light"] .bill-eq-pack b {
  color: #c6e35b;
}

.bill-eq + p {
  color: color-mix(in srgb, var(--bg) 78%, transparent);
  max-width: 42ch;
}

.meter {
  margin-top: 28px;
  display: grid;
  gap: 8px;
}

.meter-track {
  height: 10px;
  background: color-mix(in srgb, var(--bg) 16%, transparent);
  overflow: hidden;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.meter-fill {
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--lime));
}

.meter-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bg) 70%, transparent);
}

.bill-stack { display: grid; gap: 16px; }

.bill-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.bill-card h4 { font-size: 16px; margin-bottom: 8px; }

.bill-card p { color: var(--muted); font-size: 14.5px; }

.price-note {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: 14.5px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.price-note strong { color: var(--ink); }

.bill-fair {
  margin-top: 20px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px 40px;
  align-items: end;
  background: color-mix(in srgb, var(--copper) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--copper) 42%, var(--line));
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.bill-fair .eyebrow { margin-bottom: 8px; }

.bill-fair h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.bill-fair p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 58ch;
}

/* ---------- Payments ---------- */
.featured-pay {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.coin {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  min-height: 76px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.coin.is-hot {
  background: color-mix(in srgb, var(--copper) 14%, var(--bg-2));
  border-color: color-mix(in srgb, var(--copper) 45%, var(--line));
}

.coin-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.coin-ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coin-meta b {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
}

.coin-meta span {
  display: block;
  font-size: 12px;
  color: var(--faint);
}

.more-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px 8px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
}

.chip img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.chip-more {
  color: var(--copper);
  border-color: color-mix(in srgb, var(--copper) 40%, var(--line));
}

/* ---------- JSON-RPC methods ---------- */
.rpc-panel {
  background: var(--surface);
  border: 1px solid var(--line);
}

.rpc-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  min-height: 56px;
  padding: 12px 18px;
  cursor: pointer;
  list-style: none;
}

.rpc-summary:hover { background: var(--bg-2); }

.rpc-summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}

.rpc-summary-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.rpc-summary-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rpc-summary-action {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
}

.rpc-summary-action::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  margin-bottom: 1px;
  border-right: 1.5px solid var(--copper);
  border-bottom: 1.5px solid var(--copper);
  transform: rotate(45deg);
  vertical-align: middle;
}

.rpc-panel[open] .rpc-summary {
  border-bottom: 1px solid var(--line);
}

.rpc-panel[open] .rpc-summary-action::after {
  transform: rotate(225deg);
  margin-bottom: -2px;
}

.rpc-panel[open] .rpc-summary-closed,
.rpc-panel:not([open]) .rpc-summary-open { display: none; }

.rpc-body { padding: 18px 22px 22px; }

.rpc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.rpc-tabs {
  display: flex;
  border: 1px solid var(--line);
}

.rpc-tabs:has(> button:only-child) {
  display: none;
}

.rpc-tabs button {
  min-height: 42px;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.rpc-tabs button + button { border-left: 1px solid var(--line); }

.rpc-tabs button span {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.rpc-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
}

.rpc-tabs button[aria-selected="true"] span { color: color-mix(in srgb, var(--bg) 70%, transparent); }

.rpc-search {
  flex: 1 1 180px;
  max-width: 280px;
}

.rpc-search input {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
}

.rpc-search input::placeholder { color: var(--faint); }

.rpc-search input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.rpc-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.rpc-group {
  margin: 0;
  padding: 14px 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  min-width: 0;
}

.rpc-group h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.rpc-methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 6px;
}

.rpc-method {
  display: flex;
  align-items: baseline;
  gap: 0;
  min-width: 0;
  min-height: 36px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.rpc-ns {
  flex: 0 0 auto;
  color: var(--copper);
}

.rpc-rest {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rpc-method:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.rpc-method:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.rpc-method.is-off {
  cursor: default;
  color: var(--faint);
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--ink) 28%, transparent);
}

.rpc-method.is-copied {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: transparent;
}

.rpc-method.is-copied .rpc-ns { color: inherit; }

.rpc-method.is-hidden,
.rpc-group.is-hidden { display: none; }

.rpc-panel[data-rpc-net="ethereum"] [data-rpc-only="polygon"],
.rpc-panel[data-rpc-net="polygon"] [data-rpc-only="ethereum"] { display: none; }

.rpc-note {
  margin-top: 16px;
  padding: 16px 18px 16px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
}

.rpc-note-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 8px;
}

.rpc-note-lead {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  max-width: 58ch;
  margin: 0 0 12px;
}

.rpc-note-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rpc-note-facts li {
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
}

.rpc-note-facts code {
  font-family: inherit;
  font-size: inherit;
  color: var(--ink);
}

.rpc-empty {
  display: none;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.rpc-panel.is-filtered .rpc-empty { display: block; }

.rpc-limits {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: 13.5px;
}

.rpc-limits strong { color: var(--ink); }

.rpc-limits code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}

.rpc-md {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.rpc-md a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rpc-md a:hover { color: var(--copper-2); }

.net-more {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
}

.net-more:hover { color: var(--copper-2); }

/* ---------- How ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 220px;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--copper);
  margin-bottom: 16px;
}

.step h3 { font-size: 18px; margin-bottom: 8px; }

.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 860px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--copper);
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq-item a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-item a:hover { color: var(--copper-2); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  z-index: 1;
  padding: 72px 0 96px;
}

.cta-inner {
  padding: 40px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--copper) 88%, #1c2420), #1c2420 62%);
  color: #f3ede3;
  clip-path: polygon(32px 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%, 0 32px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-inner h2 { color: inherit; font-size: clamp(26px, 3.4vw, 40px); max-width: 16ch; }

.cta-inner p { color: rgba(243, 237, 227, 0.78); margin-top: 10px; max-width: 46ch; }

.cta-inner .btn-primary {
  background: var(--lime);
  color: #0b110e;
  box-shadow: none;
  white-space: normal;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 36px 0 120px;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.site-footer .brand { margin-bottom: 12px; color: var(--ink); }

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.foot-links a:hover { color: var(--ink); }

.copy { margin-top: 28px; font-size: 12px; color: var(--faint); }

/* ---------- Policy pages ---------- */
.policy {
  position: relative;
  z-index: 1;
  padding: 40px 0 96px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.back-link svg { width: 16px; height: 16px; }

.back-link:hover { color: var(--ink); }

.policy-hero h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 10px; }

.error-page {
  min-height: 48vh;
}

.error-page p {
  max-width: 44ch;
  color: var(--muted);
  margin: 12px 0 28px;
}

.updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 36px;
}

.policy-body {
  max-width: 760px;
  color: var(--muted);
  overflow-wrap: break-word;
}

.policy-body h2 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.policy-body p, .policy-body li { margin-bottom: 10px; }

.policy-body ul {
  padding-left: 1.1em;
  list-style: disc;
}

.policy-body a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }

.policy-body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--ink);
}

.mail-widget {
  margin-top: 28px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.mail-widget h3 { font-size: 16px; margin-bottom: 8px; color: var(--ink); }

.mail-honeypot,
.mail-decoy {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mail-slot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.mail-link {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--copper);
}

.mail-link[hidden] { display: none !important; }

.noscript-note { color: var(--faint); font-size: 13px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  z-index: 40;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
}

.mobile-cta .btn { box-shadow: var(--shadow); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .header-actions .lang-switch a {
    padding: 5px 8px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 980px) {
  .header-actions .btn-sm { display: none; }
  .hero-grid,
  .section-head,
  .billing-split,
  .cta-inner,
  .footer-grid,
  .steps,
  .bill-fair { grid-template-columns: 1fr; }
  .honeycomb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpc-search { max-width: none; width: 100%; flex: 1 1 auto; }
  .rpc-summary { padding: 12px 16px; }
  .rpc-body { padding: 16px; }
  .rpc-catalog { grid-template-columns: 1fr; }
  .rpc-methods { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .rpc-toolbar { flex-direction: column; align-items: stretch; }
  .rpc-tabs { width: 100%; }
  .rpc-tabs button { flex: 1; }
  .hero-stage,
  .hero-access { min-height: 0; }
  .hero-access { padding: 32px 24px 36px; }
  .featured-pay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { padding: 40px 36px; }
  .bill-hero { padding: 36px 32px; }
  .mobile-cta { display: none; }
  html.show-mobile-cta .mobile-cta { display: block; }
  html.show-mobile-cta .site-footer {
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; --pad: 16px; }
  .header-actions { gap: 6px; }
  .theme-seg button { width: 32px; height: 32px; }
  .honeycomb { grid-template-columns: 1fr; }
  .honeycomb .soon { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .rpc-search input { font-size: 16px; }
  .hero { padding: 20px 0 48px; }
  .hero h1 { font-size: clamp(24px, 7vw, 34px); }
  .hero-access { padding: 28px 16px 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; white-space: normal; }
  .hero-hub-mark { width: 80px; height: 80px; }
  .hero-hub-mark svg,
  .hero-hub-mark img { width: 56px; height: 56px; }
  .hero-nets { width: 100%; gap: 6px; }
  .hero-nets li { padding: 12px 6px 10px; }
  .hero-nets b { font-size: 12px; }
  .section { padding: 64px 0; }
  .cta-inner { padding: 36px 32px; }
  .bill-hero { padding: 32px; }
  .bill-fair { padding: 24px 20px; }
  .lede { font-size: 16px; }
  .brand-name { font-size: 13px; }
  .trust-row { gap: 8px 12px; }
  .faq-item summary,
  .faq-item p { padding-left: 16px; padding-right: 16px; }
  .net-card { padding: 24px 20px 20px; min-height: 0; }
}

@media (max-width: 420px) {
  .featured-pay { grid-template-columns: 1fr; }
  .cta-inner .btn,
  .mobile-cta .btn { width: 100%; white-space: normal; }
  .rpc-summary-meta { flex-basis: 100%; }
  .rpc-methods { grid-template-columns: 1fr; }
}
