:root {
  --red: #e10600;
  --red-dark: #b80500;
  --ink: #111111;
  --muted: #5a5a5a;
  --paper: #f7f5f2;
  --line: #e8e4df;
  --white: #ffffff;
  --font-display: "Archivo Black", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(225, 6, 0, 0.08), transparent 60%),
    linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
  min-height: 100vh;
  line-height: 1.5;
}

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

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

/* —— Top bar —— */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  animation: fade-down 0.6s ease both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 40px;
  height: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 0.75rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--red);
}

.nav-cta {
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* —— Hero —— */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 3rem;
}

.hero-banner {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border-bottom: 4px solid var(--red);
  animation: fade-up 0.7s ease 0.1s both;
}

.hero-banner img {
  width: 100%;
  height: clamp(160px, 28vw, 320px);
  object-fit: contain;
  object-position: center;
  padding: 1.5rem 2rem;
  background: var(--white);
}

.hero-copy {
  text-align: center;
  padding: 2.5rem 0 0;
  animation: fade-up 0.7s ease 0.25s both;
}

.ticker {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.tagline {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-buy {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-buy:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.btn-x {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-x:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

/* —— Contract address —— */
.ca-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--white);
  max-width: 100%;
  animation: crack-in 0.8s ease 0.4s both;
}

.ca-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--red);
}

.ca-address {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.9rem;
  font-weight: 500;
  word-break: break-all;
  color: var(--ink);
}

.btn-copy {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-copy:hover {
  background: var(--red);
}

.btn-copy:active {
  transform: scale(0.96);
}

.copy-toast {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  animation: pop 0.35s ease;
}

/* —— Shared sections —— */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 2.25rem;
}

.section-cta {
  margin-top: 2rem;
}

/* —— How to buy —— */
.buy-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.buy-step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--red);
  line-height: 1.2;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.step-body p {
  color: var(--muted);
  max-width: 36rem;
}

/* —— Roadmap —— */
.section-roadmap {
  border-top: 1px solid var(--line);
}

.roadmap {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--red);
}

.roadmap-item {
  padding: 0 0 2rem 1.5rem;
  position: relative;
}

.roadmap-item:last-child {
  padding-bottom: 0;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 0.35rem;
  width: 11px;
  height: 11px;
  background: var(--white);
  border: 3px solid var(--red);
  transform: translateX(-50%);
}

.roadmap-item.is-live::before {
  background: var(--red);
}

.roadmap-phase {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.roadmap-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.roadmap-item p {
  color: var(--muted);
  max-width: 34rem;
}

@media (min-width: 720px) {
  .roadmap {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
    border-left: none;
    padding-left: 0;
  }

  .roadmap-item {
    padding: 1.5rem 0 0;
    border-top: 3px solid var(--red);
  }

  .roadmap-item::before {
    left: 0;
    top: -7px;
    transform: none;
  }

  .buy-step {
    grid-template-columns: 5.5rem 1fr;
  }
}

/* —— Footer —— */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-logo {
  width: 28px;
  opacity: 0.85;
}

/* —— Motion —— */
@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes crack-in {
  from {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .nav-link:not([href^="http"]):nth-of-type(1),
  .nav-link:not([href^="http"]):nth-of-type(2) {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 0.85rem 1rem;
  }

  .hero {
    padding: 0.25rem 1rem 2.5rem;
  }

  .hero-banner img {
    padding: 1rem;
    height: clamp(120px, 36vw, 200px);
  }

  .section {
    padding: 2.75rem 1rem;
  }

  .buy-step {
    grid-template-columns: 3.25rem 1fr;
    gap: 0.75rem;
  }

  .ca-row {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }

  .section-cta .btn {
    width: 100%;
  }
}
