:root {
  color-scheme: light;
  --canvas: #f8f7f4;
  --paper: #fffefd;
  --ink: #1a1a2e;
  --ink-soft: rgba(26, 26, 46, 0.68);
  --ink-faint: rgba(26, 26, 46, 0.11);
  --navy: #0f3460;
  --red: #e94560;
  --gold: #d9a520;
  --aqua: #3aa6a1;
  --line: rgba(15, 52, 96, 0.16);
  --shadow: 0 24px 80px rgba(15, 52, 96, 0.16);
  --max-width: 1160px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.86), rgba(248, 247, 244, 0.96)),
    var(--canvas);
  color: var(--ink);
  font-family:
    "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(15, 52, 96, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 52, 96, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--max-width) + 48px);
  min-height: 72px;
  margin: 0 auto;
  padding: 14px 24px;
  color: var(--ink);
}

.site-header::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 78px;
  content: "";
  background: color-mix(in srgb, var(--canvas) 90%, transparent);
  border-bottom: 1px solid rgba(15, 52, 96, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 1.08rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  align-items: center;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.88rem;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.hero {
  position: relative;
  min-height: 94svh;
  overflow: clip;
  display: grid;
  align-items: end;
  padding: 116px 24px clamp(56px, 9vw, 108px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(690px, 100%);
  max-width: var(--max-width);
  margin: 0 auto;
  margin-left: max(24px, calc((100vw - var(--max-width)) / 2));
}

.eyebrow,
.small-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-copy h2,
.chain-copy h2,
.trust-band h2,
.beta-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 9.8rem;
}

.hero-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(26, 26, 46, 0.78);
  font-size: 1.3rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.button.primary {
  background: var(--red);
  color: #fffefd;
}

.button.secondary {
  background: rgba(255, 254, 253, 0.78);
  color: var(--ink);
  border-color: var(--line);
}

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

.hero-scene::after {
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  content: "";
  background: linear-gradient(180deg, transparent, var(--canvas) 78%);
}

.hero-mark {
  position: absolute;
  top: 12%;
  right: min(2vw, 24px);
  width: min(540px, 48vw);
  opacity: 0.08;
  filter: saturate(0.8);
}

.phone-shell {
  position: absolute;
  width: clamp(216px, 23vw, 292px);
  min-height: clamp(430px, 45vw, 560px);
  padding: 18px;
  border: 1px solid rgba(15, 52, 96, 0.18);
  border-radius: 30px;
  background: linear-gradient(180deg, #fffefd, #f1f4f5);
  box-shadow: var(--shadow);
}

.phone-scan {
  right: clamp(24px, 10vw, 180px);
  bottom: clamp(40px, 8vw, 98px);
  transform: rotate(4deg);
}

.phone-result {
  right: clamp(170px, 27vw, 420px);
  top: clamp(98px, 15vw, 170px);
  transform: rotate(-5deg);
}

.phone-bar,
.lookup-panel,
.signal-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.phone-bar {
  min-height: 32px;
  padding-bottom: 12px;
}

.scan-frame {
  position: relative;
  min-height: 318px;
  overflow: hidden;
  border: 1px solid rgba(15, 52, 96, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(15, 52, 96, 0.92), rgba(15, 52, 96, 0.18)),
    linear-gradient(90deg, rgba(255, 254, 253, 0.22) 1px, transparent 1px);
  background-size: auto, 34px 34px;
}

.scan-frame::before,
.scan-frame::after {
  position: absolute;
  left: 36px;
  right: 36px;
  height: 62px;
  content: "";
  border: 2px solid rgba(255, 254, 253, 0.72);
}

.scan-frame::before {
  top: 82px;
  border-bottom: 0;
}

.scan-frame::after {
  bottom: 82px;
  border-top: 0;
}

.scan-label {
  position: absolute;
  left: 30px;
  bottom: 32px;
  color: rgba(255, 254, 253, 0.9);
  font-size: 0.74rem;
  font-weight: 800;
}

.scan-line {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 50%;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 22px rgba(233, 69, 96, 0.54);
}

.lookup-panel {
  min-height: 62px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid rgba(15, 52, 96, 0.12);
  border-radius: 18px;
  background: #fffefd;
}

.lookup-panel strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 36px;
  border-radius: 8px;
  background: var(--red);
  color: #fffefd;
}

.chain-preview {
  display: grid;
  justify-items: center;
  padding: 32px 6px 20px;
}

.chain-node {
  width: min(100%, 210px);
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(15, 52, 96, 0.14);
  border-radius: 12px;
  background: #fffefd;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.brand-node {
  border-color: rgba(233, 69, 96, 0.42);
}

.final-node {
  color: var(--ink);
  background: color-mix(in srgb, var(--gold) 14%, #fffefd);
}

.chain-stem {
  width: 2px;
  height: 34px;
  background: rgba(15, 52, 96, 0.2);
}

.signal-preview {
  min-height: 78px;
  padding: 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--aqua) 14%, #fffefd);
}

.intro-band,
.section-grid,
.chain-section,
.trust-band,
.beta-section,
.site-footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.intro-band div,
.steps-list li,
.trust-grid article {
  background: rgba(255, 254, 253, 0.82);
}

.intro-band div {
  min-height: 164px;
  padding: clamp(20px, 3vw, 34px);
}

.intro-band p,
.section-copy p,
.chain-copy p,
.trust-grid p,
.beta-section p,
.steps-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.intro-band p {
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.38;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 96px);
  padding: clamp(78px, 11vw, 146px) 0;
}

