:root {
  --ink: #07111f;
  --ink-soft: #15243a;
  --paper: #f2f0e9;
  --paper-deep: #e2e1dc;
  --blue: #627eea;
  --blue-bright: #88a3ff;
  --blue-dark: #183d8d;
  --line: rgba(7, 17, 31, 0.19);
  --line-light: rgba(255, 255, 255, 0.19);
  --font-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-thought: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page: min(1280px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: white;
  background: var(--blue);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.065;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 100;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
}

.section-shell {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 72px;
  padding: 0 max(32px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(242, 240, 233, 0.15);
  color: white;
  background: rgba(7, 17, 31, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  overflow: hidden;
  background: white;
}

.brand-mark img {
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-code {
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-buy) {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
  transition: color 180ms ease;
}

.site-nav > a:not(.nav-buy)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover {
  color: white;
}

.site-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-buy {
  padding: 10px 15px;
  border: 1px solid var(--blue-bright);
  background: rgba(98, 126, 234, 0.12);
  transition: background 180ms ease, color 180ms ease;
}

.nav-buy:hover {
  color: var(--ink);
  background: var(--blue-bright);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 11px 8px;
  border: 0;
  color: white;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 220ms ease;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(44px, 7vw, 105px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-block: 90px 92px;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -72px;
  left: 53%;
  width: 70vw;
  height: calc(100% + 72px);
  background: linear-gradient(125deg, transparent 25%, rgba(98, 126, 234, 0.1));
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}

.eyebrow,
.section-number,
.step-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--blue);
  border-radius: inherit;
  animation: pulse 2.1s ease-out infinite;
}

.hero h1,
.section-intro h2,
.threat h2,
.protocol h2,
.token h2,
.finale h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin-top: 24px;
  font-size: clamp(3rem, 5.2vw, 4.65rem);
}

.hero h1 em {
  display: block;
  color: var(--blue);
  font-family: var(--font-thought);
  font-size: 0.76em;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-transform: none;
}

.hero-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: #334155;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}

.hero-lede strong {
  color: var(--ink);
}

.hero-actions,
.token-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 rgba(7, 17, 31, 0.18);
}

.button-primary {
  color: white;
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.button-primary:hover {
  background: var(--blue);
}

.button-ghost {
  background: transparent;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.hero-meta span {
  color: #6b7280;
}

.hero-meta b {
  margin-right: 6px;
  color: var(--ink);
}

.image-frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(7, 17, 31, 0.55);
  background: #f8f7f2;
  box-shadow: 16px 16px 0 var(--ink);
  overflow: hidden;
}

.image-frame::before,
.image-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 13px;
  height: 13px;
  border-color: var(--blue-bright);
}

.image-frame::before {
  top: 17px;
  left: 17px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.image-frame::after {
  right: 17px;
  bottom: 17px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.image-frame-wide img {
  aspect-ratio: 1.47 / 1;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.84) contrast(1.06);
}

.frame-label,
.frame-index {
  position: absolute;
  z-index: 4;
  color: white;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px #000;
}

.frame-label {
  bottom: 22px;
  left: 24px;
}

.frame-index {
  top: 22px;
  right: 24px;
}

.scanline {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  left: 10px;
  height: 2px;
  opacity: 0.7;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  box-shadow: 0 0 14px var(--blue-bright);
  animation: scan 5.8s linear infinite;
}

.hero-visual figcaption,
.art-panel figcaption,
.protocol-diagram figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  color: #5e6875;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 27px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #596273;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateY(-20px);
  transform-origin: left center;
}

.hero-scroll i {
  position: relative;
  width: 38px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  animation: scroll-mark 2s ease-in-out infinite;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--blue-bright);
  color: white;
  background: var(--blue-dark);
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  padding: 13px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}

.marquee-track i {
  color: var(--blue-bright);
  font-style: normal;
}

.premise,
.threat,
.protocol,
.token {
  padding-block: clamp(100px, 12vw, 164px);
}

.section-intro {
  display: grid;
  grid-template-columns: 0.52fr 1.15fr 0.85fr;
  gap: 42px;
  align-items: end;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.section-intro h2,
.threat h2,
.protocol h2,
.token h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.1rem);
}

.philosophy {
  margin: 0;
  color: var(--blue-dark);
  font-family: var(--font-thought);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-style: italic;
  line-height: 1.35;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(54px, 9vw, 130px);
  align-items: center;
  margin-top: 72px;
}

.art-panel {
  position: relative;
  margin: 0;
}

.art-panel > img,
.protocol-diagram > img,
.token-art > img {
  border: 1px solid var(--line);
  background: var(--ink);
}

