/* =====================================================================
   Backburnr: Coming Soon landing page
   Brand system stylesheet
   © 2024–2026 Backburnr. All rights reserved.

   Palette pulled from the app source:
     Ink (near-black) ...... #0b0c0f   (SVG brand black)
     Signature Red ......... #e50000   (splash / primary)
     Ember accents ......... #ff6026 / #ff4501  (in-app pickers)
     Gold (stars) .......... #ffd700
     Cloud / paper ......... #f7f7f8
     Muted grey ............ #d6d6de
   Type: Varela Round (app font) with a rounded system fallback.
   ===================================================================== */

:root {
  --ink: #0b0c0f;
  --ink-800: #16181d;
  --ink-700: #1f2229;
  --red: #e50000;
  --red-bright: #ff2a2a;
  --ember: #ff6026;
  --ember-hot: #ff4501;
  --gold: #ffd700;
  --white: #ffffff;
  --paper: #f7f7f8;
  --paper-2: #eeeef1;
  --grey: #d6d6de;
  --muted: #8a8b93;
  --muted-dark: #a7a8b0;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(11, 12, 15, 0.06);
  --shadow: 0 14px 40px rgba(11, 12, 15, 0.10);
  --shadow-red: 0 16px 40px rgba(229, 0, 0, 0.28);

  --maxw: 1160px;
  --font: "Varela Round", "Baloo 2", "Quicksand", "Trebuchet MS",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ----------------------------- Base ----------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.02em; }

p { margin: 0; }

a { color: inherit; text-decoration: none; }

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.section {
  padding: 96px 0;
  position: relative;
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 14px 0 16px;
}

.section__head p {
  color: var(--muted);
  font-size: 1.08rem;
}

/* ----------------------------- Buttons -------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}

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

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn--red:hover { background: var(--red-bright); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn--ink {
  background: var(--ink);
  color: var(--white);
}
.btn--ink:hover { background: var(--ink-700); transform: translateY(-2px); }

/* ----------------------------- Nav ------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 15, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 22px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.18s ease;
}
.nav__links a:hover { color: var(--white); }

.nav__cta { padding: 10px 20px; font-size: 0.92rem; }

.nav__toggle { display: none; }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 130px;
  text-align: center;
}

/* Ember glow behind the wordmark */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 120%);
  height: 720px;
  background: radial-gradient(
    50% 50% at 50% 42%,
    rgba(255, 96, 38, 0.42) 0%,
    rgba(229, 0, 0, 0.30) 34%,
    rgba(229, 0, 0, 0.0) 70%
  );
  filter: blur(8px);
  animation: emberBreathe 7s ease-in-out infinite;
  pointer-events: none;
}

/* Faint burner grid lines at the base */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(to top, rgba(229, 0, 0, 0.10), transparent);
  pointer-events: none;
}

@keyframes emberBreathe {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.05); }
}

.hero__inner { position: relative; z-index: 2; }

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 34px;
}

.hero__pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(229, 0, 0, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(229, 0, 0, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(229, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 0, 0, 0); }
}

.hero__logo {
  width: min(560px, 82%);
  margin: 0 auto 30px;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.45));
}

.hero__headline {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 700;
  max-width: 15ch;
  margin: 0 auto 22px;
}
.hero__headline .hot {
  color: var(--red);
  position: relative;
}

.hero__sub {
  max-width: 60ch;
  margin: 0 auto 40px;
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  color: rgba(255, 255, 255, 0.74);
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero__meta {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}
.hero__meta strong { color: rgba(255, 255, 255, 0.85); font-weight: 700; }

/* Scroll cue: block-level so it always sits on its own line, centered
   beneath the final hero tagline (never beside it). */
.scroll-cue {
  display: flex;
  width: fit-content;
  margin: 34px auto 0;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.18s ease;
}
.scroll-cue:hover { color: rgba(255, 255, 255, 0.8); }
.scroll-cue__arrow {
  width: 20px; height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: rotate(45deg) translate(0,0); }
  50%     { transform: rotate(45deg) translate(4px,4px); }
}

