:root {
  --paper: #fff8ee;
  --ink: #141820;
  --muted: #5c6772;
  --line: #e4eaf2;
  --card: #ffffff;
  --copper: #d97706;
  --copper-deep: #b45309;
  --gold: #ffc107;
  --gold-deep: #f0a800;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100dvh;
  background:
    radial-gradient(560px 380px at 12% 18%, rgba(255, 196, 60, 0.22), transparent 60%),
    radial-gradient(700px 460px at 100% 0%, rgba(40, 72, 140, 0.28), transparent 55%),
    linear-gradient(165deg, #1a2233 0%, #0c1018 55%, #141820 100%);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 244, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 244, 220, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
}
button, input { font: inherit; }
.page {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 22px auto;
  padding: 28px 36px 36px;
  background: #fffdf9;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 28px 70px rgba(0, 0, 0, 0.38);
}
.top, .legal {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 16px;
}
.legal { justify-content: space-between; }
.brand, .offer { margin: 0; }
.brand {
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.03em;
}
.offer {
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: center;
}
.portrait {
  position: relative;
  margin: 0;
  background: #0d0d0d;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(40, 24, 12, 0.16);
}
.live-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 252, 248, 0.96);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 13px 8px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e11d2e;
  box-shadow: 0 0 0 0 rgba(225, 29, 46, 0.55);
  animation: livepulse 1.6s ease-out infinite;
}
@keyframes livepulse {
  70% { box-shadow: 0 0 0 7px rgba(225, 29, 46, 0); }
}
.portrait figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  margin: 0;
  max-width: calc(100% - 32px);
  padding: 10px 14px 11px;
  border-radius: 8px;
  background: var(--gold);
  color: #1a1208;
  line-height: 1.05;
}
.portrait figcaption strong {
  display: block;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.portrait figcaption span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.portrait img {
  display: block;
  width: 100%;
  height: min(72vh, 640px);
  object-fit: cover;
  object-position: center 18%;
}
.role {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 14px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(46px, 5.4vw, 74px);
  font-weight: 560;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
h1 em { font-style: italic; font-weight: 560; }
.deck {
  margin: 0 0 16px;
  max-width: 36ch;
  color: #3a4450;
  font-size: 17.5px;
  font-weight: 450;
  line-height: 1.5;
}
.beats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.beats li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 12px;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  animation: rise 0.55s ease both;
}
.beats li:nth-child(1) { animation-delay: 0.12s; }
.beats li:nth-child(2) { animation-delay: 0.22s; }
.beats li:nth-child(3) { animation-delay: 0.32s; }
.beat-icon {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff6dc;
  color: #9a6708;
}
.beat-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: draw 0.9s ease forwards;
}
.beats li:nth-child(2) .beat-icon svg { animation-delay: 0.12s; }
.beats li:nth-child(3) .beat-icon svg { animation-delay: 0.24s; }
.beginner {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}
.when {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.when div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
}
.when span {
  display: block;
  margin-bottom: 4px;
  color: #8b95a3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.when strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}
.when div:last-child {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff8ea;
}
.when div:last-child span { color: rgba(255, 244, 220, 0.62); }
#countdown { font-variant-numeric: tabular-nums; }
.points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.points li {
  background: #fff4cc;
  color: #8a5a08;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 650;
}
.cta {
  width: 100%;
  border: 0;
  border-radius: 16px;
  min-height: 62px;
  padding: 16px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #ffd84a 0%, #ffb800 100%);
  color: #1a1208;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 22px rgba(176, 120, 16, 0.28),
    0 2px 0 #e09a00;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ffe07a 0%, #ffc107 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 16px 28px rgba(176, 120, 16, 0.34),
    0 2px 0 #e09a00;
}
.cta:hover svg { transform: translateX(4px); }
.cta:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 0 #e09a00;
}
.cta:focus-visible, .text-btn:focus-visible, .legal button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(181, 82, 42, 0.35);
  outline-offset: 2px;
}
.micro {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.fine {
  margin: 14px 0 0;
  max-width: 52ch;
  color: #8b95a3;
  font-size: 12px;
  line-height: 1.5;
}
.fine button {
  all: unset;
  cursor: pointer;
  color: var(--copper-deep);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.legal p {
  margin: 0;
  max-width: 62ch;
  color: #8a8076;
  font-size: 12.5px;
  line-height: 1.45;
}
.legal button, .text-btn {
  border: 0;
  background: none;
  color: var(--copper-deep);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
}
.sheet {
  width: min(420px, calc(100% - 28px));
  border: 0;
  border-radius: 22px;
  padding: 24px;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 24px 70px rgba(27, 23, 20, 0.28);
}
.sheet::backdrop { background: rgba(27, 23, 20, 0.5); }
.sheet h2 {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 34px;
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1;
}
.sheet-kicker {
  margin: 0 0 8px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sheet-note, .sheet p {
  margin: 0 0 14px;
  color: #4e463e;
  font-size: 15px;
  line-height: 1.5;
}
.sheet label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
}
.sheet input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #f7f3ec;
  color: var(--ink);
}
.form-error {
  margin: 0 0 12px;
  color: #9d2c1d;
  font-size: 13px;
  font-weight: 700;
}
.sheet .cta { margin-top: 4px; }
.text-btn { display: block; margin: 14px auto 0; }

@media (max-width: 860px) {
  .page { width: min(100% - 20px, 640px); margin: 12px auto 18px; padding: 18px 16px 28px; border-radius: 24px; }
  .top, .legal { align-items: flex-start; flex-direction: column; gap: 6px; }
  .hero { grid-template-columns: 1fr; gap: 22px; margin-top: 18px; }
  .portrait { padding-top: 46px; }
  .portrait img { height: 240px; object-position: center 20%; }
  .live-tag {
    top: 10px;
    left: 12px;
    max-width: calc(100% - 24px);
  }
  h1 { font-size: clamp(36px, 11vw, 52px); }
  .when strong { font-size: 17px; }
  .beats { margin-bottom: 4px; grid-template-columns: 0.95fr 1.25fr 0.8fr; }
  .beats li { font-size: 13px; gap: 6px; padding: 10px 8px; white-space: nowrap; }
  .copy { display: flex; flex-direction: column; }
  .copy > .role { order: 1; }
  .copy > h1 { order: 2; }
  .copy > .deck { order: 3; }
  .copy > .cta {
    order: 4;
    position: static;
    width: 100%;
    margin: 6px 0 0;
  }
  .copy > .micro { order: 5; margin-bottom: 16px; }
  .copy > .beats { order: 6; }
  .copy > .beginner { order: 7; }
  .copy > .when { order: 8; }
  .copy > .points { order: 9; }
  .copy > .fine { order: 10; margin: 22px 0 0; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.copy > h1, .copy > .deck, .copy > .beginner, .copy > .when, .copy > .points, .copy > .micro {
  animation: rise 0.6s ease both;
}
.deck { animation-delay: 0.08s; }
.beginner { animation-delay: 0.28s; }
.when { animation-delay: 0.36s; }
.points { animation-delay: 0.42s; }
.micro { animation-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
  }
}
