:root {
  color-scheme: light;
  --navy: #061b3a;
  --navy-2: #09264d;
  --ink: #07111b;
  --soft: #43525b;
  --muted: #79858a;
  --cyan: #20b8ec;
  --blue: #127bd8;
  --paper: #f6f8f8;
  --line: rgba(7, 17, 27, 0.14);
  --nav-h: 62px;
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 34px);
  background: var(--paper);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
}

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

section,
[id] {
  scroll-margin-top: calc(var(--nav-h) + 34px);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 50%;
  top: 12px;
  z-index: 60;
  padding: 12px 20px;
  color: #fff;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transform: translate(-50%, -180%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

/* Doubled class keeps these ahead of the later card `transition` shorthands. */
.reveal.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1), transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.nav {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 30;
  width: min(1440px, calc(100% - 48px));
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  margin-top: 10px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(6, 27, 58, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(6, 27, 58, 0.16);
  transform: translateX(-50%);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}

.nav.is-scrolled {
  background: rgba(6, 27, 58, 0.98);
  box-shadow: 0 20px 60px rgba(6, 27, 58, 0.28);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 200ms ease, opacity 160ms ease;
}

.nav-toggle-bars {
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav.is-open .nav-toggle-bars { background: transparent; }
.nav.is-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand img {
  display: block;
}

.nav nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 32px);
}

.nav a,
.eyebrow,
.milestone-flow span,
.wallet-meta,
.wallet-doc-grid span {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  transition: color 160ms ease;
}

.nav nav a:hover {
  color: #fff;
}

.nav nav a[aria-current="true"] {
  color: #fff;
}

.nav nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
}

/* Leaves the site, so it reads as a chip rather than a section anchor. */
.nav .nav-foundation {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  padding: 9px 15px;
  border: 1px solid rgba(123, 220, 255, 0.36);
  border-radius: 999px;
  color: #fff;
  background: rgba(32, 184, 236, 0.12);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.nav .nav-foundation:hover {
  border-color: rgba(123, 220, 255, 0.8);
  background: rgba(32, 184, 236, 0.26);
}

.nav .nav-foundation svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}

/* It is not a page section, so it never takes the scrollspy underline. */
.nav .nav-foundation::after {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 52px) max(32px, calc((100vw - 1440px) / 2)) 118px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 36%, rgba(32, 184, 236, 0.22), transparent 28rem),
    radial-gradient(circle at 12% 18%, rgba(18, 123, 216, 0.18), transparent 24rem),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}

.hero::after,
.blue-section::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 118px;
  background: var(--paper);
  clip-path: ellipse(58% 68% at 50% 100%);
}

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.confetti i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.85;
  animation: drift 8s ease-in-out infinite;
}