.art-panel-tall img {
  aspect-ratio: 4 / 4.75;
  object-fit: cover;
}

.essay {
  max-width: 660px;
}

.essay > p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.8;
}

.essay .essay-lead {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--font-thought);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.48;
}

.thought-line {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.thought-line span {
  color: var(--blue-dark);
  font-family: var(--font-mono);
  font-size: 10px;
}

.thought-line p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.threat {
  position: relative;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(54px, 9vw, 130px);
  align-items: center;
  color: white;
}

.threat::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 50%;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background:
    linear-gradient(rgba(98, 126, 234, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 126, 234, 0.07) 1px, transparent 1px),
    var(--ink);
  background-size: 56px 56px;
}

.threat .section-number,
.protocol .section-number,
.finale .section-number {
  color: var(--blue-bright);
}

.threat h2 {
  max-width: 570px;
  margin-top: 24px;
}

.threat-copy > p {
  max-width: 570px;
  margin: 28px 0 0;
  color: #a9b4c5;
  line-height: 1.75;
}

.threat-list {
  margin-top: 42px;
}

.threat-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 21px 0;
  border-top: 1px solid var(--line-light);
}

.threat-list article > span {
  color: var(--blue-bright);
  font-family: var(--font-thought);
  font-size: 1.2rem;
}

.threat-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.threat-list p {
  margin: 4px 0 0;
  color: #8c98aa;
  font-size: 0.86rem;
}

.threat-art img {
  aspect-ratio: 1.06 / 1;
  object-fit: cover;
  border-color: rgba(136, 163, 255, 0.42);
}

.threat .art-panel figcaption {
  color: #8c98aa;
}

.protocol {
  display: grid;
  grid-template-columns: minmax(310px, 0.75fr) minmax(460px, 1.25fr);
  gap: 70px 95px;
  align-items: end;
}

.protocol-heading h2 {
  margin-top: 24px;
}

.protocol-heading p {
  max-width: 520px;
  margin: 26px 0 0;
  color: #4b5563;
}

.protocol-diagram {
  margin: 0;
}

.protocol-diagram img {
  aspect-ratio: 1.33 / 1;
  object-fit: cover;
}

.protocol-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.protocol-steps article {
  min-height: 270px;
  padding: 28px clamp(20px, 3vw, 38px) 35px 0;
}

.protocol-steps article + article {
  padding-left: clamp(20px, 3vw, 38px);
  border-left: 1px solid var(--line);
}

.protocol-steps h3 {
  margin: 64px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.protocol-steps p {
  max-width: 330px;
  margin: 0;
  color: #667085;
  font-size: 0.91rem;
}

.token {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(52px, 9vw, 124px);
  align-items: center;
}

.token::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  margin-left: -50vw;
  border-top: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(98, 126, 234, 0.13), transparent 45%);
}

.token-art {
  margin: 0;
}

.token-art img {
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  box-shadow: -18px 18px 0 var(--blue-dark);
}

.token h2 {
  max-width: 700px;
  margin-top: 23px;
}

.token-copy > p {
  max-width: 680px;
  margin: 27px 0 0;
  color: #4b5563;
  line-height: 1.8;
}

.token-copy > p strong {
  color: var(--blue-dark);
}

.token-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 37px;
  border-block: 1px solid var(--line);
}

.token-facts > div {
  padding: 16px 12px 16px 0;
}

.token-facts > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.token-facts span,
.contract-box span {
  display: block;
  color: #7b8490;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.token-facts strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.contract-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 14px 14px 14px 18px;
  color: white;
  background: var(--ink);
}

.contract-box code {
  display: block;
  margin-top: 5px;
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.copy-button span {
  color: inherit;
  font-size: 9px;
}

.copy-button svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.copy-button:hover {
  color: var(--ink);
  background: var(--blue-bright);
}

.token-actions {
  gap: 22px;
}

.text-link {
  padding-block: 9px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--blue);
}

.finale {
  position: relative;
  min-height: 650px;
  color: white;
  overflow: hidden;
}

.finale-visual,
.finale-visual img,
.finale-shade {
  position: absolute;
  inset: 0;
}

.finale-visual img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.55) contrast(1.13) brightness(0.65);
  transform: scale(1.025);
  transition: transform 10s ease-out;
}

.finale:hover .finale-visual img {
  transform: scale(1.075);
}

.finale-shade {
  background: linear-gradient(90deg, rgba(7, 17, 31, 0.97), rgba(7, 17, 31, 0.67) 55%, rgba(7, 17, 31, 0.28));
}

.finale-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 650px;
  max-width: 750px;
  padding: 70px;
}

