@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ember: #361005;
  --rust: #902f0e;
  --orange: #d96d32;
  --glow: #ed9051;
  --spark: #f2b282;
  --black: #010203;
  --ink: #f4ece4;
  --muted: #c8b6a6;
  --panel: #140a08;
  --line: rgba(237, 144, 81, 0.28);
  --touch: 52px;
  --radius: 16px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  background-image:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(144, 47, 14, 0.45), transparent 70%),
    radial-gradient(circle at 50% 18%, rgba(217, 109, 50, 0.16), transparent 42%);
}

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

a {
  color: var(--glow);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--spark);
}

:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(36rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.site-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.logo {
  width: min(14rem, 70vw);
  margin: 0 auto 0.75rem;
  filter: drop-shadow(0 0 24px rgba(217, 109, 50, 0.28));
}

.brand {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spark);
}

.tagline {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.pitch {
  margin: 1rem 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.target {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--glow);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.progress-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(242, 178, 130, 0.15);
  overflow: hidden;
}

.progress-bar > span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--rust), var(--glow));
  border-radius: inherit;
  transition: width 160ms ease-out;
}

.step {
  display: none;
}

.step.is-active {
  display: block;
}

.step h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.help {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.feedback {
  min-height: 1.3rem;
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--spark);
}

.feedback.is-error {
  color: #f3b3a4;
}

.age-row {
  display: grid;
  grid-template-columns: var(--touch) 1fr var(--touch);
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1rem;
}

.stepper,
.btn,
.choice {
  min-height: var(--touch);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.stepper,
.field,
.select {
  appearance: none;
  border: 1px solid var(--line);
  background-color: #0a0504;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ED9051' stroke-width='2' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
  color: var(--ink);
  padding-right: 2.4rem;
}

.stepper {
  width: var(--touch);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--spark);
}

.age-input {
  width: 100%;
  min-height: var(--touch);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a0504;
  color: var(--ink);
  text-align: center;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.age-input::-webkit-outer-spin-button,
.age-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.age-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.age-locked {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(144, 47, 14, 0.28);
  border: 1px solid var(--line);
  color: var(--ink);
}

.field,
.select,
.area {
  width: 100%;
  min-height: var(--touch);
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0a0504;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}

.area {
  min-height: 6.5rem;
  resize: vertical;
}

.opt-in {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.opt-in input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  accent-color: var(--rust);
  flex-shrink: 0;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  background: var(--rust);
  color: var(--ink);
  text-decoration: none;
  transition: background 120ms ease-out, transform 120ms ease-out;
}

.btn:hover {
  background: #a33812;
  color: var(--ink);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  background: #3a1c12;
  color: #9a8a80;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--glow);
  color: var(--spark);
  margin-top: 0.7rem;
}

.btn-secondary:hover {
  background: rgba(237, 144, 81, 0.1);
  color: var(--spark);
}

.skip {
  display: block;
  width: max-content;
  margin: 0.9rem auto 0;
  background: none;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  min-height: 2.25rem;
}

.skip:hover {
  color: var(--ink);
}

.destinations {
  display: none;
  margin-top: 1.25rem;
}

.destinations.is-visible {
  display: block;
}

.destinations h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.actions {
  display: grid;
  gap: 0.7rem;
}

.btn-play,
.btn-map {
  min-height: 64px;
  font-size: 1.1rem;
}

.btn-map {
  background: #0a0504;
  border: 1px solid var(--glow);
  color: var(--spark);
}

.btn-map:hover {
  background: rgba(237, 144, 81, 0.1);
  color: var(--spark);
}

.chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.choice {
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line);
  background: #0a0504;
  color: var(--ink);
  font-weight: 500;
  text-align: center;
}

.choice[aria-pressed="true"] {
  background: var(--rust);
  border-color: var(--glow);
  color: var(--ink);
}

.select-label,
.field-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.site-footer {
  margin-top: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.notice {
  display: grid;
  gap: 0.9rem;
}

.notice h1 {
  margin: 0.5rem 0 0;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.notice h2 {
  margin: 0.6rem 0 0;
  font-size: 1.05rem;
}

.notice p,
.notice li {
  margin: 0;
  color: var(--muted);
}

.notice ul {
  margin: 0;
  padding-left: 1.15rem;
}

.placeholder {
  display: inline;
  color: var(--spark);
  font-weight: 500;
}

.map-soon {
  text-align: center;
}

.map-soon p {
  color: var(--muted);
}

.noscript {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
}

@media (min-width: 720px) {
  .wrap {
    width: min(40rem, calc(100% - 3rem));
    padding-top: 2rem;
  }

  .logo {
    width: 16rem;
  }

  .pitch {
    font-size: 1.4rem;
  }

  .card {
    padding: 1.5rem 1.5rem 1.6rem;
  }
}

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

.select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #0a0504;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ED9051' stroke-width='2' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
  padding-right: 2.4rem;
}

.logo-compact {
  width: min(8.5rem, 42vw);
  margin-bottom: 0.4rem;
}

code {
  font-family: inherit;
  font-size: 0.92em;
  color: var(--spark);
}

.notice {
  gap: 1rem;
}

.notice h2 {
  margin-top: 1rem;
}

.age-input::placeholder,
.field::placeholder,
.area::placeholder {
  color: #8a7466;
  opacity: 1;
}