/* Kept clear of the copy column — dots showing through letter gaps read as dust. */
.confetti i:nth-child(1) { left: 4%; top: 9%; background: #20b8ec; }
.confetti i:nth-child(2) { left: 14%; top: 88%; background: #7bdcff; animation-delay: -2s; }
.confetti i:nth-child(3) { left: 46%; top: 8%; background: #f26b5e; animation-delay: -4s; }
.confetti i:nth-child(4) { left: 57%; top: 84%; background: #20b8ec; animation-delay: -1s; }
.confetti i:nth-child(5) { left: 93%; top: 30%; background: #fff; animation-delay: -3s; }
.confetti i:nth-child(6) { left: 88%; top: 12%; background: #f6c65b; animation-delay: -5s; }
.confetti i:nth-child(7) { left: 96%; top: 66%; background: #20b8ec; animation-delay: -2.5s; }
.confetti i:nth-child(8) { left: 68%; top: 90%; background: #fff; animation-delay: -4.5s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(0.75); }
}

h1,
h2,
p {
  margin: 0;
}

.hero-grid {
  position: relative;
  z-index: 4;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: 100%;
}

.eyebrow {
  color: var(--cyan);
}

h1 {
  max-width: 610px;
  margin-top: 20px;
  font-size: clamp(40px, 3.6vw, 60px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  max-width: 520px;
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 7px 0 0;
  color: #fff;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 18px 44px rgba(8, 29, 72, 0.34);
}

.btn-primary:hover {
  background: #e8f8ff;
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  border-color: rgba(123, 220, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- live network diagram ---------- */

.net {
  position: relative;
  min-width: 0;
}

.net-frame {
  position: relative;
  width: 100%;
}

.net-graph {
  width: 100%;
  aspect-ratio: 520 / 380;
  display: block;
  overflow: visible;
}

.net-rings circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.net-core-halo {
  animation: netHalo 6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes netHalo {
  0%, 100% { opacity: 0.22; transform: scale(0.92); }
  50% { opacity: 0.42; transform: scale(1.04); }
}

.net-edge {
  fill: none;
  stroke: rgba(123, 220, 255, 0.30);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  transition: stroke 220ms ease;
}

.net-edge.is-hot {
  stroke: rgba(123, 220, 255, 0.75);
}

/* A short dash travelling the edge reads as a packet in flight. */
.net-packet {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}

.net-node circle {
  fill: #0b2f57;
  stroke: rgba(123, 220, 255, 0.55);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  transition: fill 240ms ease, stroke 240ms ease;
}

.net-node.is-hot circle {
  fill: var(--cyan);
  stroke: #fff;
}

.net-node.is-core circle {
  fill: #7bdcff;
  stroke: #fff;
  stroke-width: 2;
}

/* Scaled via transform (not the `r` attribute) so it animates in every engine. */
.net-pulse {
  fill: none;
  stroke: rgba(123, 220, 255, 0.9);
  stroke-width: 2;
  opacity: 0;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
}

.net-console {
  position: relative;
  margin-top: 22px;
  padding: 14px 16px 12px;
  border: 1px solid rgba(123, 220, 255, 0.22);
  border-radius: 14px;
  background: rgba(4, 18, 40, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(3, 12, 30, 0.5);
}

.net-console-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.net-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35d7a0;
  box-shadow: 0 0 0 4px rgba(53, 215, 160, 0.16);
  animation: netBlink 2.4s ease-in-out infinite;
}

@keyframes netBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.net-log {
  height: 84px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  line-height: 21px;
}

.net-log li {
  display: flex;
  gap: 10px;
  white-space: nowrap;
  animation: netLogIn 320ms ease-out;
}

@keyframes netLogIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.net-log .k {
  flex: 0 0 88px;
  color: var(--cyan);
  font-weight: 700;
}

.net-log .v {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  text-overflow: ellipsis;
}

.net-log .ok {
  color: #35d7a0;
}

/* Default to dark text on the paper background; the dark sections opt in to
   light text below. The reverse (light default + per-section opt-in) silently
   rendered white-on-white in any section nobody remembered to add. */
.hero-copy p:not(.eyebrow),
.section-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 24px;
  color: var(--soft);
  font-size: clamp(16px, 1.18vw, 20px);
  font-weight: 520;
  line-height: 1.55;
}

.hero-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.white-section,
.feature-split,
.mesh-section,
.pressure-section,
.stack-section,
.access-section,
.faq-section {
  position: relative;
  padding: clamp(92px, 12vw, 168px) max(24px, calc((100vw - 1440px) / 2));
  background: var(--paper);
}

/* ---------- dossier page ---------- */

.doc-hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 84px) max(32px, calc((100vw - 1440px) / 2)) 132px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 30%, rgba(32, 184, 236, 0.20), transparent 26rem),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}

.doc-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 110px;
  background: var(--paper);
  clip-path: ellipse(58% 68% at 50% 100%);
}

.doc-hero-copy {
  position: relative;
  z-index: 2;
  width: min(940px, 100%);
}

.doc-hero h1 {
  max-width: 820px;
  margin-top: 18px;
  font-size: clamp(36px, 3.9vw, 64px);
}

.doc-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.18vw, 20px);
  font-weight: 520;
  line-height: 1.55;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
}

.crumbs a {
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.crumbs a:hover {
  color: #fff;
}

.doc-section {
  position: relative;
  padding: clamp(72px, 8vw, 128px) max(24px, calc((100vw - 1440px) / 2));
  background: var(--paper);
}

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

.doc-num {
  margin-bottom: 22px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.doc-section .section-copy h2 {
  max-width: 900px;
}

.doc-sub {
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: clamp(32px, 3vw, 44px);
  border-top: 1px solid var(--line);
}

.doc-sub h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 830;
  letter-spacing: -0.04em;
  line-height: 1.14;
}

.doc-sub p {
  margin-top: 16px !important;
}

/* The dossier reuses .dions-proof on paper, so re-tone it for light ground. */
.doc-section .dions-proof {
  margin-top: clamp(40px, 4vw, 60px);
  border-top-color: var(--line);
}

.doc-section .dions-proof article {
  border-right-color: var(--line);
}

.doc-section .dions-proof span {
  color: var(--cyan);
}

.doc-section .dions-proof strong {
  color: var(--ink);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 4vw, 64px);
}

.doc-grid article {
  padding: 26px 24px 28px;
  border: 1px solid rgba(7, 17, 27, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.doc-grid article:hover {
  border-color: rgba(32, 184, 236, 0.4);
  box-shadow: 0 24px 58px rgba(7, 17, 27, 0.07);
  transform: translateY(-3px);
}

.doc-grid span {
  display: block;
  color: var(--cyan);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.doc-grid strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 830;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.doc-grid p {
  margin-top: 12px;
  color: var(--soft);
  font-size: 14.5px;
  font-weight: 540;
  line-height: 1.55;
}

.zone-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(40px, 4vw, 64px);
}

.zone-split article {
  padding: 32px 30px 34px;
  border: 1px solid rgba(7, 17, 27, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.zone-split strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(20px, 1.7vw, 27px);
  font-weight: 840;
  letter-spacing: -0.04em;
}

.zone-split ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.zone-split li {
  padding: 12px 0 12px 26px;
  position: relative;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.45;
}

.zone-split li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(40px, 4vw, 64px) 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
}

.metric-row > div {
  padding: 24px 22px;
  background: var(--paper);
}

.metric-row dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.metric-row dd {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(19px, 1.6vw, 26px);
  font-weight: 840;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.table-scroll {
  margin-top: clamp(40px, 4vw, 64px);
  overflow-x: auto;
}

.doc-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.doc-table th,
.doc-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.doc-table thead th {
  color: var(--cyan);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(32, 184, 236, 0.4);
}

.doc-table tbody th {
  width: 20%;
  color: var(--ink);
  font-size: 15px;
  font-weight: 830;
  letter-spacing: -0.02em;
}

.doc-table td {
  color: var(--soft);
  font-size: 14.5px;
  font-weight: 540;
  line-height: 1.5;
}

.doc-table tbody tr:last-child th,
.doc-table tbody tr:last-child td {
  border-bottom: 0;
}

/* The gate list is white-on-blue on the home page. These recolour it for the
   paper background, and must out-specify `.d2-gates li`, which is defined
   later in this file — order alone would lose. */
.doc-gates {
  margin-top: clamp(36px, 4vw, 56px);
}

.doc-section .doc-gates ol {
  width: min(940px, 100%);
}

.doc-section .doc-gates li {
  border-bottom-color: var(--line);
  color: var(--ink);
}

.doc-section .doc-gates li::before {
  color: var(--cyan);
}

.code-block {
  width: min(760px, 100%);
  margin: clamp(32px, 3.5vw, 48px) 0 0;
  padding: 24px 26px;
  overflow-x: auto;
  border: 1px solid rgba(7, 17, 27, 0.1);
  border-radius: 14px;
  background: #071b33;
  color: #cfe9ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.6;
}

.doc-section code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(32, 184, 236, 0.13);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

.code-block code {
  padding: 0;
  background: none;
  font-size: inherit;
}

.doc-section .wallet-doc-grid {
  margin-top: clamp(40px, 4vw, 60px);
}

@media (max-width: 980px) {
  .doc-grid,
  .zone-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .doc-hero {
    padding: calc(var(--nav-h) + 60px) 12px 104px;
  }

  .doc-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .doc-grid,
  .zone-split,
  .metric-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */

.faq-section {
  padding-top: clamp(40px, 5vw, 72px);
}

.faq-list {
  width: min(940px, 100%);
  margin-top: clamp(34px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: var(--ink);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.24;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 200ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg) translate(-3px, -3px);
}

.faq-list summary:hover {
  color: var(--blue);
}

.faq-list details p {
  max-width: 780px;
  margin: 0;
  padding: 0 0 26px;
  color: var(--soft);
  font-size: 16px;
  font-weight: 540;
  line-height: 1.62;
}

.faq-list details a {
  color: var(--blue);
  border-bottom: 1px solid rgba(18, 123, 216, 0.4);
}

.faq-list details a:hover {
  border-bottom-color: var(--blue);
}

.faq-list code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(32, 184, 236, 0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}

.story {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(360px, 0.58fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.section-copy h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(34px, 4.1vw, 68px);
  font-weight: 840;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-copy {
  position: relative;
  z-index: 2;
}

.white-section .section-copy p:not(.eyebrow),
.feature-split .section-copy p:not(.eyebrow),
.mesh-section .section-copy p:not(.eyebrow),
.access-section .section-copy p:not(.eyebrow) {
  position: relative;
  z-index: 1;
}

.milestone-flow {
  position: relative;
  display: grid;
  gap: 30px;
  padding-left: 52px;
}

.milestone-flow::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 7px;
  bottom: 7px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(18, 123, 216, 0.12));
}

.milestone-flow article {
  position: relative;
}

.milestone-flow article::before {
  content: "";
  position: absolute;
  left: -49px;
  top: 2px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 9px rgba(32, 184, 236, 0.09);
}

.milestone-flow span {
  display: block;
  color: var(--cyan);
}

.milestone-flow strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 840;
  letter-spacing: -0.04em;
}

/* ---------- archive: primary sources ---------- */

.archive {
  grid-column: 1 / -1;
  margin-top: clamp(72px, 8vw, 120px);
  padding-top: clamp(40px, 4vw, 60px);
  border-top: 1px solid var(--line);
}

.archive-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 40px;
}

.archive-head p:not(.eyebrow) {
  max-width: 560px;
  color: var(--soft);
  font-size: 16px;
  font-weight: 540;
  line-height: 1.55;
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: clamp(30px, 3vw, 44px) 0 0;
  padding: 0;
  list-style: none;
}

.archive-list a {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid rgba(7, 17, 27, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.archive-list a:hover,
.archive-list a:focus-visible {
  border-color: rgba(32, 184, 236, 0.42);
  box-shadow: 0 24px 58px rgba(7, 17, 27, 0.08);
  transform: translateY(-3px);
}

.archive-date {
  color: var(--cyan);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

.archive-list strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 830;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.archive-list p {
  margin-top: 12px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 540;
  line-height: 1.5;
}

.archive-list code {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(32, 184, 236, 0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  white-space: nowrap;
}

.archive-list em {
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink);
  font-style: normal;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.archive-list em::after {
  content: " →";
  color: var(--cyan);
}

.pressure-section {
  overflow: hidden;
}

.pressure-section::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(7, 17, 27, 0.16), transparent);
}

/* ---------- pressure: interconnected tubes ---------- */

.pressure-web {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.tube-wall {
  fill: none;
  stroke: rgba(7, 17, 27, 0.055);
  stroke-width: 22;
  stroke-linecap: round;
}

.tube-core {
  fill: none;
  stroke: url(#tube-grad);
  stroke-width: 13;
  stroke-linecap: round;
}

/* A specular line along the top of each tube sells the cylinder. */
.tube-gloss {
  fill: none;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 3;
  stroke-linecap: round;
  transform: translateY(-3px);
  opacity: 0.55;
}

.tube-flow {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0.9;
}

/* The ring is connective tissue, not the subject: thinner and quieter. */
.tube-wall.ring { stroke-width: 15; }
.tube-core.ring { stroke-width: 8; opacity: 0.5; }
.tube-gloss.ring { stroke-width: 2; opacity: 0.35; }
.tube-flow.ring { stroke-width: 2.6; opacity: 0.6; }

.tube-port {
  fill: var(--paper);
  stroke: var(--cyan);
  stroke-width: 2.5;
}

.hub-glow {
  fill: url(#hub-grad);
}

.hub-ring {
  fill: none;
  stroke: rgba(32, 184, 236, 0.35);
  stroke-width: 1.5;
}

.hub-disc {
  fill: var(--paper);
  stroke: var(--cyan);
  stroke-width: 2.5;
}

.hub-label {
  fill: var(--ink);
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-anchor: middle;
}

.hub-sub {
  fill: var(--muted);
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-anchor: middle;
  text-transform: uppercase;
}

.pressure-orbit article {
  z-index: 1;
}

.pressure-orbit {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  min-height: 560px;
  margin: 72px auto 0;
}

/* The tube web replaces the decorative ellipse that used to fill this space. */
.pressure-orbit::before {
  display: none;
}

.pressure-orbit article {
  position: absolute;
  width: min(300px, 34vw);
}

/* nth-of-type, not nth-child: the tube <svg> is a sibling and would shift the
   index of every card by one. */
.pressure-orbit article:nth-of-type(1) { left: 0; top: 10%; }
.pressure-orbit article:nth-of-type(2) { right: 3%; top: 0; }
.pressure-orbit article:nth-of-type(3) { left: 12%; bottom: 5%; }
.pressure-orbit article:nth-of-type(4) { right: 0; bottom: 14%; }

.pressure-orbit span,
.stack-river span {
  display: block;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pressure-orbit strong,
.stack-river strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 840;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.pressure-orbit p,
.stack-river p {
  margin-top: 14px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 540;
  line-height: 1.55;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(300px, 0.48fr) minmax(300px, 0.52fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.device-figure {
  min-height: 520px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(32, 184, 236, 0.12), transparent 19rem);
}

.phone-shell {
  position: relative;
  width: min(76vw, 280px);
  min-height: 440px;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(7, 17, 27, 0.12);
}

.phone-shell > span {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: #d8e8ef;
  transform: translateX(-50%);
}

.message {
  position: absolute;
  max-width: 210px;
  padding: 14px 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), #35d7a0);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: -0.01em;
  box-shadow: 0 20px 48px rgba(32, 184, 236, 0.24);
}

.message.one { left: -26px; top: 112px; }
.message.two { right: -34px; top: 220px; background: #fff; color: var(--ink); }
.message.three { left: 28px; bottom: 82px; }

.mesh-section {
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.mesh-art {
  position: absolute;
  inset: 10% 8%;
  opacity: 0.55;
}

.mesh-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(7, 17, 27, 0.08);
  border-radius: 50%;
  transform: rotate(-10deg) scaleY(0.38);
}

.mesh-art::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 12%;
  top: 45%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: rotate(-8deg);
}

.mesh-art i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 18px;
  height: 18px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 10px rgba(32, 184, 236, 0.08);
}

.center {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}

.center h2 {
  margin-left: auto;
  margin-right: auto;
}

.stack-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.38fr) minmax(360px, 0.62fr);
  gap: clamp(42px, 7vw, 108px);
  align-items: start;
}

.stack-river {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px clamp(28px, 4vw, 70px);
  padding-top: 20px;
}

.stack-river article {
  position: relative;
  min-height: 190px;
  padding-top: 24px;
}

.stack-river article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 3px;
  background: var(--cyan);
}

.blue-section {
  position: relative;
  display: block;
  padding: clamp(120px, 14vw, 190px) max(24px, calc((100vw - 1440px) / 2)) 220px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.20), transparent 22rem),
    linear-gradient(180deg, #1db4e4 0%, #128ad2 50%, #0c72c2 100%);
}

.blue-section::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  top: -1px;
  height: 120px;
  background: var(--paper);
  clip-path: ellipse(58% 68% at 50% 0);
}

.blue-section .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.blue-section .eyebrow {
  color: #dff7ff;
}

.dions-proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(72px, 8vw, 116px);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.dions-proof article {
  min-height: 112px;
  padding: 22px 22px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.dions-proof article:last-child {
  border-right: 0;
}

.dions-proof span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dions-proof strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: clamp(18px, 1.5vw, 25px);
  font-weight: 830;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

/* ---------- DIONS 2.0 dedicated section ---------- */

.d2-head {
  max-width: 860px;
}

.d2-head h2 {
  max-width: 900px;
  margin-top: 18px;
  font-size: clamp(34px, 4.1vw, 68px);
  font-weight: 840;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.d2-lede {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 540;
  line-height: 1.5;
}

.d2-head .hero-cta {
  margin-top: 36px;
}

.d2-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 34px;
  max-width: 780px;
  margin: 44px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.d2-status dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.d2-status dd {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.d2-anchor {
  max-width: 1000px;
  margin: clamp(64px, 7vw, 104px) 0 0;
  padding: 0 0 0 30px;
  border-left: 3px solid rgba(255, 255, 255, 0.5);
}

.d2-anchor p {
  color: #fff;
  font-size: clamp(20px, 2.1vw, 34px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.26;
  text-wrap: balance;
}

.d2-narrative {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(64px, 7vw, 100px);
}

.d2-narrative h3 {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.d2-narrative p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15.5px, 1.1vw, 18px);
  font-weight: 540;
  line-height: 1.6;
}

.d2-narrative p + p {
  margin-top: 18px;
}

.d2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(56px, 6vw, 90px);
}

.d2-grid article {
  padding: 28px 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 18px;
  background: rgba(6, 40, 78, 0.22);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.d2-grid article:hover {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(6, 40, 78, 0.36);
  transform: translateY(-3px);
}

.d2-ico {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #dff7ff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.d2-grid strong {
  display: block;
  margin-top: 20px;
  color: #fff;
  font-size: clamp(19px, 1.4vw, 24px);
  font-weight: 830;
  letter-spacing: -0.035em;
}

.d2-grid p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  font-weight: 540;
  line-height: 1.55;
}

/* ---------- AION ---------- */

.aion {
  margin-top: clamp(72px, 8vw, 120px);
  padding: clamp(36px, 4vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: rgba(4, 32, 66, 0.30);
}

.aion-head {
  max-width: 780px;
}

.aion-head h3 {
  margin: 16px 0 0;
  font-size: clamp(28px, 2.9vw, 44px);
  font-weight: 840;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.aion-head p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 540;
  line-height: 1.55;
}

.aion-head strong {
  color: #fff;
  font-weight: 800;
}

.aion-triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(34px, 4vw, 52px);
  counter-reset: aion;
}

.aion-triad article {
  position: relative;
  padding-top: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.42);
}

.aion-triad span {
  display: block;
  color: #fff;
  font-size: clamp(20px, 1.7vw, 27px);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.aion-triad p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 540;
  line-height: 1.5;
}

.aion-note {
  max-width: 900px;
  margin-top: clamp(32px, 3.5vw, 48px);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.1vw, 17.5px);
  font-weight: 540;
  line-height: 1.6;
}

.aion-note strong {
  color: #fff;
  font-weight: 830;
}

/* ---------- December release ---------- */

.d2-release {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 84px);
  margin-top: clamp(72px, 8vw, 120px);
  padding-top: clamp(40px, 4vw, 60px);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.d2-release-head h3 {
  margin: 16px 0 0;
  font-size: clamp(28px, 2.9vw, 44px);
  font-weight: 840;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.d2-release-head p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 540;
  line-height: 1.55;
}

.d2-pull {
  margin-top: 26px !important;
  padding: 20px 24px;
  border-left: 3px solid #fff;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.10);
  color: #fff !important;
  font-weight: 720 !important;
  letter-spacing: -0.015em;
}

.d2-gates ol {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: gate;
}

.d2-gates li {
  display: flex;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 620;
  line-height: 1.35;
  counter-increment: gate;
}

.d2-gates li::before {
  content: counter(gate, decimal-leading-zero);
  color: #dff7ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.9;
  font-variant-numeric: tabular-nums;
}

/* ---------- differentiators ---------- */

.d2-diff {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px clamp(28px, 4vw, 60px);
  margin-top: clamp(72px, 8vw, 110px);
}

.d2-diff article {
  padding-top: 22px;
  border-top: 2px solid rgba(255, 255, 255, 0.34);
}

.d2-diff strong {
  display: block;
  color: #fff;
  font-size: clamp(19px, 1.5vw, 25px);
  font-weight: 830;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.d2-diff p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 540;
  line-height: 1.55;
}

.d2-footnote {
  margin-top: clamp(56px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.d2-footnote a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.d2-footnote a:hover {
  border-bottom-color: #fff;
}

/* ---------- DIONS Virtual Machine ---------- */

.dvm {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  margin-top: clamp(72px, 8vw, 118px);
}

.dvm-head {
  max-width: 720px;
}

.dvm-head h3 {
  margin: 16px 0 0;
  font-size: clamp(28px, 2.9vw, 46px);
  font-weight: 840;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.dvm-head p {
  max-width: 640px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 520;
  line-height: 1.55;
}

.dvm-quote {
  max-width: 760px;
  margin: clamp(36px, 4vw, 56px) 0 0;
  padding: 26px 0 26px 28px;
  border-left: 2px solid rgba(255, 255, 255, 0.42);
}

.dvm-quote p {
  color: #fff;
  font-size: clamp(18px, 1.7vw, 27px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.32;
  text-wrap: balance;
}

.dvm-quote cite {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dvm-quote cite a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.dvm-quote cite a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.dvm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 4vw, 60px);
}

.dvm-grid article {
  padding: 26px 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 16px;
  background: rgba(6, 40, 78, 0.24);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.dvm-grid article:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(6, 40, 78, 0.38);
  transform: translateY(-3px);
}

.dvm-grid span {
  display: block;
  color: #dff7ff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dvm-grid strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(19px, 1.35vw, 23px);
  font-weight: 830;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.dvm-grid p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  font-weight: 540;
  line-height: 1.55;
}

abbr[title] {
  text-decoration: underline dotted currentColor;
  text-underline-offset: 3px;
  cursor: help;
}

.access-section {
  padding-top: 120px;
  background:
    radial-gradient(circle at 78% 8%, rgba(32, 184, 236, 0.10), transparent 25rem),
    var(--paper);
}

.wallet-heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.48fr) minmax(300px, 0.52fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: end;
}

.wallet-heading > p {
  max-width: 650px;
  color: var(--soft);
  font-size: clamp(17px, 1.25vw, 22px);
  font-weight: 520;
  line-height: 1.55;
}

.wallet-primary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 72px;
}

.wallet-card {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
  overflow: hidden;
  border: 1px solid rgba(7, 17, 27, 0.10);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.68)),
    radial-gradient(circle at 10% 0%, rgba(32, 184, 236, 0.16), transparent 16rem);
  box-shadow: 0 28px 80px rgba(7, 17, 27, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wallet-card:hover,
.wallet-card:focus-visible {
  border-color: rgba(32, 184, 236, 0.42);
  box-shadow: 0 34px 90px rgba(7, 17, 27, 0.12);
  transform: translateY(-4px);
}

.wallet-card-boot {
  background:
    linear-gradient(180deg, rgba(8, 29, 72, 0.95), rgba(8, 29, 72, 0.88)),
    radial-gradient(circle at 16% 0%, rgba(32, 184, 236, 0.30), transparent 16rem);
  color: #fff;
}

.wallet-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(32, 184, 236, 0.34);
  border-radius: 20px;
  color: var(--cyan);
  background: rgba(32, 184, 236, 0.08);
}

.wallet-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.windows-mark svg {
  fill: currentColor;
  stroke: none;
}

.wallet-meta {
  display: block;
  margin-bottom: 26px;
  color: var(--cyan);
}

.wallet-card strong {
  display: block;
  color: var(--ink);
  font-size: clamp(25px, 2.2vw, 38px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.wallet-card-boot strong {
  color: #fff;
}

.wallet-card p {
  max-width: 250px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 16px;
  font-weight: 560;
  line-height: 1.5;
}

.wallet-card-boot p {
  color: rgba(255, 255, 255, 0.72);
}

.wallet-card em {
  margin-top: auto;
  padding-top: 32px;
  color: var(--ink);
  font-style: normal;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.wallet-card-boot em {
  color: #fff;
}

.wallet-doc-grid {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 56px auto 0;
}

.wallet-doc-grid a {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
  border: 1px solid rgba(7, 17, 27, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 20px 54px rgba(7, 17, 27, 0.045);
  font-size: clamp(18px, 1.25vw, 22px);
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.14;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wallet-doc-grid a:hover,
.wallet-doc-grid a:focus-visible {
  border-color: rgba(32, 184, 236, 0.36);
  box-shadow: 0 26px 62px rgba(7, 17, 27, 0.075);
  transform: translateY(-3px);
}

.wallet-doc-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--cyan);
}

.wallet-doc-grid strong {
  display: block;
  max-width: 260px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(170px, 1fr));
  gap: clamp(28px, 5vw, 78px);
  padding: 72px max(24px, calc((100vw - 1440px) / 2)) 38px;
  color: #dbefff;
  background:
    radial-gradient(circle at 16% 0%, rgba(32, 184, 236, 0.20), transparent 26rem),
    linear-gradient(180deg, #0c72c2 0%, #061b3a 100%);
}

.footer .brand {
  color: #fff;
}

.footer p {
  max-width: 260px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.5;
}

.footer h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer a:not(.brand) {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.footer a:hover,
.footer a:focus-visible {
  color: #fff;
}

.copyright {
  grid-column: 1 / -1;
  max-width: none !important;
  margin-top: 34px !important;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 980px) {
  .story,
  .feature-split,
  .blue-section,
  .stack-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-copy {
    width: min(720px, 100%);
  }

  .net-frame {
    max-width: 560px;
  }

  .dvm-grid,
  .archive-list,
  .d2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .d2-narrative,
  .d2-release {
    grid-template-columns: 1fr;
  }

  /* The four fixed min-width footer columns need ~750px and were overflowing
     the viewport between the 680px and 980px breakpoints. */
  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wallet-heading {
    grid-template-columns: 1fr;
  }

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

  .pressure-orbit {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 34px;
  }

  /* Cards become a plain grid here, so there is nothing to interconnect. */
  .pressure-web {
    display: none;
  }

  .pressure-orbit article {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: auto;
  }
}

/* Seven items plus the brand stop fitting the pill before the phone
   breakpoint, so the menu collapses on its own schedule. */
@media (max-width: 960px) {
  .nav {
    flex-wrap: wrap;
    align-items: center;
    width: calc(100% - 24px);
    gap: 12px;
    min-height: 0;
    padding: 10px 10px 10px 16px;
    border-radius: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    padding: 6px 6px 10px;
  }

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

  .nav nav a {
    padding: 11px 8px;
    border-radius: 10px;
  }

  .nav nav a[aria-current="true"] {
    background: rgba(32, 184, 236, 0.16);
  }

  .nav nav a[aria-current="true"]::after {
    display: none;
  }

  .nav .nav-foundation {
    justify-content: space-between;
    margin: 6px 0 0;
    padding: 12px 15px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 100svh;
    padding: calc(var(--nav-h) + 60px) 12px 112px;
  }

  /* The copy spans the full width here, so there is nowhere for the dots to
     sit without landing on text. */
  .confetti {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero-facts {
    gap: 16px 20px;
    margin-top: 30px;
    padding-top: 24px;
  }

  .hero-cta {
    margin-top: 30px;
  }

  .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .net-console {
    margin-top: 16px;
  }

  .net-graph {
    aspect-ratio: 520 / 300;
  }

  .net-log {
    font-size: 10.5px;
  }

  .net-log .k {
    flex-basis: 74px;
  }

  h1 {
    font-size: 34px;
  }

  .section-copy h2 {
    font-size: 29px;
    line-height: 1.08;
  }

  .hero-copy p:not(.eyebrow),
  .section-copy p:not(.eyebrow) {
    font-size: 15.5px;
  }

  .wallet-primary-grid,
  .wallet-doc-grid {
    grid-template-columns: 1fr;
  }

  .wallet-card {
    min-height: 310px;
  }

  .white-section,
  .feature-split,
  .mesh-section,
  .pressure-section,
  .stack-section,
  .access-section,
  .faq-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pressure-orbit,
  .stack-river {
    grid-template-columns: 1fr;
  }

  .device-figure {
    min-height: 430px;
  }

  .blue-section {
    grid-template-columns: 1fr;
    min-height: 860px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .dions-proof,
  .dvm-grid,
  .archive-list,
  .d2-grid,
  .d2-status,
  .aion-triad,
  .d2-diff,
  .footer {
    grid-template-columns: 1fr;
  }

  .aion {
    padding: 26px 20px 30px;
  }

  .d2-anchor {
    padding-left: 20px;
  }

  .dvm-quote {
    padding-left: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  /* Never let a reveal leave content stuck at opacity 0. */
  .reveal.reveal {
    opacity: 1;
    transform: none;
  }
}