/*
 * Dareiff corporate landing page
 * Brand direction: intelligent competition, visible rules, verifiable outcomes.
 */

:root {
  --ink: #05070b;
  --ink-soft: #090d15;
  --navy: #0b245b;
  --navy-deep: #07152f;
  --navy-bright: #173c79;
  --signal: #ff3b3f;
  --signal-dark: #c9151b;
  --ice: #f4f7fb;
  --paper: #ffffff;
  --mist: #dce3ed;
  --steel: #aeb5bf;
  --slate: #667184;
  --line-light: rgba(10, 28, 68, 0.14);
  --line-dark: rgba(255, 255, 255, 0.13);
  --font-sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", Inter, "Helvetica Neue", Arial, sans-serif;
  --shell: 82rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-space: clamp(5.5rem, 10vw, 9.5rem);
  --header-height: 5.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-dark: 0 2rem 5rem rgba(0, 0, 0, 0.34);
  --shadow-light: 0 1.75rem 4rem rgba(7, 21, 47, 0.11);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  background: var(--ink);
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  color: var(--navy-deep);
  background: var(--ice);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

main,
section,
footer,
header {
  display: block;
}

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

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

a {
  text-decoration: none;
}

p,
h1,
h2,
h3,
blockquote {
  margin-top: 0;
}

::selection {
  color: var(--paper);
  background: var(--signal-dark);
}

:focus-visible {
  outline: 0.2rem solid var(--signal);
  outline-offset: 0.28rem;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(0.75rem, env(safe-area-inset-left));
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--signal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, calc(var(--shell) + (2 * var(--gutter))));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-light {
  color: var(--navy-deep);
  background: var(--ice);
}

.section-dark {
  color: var(--paper);
  background: var(--navy-deep);
}

.section-ink {
  color: var(--paper);
  background: var(--ink);
}

/* Header and navigation */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  min-height: calc(var(--header-height) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.site-header.is-scrolled,
.site-header:has(.primary-nav.is-open) {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 11, 0.9);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(1rem) saturate(125%);
  backdrop-filter: blur(1rem) saturate(125%);
}

.nav-shell {
  display: flex;
  width: min(100%, calc(var(--shell) + (2 * var(--gutter))));
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--gutter);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
  width: clamp(8.3rem, 12vw, 10.5rem);
  min-height: 2.75rem;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: clamp(0.75rem, 1.35vw, 1.35rem);
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 0.125rem;
  background: var(--signal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--paper);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  padding: 0;
  place-items: center;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  position: absolute;
  width: 1.2rem;
  height: 0.125rem;
  background: currentColor;
  transition: transform 220ms ease;
}

.menu-toggle > span:nth-of-type(2) {
  transform: translateY(-0.25rem);
}

.menu-toggle > span:nth-of-type(3) {
  transform: translateY(0.25rem);
}

.menu-toggle.is-open > span:nth-of-type(2) {
  transform: rotate(45deg);
}

.menu-toggle.is-open > span:nth-of-type(3) {
  transform: rotate(-45deg);
}

/* Shared actions and typography */

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 3.35rem;
  padding: 0.9rem 1.45rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.085em;
  line-height: 1.1;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 0.72rem) 0, 100% 0.72rem, 100% 100%, 0.72rem 100%, 0 calc(100% - 0.72rem));
  transition:
    transform 220ms var(--ease-out),
    color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  content: "";
  transform: translateX(-105%) skewX(-18deg);
  transition: transform 420ms var(--ease-out);
}

.button:hover {
  transform: translateY(-0.18rem);
}

.button:hover::before {
  transform: translateX(0) skewX(0);
}

.button-primary {
  color: var(--paper);
  background: var(--signal-dark);
  box-shadow: 0 0.9rem 2.3rem rgba(245, 34, 36, 0.2);
}

.button-primary:hover {
  background: #b51017;
  box-shadow: 0 1.1rem 2.8rem rgba(245, 34, 36, 0.3);
}

.button-light {
  color: var(--navy-deep);
  background: var(--paper);
}

.button-light:hover {
  color: var(--paper);
  background: var(--signal-dark);
}

.button-dark {
  color: var(--paper);
  background: var(--navy-deep);
}

.button-dark:hover {
  background: var(--signal-dark);
}

.button-small {
  min-height: 2.7rem;
  padding: 0.72rem 1.05rem;
  font-size: 0.69rem;
}

.button-large {
  min-height: 4.25rem;
  padding-inline: clamp(1.6rem, 4vw, 2.5rem);
  font-size: 0.85rem;
}

.button-arrow {
  font-size: 1.15rem;
  line-height: 0;
  transition: transform 220ms var(--ease-out);
}

.button:hover .button-arrow {
  transform: translate(0.18rem, -0.18rem);
}

