:root {
  --bg: #0b0907;
  --bg-2: #14100c;
  --panel: #1a1510;
  --line: #2e261d;
  --text: #f4ede4;
  --muted: #a99d90;
  --ember: #ff6a1a;
  --ember-2: #ff8f3f;
  --gold: #f6b53a;
  --ok: #4fd18b;
  --radius: 14px;
  --max: 1120px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-2); }
a:hover { color: var(--gold); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 9, 7, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Outfit", var(--body); font-weight: 700; font-size: 21px; letter-spacing: 1.5px; color: var(--text); text-decoration: none; }
.brand { transition: color .18s ease; }
.brand:hover, .brand:focus-visible { color: var(--ember); }
.brand-mark { width: 30px; height: 30px; border-radius: 7px; flex: none; transition: transform .18s ease, box-shadow .18s ease; }
.brand:hover .brand-mark, .brand:focus-visible .brand-mark { transform: translateY(-1px) scale(1.06); box-shadow: 0 0 0 2px rgba(255,106,26,.35), 0 6px 18px -4px rgba(255,106,26,.7); }
.code-pill {
  font-family: var(--mono); font-size: 13px; color: var(--gold);
  border: 1px solid #5a3f17; background: #1f170b; border-radius: 999px; padding: 6px 12px;
  cursor: pointer; white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 18px;
  padding: 17px 28px; border-radius: 12px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn-fire {
  color: #160a02;
  background: linear-gradient(180deg, var(--ember-2), var(--ember));
  box-shadow: 0 10px 30px -8px rgba(255, 106, 26, .6), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-fire:hover { color: #160a02; transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 106, 26, .75), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { color: var(--text); background: transparent; border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/fire-racks-wide.jpg") center/cover no-repeat;
  opacity: .22; filter: saturate(1.2) contrast(1.1);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1000px 500px at 70% 110%, rgba(255,106,26,.28), transparent 60%),
              linear-gradient(180deg, rgba(11,9,7,.4), var(--bg) 92%);
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
}
h1, h2, h3 { margin: 0; }
.hero h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(42px, 8.4vw, 96px); line-height: .98; letter-spacing: .5px; max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--ember); }
.hero .lede { font-size: clamp(18px, 2.3vw, 22px); color: #e6dbcf; max-width: 40ch; margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.perks li {
  font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  background: rgba(26,21,16,.85); border: 1px solid var(--line);
}
.perks li::before { content: "▲ "; color: var(--ember); font-size: 11px; }

/* ---------- sections ---------- */
section { padding: 76px 0; }
.sec-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ember); margin: 0 0 10px; }
h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 5.4vw, 58px); line-height: 1.02; letter-spacing: .4px; margin-bottom: 18px;
}
.sub { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0 0 34px; }