/* ------------------------- Concept strip ------------------------ */
.concept {
  background: var(--ink-800);
  color: var(--white);
  padding: 66px 0;
  text-align: center;
}
.concept__emblem { width: 74px; margin: 0 auto 26px; opacity: 0.96; }
.concept p {
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 500;
  max-width: 22ch;
  margin: 0 auto;
  line-height: 1.35;
}
.concept .hot { color: var(--ember); }

/* --------------------------- Features --------------------------- */
.features { background: var(--paper); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--grey);
}

.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(229, 0, 0, 0.08);
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.99rem; }

/* --------------------------- How it works ----------------------- */
.how { background: var(--white); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--paper-2);
}
.step__num {
  counter-increment: step;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.99rem; }

/* --------------------------- Rewards ---------------------------- */
.rewards {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.rewards .section__head h2 { color: var(--white); }
.rewards .section__head p { color: var(--muted-dark); }

.plate-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 30px;
}
.plate {
  width: 170px;
  margin: 0;
  padding: 22px 16px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.plate:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(229, 0, 0, 0.4);
}
.plate__art {
  width: 100%;
  height: 128px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}
.plate__name { font-weight: 700; font-size: 1rem; }
.plate__tag {
  display: block;
  font-size: 0.76rem;
  color: var(--muted-dark);
  margin-top: 3px;
}

/* Burnt plate: the "you missed it" outcome. Dark art needs a warm ember
   halo to read against the near-black section (and it's thematically apt). */
.plate--burnt { border-color: rgba(229, 0, 0, 0.4); }
.plate--burnt:hover { border-color: rgba(255, 96, 38, 0.6); }
.plate__art--burnt {
  height: 96px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 46%, rgba(255, 96, 38, 0.22), transparent 66%);
  filter: drop-shadow(0 6px 14px rgba(255, 72, 16, 0.30));
}
.plate__zero {
  color: rgba(255, 255, 255, 0.30);
  font-size: 0.92rem;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 12px;
}
.plate--burnt .plate__tag { color: var(--ember); }

.rewards__note {
  text-align: center;
  color: var(--muted-dark);
  max-width: 52ch;
  margin: 0 auto;
  font-size: 0.98rem;
}

/* --------------------------- Waitlist --------------------------- */
.waitlist {
  background: var(--paper);
  text-align: center;
}
.waitlist__card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  box-shadow: var(--shadow);
}
.waitlist__card h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 14px; }
.waitlist__card > p { color: var(--muted); margin-bottom: 30px; }

.signup {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
/* Honeypot: kept in the DOM for bots, removed from view and a11y tree for people */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 1rem;
  padding: 15px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--grey);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.signup input[type="email"]:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(229, 0, 0, 0.12);
  background: var(--white);
}

.signup__msg {
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.96rem;
  min-height: 1.2em;
}
.signup__msg.ok { color: var(--red); }
.signup__msg.err { color: var(--ember-hot); }

.earlybird {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 215, 0, 0.14);
  color: #7a5c00;
  font-weight: 700;
  font-size: 0.86rem;
}

.privacy-note { color: var(--muted); font-size: 0.82rem; margin-top: 22px; }

/* --------------------------- Footer ----------------------------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 34px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand img { height: 26px; margin-bottom: 16px; }
.footer__brand p { max-width: 34ch; font-size: 0.94rem; }

.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer__col a, .footer__col span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.94rem;
  margin-bottom: 9px;
  transition: color 0.18s ease;
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer__bottom .tm { color: rgba(255, 255, 255, 0.6); }

/* --------------------------- Responsive ------------------------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .signup { flex-direction: column; }
  .signup .btn { width: 100%; }
  .hero { padding: 90px 0 100px; }
  .footer__top { flex-direction: column; }
}

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