.text-link,
.inline-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.text-link {
  color: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.text-link:hover {
  color: var(--paper);
  border-color: var(--signal);
}

.inline-link {
  margin-top: 1.15rem;
  color: var(--navy-deep);
  border-bottom: 1px solid rgba(10, 28, 68, 0.24);
}

.inline-link span {
  color: var(--signal);
  transition: transform 180ms ease;
}

.inline-link:hover {
  border-color: var(--signal);
}

.inline-link:hover span {
  transform: translateX(0.25rem);
}

.eyebrow,
.section-index,
.section-kicker,
.micro-label,
.step-state,
.side-label,
.signal-chip,
.network-pill {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-intro {
  display: flex;
  margin-bottom: clamp(2rem, 4vw, 3.6rem);
  align-items: center;
  gap: 1.25rem;
}

.section-intro::after {
  width: min(9rem, 12vw);
  height: 1px;
  background: var(--line-light);
  content: "";
}

.section-index,
.section-kicker {
  margin: 0;
  font-size: 0.67rem;
}

.section-index {
  color: var(--signal);
}

.section-light .section-index {
  color: var(--signal-dark);
}

.section-kicker {
  color: var(--slate);
}

.section-intro-dark::after {
  background: var(--line-dark);
}

.section-intro-dark .section-kicker,
.section-index-light {
  color: rgba(255, 255, 255, 0.58);
}

.display-title {
  margin-bottom: 0;
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.6vw, 6.4rem);
  font-stretch: condensed;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.89;
  text-wrap: balance;
  text-transform: uppercase;
}

.display-title span {
  display: block;
  color: var(--signal);
  font-style: italic;
  font-weight: 800;
}

.display-title-light {
  color: var(--paper);
}

.lead-copy {
  color: var(--navy-deep);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 520;
  letter-spacing: -0.018em;
  line-height: 1.5;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: max(47rem, 100svh);
  padding-top: calc(var(--header-height) + clamp(3rem, 7vh, 5.5rem) + env(safe-area-inset-top));
  padding-bottom: clamp(5.5rem, 10vh, 8.5rem);
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 42%, rgba(23, 60, 121, 0.27), transparent 31%),
    linear-gradient(118deg, var(--navy-deep) 0%, #050a16 56%, var(--ink) 100%);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 61%, rgba(245, 34, 36, 0.055) 61% 61.15%, transparent 61.15%);
  content: "";
}

.hero-grid,
.closing-grid {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-position: center;
  background-size: clamp(4rem, 7vw, 7.5rem) clamp(4rem, 7vw, 7.5rem);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-collision {
  position: absolute;
  z-index: -1;
  width: 30rem;
  height: 5rem;
  opacity: 0.5;
  background: linear-gradient(90deg, transparent, currentColor 42%, transparent 70%);
  filter: blur(0.2px);
  transform: rotate(-38deg);
}

.collision-one {
  top: 18%;
  right: -9rem;
  color: rgba(245, 34, 36, 0.14);
}

.collision-two {
  bottom: 17%;
  left: -12rem;
  color: rgba(63, 111, 195, 0.15);
  transform: rotate(-38deg) scaleX(1.4);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(25rem, 0.97fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 45rem;
}

.eyebrow {
  display: flex;
  margin-bottom: 1.7rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.63);
  font-size: clamp(0.61rem, 0.8vw, 0.7rem);
}

.eyebrow > span {
  width: 0.25rem;
  height: 0.25rem;
  background: var(--signal);
  transform: rotate(45deg);
}

.hero-title {
  max-width: 11ch;
  margin-bottom: 1.7rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(4rem, 7.7vw, 7.8rem);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.79;
  text-transform: uppercase;
}

.hero-title span,
.hero-title em {
  display: block;
}

.hero-title span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.69em;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero-title em {
  position: relative;
  width: max-content;
  color: var(--signal);
  font-style: italic;
  font-weight: 850;
}

.hero-title em::after {
  position: absolute;
  right: -0.25rem;
  bottom: -0.18rem;
  left: 0.2rem;
  height: 0.16rem;
  background: var(--signal);
  content: "";
  transform: skewX(-35deg);
}

.hero-lead {
  max-width: 41rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.71);
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  margin-bottom: 1.15rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem 1.7rem;
}

.demo-note {
  max-width: 43rem;
  margin-bottom: clamp(2.4rem, 4.5vw, 3.6rem);
  padding: 0.85rem 1rem;
  color: rgba(255, 255, 255, 0.62);
  border-left: 0.14rem solid var(--signal);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.76rem;
  line-height: 1.55;
}

.demo-note strong {
  color: var(--paper);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--line-dark);
  gap: 1.25rem;
  list-style: none;
}

.hero-proof li {
  position: relative;
  min-width: 0;
  padding-left: 0.85rem;
  border-left: 0.14rem solid rgba(245, 34, 36, 0.72);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 0.3rem;
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.71rem;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 37rem;
  place-items: center;
  perspective: 75rem;
}

/* Hero flow: the landing's primary explanation, not a decorative mockup. */

.hero-flow {
  display: block;
  min-height: 0;
  padding: clamp(1.1rem, 2.5vw, 1.65rem);
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 82% 14%, rgba(245, 34, 36, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(23, 60, 121, 0.72), rgba(5, 7, 11, 0.97) 52%);
  box-shadow: var(--shadow-dark);
  clip-path: polygon(0 0, calc(100% - 1.3rem) 0, 100% 1.3rem, 100% 100%, 1.3rem 100%, 0 calc(100% - 1.3rem));
  transform: rotateY(-3deg) rotateX(1deg);
}

.hero-flow::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 2.7rem 2.7rem;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.flow-heading,
.flow-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-heading {
  padding-bottom: 1rem;
  color: rgba(255, 255, 255, 0.58);
  border-bottom: 1px solid var(--line-dark);
}

.flow-heading strong { color: var(--paper); margin-left: auto; font-size: 0.56rem; }

.flow-steps {
  position: relative;
  display: grid;
  margin: 0;
  padding: clamp(1.7rem, 4vw, 2.8rem) 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  list-style: none;
}

.flow-steps::before {
  position: absolute;
  top: 4.25rem;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 34, 36, 0.15), var(--signal), rgba(255, 255, 255, 0.16));
  content: "";
}

.flow-steps li { position: relative; z-index: 1; min-width: 0; text-align: center; }
.flow-number { display: block; margin-bottom: 0.5rem; color: rgba(255,255,255,.43); font-size: .55rem; font-weight: 800; letter-spacing: .1em; }
.flow-icon { display: grid; width: 3.5rem; height: 3.5rem; margin: 0 auto 0.95rem; place-items: center; color: var(--paper); border: 1px solid rgba(255,255,255,.23); border-radius: 50%; background: var(--navy-deep); box-shadow: 0 0 0 0.35rem rgba(5,7,11,.72), 0 0 1.8rem rgba(245,34,36,.12); font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; }
.flow-steps li:nth-child(2) .flow-icon { color: var(--signal); border-color: rgba(245,34,36,.72); }
.flow-steps li:nth-child(3) .flow-icon { color: #a9c2ff; }
.flow-steps li:nth-child(4) .flow-icon { color: var(--paper); border-color: var(--signal); background: var(--signal-dark); }
.flow-steps strong { display: block; margin-bottom: .35rem; color: var(--paper); font-family: var(--font-display); font-size: clamp(.9rem, 1.5vw, 1.18rem); font-weight: 850; letter-spacing: -.01em; text-transform: uppercase; }
.flow-steps p { max-width: 8.5rem; margin: 0 auto; color: rgba(255,255,255,.52); font-size: .68rem; line-height: 1.45; }
.flow-footer { padding-top: 1rem; color: rgba(255,255,255,.6); border-top: 1px solid var(--line-dark); justify-content: center; }
.flow-footer strong { color: var(--paper); }
.flow-footer i { width: 1.6rem; height: 1px; background: var(--signal); }

.hero-visual::before {
  position: absolute;
  z-index: -2;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 34, 36, 0.1), rgba(23, 60, 121, 0.08) 44%, transparent 70%);
  content: "";
  filter: blur(0.35rem);
}