/* ---------- tx proof card ---------- */
.proof { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.tx {
  position: relative; font-family: var(--mono); font-size: 14px;
  background: linear-gradient(180deg, #17120d, #100c08);
  border: 1px solid #3b2c1b; border-radius: 18px; padding: 22px;
  box-shadow: 0 30px 80px -30px rgba(255,106,26,.45), 0 0 0 1px rgba(255,143,63,.06) inset;
}
.tx::before {
  content: ""; position: absolute; inset: -1px; border-radius: 18px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,143,63,.55), transparent 35%, transparent 70%, rgba(246,181,58,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
.tx-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; }
.tx-head span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.status { color: var(--ok); border: 1px solid #1f5c3b; background: #0d2318; border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-bottom: 18px; }
.leg { background: #0c0906; border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-width: 0; }
.leg small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.leg strong { display: block; font-size: clamp(18px, 2.6vw, 24px); color: var(--text); margin-top: 4px; overflow-wrap: anywhere; }
.arrow { color: var(--ember); font-size: 22px; }
.tx-total {
  text-align: center; padding: 18px 10px; border-radius: 12px; margin-bottom: 16px;
  background: radial-gradient(circle at 50% 0, rgba(255,106,26,.25), transparent 70%), #0c0906;
  border: 1px dashed #5a3f17;
}
.tx-total small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.tx-total div { font-family: var(--display); font-size: clamp(44px, 7vw, 64px); color: var(--gold); line-height: 1.05; letter-spacing: 1px; }
.tx dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 16px; font-size: 13px; }
.tx dt { color: var(--muted); }
.tx dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.tx a { font-size: 13px; }

/* ---------- story timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--ember), #5b1d06); }
.timeline li { position: relative; padding: 0 0 34px 54px; }
.timeline li::before {
  content: attr(data-n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 700;
  background: var(--bg); border: 2px solid var(--ember); color: var(--ember);
}
.timeline h3 { font-size: 22px; margin-bottom: 6px; }
.timeline p { margin: 0; color: #d9cec2; }
.timeline .fire h3 { color: var(--ember); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 10px; margin-top: 36px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: #000; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

.memorial {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; margin-top: 36px;
  padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
}
.memorial p { margin: 0 0 8px; color: #d9cec2; }
.memorial small { color: var(--muted); }
.sensitive { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; background: #000; }
.sensitive img { width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(.6); transform: scale(1.1); transition: filter .3s; }
.sensitive.open img { filter: none; transform: none; }
.sensitive button {
  position: absolute; inset: 0; margin: auto; width: 80%; height: 64px; border-radius: 10px;
  border: 1px solid #5a3f17; background: rgba(11,9,7,.8); color: var(--text); font: 600 14px var(--body); cursor: pointer;
}
.sensitive.open button { display: none; }

/* ---------- compare ---------- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 44px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .num { font-family: var(--display); font-size: 40px; color: var(--ember); line-height: 1; }
.card h3 { font-size: 20px; margin: 10px 0 6px; }
.card p { margin: 0; color: #d0c4b7; font-size: 16px; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); background: #120e0a; }
.compare thead th.us { color: var(--gold); }
.compare td:first-child { color: var(--muted); width: 26%; }
.compare td.us { background: rgba(255,106,26,.07); color: var(--text); font-weight: 600; }
.compare td.them { color: #9c9187; }

/* ---------- optimizer ---------- */
.optimizer-box { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-height: 160px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------- offer ---------- */
.offer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.offer .card { text-align: left; position: relative; overflow: hidden; }
.offer .big { font-family: var(--display); font-size: 52px; line-height: 1; color: var(--gold); }
.offer .card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(rgba(255,106,26,.25), transparent 70%); }
.why { margin-top: 30px; padding: 24px; border-left: 3px solid var(--ember); background: #120e0a; border-radius: 0 var(--radius) var(--radius) 0; }
.why p { margin: 0 0 8px; }
.why p:last-child { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #d0c4b7; margin: 12px 0 0; }

/* ---------- close ---------- */
.close-cta { text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.close-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 100%, rgba(255,106,26,.25), transparent 70%); }
.close-cta .wrap { position: relative; }
.close-cta h2 { font-size: clamp(40px, 7vw, 80px); }
.close-cta p { color: #e0d5c9; font-size: 20px; max-width: 46ch; margin: 0 auto 30px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 110px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 14px; }
footer a { color: var(--text); }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* sticky mobile CTA */
.sticky-cta { display: none; }

/* ---------- funnel steps ---------- */
.steps { display: flex; gap: 8px; margin: 34px 0 30px; }
.steps div { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.steps div.done { background: var(--ember); }
.step-label { font-family: var(--mono); font-size: 13px; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 10px; }
.funnel h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 6.4vw, 64px); line-height: 1.02; margin-bottom: 14px; }
.funnel .lede { color: #e0d5c9; font-size: 19px; margin: 0 0 28px; }
.form-frame { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.form-frame iframe { width: 100%; border: 0; display: block; }
.form-missing { background: var(--panel); border: 1px dashed #5a3f17; border-radius: 14px; padding: 26px; }
.form-missing p { margin: 0 0 10px; }
.checklist { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.checklist li > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #24180d; color: var(--ember); font: 700 14px var(--mono); }
.checklist div > strong { display: block; }
.checklist p { margin: 2px 0 0; color: #cfc3b6; font-size: 15px; }
.codebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #120e0a; border: 1px solid #5a3f17; margin: 0 0 18px; }
.codebox code { font: 700 26px var(--mono); color: var(--gold); letter-spacing: 2px; }
.codebox button { font: 600 14px var(--body); color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; cursor: pointer; }
.note { background: #120e0a; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: #d0c4b7; font-size: 15px; margin: 18px 0; }
.note strong { color: var(--gold); }
.id-shot { border-radius: 12px; border: 1px solid var(--line); margin: 12px 0 0; width: 100%; max-width: 360px; }
.nav-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); }
.legal h2 { font-size: 26px; margin: 34px 0 8px; font-family: var(--body); font-weight: 700; text-transform: none; letter-spacing: 0; }
.legal p, .legal li { color: #d6cabd; }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--gold); color: #1a1004; font-weight: 700; padding: 10px 16px; border-radius: 10px; transition: .2s; pointer-events: none; z-index: 60; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .proof { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
  .btn { width: 100%; }
  .offer { grid-template-columns: 1fr; }
  .memorial { grid-template-columns: 1fr; }
  .sensitive { max-width: 240px; }
  .swap { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); justify-self: center; }
  .compare th, .compare td { padding: 12px 10px; font-size: 14px; }
  .code-pill { display: none; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, rgba(11,9,7,.95) 30%);
  }
}

/* ---------- native forms ---------- */
.native-form, .form-success {
  background: linear-gradient(180deg, #17120d, #110d09);
  border: 1px solid #3b2c1b; border-radius: 18px; padding: 26px;
  box-shadow: 0 30px 80px -40px rgba(255,106,26,.45);
}
.native-form[hidden], .form-success[hidden] { display: none; }
.field { margin-bottom: 20px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label, .field .lbl { display: block; font-weight: 600; font-size: 15px; color: #d9cec2; margin-bottom: 8px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input:not([type=radio]), .field textarea {
  width: 100%; font: 500 16px var(--body); color: var(--text);
  background: #0c0906; border: 1px solid #3a2e22; border-radius: 12px;
  padding: 14px 16px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #6f655b; }
.field input:focus, .field textarea:focus { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255,106,26,.18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: #0c0906; border: 1px solid #3a2e22; color: #d9cec2; transition: .15s;
}
.chips label:hover span { border-color: #6b4a22; }
.chips input:checked + span { background: rgba(255,106,26,.16); border-color: var(--ember); color: var(--text); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255,106,26,.3); }
.form-error { color: #ff8a7a; font-weight: 600; margin: 0 0 14px; }
.form-fine { color: var(--muted); font-size: 13px; text-align: center; margin: 14px 0 0; }
.form-fine a { color: var(--gold); }
.native-form button[disabled] { opacity: .7; cursor: wait; }
.form-success { text-align: center; }
.form-success h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 36px; color: var(--gold); margin-bottom: 8px; }
.form-success p { color: #e0d5c9; margin: 0 0 20px; }
[data-embed-only][hidden], .btn[hidden] { display: none; }
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
  .native-form, .form-success { padding: 20px 16px; }
}