.section-copy h2,
.chain-copy h2,
.trust-band h2,
.beta-section h2 {
  font-size: 5.8rem;
}

.section-copy p,
.chain-copy p,
.beta-section p {
  max-width: 560px;
  margin-top: 24px;
}

.steps-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  min-height: 158px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.steps-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.chain-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.7fr);
  gap: clamp(32px, 8vw, 118px);
  align-items: center;
  padding: clamp(56px, 9vw, 120px) clamp(0px, 3vw, 36px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ownership-diagram {
  display: grid;
  justify-items: stretch;
  max-width: 460px;
  margin-left: auto;
}

.diagram-node {
  min-height: 98px;
  padding: 20px;
  border: 1px solid rgba(15, 52, 96, 0.16);
  border-radius: var(--radius);
  background: #fffefd;
  box-shadow: 0 14px 44px rgba(15, 52, 96, 0.08);
}

.diagram-node span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.diagram-node strong {
  display: block;
  font-size: 1.9rem;
}

.surface-node {
  border-color: rgba(233, 69, 96, 0.34);
}

.diagram-node.final {
  background: color-mix(in srgb, var(--gold) 14%, #fffefd);
}

.diagram-line {
  width: 2px;
  height: 48px;
  margin: 0 auto;
  background: rgba(15, 52, 96, 0.2);
}

.trust-band {
  padding: clamp(78px, 11vw, 146px) 0;
}

.trust-band > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.trust-grid article {
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.beta-section {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  padding: clamp(44px, 7vw, 72px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(233, 69, 96, 0.1), transparent 34%),
    var(--ink);
  color: #fffefd;
}

.beta-section .eyebrow,
.beta-section p {
  color: rgba(255, 254, 253, 0.74);
}

.beta-section h2 {
  max-width: 620px;
  color: #fffefd;
}

.beta-section .button {
  flex: 0 0 auto;
}

.site-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 920px;
    padding-top: 108px;
  }

  .hero-copy {
    margin-left: auto;
    padding-top: 290px;
  }

  .hero h1 {
    font-size: 6.4rem;
  }

  .phone-scan {
    right: 24px;
    top: 126px;
    bottom: auto;
    width: 224px;
    min-height: 438px;
  }

  .phone-result {
    left: 24px;
    right: auto;
    top: 96px;
    width: 196px;
    min-height: 390px;
  }

  .hero-mark {
    top: 8%;
    right: -96px;
    width: 360px;
  }

  .intro-band,
  .section-grid,
  .chain-section,
  .trust-band > div:first-child,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .chain-section {
    padding-right: 0;
    padding-left: 0;
  }

  .ownership-diagram {
    max-width: none;
    margin-left: 0;
  }

  .beta-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-copy h2,
  .chain-copy h2,
  .trust-band h2,
  .beta-section h2 {
    font-size: 4.4rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .hero {
    min-height: 890px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-copy {
    padding-top: 336px;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .intro-band p {
    font-size: 1.05rem;
  }

  .section-copy h2,
  .chain-copy h2,
  .trust-band h2,
  .beta-section h2 {
    font-size: 3rem;
  }

  .diagram-node strong {
    font-size: 1.4rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .phone-scan {
    right: -16px;
    width: 206px;
    min-height: 410px;
  }

  .phone-result {
    left: -16px;
    width: 184px;
    min-height: 370px;
  }

  .intro-band,
  .section-grid,
  .chain-section,
  .trust-band,
  .beta-section,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
