/* =========================================================
   Chopped.af — Landing Site Styles (Dark Theme)
   Dark navy + light blue. Change the four brand vars to rebrand.
   ========================================================= */

:root {
  /* Brand palette — change these to rebrand the site */
  --color-bg: #0a1020;          /* near-black with navy depth */
  --color-bg-alt: #131c33;      /* slightly raised section bg */
  --color-ink: #f0f6ff;         /* near-white, cool tint, body text on dark */
  --color-accent: #6bb6ff;      /* light blue — confident, modern, hot/cold contrast */

  /* Supporting palette (derived; usually leave alone) */
  --color-ink-soft: #8ea4c5;    /* muted blue-gray for secondary text */
  --color-line: #1f2a44;        /* subtle navy divider */
  --color-surface: #131c33;     /* feature card surface */
  --color-surface-hover: #1a2540;
  --color-on-accent: #061226;   /* deep navy text on the light-blue button */

  /* Type + layout */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1100px;
  --radius: 10px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input { font: inherit; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Visually hidden (accessible label) */
.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;
}

/* Honeypot — hidden from real users */
.hp-field { position: absolute; left: -5000px; height: 0; overflow: hidden; }

/* ----- Layout ----- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--color-line);
}
.section-alt { background: var(--color-bg-alt); }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--color-ink);
}
.section-lede {
  font-size: 19px;
  color: var(--color-ink-soft);
  max-width: 640px;
  margin-bottom: 56px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

/* ----- Nav ----- */
.nav {
  position: sticky;
  top: 0;
  background: rgba(10, 16, 32, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-line);
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
.logo-dot {
  color: var(--color-accent);
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink-soft);
}
.nav-links a:hover { color: var(--color-accent); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.btn-primary:hover {
  background: #8ec7ff;
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}
.btn-ghost:hover {
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.btn-link {
  color: var(--color-ink-soft);
  padding: 12px 8px;
}
.btn-link:hover { color: var(--color-accent); }

/* ----- Hero ----- */
.hero { padding: 112px 0 96px; }
.hero-inner { max-width: 780px; }
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--color-ink);
}
.lede {
  font-size: 20px;
  color: var(--color-ink-soft);
  margin-bottom: 36px;
  max-width: 620px;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-meta {
  font-size: 14px;
  color: var(--color-ink-soft);
}

/* ----- Feature grid ----- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.feature {
  padding: 32px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  background: var(--color-surface-hover);
}
.feature-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.feature h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.feature p {
  font-size: 15px;
  color: var(--color-ink-soft);
}

/* ----- Story ----- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.story-copy p { margin-bottom: 18px; color: var(--color-ink-soft); font-size: 17px; }

/* ----- Waitlist ----- */
.waitlist { text-align: center; }
.waitlist-inner { max-width: 600px; margin: 0 auto; }
.waitlist .section-lede { margin-left: auto; margin-right: auto; margin-bottom: 36px; }

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.waitlist-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-ink);
  font-size: 16px;
}
.waitlist-form input[type="email"]::placeholder {
  color: var(--color-ink-soft);
  opacity: 0.7;
}
.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(107, 182, 255, 0.18);
}
.form-fineprint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-ink-soft);
}

/* ----- Footer ----- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--color-line);
  background: var(--color-bg-alt);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-tag {
  font-size: 14px;
  color: var(--color-ink-soft);
  margin-top: 6px;
}
.footer-meta {
  text-align: right;
  font-size: 14px;
  color: var(--color-ink-soft);
}
.footer-meta a:hover { color: var(--color-accent); }

/* ----- Responsive ----- */
@media (max-width: 800px) {
  .section { padding: 72px 0; }
  .hero { padding: 80px 0 64px; }

  .nav-links { gap: 16px; font-size: 14px; }
  .nav-links a:not(.btn) { display: none; }

  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }

  .waitlist-form { flex-direction: column; }
  .waitlist-form button { width: 100%; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