.visual-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.visual-orbit::before,
.visual-orbit::after {
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid var(--signal);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 1.2rem rgba(245, 34, 36, 0.65);
  content: "";
}

.visual-orbit::before {
  top: 16%;
  right: 8%;
}

.visual-orbit::after {
  bottom: 10%;
  left: 14%;
}

.orbit-one {
  width: 33rem;
  height: 30rem;
}

.orbit-two {
  width: 27rem;
  height: 24rem;
  opacity: 0.58;
  transform: rotate(21deg);
}

.challenge-card {
  position: relative;
  width: min(100%, 31rem);
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), transparent 34%),
    linear-gradient(150deg, rgba(10, 28, 68, 0.98), rgba(5, 7, 11, 0.97));
  box-shadow: var(--shadow-dark);
  transform: rotateY(-4deg) rotateX(1.5deg);
  clip-path: polygon(0 0, calc(100% - 1.4rem) 0, 100% 1.4rem, 100% 100%, 1.4rem 100%, 0 calc(100% - 1.4rem));
}

.challenge-card::before {
  position: absolute;
  top: 0;
  right: 17%;
  width: 5rem;
  height: 0.13rem;
  background: var(--signal);
  box-shadow: 0 0 1rem rgba(245, 34, 36, 0.7);
  content: "";
}

.challenge-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(115deg, transparent 48%, rgba(255, 255, 255, 0.035) 48% 48.2%, transparent 48.2%);
  content: "";
}

.challenge-topline {
  display: flex;
  padding-bottom: 1.15rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line-dark);
}

.challenge-topline > div span,
.challenge-topline > div strong {
  display: block;
}

.micro-label {
  margin-bottom: 0.2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.55rem;
}

.challenge-topline strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.035em;
}

.network-pill {
  display: inline-flex;
  min-height: 1.75rem;
  padding: 0.2rem 0.65rem;
  align-items: center;
  color: var(--paper);
  border: 1px solid rgba(245, 34, 36, 0.55);
  background: rgba(245, 34, 36, 0.12);
  font-size: 0.54rem;
}

.versus-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding-block: 1.35rem;
  align-items: center;
  gap: clamp(0.35rem, 1.2vw, 0.8rem);
}

.side-card {
  position: relative;
  min-width: 0;
  padding: 1rem 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.side-card::after {
  position: absolute;
  right: -1.25rem;
  bottom: -1.4rem;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  content: "";
  transform: rotate(45deg);
}

.side-a {
  border-top-color: rgba(137, 169, 226, 0.4);
}

.side-b::after {
  border-color: rgba(245, 34, 36, 0.16);
}

.side-label {
  display: block;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.52rem;
}

.avatar {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  margin: 0 auto 0.7rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 900;
}

.avatar-a {
  border-color: rgba(137, 169, 226, 0.52);
}

.avatar-b {
  border-color: rgba(245, 34, 36, 0.5);
  background: rgba(245, 34, 36, 0.11);
}

.side-card strong,
.side-card small {
  display: block;
}

.side-card strong {
  overflow: hidden;
  margin-bottom: 0.15rem;
  font-size: 0.73rem;
  letter-spacing: 0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-card small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
}

.versus-mark {
  position: relative;
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
}

.versus-mark span {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(245, 34, 36, 0.6);
  background: rgba(5, 7, 11, 0.94);
  transform: rotate(45deg);
}

.versus-mark b {
  position: relative;
  z-index: 1;
  color: var(--signal);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
}

.contract-rule {
  display: flex;
  padding: 0.85rem;
  align-items: center;
  gap: 0.8rem;
  border-left: 0.14rem solid var(--signal);
  background: rgba(255, 255, 255, 0.045);
}

.rule-icon {
  position: relative;
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transform: rotate(45deg);
}

.rule-icon::before {
  position: absolute;
  width: 0.55rem;
  height: 0.28rem;
  border-bottom: 0.13rem solid var(--signal);
  border-left: 0.13rem solid var(--signal);
  content: "";
  transform: translate(0.48rem, 0.53rem) rotate(-90deg);
}

.contract-rule small,
.contract-rule strong {
  display: block;
}

.contract-rule small {
  margin-bottom: 0.12rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contract-rule strong {
  font-size: 0.68rem;
  line-height: 1.4;
}

.status-track {
  display: grid;
  margin: 0;
  padding: 1.35rem 0 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  counter-reset: none;
}

.status-track li {
  position: relative;
  display: grid;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.5rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  transition: color 260ms ease;
}

.status-track li::before {
  position: absolute;
  z-index: 0;
  top: 0.23rem;
  right: 50%;
  left: -50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
  content: "";
  transition: background-color 260ms ease;
}

.status-track li:first-child::before {
  display: none;
}

.status-track li > span {
  position: relative;
  z-index: 1;
  width: 0.52rem;
  height: 0.52rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: var(--navy-deep);
  transition:
    border-color 260ms ease,
    background-color 260ms ease,
    box-shadow 260ms ease;
}

.status-track li.is-active {
  color: rgba(255, 255, 255, 0.76);
}

.status-track li.is-active::before {
  background: rgba(245, 34, 36, 0.62);
}

.status-track li.is-active > span {
  border-color: var(--signal);
  background: var(--signal);
}

.status-track li.is-current > span {
  box-shadow: 0 0 0 0.3rem rgba(245, 34, 36, 0.13), 0 0 1rem rgba(245, 34, 36, 0.8);
}

.signal-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  padding: 0.65rem 0.8rem;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 7, 11, 0.76);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(0.75rem);
  backdrop-filter: blur(0.75rem);
  font-size: 0.52rem;
}

