/* ── Tokens matched to toke.city homepage ──────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #00a651;
  --green-deep: #007a3d;
  --green-bright: #2dcc6a;
  --yellow: #f4c400;
  --yellow-hot: #ffe033;
  --black: #0a0a0a;
  --ink: #111111;
  --metal: #3d3d3d;
  --split: 54%;
}

html, body {
  min-height: 100%;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--black);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

/* ── Split world: green sky + yellow street ──────────────── */
.world {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.sky {
  position: absolute;
  inset: 0 0 calc(100% - var(--split)) 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, var(--green-bright) 0%, var(--green) 55%, var(--green-deep) 100%);
}

.street {
  position: absolute;
  inset: var(--split) 0 0 0;
  background:
    linear-gradient(180deg, #e8b800 0%, var(--yellow) 18%, var(--yellow-hot) 100%);
}

.wall-texture {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ── Stage ─────────────────────────────────────────────────── */
.stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
}

.panel-zone {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 1rem 0;
}

/* ── Banner logo (matches homepage hero) ──────────────────── */
.banner-link {
  display: block;
  width: min(92vw, 520px);
  text-decoration: none;
  animation: fade-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.banner {
  position: relative;
  margin: 0;
  border: 4px solid var(--black);
  border-radius: 3px;
  overflow: hidden;
  background: var(--black);
  box-shadow:
    0 2px 0 var(--black),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 48px 100px rgba(0, 0, 0, 0.25);
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 38%,
    rgba(255, 255, 255, 0.14) 48%,
    transparent 58%
  );
  transform: translateX(-130%);
  animation: shine-pass 6s ease-in-out 2s infinite;
  pointer-events: none;
}

@keyframes shine-pass {
  0%, 65%  { transform: translateX(-130%); }
  100%     { transform: translateX(130%); }
}

/* ── Panel: black slab, matches homepage CTA styling ─────── */
.panel {
  width: min(92vw, 520px);
  background: var(--black);
  border: 3px solid var(--black);
  border-radius: 3px;
  padding: 2.5rem 2.25rem;
  color: #f0f0f0;
  box-shadow:
    6px 6px 0 rgba(0, 0, 0, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.45);
  animation: panel-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes panel-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.panel-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 0.75rem;
}

.panel-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--yellow-hot);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.panel-lead {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(240, 240, 240, 0.85);
  margin-bottom: 1.75rem;
}

.panel-note {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(240, 240, 240, 0.55);
  margin-bottom: 1.75rem;
}

.done-email {
  color: var(--yellow-hot);
  font-weight: 700;
  word-break: break-all;
}

/* ── Form ─────────────────────────────────────────────────── */
.field-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.6);
  margin-bottom: 0.5rem;
}

.field-input {
  display: block;
  width: 100%;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  color: #f0f0f0;
  background: var(--ink);
  border: 2px solid var(--metal);
  border-radius: 2px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input::placeholder {
  color: rgba(240, 240, 240, 0.3);
}

.field-input:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(45, 204, 106, 0.2);
}

.field-input.field-error {
  border-color: #e04040;
}

/* ── CTA: yellow slab on black panel ──────────────────────── */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1.05rem 2.2rem;
  text-decoration: none;
  color: var(--black);
  background: var(--yellow);
  border: 3px solid var(--yellow);
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(244, 196, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-face {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta-skip {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.cta:hover {
  background: var(--yellow-hot);
  border-color: var(--yellow-hot);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 50px rgba(244, 196, 0, 0.3);
}

.cta:hover .cta-skip {
  transform: translateX(5px);
}

.cta:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 8px 24px rgba(244, 196, 0, 0.2);
}

.cta--home {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
  box-shadow: 0 12px 40px rgba(0, 166, 81, 0.2);
}

.cta--home:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  box-shadow: 0 18px 50px rgba(0, 166, 81, 0.35);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.65rem;
  animation: fade-rise 0.8s ease-out 0.6s both;
}

.footer-legal a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.52);
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 10, 10, 0.18);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--black);
  border-color: rgba(10, 10, 10, 0.45);
}

.footer-copy {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(10, 10, 10, 0.34);
}

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Narrow mobile ─────────────────────────────────────────── */
@media (max-width: 420px) {
  .stage {
    padding: 1rem 1rem 1.25rem;
  }

  .panel {
    padding: 1.75rem 1.35rem;
  }

  .banner {
    border-width: 3px;
  }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
