:root {
  --red: #E4232E;
  --red-deep: #8C0E17;
  --black: #000000;
  --white: #FFFFFF;
  --yellow: #FFCF00;
  --green: #00C805;
  --green-deep: #0B7A17;
  --grey: #BDBDBD;
  --grey-deep: #6E6E6E;
  --paper: #F3F3F1;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); line-height: 0.95; margin: 0; }
a { color: inherit; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Header */
.store-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  background: var(--black); color: var(--white);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: 0.04em;
  text-decoration: none;
}
.wordmark-cat { width: 34px; height: 34px; }
.wordmark-cat path { fill: var(--white); }
.store-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.store-nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.store-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-buy { background: var(--red); padding: 8px 16px; font-family: var(--display); font-size: 18px !important; font-weight: 900 !important; letter-spacing: 0.03em; }
.nav-buy:hover { text-decoration: none !important; background: #ff2f3b; }

/* Banner */
.banner { background: var(--green); line-height: 0; }
.banner img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center;
  padding: clamp(40px, 8vw, 96px) var(--gutter);
}
.hero-date { margin: 0 0 14px; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--red); }
.hero h1 { font-size: clamp(56px, 8.5vw, 132px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; max-width: 9ch; }
.hero-lede { max-width: 52ch; font-size: 19px; margin: 24px 0 8px; }
.hero-sub { font-family: var(--display); font-weight: 700; font-size: 28px; margin: 0 0 32px; }
.hero-facts { display: grid; grid-template-columns: auto auto 1fr; gap: 0 32px; margin: 0; border-top: 3px solid var(--black); }
.hero-facts div { padding: 12px 0; }
.hero-facts dt { font-size: 13px; font-weight: 600; color: var(--grey-deep); }
.hero-facts dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; }