.signal-chip::after {
  position: absolute;
  width: 2.2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.19);
  content: "";
}

.chip-top {
  top: 7%;
  right: -0.5rem;
}

.chip-top::after {
  right: 100%;
  bottom: 50%;
}

.chip-bottom {
  bottom: 7%;
  left: -1rem;
  display: grid;
}

.chip-bottom::after {
  bottom: 50%;
  left: 100%;
}

.chip-bottom span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.45rem;
}

.chip-bottom b {
  color: var(--paper);
  font-size: 0.56rem;
}

.signal-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0.25rem rgba(245, 34, 36, 0.12), 0 0 1rem rgba(245, 34, 36, 0.75);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  min-width: 3.5rem;
  min-height: 3.5rem;
  align-items: center;
  flex-direction: column;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 1.8rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.19);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  width: 1px;
  height: 100%;
  background: var(--signal);
  content: "";
  animation: scroll-line 2.1s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(0); }
  55%, 100% { transform: translateY(200%); }
}

/* Manifesto */

.manifesto {
  position: relative;
  padding-block: var(--section-space);
  overflow: hidden;
}

.manifesto::before {
  position: absolute;
  top: -5rem;
  right: -7rem;
  width: 24rem;
  height: 9rem;
  border-top: 1px solid rgba(10, 28, 68, 0.1);
  border-bottom: 1px solid rgba(10, 28, 68, 0.1);
  content: "";
  transform: rotate(-35deg);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(18rem, 0.62fr);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.manifesto-copy {
  max-width: 34rem;
}

.manifesto-copy > p:not(.lead-copy) {
  color: var(--slate);
  font-size: 0.97rem;
}

.principles-grid {
  display: grid;
  margin-top: clamp(4.5rem, 8vw, 7rem);
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.principle-card {
  position: relative;
  min-height: 21rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  overflow: hidden;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.26);
  transition:
    color 300ms ease,
    background-color 300ms ease,
    transform 300ms var(--ease-out),
    box-shadow 300ms ease;
}

.principle-card:hover {
  z-index: 1;
  background: var(--paper);
  box-shadow: var(--shadow-light);
  transform: translateY(-0.4rem);
}

.principle-card::after {
  position: absolute;
  right: -2.5rem;
  bottom: -4.4rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(10, 28, 68, 0.09);
  content: "";
  transform: rotate(45deg);
}

.principle-card-accent {
  color: var(--paper);
  border-color: var(--navy-deep);
  background: var(--navy-deep);
}

.principle-card-accent:hover {
  color: var(--paper);
  background: #0d2557;
}

.principle-card-accent::after {
  border-color: rgba(245, 34, 36, 0.28);
}

.card-number {
  display: block;
  margin-bottom: 3.4rem;
  color: var(--signal-dark);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.principle-card h3 {
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-transform: uppercase;
}

.principle-card p {
  max-width: 22rem;
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.principle-card-accent p {
  color: rgba(255, 255, 255, 0.58);
}

.line-icon {
  position: relative;
  display: block;
  width: 4.4rem;
  height: 3.3rem;
  margin-bottom: 2rem;
  color: var(--navy-deep);
}

.principle-card-accent .line-icon {
  color: var(--paper);
}

.icon-peers i {
  position: absolute;
  top: 0;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.icon-peers i:first-child {
  left: 0;
}

.icon-peers i:last-child {
  right: 0;
  border-color: var(--signal);
}

.icon-peers::after {
  position: absolute;
  right: 0.7rem;
  bottom: 0;
  left: 0.7rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.icon-rules {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.45rem;
}

.icon-rules i {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.35rem;
  background: currentColor;
}

.icon-rules i::before {
  position: absolute;
  top: -0.28rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--signal);
  border-radius: 50%;
  background: var(--ice);
  content: "";
}

.icon-rules i:nth-child(1)::before { left: 20%; }
.icon-rules i:nth-child(2)::before { left: 64%; }
.icon-rules i:nth-child(3)::before { left: 39%; }

.icon-proof {
  display: grid;
  place-items: center;
}

.icon-proof i {
  position: relative;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.icon-proof i::after {
  position: absolute;
  top: 0.65rem;
  left: 0.62rem;
  width: 0.95rem;
  height: 0.5rem;
  border-bottom: 0.13rem solid var(--signal);
  border-left: 0.13rem solid var(--signal);
  content: "";
  transform: rotate(-90deg);
}

/* Journey */

.how {
  position: relative;
  padding-block: var(--section-space);
  overflow: hidden;
}

.how::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 31vw;
  height: 100%;
  opacity: 0.18;
  background: linear-gradient(145deg, transparent 0 45%, var(--navy-bright) 45% 45.2%, transparent 45.2% 67%, var(--signal) 67% 67.2%, transparent 67.2%);
  content: "";
}

.how-heading {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, 0.45fr);
  align-items: end;
  column-gap: clamp(2rem, 7vw, 7rem);
}

.how-heading .section-intro {
  grid-column: 1 / -1;
}

.how-summary {
  max-width: 25rem;
  margin: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.5;
}

.journey {
  position: relative;
  display: grid;
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.journey-line {
  position: absolute;
  top: 2rem;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.journey-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--signal), #fe7779);
  transform: scaleX(0);
  transform-origin: left;
}

.journey.is-progressing .journey-line span {
  animation: journey-progress 2.2s 350ms var(--ease-out) forwards;
}

@keyframes journey-progress {
  to { transform: scaleX(1); }
}

.journey-step {
  position: relative;
  z-index: 1;
  padding-inline: clamp(0.65rem, 2vw, 1.6rem);
  text-align: center;
}

.journey-marker {
  display: grid;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 2rem;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  transition:
    border-color 240ms ease,
    color 240ms ease,
    transform 240ms var(--ease-out);
}

.journey-step:hover .journey-marker {
  color: var(--paper);
  border-color: var(--signal);
  transform: scale(1.08);
}

.journey-marker-final {
  color: var(--paper);
  border-color: var(--signal);
  background: var(--signal-dark);
  box-shadow: 0 0 0 0.4rem rgba(245, 34, 36, 0.1), 0 0 2.5rem rgba(245, 34, 36, 0.22);
}

.step-state {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--signal);
  font-size: 0.56rem;
}

.journey-content h3 {
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-style: italic;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.journey-content p {
  max-width: 16rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.49);
  font-size: 0.85rem;
  line-height: 1.55;
}

.tutorials {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent);
}

.tutorials-heading {
  max-width: 39rem;
  margin-bottom: 2.5rem;
}

.tutorials-heading h3 {
  margin: 0.45rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.tutorials-heading > p:last-child {
  max-width: 33rem;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}

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

.tutorial-card {
  padding: 1.35rem;
  border: 1px solid color-mix(in srgb, var(--paper) 20%, transparent);
  background: color-mix(in srgb, var(--ink) 70%, var(--paper));
}

.tutorial-number {
  margin-bottom: 1.75rem;
  color: var(--signal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tutorial-card h4 {
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.tutorial-card > p:not(.tutorial-number) {
  min-height: 3.2rem;
  margin-bottom: 1.2rem;
  color: color-mix(in srgb, var(--paper) 68%, transparent);
  font-size: 0.9rem;
  line-height: 1.45;
}

.tutorial-card video {
  display: block;
  width: 100%;
  max-height: 34rem;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent);
  background: #000;
  object-fit: contain;
}

/* Rules and transparency */

.rules {
  padding-block: var(--section-space);
}

.rules-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.58fr);
  gap: 1.75rem clamp(2rem, 8vw, 8rem);
  align-items: end;
}

.rules-heading .section-intro {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.rules-heading .lead-copy {
  margin: 0 0 0.35rem;
}

.rules-grid {
  display: grid;
  margin: clamp(3.5rem, 7vw, 6.5rem) 0 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  list-style: none;
}

.rule-card {
  min-width: 0;
  min-height: 21rem;
  padding: clamp(1.35rem, 2.8vw, 2.3rem);
  background: var(--ice);
}

.rule-card > span {
  display: block;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  color: var(--signal-dark);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.rule-card h3 {
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-transform: uppercase;
}

.rule-card p,
.rules-note {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.87rem;
  line-height: 1.6;
}

.rules-note {
  max-width: 54rem;
  margin-top: 1.35rem;
  padding-left: 1rem;
  border-left: 0.16rem solid var(--signal);
}

/* Trust */

.trust {
  position: relative;
  padding-block: var(--section-space);
  overflow: hidden;
}

.trust-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
}

.trust-copy .display-title {
  margin-bottom: 2rem;
}

.trust-copy > .lead-copy {
  max-width: 43rem;
  margin-bottom: 2.8rem;
}

.trust-points {
  display: grid;
  border-top: 1px solid var(--line-light);
}

.trust-point {
  display: grid;
  padding-block: 1.25rem;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line-light);
}

.trust-point > span {
  color: var(--signal-dark);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.trust-point h3 {
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.trust-point p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.87rem;
}

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

.shield-frame {
  position: relative;
  display: grid;
  width: min(100%, 31rem);
  aspect-ratio: 1 / 1.05;
  place-items: center;
}

.shield-frame::before,
.shield-frame::after {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(10, 28, 68, 0.13);
  content: "";
  transform: rotate(45deg);
}

.shield-frame::after {
  inset: 18%;
  border-color: rgba(245, 34, 36, 0.2);
  transform: rotate(45deg);
}

.shield-frame > img {
  position: relative;
  z-index: 1;
  width: min(88%, 27rem);
  height: auto;
  filter: drop-shadow(0 1.4rem 1.7rem rgba(10, 28, 68, 0.16));
  opacity: 0.96;
}

.shield-glow {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 34, 36, 0.12), rgba(10, 28, 68, 0.07) 45%, transparent 70%);
  filter: blur(1rem);
}

.shield-label {
  position: absolute;
  z-index: 2;
  display: flex;
  min-height: 2.3rem;
  padding: 0.5rem 0.75rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--navy-deep);
  border: 1px solid rgba(10, 28, 68, 0.14);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0.8rem 2rem rgba(10, 28, 68, 0.08);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(0.5rem);
  backdrop-filter: blur(0.5rem);
}

