:root {
  --bg: #030607;
  --surface: #0a1113;
  --surface-strong: #0f1c1f;
  --surface-soft: rgba(12, 28, 31, 0.76);
  --surface-elevated: rgba(10, 18, 22, 0.92);
  --text: #f4fbfb;
  --muted: #9ec9ce;
  --line: rgba(72, 223, 223, 0.18);
  --line-strong: rgba(72, 223, 223, 0.28);
  --teal-dark: #0d737e;
  --teal-accent: #33d5dd;
  --teal-accent-strong: #8afff4;
  --hero-glow: rgba(58, 221, 190, 0.2);
  --max-width: 1180px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", "Lucida Sans", "Lucida Grande", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(138, 255, 244, 0.14), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(51, 213, 221, 0.08), transparent 20%),
    linear-gradient(180deg, #020404 0%, #071216 30%, #041217 64%, #020404 100%);
  line-height: 1.6;
}

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

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.network-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: screen;
}

.site-shell > *:not(.network-canvas) {
  position: relative;
  z-index: 1;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

.site-shell::before {
  top: 8rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 255, 244, 0.18), transparent 68%);
  filter: blur(8px);
}

.site-shell::after {
  bottom: 6rem;
  left: -10rem;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 115, 126, 0.34), transparent 70%);
}

.section,
.footer,
.topbar-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.announcement-bar {
  width: 100%;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(72, 223, 223, 0.14);
  background: linear-gradient(90deg, rgba(10, 32, 36, 0.95), rgba(7, 24, 28, 0.95));
}

.announcement-bar p {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.92rem;
}

.announcement-bar a {
  color: var(--teal-accent-strong);
  font-weight: 700;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: #000;
  border-bottom: 1px solid rgba(72, 223, 223, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.85rem 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 3rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(116, 216, 216, 0.24);
  border-radius: 1rem;
  background: rgba(8, 18, 21, 0.92);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-label {
  display: inline-block;
  color: var(--teal-accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.brand-logo {
  width: clamp(10rem, 18vw, 13.75rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(51, 213, 221, 0.18));
}

.brand img {
  max-width: none;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  border: 1px solid rgba(72, 223, 223, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(12, 19, 22, 0.92), rgba(6, 10, 12, 0.9));
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  color: var(--muted);
}

.nav a {
  padding: 0.58rem 0.72rem;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--teal-accent-strong);
  background: rgba(72, 223, 223, 0.08);
  transform: translateY(-1px);
}

.nav a.nav-emphasis {
  color: #041012;
  background: linear-gradient(135deg, var(--teal-accent-strong), var(--teal-accent));
}

.section {
  padding: 5rem 0;
}

.mini-section {
  padding-top: 1rem;
}

.hero {
  min-height: calc(100vh - 5rem);
  padding-top: 2.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(21rem, 0.9fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top left, var(--hero-glow), transparent 30%),
    linear-gradient(180deg, rgba(9, 17, 21, 0.94), rgba(4, 9, 12, 0.96));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Franklin Gothic Medium", sans-serif;
  letter-spacing: 0.01em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.6rem);
}

h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.2rem;
}

.lead,
.section-heading p,
.stack p,
.timeline-card p,
.card p,
.developer-cta p,
.closing-card p,
.footer p,
.faq-list p {
  color: var(--muted);
}

.lead {
  max-width: 60ch;
  font-size: 1.1rem;
  margin: 1.5rem 0 0;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--teal-accent-strong), var(--teal-accent));
  color: #021012;
}

.button-secondary {
  background: rgba(116, 216, 216, 0.08);
  border-color: rgba(116, 216, 216, 0.35);
}

.button-tertiary {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.button,
.nav a,
.faq-list summary,
.nav-toggle {
  -webkit-tap-highlight-color: transparent;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 24rem;
}

.hero-orbit {
  position: relative;
  width: min(44rem, 100%);
  aspect-ratio: 1.65;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.hero-orbit img {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 24px rgba(51, 213, 221, 0.16))
    drop-shadow(0 0 54px rgba(138, 255, 244, 0.12));
}

.hero-banner-frame {
  padding: 0.75rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(10, 24, 28, 0.96), rgba(3, 8, 10, 0.92)),
    rgba(4, 10, 12, 0.96);
  border: 1px solid rgba(72, 223, 223, 0.2);
  box-shadow: var(--shadow);
}

.hero-banner-frame img {
  border-radius: 1.4rem;
}

.docs-hero-grid {
  min-height: auto;
  padding-top: 0;
  align-items: start;
}

.hero-banner-frame-docs {
  width: min(38rem, 100%);
  justify-self: start;
  margin-top: 1.5rem;
}

.docs-shell .hero-visual {
  justify-items: start;
}

.hero-grid {
  position: absolute;
  z-index: -1;
  border-radius: 2rem;
  background-image:
    linear-gradient(rgba(72, 223, 223, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 223, 223, 0.11) 1px, transparent 1px);
  background-size: 2rem 2rem;
}

.hero-grid-primary {
  inset: 18% 2% auto 6%;
  height: 13rem;
  z-index: -1;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
}

