:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --surface-2: #243044;
  --text: #e8eef6;
  --muted: #8b9bb0;
  --accent: #3dd68c;
  --accent-dim: #2a9d66;
  --warn: #ffb020;
  --danger: #ff6b6b;
  --link: #5eb8ff;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

header {
  background: linear-gradient(180deg, #152033 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--surface-2);
  padding: 1.25rem 0 1.5rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 1.25rem; font-size: 0.95rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.hero { padding: 1.75rem 0 0.5rem; }
.hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.hero p { color: var(--muted); max-width: 38rem; }
.meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.badge {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

main { padding: 1.5rem 0 3rem; }

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title .count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.deal-card {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-color 0.15s, transform 0.15s;
}
.deal-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}

.deal-store {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.deal-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.prices {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.price-now {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
}
.price-was {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: line-through;
}
.save {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--warn);
  background: rgba(255, 176, 32, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.deal-note {
  font-size: 0.8rem;
  color: var(--muted);
}
.deal-cta {
  margin-top: auto;
  padding-top: 0.35rem;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #0a1a12;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn:hover { background: #4ee89a; text-decoration: none; color: #0a1a12; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
}
.btn-outline:hover { background: rgba(61, 214, 140, 0.1); color: var(--accent); }

.signup {
  margin: 2.5rem 0 1rem;
  background: linear-gradient(135deg, var(--surface) 0%, #1e3a2f 100%);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.signup h2 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.signup p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.signup-form input[type="email"] {
  flex: 1 1 220px;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--surface-2);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}
.signup-form button { flex: 0 0 auto; }
.form-note {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.disclosure-box {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 3px solid var(--warn);
  font-size: 0.85rem;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--surface-2);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; }

.prose { max-width: 42rem; }
.prose h1 { font-size: 1.8rem; margin: 1.5rem 0 1rem; }
.prose h2 { font-size: 1.2rem; margin: 1.5rem 0 0.6rem; color: var(--accent); }
.prose p, .prose li { color: var(--muted); margin-bottom: 0.75rem; }
.prose ul { padding-left: 1.25rem; }
.prose strong { color: var(--text); }