.shield-label span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--signal);
}

.label-one { top: 9%; left: 3%; }
.label-two { top: 12%; right: 1%; }
.label-three { bottom: 11%; left: 0; }
.label-four { right: 1%; bottom: 8%; }

.shield-center {
  position: absolute;
  z-index: 3;
  bottom: 19%;
  left: 50%;
  min-width: 9.3rem;
  padding: 0.65rem 0.8rem;
  color: var(--paper);
  background: var(--navy-deep);
  box-shadow: 0 0.8rem 2rem rgba(10, 28, 68, 0.18);
  text-align: center;
  transform: translateX(-50%);
  clip-path: polygon(0.5rem 0, 100% 0, calc(100% - 0.5rem) 100%, 0 100%);
}

.shield-center small,
.shield-center strong {
  display: block;
}

.shield-center small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.47rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.shield-center strong {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* Multichain */

.multichain {
  position: relative;
  padding-block: clamp(5rem, 8vw, 7.5rem);
  overflow: hidden;
  background:
    linear-gradient(115deg, transparent 64%, rgba(245, 34, 36, 0.05) 64% 64.2%, transparent 64.2%),
    var(--navy-deep);
}

.multichain-shell {
  display: grid;
  grid-template-columns: minmax(18rem, 0.66fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.chain-copy .section-index {
  margin-bottom: 1.3rem;
}

.chain-copy .display-title {
  margin-bottom: 1.6rem;
  font-size: clamp(2.9rem, 5.2vw, 5.3rem);
}

.chain-copy > p:last-child {
  max-width: 32rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.55);
}

.chain-panels {
  display: grid;
  gap: 1rem;
}

.chain-card {
  position: relative;
  display: grid;
  min-height: 10rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    transform 260ms var(--ease-out);
}

.chain-card::after {
  position: absolute;
  top: -6rem;
  right: 13%;
  width: 0.1rem;
  height: 18rem;
  background: rgba(255, 255, 255, 0.07);
  content: "";
  transform: rotate(38deg);
}

.chain-arbitrum {
  box-shadow: inset 0.13rem 0 rgba(137, 169, 226, 0.72);
}

.chain-solana {
  box-shadow: inset 0.13rem 0 rgba(245, 34, 36, 0.68);
}

.chain-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.065);
  transform: translateX(0.4rem);
}