.hero-grid-secondary {
  inset: auto 6% 8% 22%;
  height: 5rem;
  border-top: 1px solid rgba(72, 223, 223, 0.2);
  border-bottom: 1px solid rgba(72, 223, 223, 0.08);
  opacity: 0.75;
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.hero-aside {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-aside-card {
  min-width: 0;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-soft);
}

.hero-aside-card h3 {
  margin-top: 0.5rem;
}

.hero-aside-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.hero-aside-links {
  align-content: start;
}

.hero-aside-links a {
  display: block;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(72, 223, 223, 0.1);
  color: var(--text);
  font-weight: 600;
}

.hero-aside-links a:first-of-type {
  margin-top: 0.6rem;
}

.hero-aside-links a:hover,
.hero-aside-links a:focus-visible {
  color: var(--teal-accent-strong);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.homepage .section-heading {
  max-width: 52rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.signal-section {
  padding-top: 1.4rem;
}

.mini-card {
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(72, 223, 223, 0.14);
  border-top: 3px solid rgba(138, 255, 244, 0.32);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow-soft);
}

.mini-card h3 {
  margin-top: 0.4rem;
  font-size: 1.1rem;
}

.mini-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.mini-label {
  color: var(--teal-accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inline-link {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--teal-accent-strong);
  font-weight: 600;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--text);
}

code {
  padding: 0.12rem 0.35rem;
  border: 1px solid rgba(72, 223, 223, 0.18);
  border-radius: 0.5rem;
  background: rgba(5, 11, 13, 0.82);
  color: var(--teal-accent-strong);
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 0.92em;
}

.card-grid,
.timeline,
.faq-list,
.how-grid {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.timeline-card,
.callout,
.closing-card,
.developer-section .card,
.faq-list details {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.intro-section {
  padding-top: 2rem;
}

.intro-panel {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(7, 14, 17, 0.9), rgba(4, 10, 12, 0.92));
  box-shadow: var(--shadow-soft);
}

.architecture-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.architecture-map {
  position: sticky;
  top: 6rem;
  min-height: 28rem;
  display: grid;
  place-items: center;
  border-radius: 2rem;
  background:
    radial-gradient(circle at center, rgba(51, 213, 221, 0.14), transparent 46%),
    rgba(7, 16, 19, 0.9);
  border: 1px solid var(--line);
}

.architecture-core {
  display: grid;
  place-items: center;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(51, 213, 221, 0.24), rgba(13, 115, 126, 0.55));
  border: 1px solid rgba(138, 255, 244, 0.42);
}

.architecture-pill {
  position: absolute;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(3, 6, 7, 0.9);
  border: 1px solid rgba(51, 213, 221, 0.32);
  color: var(--teal-accent-strong);
}

.architecture-node {
  top: 16%;
  left: 12%;
}

.architecture-miner {
  top: 18%;
  right: 10%;
}

.architecture-wallet {
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
}

.architecture-list {
  display: grid;
  gap: 1rem;
}

.highlight-section {
  position: relative;
}

.callout ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.testnet-section .split {
  align-items: stretch;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.how-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.install-split {
  margin-top: 1rem;
}

.steps-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.steps-list li + li {
  margin-top: 0.7rem;
}

.timeline-card {
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal-accent), transparent);
}

.timeline-phase {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--teal-accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.developer-section .split,
.closing-section .closing-card {
  align-items: stretch;
}

.developer-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}

.faq-list details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

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

.faq-list details p {
  margin-bottom: 0;
}

.closing-card {
  text-align: center;
  padding: 2rem;
}

.closing-card h2,
.closing-card p {
  margin-left: auto;
  margin-right: auto;
}

.testnet-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testnet-data-card {
  overflow: hidden;
}

.testnet-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.testnet-table {
  width: 100%;
  border-collapse: collapse;
}

.testnet-table th,
.testnet-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.testnet-table th {
  color: var(--teal-accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testnet-table td {
  color: var(--muted);
}

.testnet-table tr:last-child td {
  border-bottom: 0;
}

.testnet-stat-value {
  display: block;
  margin-top: 0.4rem;
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 700;
}

.testnet-status-note {
  color: var(--muted);
  margin: 0;
}

.footer {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1rem;
  align-items: start;
  justify-content: start;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer > div:first-child {
  grid-column: 1 / -1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  min-width: 0;
  grid-column: 1 / -1;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: start;
  color: var(--muted);
}

.footer-social:hover,
.footer-social:focus-visible {
  color: var(--teal-accent-strong);
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid rgba(72, 223, 223, 0.18);
  border-radius: 999px;
  background: rgba(9, 18, 21, 0.92);
  color: var(--teal-accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.footer-social-label {
  font-weight: 600;
}

.copyright {
  grid-column: 2;
  text-align: left;
  justify-self: start;
  margin-top: 0;
}

.nav-docs {
  justify-content: flex-end;
}

.docs-shell .hero-copy {
  max-width: 62rem;
}

.docs-hero {
  padding-top: 4rem;
}

.docs-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.docs-section + .docs-section {
  padding-top: 0;
}

.code-panel {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.25rem;
  background: rgba(5, 11, 13, 0.9);
  box-shadow: var(--shadow);
}

.code-panel h3 {
  margin-bottom: 1rem;
}

.code-panel pre {
  margin: 0;
  overflow-x: auto;
}

.code-panel code {
  display: block;
  color: #c8fffb;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.7;
  white-space: pre;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-field {
  display: grid;
  gap: 0.45rem;
}

.contact-field span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(5, 11, 13, 0.92);
  color: var(--text);
  font: inherit;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(138, 255, 244, 0.45);
  box-shadow: 0 0 0 3px rgba(58, 221, 190, 0.12);
}

.contact-field textarea {
  resize: vertical;
  min-height: 10rem;
}

.faucet-split {
  align-items: start;
}

.faucet-form-card {
  min-width: 0;
}

.faucet-form-card h3 {
  margin-top: 0;
}

.faucet-ack {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted);
}

.faucet-ack input {
  margin-top: 0.2rem;
}

.faucet-follow {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(72, 223, 223, 0.14);
  border-radius: 1rem;
  background: rgba(7, 18, 21, 0.78);
}

.faucet-follow-title {
  margin: 0;
  color: var(--teal-accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faucet-follow-link {
  justify-content: center;
}

.faucet-ack-follow input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.faucet-rules {
  min-width: 0;
}

.contact-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.contact-status[data-state]:not([data-state="idle"]) {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(72, 223, 223, 0.14);
  border-radius: 1rem;
  background: rgba(7, 18, 21, 0.68);
}

.contact-status[data-state="loading"] {
  color: #d3f6f8;
  border-color: rgba(72, 223, 223, 0.2);
  background: rgba(7, 20, 24, 0.84);
}

.contact-status[data-state="success"] {
  color: var(--teal-accent-strong);
  border-color: rgba(58, 221, 190, 0.32);
  background: rgba(11, 33, 30, 0.82);
}

.contact-status[data-state="error"] {
  color: #ff9d9d;
  border-color: rgba(255, 157, 157, 0.26);
  background: rgba(40, 16, 18, 0.82);
}

@media (max-width: 980px) {
  .hero-layout,
  .split,
  .architecture-layout,
  .timeline,
  .how-grid,
  .mini-grid,
  .docs-card-grid,
  .testnet-stats-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-aside {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual,
  .section-heading,
  .card,
  .timeline-card,
  .callout,
  .closing-card {
    min-width: 0;
  }

  .architecture-map {
    position: relative;
    top: auto;
  }

  .footer,
  .copyright {
    text-align: left;
  }

  .footer-social {
    justify-self: start;
  }
}

@media (min-width: 1001px) {
  .contact-page .install-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .network-canvas {
    opacity: 0.32;
  }

  .topbar {
    position: sticky;
    top: 0;
  }

  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0.9rem 0;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.8rem;
    border: 1px solid var(--line-strong);
    border-radius: 1.2rem;
    background: rgba(6, 14, 16, 0.98);
    box-shadow: var(--shadow);
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 0.7rem 0.8rem;
    border-radius: 0.9rem;
    background: rgba(116, 216, 216, 0.05);
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero-layout {
    gap: 2rem;
    padding: 1rem;
    border-radius: 1.5rem;
  }

  .hero-visual {
    min-height: 22rem;
  }

  .hero-orbit {
    width: min(28rem, 100%);
  }

  .hero-banner-frame-docs {
    width: min(30rem, 100%);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .docs-card-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  h2 {
    max-width: 100%;
  }

  .architecture-map {
    min-height: 23rem;
  }

  .architecture-pill {
    font-size: 0.9rem;
  }

  .architecture-node {
    top: 10%;
    left: 6%;
  }

  .architecture-miner {
    top: 12%;
    right: 4%;
  }

  .architecture-wallet {
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
  }

  .footer {
    padding-bottom: 2rem;
  }
}

@media (max-width: 520px) {
  .topbar-inner,
  .section,
  .footer {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .announcement-bar p {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .hero-visual {
    min-height: 18rem;
  }

  .hero-orbit {
    width: min(24rem, 100%);
    border-radius: 1.4rem;
  }

  .hero-banner-frame {
    padding: 0.45rem;
    border-radius: 1.2rem;
  }

  .hero-banner-frame img {
    border-radius: 0.9rem;
  }

  .card,
  .timeline-card,
  .callout,
  .closing-card,
  .faq-list details {
    padding: 1.1rem;
    border-radius: 1.1rem;
  }

  .hero-aside-card,
  .intro-panel {
    padding: 1.1rem;
    border-radius: 1.1rem;
  }

  .architecture-map {
    min-height: 19rem;
  }

  .architecture-core {
    width: 7.5rem;
    height: 7.5rem;
  }

  .architecture-pill {
    padding: 0.5rem 0.7rem;
    font-size: 0.78rem;
  }

  .architecture-node {
    top: 8%;
    left: 3%;
  }

  .architecture-miner {
    top: 10%;
    right: 3%;
  }

  .architecture-wallet {
    bottom: 28%;
    left: 2%;
  }

  .architecture-wallet {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
  }
}
