:root {
  --desktop: #76b9e9;
  --desktop-light: #dff4ff;
  --window: #c0c0c0;
  --window-light: #dfdfdf;
  --white: #ffffff;
  --ink: #101010;
  --muted: #4b4b4b;
  --navy: #000080;
  --teal: #008080;
  --green: #168b32;
  --green-dark: #0b5f22;
  --red: #f35325;
  --blue: #05a6f0;
  --yellow: #ffba08;
  --pane-green: #81bc06;
  --shadow: #808080;
  --shadow-dark: #404040;
  --max-width: 1720px;
  --gutter: clamp(20px, 3.3vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--navy) var(--window);
}

body {
  background:
    radial-gradient(ellipse 260px 90px at 8% 9%, rgba(255, 255, 255, 0.92) 0 36%, transparent 38%),
    radial-gradient(ellipse 300px 105px at 94% 28%, rgba(255, 255, 255, 0.8) 0 34%, transparent 36%),
    radial-gradient(ellipse 250px 85px at 14% 72%, rgba(255, 255, 255, 0.68) 0 32%, transparent 34%),
    linear-gradient(180deg, #68afe5 0%, var(--desktop-light) 48%, #79bdf0 100%);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

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

.scanlines {
  display: none;
}

.site-header,
.hero,
.section-shell,
.proof-strip,
footer {
  margin-inline: auto;
  max-width: var(--max-width);
}

.site-header {
  align-items: center;
  background: var(--window);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 72px;
  padding: 10px 24px;
  position: relative;
  width: 100%;
  z-index: 10;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  gap: 12px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
  grid-template-columns: repeat(2, 12px);
  transform: skewY(-3deg);
}

.brand-mark i {
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, 0.45);
  display: block;
}

.brand-mark i:nth-child(1) { background: var(--red); }
.brand-mark i:nth-child(2) { background: var(--pane-green); }
.brand-mark i:nth-child(3) { background: var(--blue); }
.brand-mark i:nth-child(4) { background: var(--yellow); }

.brand-red { color: var(--red); }
.brand-green { color: var(--pane-green); }
.brand-blue { color: var(--blue); }
.brand-yellow { color: var(--yellow); }

nav {
  display: flex;
  gap: clamp(24px, 3.2vw, 52px);
}

nav a,
.text-link {
  color: var(--navy);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  text-underline-offset: 4px;
}

nav a:hover,
.text-link:hover {
  text-decoration: underline;
}

.button {
  align-items: center;
  background: var(--window);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.22);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.03em;
  min-height: 48px;
  padding: 12px 20px;
  text-decoration: none;
  text-transform: uppercase;
}

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

.button:active {
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  box-shadow: none;
  transform: translate(2px, 2px);
}

.button-outline {
  justify-self: end;
}

.button-retro {
  gap: 12px;
  min-width: 190px;
}

.window-bar {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: flex;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  justify-content: space-between;
  min-height: 32px;
  padding: 4px 6px 4px 9px;
}

.window-controls {
  display: flex;
  gap: 3px;
}

.window-controls i {
  align-items: center;
  background: var(--window);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  color: var(--ink);
  display: flex;
  font-size: 0.78rem;
  font-style: normal;
  height: 22px;
  justify-content: center;
  line-height: 1;
  width: 23px;
}

.window-menu {
  align-items: center;
  background: var(--window);
  border-bottom: 1px solid var(--shadow);
  color: var(--ink);
  display: flex;
  font-size: 0.82rem;
  gap: 24px;
  min-height: 34px;
  padding: 5px 12px;
}

.window-menu span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 4vw, 66px);
  grid-template-columns: minmax(430px, 0.8fr) minmax(560px, 1.28fr);
  min-height: auto;
  padding: clamp(54px, 4.5vw, 72px) var(--gutter) clamp(78px, 6vw, 104px);
}

.hero h1,
.section-heading h2,
.meme-copy h2,
.final-cta h2 {
  color: var(--ink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.45rem, 3.9vw, 4.5rem);
  white-space: nowrap;
}

.hero-copy {
  min-width: 0;
}