.chain-symbol {
  display: grid;
  width: 4.4rem;
  height: 4.4rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(5, 7, 11, 0.32);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.chain-symbol > span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 900;
}

.chain-symbol-sol {
  display: flex;
  padding: 1rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
}

.chain-symbol-sol i {
  display: block;
  width: 2.15rem;
  height: 0.4rem;
  background: linear-gradient(90deg, #87a7ff, var(--paper));
  transform: skewX(-28deg);
}

.chain-symbol-sol i:nth-child(2) {
  background: linear-gradient(90deg, var(--paper), #87a7ff);
  transform: skewX(28deg);
}

.chain-card small {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.chain-card h3 {
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.chain-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

/* Multichain exchange */

.exchange {
  padding-block: var(--section-space);
  overflow: hidden;
}

.exchange-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.75fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
}

.exchange-copy .section-intro {
  margin-bottom: clamp(1.8rem, 3vw, 3rem);
}

.exchange-copy .display-title {
  margin-bottom: 1.8rem;
}

.exchange-copy .lead-copy {
  max-width: 43rem;
  margin-bottom: 0;
}

.exchange-steps {
  display: grid;
  border-top: 1px solid var(--line-light);
}

.exchange-steps > div {
  display: grid;
  padding-block: 1.25rem;
  grid-template-columns: 2.25rem 1fr;
  column-gap: 1rem;
  border-bottom: 1px solid var(--line-light);
}

.exchange-steps span {
  grid-row: span 2;
  color: var(--signal-dark);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.exchange-steps strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.exchange-steps p {
  margin: 0.25rem 0 0;
  color: var(--slate);
  font-size: 0.86rem;
}

.chain-arrow {
  position: relative;
  z-index: 1;
  color: var(--signal);
  font-size: 1.4rem;
}

/* Investors */

.investors {
  position: relative;
  padding-block: var(--section-space);
  overflow: hidden;
}

.investors::after {
  position: absolute;
  right: -7rem;
  bottom: 3rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(10, 28, 68, 0.06);
  content: "";
  transform: rotate(45deg);
}

.investor-header {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.investor-header .section-intro {
  display: grid;
  margin-top: 0.55rem;
  gap: 0.5rem;
}

.investor-header .section-intro::after {
  width: 6rem;
  margin-top: 0.75rem;
}

.investor-header .display-title {
  max-width: 13ch;
}

.investor-grid {
  display: grid;
  margin-top: clamp(4rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 0.88fr) minmax(21rem, 0.72fr);
  align-items: start;
  gap: clamp(3rem, 9vw, 9rem);
}

.investor-statement {
  position: relative;
  padding-left: clamp(1.3rem, 3vw, 2.3rem);
  border-left: 0.16rem solid var(--signal);
}

.investor-statement .investor-quote {
  margin-bottom: 1.6rem;
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.65rem);
  font-style: italic;
  font-weight: 750;
  letter-spacing: -0.028em;
  line-height: 1.12;
  text-wrap: balance;
}

.investor-statement > p {
  max-width: 37rem;
  margin-bottom: 2rem;
  color: var(--slate);
}

.thesis-list {
  display: grid;
  border-top: 1px solid var(--line-light);
}

.thesis-item {
  display: grid;
  padding-block: 1.45rem;
  grid-template-columns: 2.8rem 1fr;
  gap: 1.2rem;
  border-bottom: 1px solid var(--line-light);
}

.thesis-item > span {
  color: var(--signal-dark);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.thesis-item h3 {
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.thesis-item p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.88rem;
}

/* Closing and footer */

.closing {
  position: relative;
  isolation: isolate;
  min-height: 41rem;
  padding-block: clamp(6rem, 11vw, 10rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 50%, rgba(23, 60, 121, 0.24), transparent 34%),
    var(--ink);
}

.closing::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 18%;
  width: 18rem;
  height: 100%;
  background: linear-gradient(135deg, transparent 47%, rgba(245, 34, 36, 0.08) 47% 47.4%, transparent 47.4%);
  content: "";
}

.closing-grid {
  z-index: -2;
  opacity: 0.07;
  -webkit-mask-image: linear-gradient(90deg, black, transparent 85%);
  mask-image: linear-gradient(90deg, black, transparent 85%);
}

.closing-symbol {
  position: absolute;
  top: 50%;
  right: max(-4rem, calc((100vw - var(--shell)) / 2));
  width: min(41vw, 34rem);
  opacity: 0.16;
  filter: grayscale(0.25) drop-shadow(0 2rem 4rem rgba(0, 0, 0, 0.35));
  transform: translateY(-50%) rotate(-4deg);
}

.closing-shell {
  max-width: calc(var(--shell) + (2 * var(--gutter)));
}

.closing-shell .eyebrow {
  margin-bottom: 2rem;
}

.closing h2 {
  max-width: 8ch;
  margin-bottom: 1.8rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(4.3rem, 9.5vw, 9.5rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.77;
  text-transform: uppercase;
}

.closing h2 span {
  display: block;
  color: var(--signal);
}

.closing-shell > p:not(.eyebrow) {
  max-width: 36rem;
  margin-bottom: 2.3rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.closing-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.closing-actions small {
  max-width: 15rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  line-height: 1.45;
}

.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  color: var(--paper);
  background: #030508;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main {
  display: grid;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  grid-template-columns: 1fr auto;
  gap: 3rem;
}

.footer-brand img {
  width: clamp(8.5rem, 13vw, 10.5rem);
  height: auto;
  margin-bottom: 0.65rem;
}

.footer-brand p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(8rem, 1fr));
  gap: clamp(2rem, 7vw, 6rem);
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-links strong {
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--signal);
}

.footer-bottom {
  display: flex;
  padding-top: 1.4rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

.footer-bottom p:last-child {
  max-width: 31rem;
  text-align: right;
}

/* Intersection-based entrance motion */

.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 190ms; }
.reveal-delay-3 { transition-delay: 280ms; }
.reveal-delay-4 { transition-delay: 370ms; }

/* Tablet */

@media (max-width: 67.5rem) {
  :root {
    --header-height: 4.75rem;
  }

  .menu-toggle {
    display: grid;
    order: 3;
  }

  .primary-nav {
    position: absolute;
    z-index: 2;
    top: calc(100% - 1px);
    right: var(--gutter);
    left: var(--gutter);
    display: grid;
    margin: 0;
    padding: 0.75rem clamp(1.1rem, 4vw, 2rem) 1.25rem;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(5, 7, 11, 0.98);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.36);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.8rem);
    transition:
      visibility 0s linear 220ms,
      opacity 220ms ease,
      transform 220ms var(--ease-out);
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .primary-nav a {
    min-height: 3.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.74rem;
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .primary-nav a::after {
    right: auto;
    bottom: -1px;
    width: 2.5rem;
  }

  .nav-cta {
    margin-left: auto;
    order: 2;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 5.5rem + env(safe-area-inset-top));
    padding-bottom: 7rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
    gap: 2.5rem;
  }

  .hero-title {
    font-size: clamp(3.9rem, 8.9vw, 6.8rem);
  }

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

  .hero-flow {
    min-height: 0;
  }

  .chip-top { right: 0; }
  .chip-bottom { left: 0; }

  .manifesto-grid,
  .trust-shell,
  .multichain-shell,
  .exchange-shell,
  .investor-grid {
    gap: clamp(2.5rem, 6vw, 4rem);
  }

  .trust-shell {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.72fr);
  }

  .trust-visual {
    min-height: 29rem;
  }

  .label-one { left: -2%; }
  .label-two { right: -2%; }
  .label-three { left: -3%; }
  .label-four { right: -3%; }
}

@media (max-width: 53rem) {
  .hero {
    padding-bottom: 5.5rem;
  }

  .hero-layout,
  .manifesto-grid,
  .trust-shell,
  .multichain-shell,
  .exchange-shell,
  .investor-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero-title {
    max-width: 10ch;
    font-size: clamp(4.2rem, 14vw, 7rem);
  }

  .hero-lead {
    max-width: 39rem;
  }

  .hero-visual {
    width: min(100%, 39rem);
    min-height: 35rem;
    margin: 1rem auto 0;
  }

  .hero-flow {
    width: min(100%, 42rem);
    min-height: 0;
  }

  .challenge-card {
    width: min(88%, 31rem);
  }

  .manifesto-copy {
    max-width: 42rem;
  }

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

  .principle-card-accent {
    grid-column: 1 / -1;
  }

  .how-heading {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .rules-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .rule-card {
    min-height: 0;
  }

  .rule-card > span {
    margin-bottom: 2.75rem;
  }

  .journey {
    margin-left: 0.75rem;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .journey-line {
    top: 2rem;
    bottom: 2rem;
    left: 2rem;
    width: 1px;
    height: auto;
  }

  .journey-line span {
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
  }

  .journey.is-progressing .journey-line span {
    animation-name: journey-progress-vertical;
  }

  @keyframes journey-progress-vertical {
    to { transform: scaleY(1); }
  }

  .journey-step {
    display: grid;
    min-height: 9.5rem;
    padding: 0 0 2rem;
    grid-template-columns: 4rem 1fr;
    align-items: start;
    gap: 1.5rem;
    text-align: left;
  }

  .journey-marker {
    margin: 0;
  }

  .journey-content {
    padding-top: 0.25rem;
  }

  .journey-content p {
    max-width: 31rem;
    margin: 0;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 0.75rem;
  }

  .flow-steps::before {
    display: none;
  }

  .flow-steps li:nth-child(2)::after {
    position: absolute;
    top: 50%;
    right: -0.55rem;
    left: -0.55rem;
    height: 1px;
    background: rgba(245, 34, 36, 0.48);
    content: "";
  }

  .trust-copy {
    max-width: 44rem;
  }

  .trust-visual {
    width: min(100%, 36rem);
    min-height: 33rem;
    margin-inline: auto;
  }

  .multichain-shell {
    gap: 3.5rem;
  }

  .exchange-shell {
    gap: 3.5rem;
  }

  .chain-copy {
    max-width: 43rem;
  }

  .investor-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .investor-header .section-intro {
    display: flex;
    margin-bottom: 1.5rem;
  }

  .investor-header .section-intro::after {
    margin-top: 0;
  }

  .investor-header .display-title {
    max-width: 14ch;
  }

  .investor-grid {
    gap: 4rem;
  }

  .closing-symbol {
    right: -7rem;
    width: 29rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

/* Phones */

@media (max-width: 40rem) {
  .tutorial-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-card {
    padding: 1.1rem;
  }

  .tutorial-card > p:not(.tutorial-number) {
    min-height: 0;
  }

  :root {
    --gutter: clamp(1.1rem, 5vw, 1.5rem);
    --section-space: clamp(4.7rem, 20vw, 6.5rem);
    --header-height: 4.25rem;
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 0.75rem);
  }

  .nav-shell {
    gap: 0.65rem;
  }

  .brand {
    width: 7.65rem;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .primary-nav {
    right: 0;
    left: 0;
    padding-right: var(--gutter);
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    padding-left: var(--gutter);
    border-right: 0;
    border-left: 0;
  }

  .button:not(.button-small) {
    width: 100%;
  }

  .section-intro {
    display: grid;
    justify-items: start;
    gap: 0.4rem;
  }

  .section-intro::after {
    width: 4rem;
    margin-top: 0.5rem;
  }

  .display-title {
    font-size: clamp(2.75rem, 14vw, 4.35rem);
    line-height: 0.91;
  }

  .hero {
    padding-top: calc(var(--header-height) + 3.8rem + env(safe-area-inset-top));
    padding-bottom: 4.8rem;
  }

  .hero::before {
    background: linear-gradient(112deg, transparent 0 76%, rgba(245, 34, 36, 0.075) 76% 76.35%, transparent 76.35%);
  }

  .hero-grid {
    background-size: 4rem 4rem;
  }

  .hero-layout {
    gap: 2.5rem;
  }

  .hero-flow {
    min-height: 0;
    padding: 1rem;
    transform: none;
  }

  .flow-heading strong {
    width: 100%;
    margin-left: 0;
  }

  .flow-steps {
    padding-block: 1.5rem;
  }

  .flow-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.15rem;
  }

  .flow-footer {
    justify-content: flex-start;
    gap: 0.42rem;
    font-size: 0.49rem;
  }

  .flow-footer i {
    width: 0.8rem;
  }

  .eyebrow {
    gap: 0.45rem;
    line-height: 1.7;
  }

  .hero-title {
    font-size: clamp(3.3rem, 16vw, 4.65rem);
    line-height: 0.8;
  }

  .hero-title span {
    font-size: 0.64em;
  }

  .hero-title em {
    width: auto;
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
    margin-bottom: 1rem;
    gap: 0.85rem;
  }

  .text-link {
    width: max-content;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .rule-card {
    min-height: 0;
    padding: 1.5rem;
  }

  .rule-card > span {
    margin-bottom: 2.25rem;
  }

  .hero-proof li {
    display: grid;
    grid-template-columns: minmax(7.5rem, 0.6fr) 1fr;
    align-items: start;
    gap: 0.75rem;
  }

  .hero-visual {
    min-height: 29rem;
    margin-top: 0;
  }

  .challenge-card {
    width: 100%;
    padding: 1rem;
    transform: none;
  }

  .orbit-one {
    width: 27rem;
    height: 25rem;
  }

  .orbit-two {
    width: 22rem;
    height: 20rem;
  }

  .chip-top {
    top: 0;
    right: 0;
  }

  .chip-bottom {
    bottom: 0;
    left: 0;
  }

  .signal-chip::after {
    display: none;
  }

  .versus-stage {
    gap: 0.3rem;
  }

  .side-card {
    padding-inline: 0.4rem;
  }

  .versus-mark {
    width: 2.45rem;
    height: 2.45rem;
  }

  .status-track li {
    font-size: 0.43rem;
  }

  .scroll-cue {
    display: none;
  }

  .manifesto-grid {
    gap: 2.2rem;
  }

  .principles-grid {
    margin-top: 3.7rem;
    grid-template-columns: 1fr;
  }

  .principle-card-accent {
    grid-column: auto;
  }

  .principle-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .card-number {
    margin-bottom: 2rem;
  }

  .line-icon {
    margin-bottom: 1.5rem;
  }

  .journey {
    margin-top: 3.7rem;
    margin-left: 0;
  }

  .journey-line {
    left: 1.55rem;
  }

  .journey-step {
    min-height: 10rem;
    grid-template-columns: 3.1rem 1fr;
    gap: 1rem;
  }

  .journey-marker {
    width: 3.1rem;
    height: 3.1rem;
  }

  .journey-content h3 {
    font-size: 1.7rem;
  }

  .trust-copy > .lead-copy {
    margin-bottom: 2.2rem;
  }

  .trust-point,
  .thesis-item {
    grid-template-columns: 2rem 1fr;
    gap: 0.7rem;
  }

  .trust-visual {
    min-height: 26rem;
  }

  .shield-frame {
    width: 100%;
  }

  .shield-label {
    min-height: 1.8rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.47rem;
  }

  .label-one { top: 6%; left: 0; }
  .label-two { top: 10%; right: 0; }
  .label-three { bottom: 9%; left: 0; }
  .label-four { right: 0; bottom: 5%; }

  .shield-center {
    bottom: 18%;
    min-width: 8.5rem;
  }

  .chain-card {
    min-height: auto;
    padding: 1.2rem;
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .chain-symbol {
    width: 3.5rem;
    height: 3.5rem;
  }

  .chain-symbol-sol {
    padding: 0.75rem;
  }

  .chain-symbol-sol i {
    width: 1.7rem;
  }

  .chain-arrow {
    display: none;
  }

  .investor-header .section-intro {
    display: grid;
  }

  .investor-grid {
    margin-top: 3.5rem;
    gap: 3.5rem;
  }

  .investor-statement {
    padding-left: 1rem;
  }

  .closing {
    min-height: 37rem;
  }

  .closing h2 {
    font-size: clamp(3.8rem, 19vw, 5.7rem);
  }

  .closing-symbol {
    top: 22%;
    right: -9rem;
    width: 25rem;
    opacity: 0.11;
  }

  .closing-actions {
    display: grid;
  }

  .closing-actions small {
    max-width: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links {
    gap: 1.5rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }
}

@media (max-width: 23rem) {
  .hero-title {
    font-size: 3.25rem;
  }

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

  .challenge-card {
    padding: 0.8rem;
  }

  .side-card {
    padding-block: 0.8rem;
  }

  .avatar {
    width: 2.35rem;
    height: 2.35rem;
  }

  .side-card small {
    display: none;
  }

  .contract-rule {
    gap: 0.6rem;
  }

  .status-track li {
    letter-spacing: 0;
  }

  .shield-label {
    font-size: 0.42rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Accessibility and user preferences */

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .journey-line span {
    transform: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --slate: #4b5566;
    --line-light: rgba(10, 28, 68, 0.35);
    --line-dark: rgba(255, 255, 255, 0.34);
  }

  .hero-lead,
  .hero-proof span,
  .how-summary,
  .journey-content p,
  .chain-copy > p:last-child,
  .chain-card p,
  .closing-shell > p:not(.eyebrow),
  .footer-links a {
    color: rgba(255, 255, 255, 0.82);
  }
}

@media (forced-colors: active) {
  .button,
  .challenge-card,
  .principle-card,
  .chain-card,
  .shield-label,
  .shield-center {
    clip-path: none;
    border: 1px solid ButtonText;
  }

  .signal-dot,
  .status-track li.is-active > span,
  .journey-marker-final {
    forced-color-adjust: none;
    background: Highlight;
  }

  .reveal {
    opacity: 1;
  }
}

@media print {
  .site-header,
  .scroll-cue,
  .hero-grid,
  .hero-collision,
  .visual-orbit,
  .signal-chip,
  .closing-grid {
    display: none !important;
  }

  *,
  *::before,
  *::after {
    color: #000 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    background: #fff;
  }

  .hero,
  .closing {
    min-height: auto;
    padding-block: 3rem;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
