@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,560;1,9..144,520&family=Outfit:wght@380;500;600&display=swap");

:root {
  --bg: #efe6dc;
  --paper: #fffdfb;
  --ink: #1c1714;
  --muted: #6e655d;
  --line: #e5d9cc;
  --red: #d10f2c;
  --red-deep: #9d0c21;
  --plum: #d31278;
  --lagoon: #0d6d72;
  --blush: #f6d5ce;
  --shadow: 0 22px 50px rgba(55, 32, 20, 0.1);
  --serif: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 128px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, #f8d9d2 0%, transparent 60%),
    linear-gradient(180deg, #f6f0e8 0%, var(--bg) 280px);
  font-family: var(--sans);
  font-weight: 380;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.spectrum { display: flex; height: 4px; }
.spectrum span { flex: 1; }
.spectrum span:nth-child(1) { background: var(--red); }
.spectrum span:nth-child(2) { background: var(--plum); }
.spectrum span:nth-child(3) { background: var(--lagoon); }

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f6f0e8;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  background: rgba(246, 240, 232, 0.94);
  backdrop-filter: blur(12px);
}
.sticky-top .site-header {
  position: static;
  z-index: auto;
  padding-bottom: 8px;
  background: transparent;
  backdrop-filter: none;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--red);
}
.brand-name {
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 18px;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.header-link {
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
}

.hero {
  display: grid;
  gap: 28px;
  padding: 12px 0 20px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--red-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
h1 em { font-style: italic; font-weight: 520; }
.lede {
  max-width: 46ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }

.prize-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.prize-max {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 28px 26px 24px;
  border-radius: 28px;
  background:
    radial-gradient(480px 220px at 100% 0%, rgba(209, 15, 44, 0.42), transparent 62%),
    #1c1714;
  color: #fffdfb;
}
.prize-kicker {
  margin: 0;
  color: #ffb4c1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.prize-max h3 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(48px, 7vw, 76px);
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.prize-max p:last-child {
  margin: 0 0 8px;
  max-width: 26ch;
  color: rgba(255, 253, 251, 0.72);
}
.prize-kit {
  background: var(--paper);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(55, 32, 20, 0.05);
}
.prize-kit-photo {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: white;
}
.prize-kit-photo img { width: 84%; height: 84%; object-fit: contain; }
.prize-kit p {
  margin: 0;
  padding: 12px 14px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prize-kit h3 {
  margin: 2px 0 0;
  padding: 0 14px 14px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.prize-dock {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(1120px, calc(100% - 20px));
  height: 46px;
  margin: 0 auto 10px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fffdfb;
  background: #1c1714;
  box-shadow: 0 10px 24px rgba(55, 32, 20, 0.14);
  pointer-events: none;
}
.prize-grand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  margin: 0;
  padding-right: 14px;
  border-right: 1px solid rgba(255, 253, 251, 0.18);
}
.prize-grand span {
  color: #ffb4c1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prize-grand strong {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.prize-marquee {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.prize-marquee::before,
.prize-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 1;
}
.prize-marquee::before { left: 0; background: linear-gradient(90deg, #1c1714, transparent); }
.prize-marquee::after { right: 0; background: linear-gradient(270deg, #1c1714, transparent); }
.prize-track {
  display: flex;
  width: max-content;
  animation: prize-scroll 42s linear infinite;
}
.prize-group {
  display: flex;
  gap: 0;
  margin: 0;
  padding-right: 0;
}
.prize-group span {
  padding: 0 16px;
  border-right: 1px solid rgba(255, 253, 251, 0.16);
  font-size: 14px;
  white-space: nowrap;
}
@keyframes prize-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.quiet { color: var(--muted); font-size: 14px; }

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 560;
}
.btn:hover { background: #000; }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.danger { background: var(--red); }
.btn.danger:hover { background: var(--red-deep); }

.hero-visual { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 12px; align-items: stretch; }
.shot {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  min-height: 180px;
}
.shot img { width: 100%; height: 100%; object-fit: contain; }
.shot.main { min-height: 320px; padding: 12px; }
.shot-stack { display: grid; grid-template-columns: 1fr; gap: 12px; }
.shot.side { padding: 8px; }

.section { padding: 28px 0 10px; }
.section h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
  font-weight: 560;
}
.section .intro { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card {
  background: var(--paper);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(55, 32, 20, 0.05);
}
.card-photo {
  aspect-ratio: 1;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(var(--tone, var(--line)), transparent) border-box;
  display: grid;
  place-items: center;
  border-bottom: 3px solid var(--tone, var(--line));
}
.card-photo img { width: 88%; height: 88%; object-fit: contain; }
.card-body { padding: 14px 14px 16px; }
.card-line {
  margin: 0;
  color: var(--tone, var(--muted));
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card h3 { margin: 4px 0 6px; font-size: 18px; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.tone-red { --tone: var(--red); }
.tone-blush { --tone: #c46a62; }
.tone-plum { --tone: var(--plum); }
.tone-lagoon { --tone: var(--lagoon); }
.tone-rose { --tone: #c4537a; }
.person summary span { overflow-wrap: anywhere; }

.survey-section { padding-bottom: 64px; }
.survey-card {
  background: var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 22px 18px 18px;
}
.progress-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 500; }
.track { height: 4px; background: #f0e6dc; border-radius: 99px; margin: 10px 0 22px; overflow: hidden; }
.track > span { display: block; height: 100%; background: var(--red); width: 0; transition: width 0.25s ease; }
.theme {
  margin: 0;
  color: var(--red-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.question {
  margin: 8px 0 18px;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.options { display: grid; gap: 10px; }
.option {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 58px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.option:hover { border-color: #c9b8a8; }
.option.selected { background: var(--ink); color: white; border-color: var(--ink); }
.option-key {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f6efe8;
  font-size: 13px;
  font-weight: 600;
}
.option.selected .option-key { background: rgba(255, 255, 255, 0.16); color: white; }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.field { display: grid; gap: 8px; margin-top: 8px; }
.field label { font-weight: 560; }
input[type="email"], input[type="password"] {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
  padding: 0 16px;
  font-size: 18px;
}
input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; color: var(--muted); font-size: 14px; }
.check input { margin-top: 3px; width: 18px; height: 18px; }
.form-error { min-height: 1.2em; margin: 10px 0 0; color: var(--red-deep); font-size: 14px; }
.thanks h2 { font-family: var(--serif); font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; margin: 0 0 8px; }
.ticket {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f6efe8;
  font-weight: 600;
}
.closed { padding: 12px 0 8px; }

.site-footer { padding: 10px 0 36px; color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0 0 8px; }

.admin-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 10px 0 18px; }
.stats { display: grid; grid-template-columns: 1fr; gap: 12px; }
.stat {
  background: var(--paper);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.stat b { display: block; font-family: var(--serif); font-size: 36px; letter-spacing: -0.04em; line-height: 1; }
.stat b.stat-when { font-size: 22px; letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 13px; }
.q-block { background: var(--paper); border-radius: 22px; padding: 16px; margin: 12px 0; box-shadow: 0 10px 30px rgba(55, 32, 20, 0.05); }
.q-block h3 { margin: 6px 0 14px; font-size: 18px; letter-spacing: -0.02em; }
.bar-row { display: grid; grid-template-columns: minmax(120px, 1.1fr) 2fr auto; gap: 8px; align-items: center; margin: 8px 0; font-size: 14px; }
.bar-track { height: 10px; background: #f3ebe3; border-radius: 99px; overflow: hidden; }
.bar-track span { display: block; height: 100%; background: #1c1714; border-radius: 99px; }
.bar-row.lead .bar-track span { background: var(--red); }
.bar-n { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: white;
  min-width: min(100%, 260px);
}
.people { display: grid; gap: 10px; margin: 14px 0 40px; }
.person {
  background: var(--paper);
  border-radius: 18px;
  padding: 12px 14px;
}
.person summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-weight: 560; }
.person time { color: var(--muted); font-weight: 380; font-size: 13px; }
.person ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.login-card { max-width: 460px; margin: 40px auto; background: var(--paper); border-radius: 28px; padding: 28px 22px; box-shadow: var(--shadow); }
.login-card h1 { font-size: 40px; }
.hidden { display: none !important; }

@media (min-width: 800px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding-top: 18px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .prize-board { grid-template-columns: repeat(3, 1fr); }
  .survey-card { padding: 32px 32px 24px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .shot.main { min-height: 460px; }
}
@media (max-width: 799px) {
  .bar-row { grid-template-columns: 1fr; gap: 4px; }
  .hero-visual { grid-template-columns: 1fr; }
  .shot.main { min-height: 240px; }
  .shot-stack { grid-template-columns: 1fr 1fr; }
  .person summary { flex-direction: column; }
  .prize-grand span { display: none; }
  .prize-dock { width: calc(100% - 16px); padding: 0 12px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track > span { transition: none; }
  .prize-track { animation: none; }
}