.hero h1 span {
  background: linear-gradient(
    90deg,
    var(--red) 0 24%,
    var(--pane-green) 24% 48%,
    var(--blue) 48% 72%,
    var(--yellow) 72% 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading h2 span,
.meme-copy h2 span,
.final-cta h2 span {
  color: var(--navy);
}

.hero-lede {
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 28px 0;
  max-width: 610px;
}

.hero-lede strong {
  color: var(--navy);
  font-weight: 900;
}

.cursor {
  animation: blink 0.82s steps(1) infinite;
  background: var(--green);
  display: inline-block;
  height: 0.9em;
  margin-left: 5px;
  vertical-align: -0.08em;
  width: 0.45em;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contract-window {
  background: transparent;
  margin-top: 26px;
  max-width: 680px;
}

.contract-window .window-bar {
  background: transparent;
  color: var(--ink);
  font-size: 0.75rem;
  min-height: auto;
  padding: 0 2px 8px;
}

.contract-window .window-bar span:last-child {
  display: none;
}

.contract-window button {
  align-items: center;
  background: var(--white);
  border: 2px solid;
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  min-height: 52px;
  overflow: hidden;
  padding: 12px 14px;
  width: 100%;
}

.contract-window code {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: clamp(0.82rem, 1vw, 1rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-cursor {
  animation: blink 0.82s steps(1) infinite;
  background: var(--navy);
  height: 1.05rem;
  margin-left: 6px;
  min-width: 7px;
}

.hero-visual {
  background: var(--window);
  border: 3px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.25);
  min-width: 0;
  padding: 3px;
  position: relative;
}

.hero-visual > img {
  aspect-ratio: 3 / 1;
  border: 2px solid;
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.hero-visual > .window-menu {
  margin-bottom: 3px;
}

.retro-dialog {
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.24);
  margin: 6px 0 2px auto;
  position: relative;
  width: 100%;
  z-index: 2;
}

.retro-dialog .window-bar {
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) transparent var(--white);
  font-size: 0.73rem;
  min-height: 26px;
}

.dialog-body {
  align-items: center;
  background: var(--window);
  border: 2px solid;
  border-color: transparent var(--shadow-dark) var(--shadow-dark) var(--white);
  color: var(--ink);
  display: grid;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.7rem;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
  padding: 13px;
}

.dialog-body p {
  font-weight: 600;
  margin: 0;
}

.warning {
  align-items: center;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  display: flex;
  font-size: 1rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  padding-top: 11px;
  width: 42px;
}

.mini-button {
  background: var(--window);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  padding: 4px 18px;
}

.proof-strip {
  background: var(--window);
  border: 3px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 34px;
  padding-inline: 8px;
  width: calc(100% - 2 * var(--gutter));
}

.proof-item {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 18px;
  min-height: 104px;
  padding: 20px clamp(16px, 2.4vw, 38px);
  text-decoration: none;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--shadow);
}

a.proof-item:hover {
  background: var(--white);
}

.proof-item small {
  color: var(--muted);
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}

.proof-icon {
  color: var(--navy);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.proof-item:nth-child(2) .proof-icon { color: var(--red); }
.proof-item:nth-child(3) .proof-icon { color: var(--pane-green); }

.section-shell {
  padding: clamp(72px, 6vw, 104px) var(--gutter);
}

.chart-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.chart-heading {
  margin-bottom: clamp(36px, 4vw, 58px);
}

.section-heading h2,
.meme-copy h2,
.final-cta h2 {
  font-size: clamp(3.2rem, 5vw, 6rem);
}

.chart-window,
.system-window,
.meme-explorer {
  background: var(--window);
  border: 3px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: 6px 7px 0 rgba(0, 0, 0, 0.22);
  padding: 3px;
}

.chart-menu {
  justify-content: flex-start;
}

.chart-menu a {
  color: var(--navy);
  font-weight: 700;
  margin-left: auto;
  text-decoration: underline;
}

.chart-status-row {
  display: flex;
  justify-content: flex-end;
  padding: 10px 10px 0;
}

.live-status {
  align-items: center;
  background: var(--window-light);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  color: var(--muted);
  display: flex;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.04em;
  padding: 8px 10px;
}

.live-status span {
  background: var(--yellow);
  border: 1px solid var(--shadow-dark);
  height: 9px;
  width: 9px;
}

.live-status.is-live {
  color: var(--green-dark);
}

.live-status.is-live span {
  animation: livePulse 1.8s ease-in-out infinite;
  background: var(--green);
}

.live-status.is-delayed {
  color: #8a5500;
}

.market-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 10px;
}

.market-stats div {
  background: var(--white);
  border: 2px solid;
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  min-width: 0;
  padding: 24px clamp(14px, 2vw, 28px);
  text-align: center;
}

.market-stats dt {
  color: var(--ink);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.market-stats dd {
  color: var(--green-dark);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-stats dd.is-negative {
  color: #b42318;
}

.dex-launcher-body {
  background: var(--window-light);
  border: 2px solid;
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  display: grid;
  gap: clamp(30px, 5vw, 84px);
  grid-template-columns: 0.82fr 1.18fr;
  margin: 0 10px 10px;
  min-height: 310px;
  padding: clamp(34px, 5vw, 70px);
}

.dex-terminal {
  border-right: 1px solid var(--shadow);
  color: var(--green-dark);
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: clamp(0.92rem, 1.45vw, 1.25rem);
  font-weight: 800;
  gap: 18px;
  justify-content: center;
  padding-right: clamp(20px, 4vw, 58px);
}

.dex-terminal .cursor {
  height: 0.8em;
}

.dex-launcher-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dex-launcher-copy p {
  color: var(--ink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.55rem, 2.35vw, 2.75rem);
  line-height: 1.06;
  margin: 0 0 18px;
  max-width: 700px;
}

.dex-launcher-copy code {
  background: var(--white);
  border: 2px solid;
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  color: var(--ink);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.78rem;
  margin-bottom: 24px;
  padding: 8px 11px;
}

.chart-footnote {
  color: var(--ink);
  font-size: 0.76rem;
  line-height: 1.6;
  margin: 16px 0 0;
}

.chart-footnote a {
  color: var(--navy);
  font-weight: 700;
}

.about {
  align-items: start;
  display: grid;
  gap: clamp(48px, 7vw, 120px);
  grid-template-columns: minmax(300px, 0.72fr) minmax(480px, 1fr);
}

.section-heading > p,
.meme-copy > p:first-child,
.final-cta > div > p {
  color: var(--navy);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 18px;
}

.system-window > .window-bar {
  margin-bottom: 4px;
}

.spec-list {
  background: var(--window-light);
  border: 2px solid;
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  margin: 0;
}

.spec-list div {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(160px, 0.7fr) 1fr;
  padding: 22px 26px;
}

.spec-list div + div {
  border-top: 1px solid var(--shadow);
}

.spec-list dt {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.spec-list dd {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.install-row {
  align-items: center;
  background: var(--window);
  color: var(--ink);
  display: grid;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
  padding: 14px 8px 6px;
}

.progress-track {
  background: var(--white);
  border: 2px solid;
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(5, 1fr);
  padding: 3px;
}

.progress-track span {
  animation: progressBlink 2.2s steps(1) infinite;
  background: var(--green);
  height: 16px;
}

.progress-track span:nth-child(5) {
  animation-delay: 0.8s;
}

.memes {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.62);
  display: grid;
  gap: clamp(42px, 5vw, 80px);
  grid-template-columns: minmax(250px, 0.46fr) minmax(640px, 1.54fr);
}

.meme-copy {
  align-self: center;
}

.body-copy {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.65;
  margin: 26px 0 32px;
  max-width: 430px;
}

.explorer-toolbar {
  align-items: center;
  background: var(--window);
  border-bottom: 1px solid var(--shadow);
  display: flex;
  font-size: 0.72rem;
  gap: 26px;
  min-height: 48px;
  overflow: hidden;
  padding: 8px 12px;
  white-space: nowrap;
}

.address-bar {
  align-items: center;
  background: var(--window);
  display: grid;
  font-size: 0.72rem;
  gap: 8px;
  grid-template-columns: auto 1fr;
  padding: 5px 8px;
}

.address-bar strong {
  background: var(--white);
  border: 2px solid;
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  font-weight: 500;
  padding: 5px 8px;
}

.meme-gallery {
  background: var(--white);
  border: 2px solid;
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px;
}

.meme-frame {
  background: var(--white);
  border: 1px solid var(--shadow);
  margin: 0;
  padding: 8px;
  position: relative;
}

.meme-frame img {
  aspect-ratio: 1.5 / 1;
  height: auto;
  object-fit: cover;
  transition: transform 220ms ease;
  width: 100%;
}

.meme-frame:hover {
  background: #dfeaff;
  outline: 1px dotted var(--navy);
}

.meme-frame:hover img {
  transform: translateY(-2px);
}

.meme-frame figcaption {
  color: var(--ink);
  font-size: 0.72rem;
  padding: 10px 4px 2px;
  text-align: center;
}

.meme-frame-wide {
  grid-column: auto;
}

.explorer-status {
  background: var(--window);
  display: flex;
  font-size: 0.68rem;
  justify-content: space-between;
  padding: 7px 8px 3px;
}

.final-cta {
  align-items: center;
  background: var(--window);
  border: 3px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: 7px 8px 0 rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 26px clamp(36px, 5vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(250px, 370px);
  grid-template-rows: auto auto;
  margin-bottom: 100px;
  overflow: hidden;
  padding: 76px clamp(28px, 5vw, 80px) 46px;
  position: relative;
  width: calc(100% - 2 * var(--gutter));
}

.final-titlebar {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: flex;
  font-size: 0.95rem;
  font-weight: 800;
  justify-content: space-between;
  left: 3px;
  min-height: 34px;
  padding: 4px 8px;
  position: absolute;
  right: 3px;
  top: 3px;
}

.final-titlebar span:last-child {
  align-items: center;
  background: var(--window);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  color: var(--ink);
  display: flex;
  height: 23px;
  justify-content: center;
  width: 24px;
}

.final-cta > img {
  border-radius: 50%;
  clip-path: circle(49% at 50% 50%);
  filter: drop-shadow(5px 7px 0 rgba(0, 0, 0, 0.2));
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  margin: -18% -8% -18% 0;
  max-width: 370px;
  transform: rotate(5deg);
  width: 100%;
}

.final-copy {
  align-self: end;
  grid-column: 1;
  grid-row: 1;
}

.final-cta h2 {
  font-size: clamp(3.3rem, 5vw, 6.2rem);
}

.cta-actions {
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  grid-column: 1;
  grid-row: 2;
}

footer {
  align-items: center;
  background: var(--window);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  color: var(--ink);
  display: grid;
  font-size: 0.68rem;
  gap: 20px;
  grid-template-columns: auto 1fr 1fr;
  min-height: 62px;
  padding: 8px 14px;
  text-align: center;
}

footer p {
  margin: 0;
}

footer p:last-child {
  justify-self: end;
}

.footer-brand {
  background: var(--window);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  font-size: 0.82rem;
  padding: 10px 13px;
}

.footer-brand .brand-mark {
  grid-template-columns: repeat(2, 7px);
}

.copy-toast {
  background: var(--window);
  border: 3px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  bottom: 22px;
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  left: 50%;
  opacity: 0;
  padding: 16px 20px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 24px);
  transition: opacity 150ms ease, transform 150ms ease;
  z-index: 30;
}

.copy-toast::before {
  background: var(--navy);
  content: "";
  height: 5px;
  left: 3px;
  position: absolute;
  right: 3px;
  top: 3px;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

:focus-visible {
  outline: 2px dotted var(--navy);
  outline-offset: 4px;
}

@keyframes blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes progressBlink {
  0%, 74% { opacity: 1; }
  75%, 100% { opacity: 0.35; }
}

@keyframes livePulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 7vw, 5.8rem);
  }

  .hero-visual {
    margin-top: 30px;
    width: 100%;
  }

  .about,
  .memes {
    grid-template-columns: 1fr;
  }

  .meme-copy {
    max-width: 620px;
  }

  .final-cta {
    grid-template-columns: 1fr minmax(180px, 0.45fr);
  }

  .final-cta > img {
    grid-column: 2;
  }

  .final-copy,
  .cta-actions {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding-inline: 12px;
  }

  .brand {
    font-size: 1.15rem;
  }

  nav {
    display: none;
  }

  .header-x {
    min-height: 40px;
    padding: 8px 11px;
  }

  .hero {
    gap: 34px;
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.7rem);
    white-space: normal;
  }

  .hero-lede {
    margin-block: 22px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

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

  .button-retro {
    width: 100%;
  }

  .hero-visual > img {
    aspect-ratio: 1.35 / 1;
    object-position: 64% center;
  }

  .window-menu {
    gap: 15px;
    overflow: hidden;
    white-space: nowrap;
  }

  .retro-dialog {
    margin-top: 6px;
    width: 100%;
  }

  .dialog-body {
    grid-template-columns: auto 1fr;
  }

  .mini-button {
    grid-column: 2;
    grid-row: 2;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .proof-item {
    min-height: 88px;
  }

  .proof-item + .proof-item {
    border-left: 0;
    border-top: 1px solid var(--shadow);
  }

  .section-shell {
    padding-block: 86px;
  }

  .section-heading h2,
  .meme-copy h2,
  .chart-heading h2 {
    font-size: clamp(2.9rem, 13vw, 4.4rem);
  }

  .chart-menu {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .chart-menu a {
    margin-left: 0;
    width: 100%;
  }

  .market-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-stats div {
    padding-inline: 10px;
  }

  .market-stats dd {
    font-size: 1.1rem;
  }

  .dex-launcher-body {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .dex-terminal {
    border-bottom: 1px solid var(--shadow);
    border-right: 0;
    padding: 0 0 28px;
  }

  .dex-launcher-copy p {
    font-size: 1.55rem;
  }

  .spec-list div {
    align-items: start;
    gap: 7px;
    grid-template-columns: 1fr;
  }

  .install-row {
    grid-template-columns: 1fr auto;
  }

  .progress-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .explorer-toolbar {
    gap: 18px;
  }

  .meme-gallery {
    grid-template-columns: 1fr;
  }

  .final-cta {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 72px 24px 30px;
    text-align: center;
  }

  .final-cta > img {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    margin: 0 auto 8px;
    max-width: 250px;
    width: 72%;
  }

  .final-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .final-cta h2 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .cta-actions {
    grid-column: 1;
    grid-row: 3;
  }

  .cta-actions .button {
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
    padding-block: 14px;
  }

  footer p:last-child,
  .footer-brand {
    justify-self: center;
  }
}

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