.finale-logo {
  width: 66px;
  height: 66px;
  margin-bottom: 31px;
  border: 2px solid white;
  border-radius: 50%;
}

.finale h2 {
  margin-top: 24px;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.finale-content > p {
  margin: 24px 0 0;
  color: #c4ccda;
  font-family: var(--font-thought);
  font-size: 1.25rem;
  font-style: italic;
}

.button-light {
  margin-top: 34px;
  color: var(--ink);
  border-color: white;
  background: white;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 52px;
  padding-block: 60px 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-brand span {
  margin-top: 3px;
  color: #78818f;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

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

.footer-note {
  max-width: 600px;
  margin: 0;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: #727b88;
  font-size: 0.78rem;
}

.footer-year {
  align-self: end;
  justify-self: end;
  color: #7b8490;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  padding: 13px 18px;
  color: white;
  background: var(--blue-dark);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

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

@keyframes pulse {
  0% { opacity: 0.7; transform: scale(0.65); }
  80%, 100% { opacity: 0; transform: scale(1.45); }
}

@keyframes scan {
  from { transform: translateY(0); }
  50% { transform: translateY(340px); }
  to { transform: translateY(0); }
}

@keyframes scroll-mark {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 1050px) {
  :root { --page: min(100% - 48px, 1280px); }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 75px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    width: min(850px, calc(100% - 16px));
    margin: 0 0 0 auto;
  }

  .hero-scroll {
    display: none;
  }

  .section-intro {
    grid-template-columns: 0.5fr 1.1fr;
  }

  .section-intro .philosophy {
    grid-column: 2;
  }

  .split-layout,
  .threat,
  .token {
    gap: 60px;
  }

  .protocol {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 55px;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding-inline: 24px;
    backdrop-filter: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 72px 10vw;
    background: rgba(7, 17, 31, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav > a {
    font-size: 1rem;
  }

  .nav-buy {
    margin-top: 18px;
  }

  .split-layout,
  .threat,
  .token,
  .protocol {
    grid-template-columns: 1fr;
  }

  .split-layout .art-panel {
    max-width: 620px;
  }

  .threat-art,
  .protocol-diagram,
  .token-art {
    width: min(100%, 620px);
  }

  .protocol-steps {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .protocol-steps article {
    min-height: 210px;
  }

  .protocol-steps article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .protocol-steps h3 {
    margin-top: 44px;
  }

  .token-art {
    width: calc(100% - 18px);
  }

  .finale-content {
    padding: 48px 36px;
  }
}

@media (max-width: 600px) {
  :root { --page: calc(100% - 32px); }

  body { font-size: 15px; }

  .site-header { height: 64px; padding-inline: 16px; }
  .brand-code { display: none; }
  .brand-mark { width: 32px; height: 32px; }

  .hero {
    min-height: auto;
    padding-block: 64px 74px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.65rem);
  }

  .hero-actions,
  .token-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
    gap: 7px;
  }

  .hero-visual {
    width: calc(100% - 10px);
  }

  .image-frame {
    padding: 6px;
    box-shadow: 10px 10px 0 var(--ink);
  }

  .image-frame-wide img {
    aspect-ratio: 0.92 / 1;
    object-position: 61% center;
  }

  .scanline {
    top: 6px;
    right: 6px;
    left: 6px;
  }

  .hero-visual figcaption,
  .art-panel figcaption,
  .protocol-diagram figcaption {
    flex-direction: column;
    gap: 4px;
    margin-top: 16px;
  }

  .premise,
  .threat,
  .protocol,
  .token {
    padding-block: 88px;
  }

  .section-intro {
    display: block;
    padding-bottom: 35px;
  }

  .section-intro h2 {
    margin-top: 20px;
  }

  .section-intro .philosophy {
    margin-top: 24px;
  }

  .split-layout {
    margin-top: 50px;
  }

  .section-intro h2,
  .threat h2,
  .protocol h2,
  .token h2,
  .finale h2 {
    font-size: clamp(2.3rem, 11vw, 3.35rem);
  }

  .thought-line {
    grid-template-columns: 38px 1fr;
  }

  .threat-list article {
    grid-template-columns: 36px 1fr;
  }

  .token-facts {
    grid-template-columns: 1fr;
  }

  .token-facts > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contract-box {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-button {
    justify-content: space-between;
  }

  .text-link {
    align-self: flex-start;
  }

  .finale {
    width: 100%;
    min-height: 620px;
  }

  .finale-content {
    min-height: 620px;
    padding-inline: 22px;
  }

  .finale-shade {
    background: rgba(7, 17, 31, 0.78);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

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

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