/* The button */
.button-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.big-button {
  --face: var(--green);
  --edge: var(--green-deep);
  display: block; width: min(100%, 420px); aspect-ratio: 1;
  border-radius: 50%; text-decoration: none;
  background: var(--edge);
  box-shadow: 0 30px 0 -10px rgba(0,0,0,0.18);
  position: relative;
  transition: filter .2s;
}
.big-button-face {
  position: absolute; inset: 0 0 26px 0;
  border-radius: 50%; background: var(--face);
  display: grid; place-items: center;
  box-shadow: inset 0 -14px 0 rgba(0,0,0,0.12), inset 0 10px 0 rgba(255,255,255,0.18);
  transition: transform .09s ease-out, inset .09s;
  transform: translateY(0);
}
.big-button:active .big-button-face,
.big-button.is-pressed .big-button-face { transform: translateY(20px); }
.big-button-label {
  font-family: var(--display); font-weight: 900; font-size: clamp(64px, 11vw, 150px);
  color: var(--black); letter-spacing: 0.02em; line-height: 1; text-transform: uppercase;
}
.big-button.is-restricted { --face: var(--grey); --edge: var(--grey-deep); cursor: not-allowed; filter: saturate(0); }
.big-button.is-restricted .big-button-label { font-size: clamp(30px, 5vw, 56px); color: #333; text-decoration: line-through; text-decoration-thickness: 4px; }
.button-caption { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; text-align: center; color: var(--grey-deep); }
.big-button:not(.is-restricted) + .button-caption { color: var(--black); }

/* Quote band */
.quote-band {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 36px;
  background: var(--red); color: var(--white);
  padding: 14px var(--gutter);
  font-family: var(--display); font-weight: 900; font-size: 26px; text-transform: uppercase; letter-spacing: 0.04em;
}

/* Sections */
section { padding: clamp(56px, 8vw, 112px) var(--gutter); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(40px, 5.5vw, 76px); font-weight: 900; text-transform: uppercase; }
.section-head p { font-size: 18px; margin: 18px 0 0; }

/* Ledger */
.ledger { background: var(--paper); }
.ledger-table { width: 100%; border-collapse: collapse; border-top: 4px solid var(--black); }
.ledger-table th { text-align: left; font-family: var(--display); font-weight: 700; font-size: 18px; padding: 12px 12px 12px 0; border-bottom: 2px solid var(--black); }
.ledger-table td { padding: 16px 12px 16px 0; border-bottom: 1px solid #C9C9C4; vertical-align: top; }
.ledger-table td:first-child { font-family: var(--display); font-weight: 700; font-size: 20px; white-space: nowrap; width: 9ch; }
.ledger-table .num { text-align: right; font-family: var(--display); font-weight: 700; font-size: 22px; white-space: nowrap; }
.ledger-table td:nth-child(2) { max-width: 70ch; }
.ledger-table tr.is-hot td { background: var(--red); color: var(--white); border-bottom-color: var(--red); padding-left: 12px; }
.ledger-table tr.is-hot td:first-child { border-left: 0; }
.ledger-table tr.is-now td { background: var(--black); color: var(--white); border-bottom-color: var(--black); padding-left: 12px; }
.ledger-note { font-size: 14px; color: var(--grey-deep); margin: 14px 0 0; }

/* Pair */
.pair-cards { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-bottom: 48px; }
.pair-x { font-family: var(--display); font-weight: 900; font-size: 96px; line-height: 1; }
.tag { padding: 28px; position: relative; color: var(--white); }
.tag::before { content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 28px; height: 20px; background: var(--white); border-radius: 0 0 14px 14px; }
.tag-red { background: var(--green); color: var(--black); }
.tag-red .tag-addr { background: rgba(0,0,0,0.12); }
.tag-black { background: var(--black); }
.tag h3 { font-size: 72px; font-weight: 900; }
.tag-role { margin: 4px 0 20px; font-weight: 600; font-size: 16px; opacity: .9; }
.tag-addr { margin: 0; padding: 12px; background: rgba(255,255,255,0.14); cursor: copy; word-break: break-all; font-size: 14px; }
.tag-addr.is-copied { outline: 3px solid var(--yellow); }
.tag-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; }
.how-to { max-width: 62ch; padding-left: 1.2em; font-size: 18px; }
.how-to li { margin-bottom: 14px; }
.how-to li::marker { font-family: var(--display); font-weight: 900; color: var(--red); }
.link-button { font: inherit; font-weight: 600; color: var(--red); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* YOLO brokerage card */
.yolo { background: var(--black); color: var(--white); }
.yolo .section-head p { color: #D6D6D6; }
.brokerage { background: var(--white); color: var(--black); max-width: 860px; border: 1px solid #D0D0D0; }
.brokerage-bar { display: flex; justify-content: space-between; padding: 10px 16px; background: #EFEFEF; font-size: 14px; font-weight: 600; border-bottom: 1px solid #D0D0D0; }
.brokerage-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.brokerage-table th { text-align: left; padding: 10px 16px; font-size: 13px; color: var(--grey-deep); font-weight: 600; border-bottom: 1px solid #E5E5E5; }
.brokerage-table td { padding: 14px 16px; border-bottom: 1px solid #E5E5E5; }
.brokerage-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.brokerage-table small { color: var(--grey-deep); }
.brokerage-table .gain { color: #0D8A3C; font-weight: 600; }
.brokerage-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 16px; font-weight: 600; }
.brokerage-foot strong { font-family: var(--display); font-weight: 900; font-size: 56px; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }

/* Tokenomics sticker */
.tokenomics { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticker { background: var(--yellow); padding: 26px 28px 22px; transform: rotate(-1.5deg); box-shadow: 0 18px 30px -18px rgba(0,0,0,0.45); }
.sticker-top { margin: 0; font-family: var(--display); font-weight: 700; font-size: 18px; }
.sticker h2 { font-size: 64px; font-weight: 900; text-transform: uppercase; border-bottom: 4px solid var(--black); padding-bottom: 6px; margin-bottom: 10px; }
.sticker-list { margin: 0; }
.sticker-list div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 2px dotted rgba(0,0,0,0.35); }
.sticker-list dt { font-weight: 600; }
.sticker-list dd { margin: 0; font-family: var(--display); font-weight: 900; font-size: 22px; text-align: right; }
.sticker-bottom { margin: 16px 0 0; font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; text-align: center; }
.tokenomics-copy h3 { font-size: 44px; font-weight: 900; text-transform: uppercase; margin-bottom: 16px; }
.tokenomics-copy p { max-width: 58ch; font-size: 18px; }
.cta {
  display: inline-block; margin-top: 12px; padding: 16px 30px;
  background: var(--red); color: var(--white); text-decoration: none;
  font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: 0.03em; text-transform: uppercase;
}
.cta:hover { background: #ff2f3b; }

/* Footer */
.store-footer { background: var(--black); color: var(--white); padding: 40px var(--gutter) 56px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-family: var(--display); font-weight: 700; font-size: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-fine { max-width: 70ch; color: #BDBDBD; font-size: 14px; margin: 28px 0 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .button-stage { order: -1; }
  .big-button { width: min(78vw, 340px); }
  .pair-cards { grid-template-columns: 1fr; }
  .pair-x { text-align: center; font-size: 56px; }
  .tokenomics { grid-template-columns: 1fr; }
  .ledger-table th:last-child, .ledger-table td:last-child { display: none; }
  .ledger-table td:first-child { width: auto; white-space: normal; font-size: 17px; }
  .quote-band { font-size: 20px; gap: 4px 24px; }
}
@media (max-width: 600px) {
  .store-nav a:not(.nav-buy) { display: none; }
  .brokerage-table th:nth-child(3), .brokerage-table td:nth-child(3) { display: none; }
  .hero h1 { font-size: clamp(48px, 15vw, 80px); }
  .hero-facts { grid-template-columns: 1fr; gap: 0; }
  .hero-facts div + div { border-top: 1px solid #DDD; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .big-button-face { transition: none; }
}
