:root {
  --bg: #101a23;
  --bg-raised: #16222d;
  --ink: #f3eee3;
  --ink-muted: #a9b3ba;
  --accent: #c9a24b;
  --accent-ink: #241a06;
  --border: #253340;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

p { line-height: 1.6; }

a { color: inherit; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--ink-muted); font-size: 14px; }
.nav-links a:hover { color: var(--ink); }

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 32px 88px;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 14px;
}
.hero h1 { font-size: clamp(32px, 5vw, 48px); }
.hero-sub {
  color: var(--ink-muted);
  font-size: 17px;
  max-width: 52ch;
  margin: 20px auto 32px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.features {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px 88px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--ink-muted); font-size: 14px; margin: 0; }

.reserve {
  padding: 20px 32px 96px;
  display: flex;
  justify-content: center;
}
.reserve-wrap {
  max-width: 640px;
  width: 100%;
  text-align: center;
}
.reserve-wrap h2 { font-size: 30px; }
.reserve-sub { color: var(--ink-muted); font-size: 14px; max-width: 46ch; margin: 14px auto 28px; }

.styles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  .styles-grid { grid-template-columns: repeat(2, 1fr); }
}
.style-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  cursor: pointer;
}
.style-card input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.style-card:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.style-name { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 15px; }
.style-sku { font-size: 11px; color: var(--ink-muted); letter-spacing: 0.03em; }
.style-price { font-size: 13px; color: var(--accent); font-weight: 600; margin-top: 2px; }

.notify-form { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; }
.notify-form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
}
.notify-form input::placeholder { color: var(--ink-muted); }
.notify-form .btn { border: none; cursor: pointer; }

.joined-message { color: var(--accent); font-weight: 600; }
.form-error { color: #e08585; font-size: 13px; margin-top: 8px; }

.download {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px 96px;
  text-align: center;
}
.download h2 { font-size: 24px; }
.download-sub { color: var(--ink-muted); font-size: 14px; margin: 14px 0 28px; }
.badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  min-width: 180px;
}
.badge-eyebrow { font-size: 11px; color: var(--ink-muted); }
.badge-store { font-size: 16px; font-weight: 600; font-family: "Fraunces", Georgia, serif; }

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
}
