:root {
  --paper: #f7f7f5;
  --ink: #110e08;
  --buy: #ccff00;
  --soft: #e8e8e1;
  --muted: #63635d;
  --halt: #c92e29;
  --sans: "Hanken Grotesk", Arial, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; background: var(--paper); color: var(--ink); }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--buy); color: var(--ink); }
a { color: inherit; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 3px solid var(--halt); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 11px 14px;
  border: 1px solid var(--ink);
  background: var(--buy);
  font: 750 10px/1 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

main,
.start-footer {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.start-label {
  margin: 0;
  font: 750 10px/1.35 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.start-primary {
  width: fit-content;
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border: 1px solid var(--ink);
  background: var(--buy);
  box-shadow: 4px 4px 0 var(--ink);
  font: 800 11px/1 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.start-primary:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

.start-hero {
  min-height: min(760px, calc(100svh - 70px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: stretch;
  border-inline: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.start-hero__copy {
  min-width: 0;
  padding: clamp(52px, 7vw, 108px) clamp(30px, 5vw, 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.start-hero h1 {
  max-width: 10.4ch;
  margin: 26px 0 22px;
  font-size: clamp(64px, 7vw, 108px);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .83;
  text-transform: uppercase;
}
.start-hero h1 em { color: #648100; font-style: normal; }
.start-dek { max-width: 610px; margin: 0; font-size: clamp(19px, 1.9vw, 28px); font-weight: 560; line-height: 1.22; }
.start-note { margin: 18px 0 28px; color: var(--muted); font: 650 11px/1.5 var(--mono); text-transform: uppercase; }
.start-hero__object {
  min-width: 0;
  margin: 0;
  padding: 48px 30px 24px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  overflow: hidden;
}
.start-hero__object img { width: min(118%, 780px); max-width: none; height: auto; filter: drop-shadow(0 22px 24px rgb(0 0 0 / 45%)); }
.start-hero__object figcaption { align-self: end; margin-top: 36px; color: var(--buy); font: 700 9px/1.4 var(--mono); text-align: center; text-transform: uppercase; }

.start-doors { padding: clamp(64px, 8vw, 112px) 0; }
.start-doors > header { max-width: 890px; margin-bottom: 36px; }
.start-doors h2,
.keepers h2,
.buy-guide h2,
.start-next h2 {
  margin: 12px 0 0;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .9;
  text-transform: uppercase;
}
.start-doors nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ink); }
.start-doors a {
  position: relative;
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.start-doors a + a { border-left: 1px solid var(--ink); }
.start-doors a:hover { background: var(--buy); }
.start-doors a > span { font: 700 9px/1.35 var(--mono); }
.start-doors a strong { max-width: 8ch; margin-top: auto; font-size: clamp(27px, 2.4vw, 38px); font-weight: 900; letter-spacing: -.045em; line-height: .9; }
.start-doors a small { max-width: 26ch; margin-top: 10px; color: var(--muted); font: 550 10px/1.45 var(--mono); }
.start-doors a b { position: absolute; top: 19px; right: 22px; font-size: 20px; }

.keepers {
  padding: clamp(38px, 5vw, 68px);
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 42px;
  border: 1px solid var(--ink);
  background: var(--buy);
  box-shadow: 8px 8px 0 var(--ink);
}
.keepers h2 { margin-top: 0; }
.keepers p:not(.start-label) { max-width: 850px; margin: 20px 0 0; font-size: clamp(18px, 1.8vw, 26px); line-height: 1.3; }
.keepers p:last-child { font: 750 11px/1.4 var(--mono); text-transform: uppercase; }

.buy-guide { padding: clamp(80px, 10vw, 140px) 0 0; scroll-margin-top: 82px; }
.buy-guide__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .55fr); align-items: end; gap: 60px; padding-bottom: 40px; border-bottom: 1px solid var(--ink); }
.buy-guide__head > p { max-width: 44ch; margin: 0 0 5px; color: var(--muted); font-size: 15px; }

.wallet-ready {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
}
.wallet-ready p { margin: 0; }
.wallet-ready p span,
.wallet-ready p strong { display: block; }
.wallet-ready p span { margin-bottom: 6px; color: var(--muted); font: 750 9px/1.3 var(--mono); }
.wallet-ready p strong { font-size: clamp(17px, 1.8vw, 24px); line-height: 1.15; }
.wallet-ready > div { display: flex; flex-wrap: wrap; gap: 8px; }
.wallet-ready a,
.wallet-address button {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font: 800 10px/1.2 var(--mono);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.wallet-ready a:first-child,
.wallet-address button { background: var(--buy); box-shadow: 3px 3px 0 var(--ink); }

.wallet-address {
  padding: 16px 0;
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(170px, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--ink);
}
.wallet-address button { width: 100%; }
.wallet-address > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }

.wallet-steps { padding-top: 24px; scroll-margin-top: 22px; }
.wallet-steps ol {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  border: 1px solid var(--ink);
}
.wallet-step { min-width: 0; display: flex; flex-direction: column; background: #050505; color: var(--paper); list-style: none; }
.wallet-step + .wallet-step { border-left: 1px solid var(--ink); }
.wallet-step > header {
  min-height: 86px;
  padding: 18px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  background: var(--buy);
  color: var(--ink);
}
.wallet-step > header > span { padding-top: 5px; font: 800 16px/1 var(--mono); }
.wallet-step h3 { margin: 0; font-size: clamp(27px, 2.8vw, 42px); font-weight: 900; letter-spacing: -.055em; line-height: .94; }
.wallet-shot { margin: 0; overflow: hidden; background: #000; }
.wallet-shot__frame { aspect-ratio: 1 / 2; background: #000; }
.wallet-shot img { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.wallet-shot figcaption { min-height: 34px; padding: 10px 14px; border-top: 1px solid #303030; background: #050505; color: var(--buy); font: 750 9px/1.3 var(--mono); text-align: center; }
.contract-card { margin-top: 12px; background: var(--ink); color: var(--paper); }
.wallet-address .contract-card { min-width: 214px; margin-top: 0; }
.contract-card summary { padding: 13px 14px; cursor: pointer; color: var(--buy); font: 750 10px/1.25 var(--mono); list-style: none; }
.contract-card summary::-webkit-details-marker { display: none; }
.contract-card code { padding: 0 14px 14px; display: block; overflow-wrap: anywhere; font: 700 12px/1.5 var(--mono); }
.wallet-address .wallet-stop { grid-column: 1 / -1; color: var(--halt); font: 750 10px/1.4 var(--mono); text-transform: uppercase; }

.buy-more { margin-top: 28px; border-top: 1px solid var(--ink); }
.buy-more details { border-bottom: 1px solid var(--ink); }
.buy-more summary { min-height: 62px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font: 800 11px/1.3 var(--mono); list-style: none; }
.buy-more summary::-webkit-details-marker { display: none; }
.buy-more summary span { font-size: 22px; transition: transform 120ms ease; }
.buy-more details[open] summary { background: var(--buy); }
.buy-more details[open] summary span { transform: rotate(45deg); }
.buy-more details > div { padding: 20px 16px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 20px; background: var(--soft); }
.buy-more p { max-width: 760px; margin: 0; font-size: 14px; }
.buy-more p + p { margin-top: 10px; }
.buy-more a { font: 800 10px/1.3 var(--mono); }

.start-next { padding: clamp(90px, 11vw, 150px) 0; }
.start-next > div { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.start-next a { min-height: 130px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.start-next a + a { border-left: 1px solid var(--ink); }
.start-next a:hover { background: var(--buy); }
.start-next strong { font-size: clamp(24px, 3vw, 42px); font-weight: 900; letter-spacing: -.045em; }
.start-next span { font: 650 10px/1.4 var(--mono); }

.start-footer { min-height: 92px; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid var(--ink); font: 700 9px/1.5 var(--mono); text-transform: uppercase; }
.start-footer p { margin: 0; color: var(--muted); text-align: center; }

@media (max-width: 920px) {
  .start-hero { min-height: 0; grid-template-columns: 1fr; }
  .start-hero__object { min-height: 420px; border-top: 1px solid var(--ink); border-left: 0; }
  .start-hero__object img { width: min(94%, 690px); }
  .start-doors nav { grid-template-columns: 1fr 1fr; }
  .start-doors a:nth-child(odd) { border-left: 0; }
  .start-doors a:nth-child(n + 3) { border-top: 1px solid var(--ink); }
  .keepers { grid-template-columns: 1fr; }
  .buy-guide__head { grid-template-columns: 1fr; gap: 24px; }
  .wallet-address { grid-template-columns: minmax(190px, 260px) minmax(0, 1fr); }
  .wallet-address .contract-card { grid-column: 1 / -1; }
  .wallet-steps ol { grid-template-columns: 1fr; width: min(100%, 680px); margin-inline: auto; }
  .wallet-step + .wallet-step { border-top: 1px solid var(--ink); border-left: 0; }
}

@media (max-width: 640px) {
  main,
  .start-footer { width: 100%; }
  .start-hero { border-inline: 0; }
  .start-hero__copy { padding: 46px 20px 38px; }
  .start-hero h1 { font-size: clamp(50px, 15.2vw, 68px); }
  .start-dek { font-size: 18px; }
  .start-primary { width: 100%; }
  .start-hero__object { min-height: 330px; padding: 30px 12px 18px; }
  .start-doors { padding: 70px 16px; }
  .start-doors nav { grid-template-columns: 1fr; }
  .start-doors a { min-height: 190px; }
  .start-doors a + a,
  .start-doors a:nth-child(n + 3) { border-top: 1px solid var(--ink); border-left: 0; }
  .keepers { margin-inline: 16px; padding: 28px 22px; gap: 22px; box-shadow: 5px 5px 0 var(--ink); }
  .keepers h2,
  .buy-guide h2,
  .start-next h2 { font-size: clamp(42px, 13vw, 58px); }
  .buy-guide { padding: 90px 16px 0; }
  .wallet-ready { align-items: stretch; flex-direction: column; }
  .wallet-ready > div { display: grid; grid-template-columns: 1fr 1fr; }
  .wallet-ready a { width: 100%; }
  .wallet-address { grid-template-columns: 1fr; }
  .wallet-address > p,
  .wallet-address .contract-card,
  .wallet-address .wallet-stop { grid-column: auto; }
  .wallet-steps { padding-top: 18px; }
  .wallet-step > header { min-height: 78px; padding: 16px; }
  .wallet-step h3 { font-size: 34px; }
  .contract-card code { font-size: 10px; }
  .wallet-example { padding-inline: 4px; text-align: left; }
  .buy-more { margin-inline: -16px; }
  .buy-more details > div { grid-template-columns: 1fr; }
  .start-next { padding: 96px 16px; }
  .start-next > div { grid-template-columns: 1fr; }
  .start-next a + a { border-top: 1px solid var(--ink); border-left: 0; }
  .start-footer { padding: 24px 16px; flex-direction: column; align-items: flex-start; }
  .start-footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .start-primary { transition: none; }
}
