/* Layout concept: a working phone line. The hero IS the demo (pick trade → dial), everything below
   reads like a call log and a text summary, because that's the owner's world. */
:root {
  --ink: #0d0c0a;          /* warm black ground */
  --ink-2: #16140f;        /* raised surface */
  --ink-3: #221f17;        /* hairlines, inputs */
  --paper: #f3eee2;        /* primary text */
  --muted: #a49b86;        /* secondary text, gold-biased grey */
  --gold: #d6a840;         /* brand accent: actions, emphasis */
  --gold-soft: #d6a84022;
  --green: #2fa36b;        /* brand logo green: answered / success */
  --green-soft: #2fa36b26;
  --missed: #d9654b;       /* semantic: missed call */
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 5rem;
  --r: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ink); }
a { color: var(--gold); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 34rem; }
.eyebrow { font: 600 .78rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-3);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-3); }
.brand { display: flex; align-items: center; gap: var(--s-2); color: var(--paper); text-decoration: none; font: 700 1.1rem/1 var(--f-display); letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--green); display: grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; }
.brand em { font-style: normal; color: var(--gold); }
.nav { display: flex; align-items: center; gap: var(--s-5); }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--paper); }
@media (max-width: 760px) { .nav a.hide-sm { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  border: 0; border-radius: 999px; cursor: pointer;
  padding: .8rem 1.35rem; font: 700 1rem/1 var(--f-body);
  text-decoration: none; transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e4b850; }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.btn-sm { padding: .6rem 1rem; font-size: .92rem; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- Hero ---------- */
.hero { padding-block: var(--s-7) var(--s-8); }
.hero-grid { display: grid; gap: var(--s-7); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: var(--s-8); } }
.hero-copy { display: flex; flex-direction: column; gap: var(--s-5); min-width: 0; }
.hero h1 .ring { color: var(--gold); }
.hero-proof { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: var(--muted); font-size: .92rem; }
.hero-proof span::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: .4rem; }

/* Demo console */
.console { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 20px; padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-5); min-width: 0; }
.step-label { display: flex; align-items: baseline; gap: var(--s-2); font: 600 .8rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.step-label b { color: var(--gold); }
.trades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-3); }
@media (max-width: 480px) { .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trade {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: .7rem .8rem; border-radius: 12px; cursor: pointer;
  background: var(--ink); border: 1.5px solid var(--ink-3); color: var(--paper);
  font: 600 .95rem/1.2 var(--f-body); text-align: left;
}
.trade small { font: 400 .74rem/1.2 var(--f-body); color: var(--muted); }
.trade:hover { border-color: var(--muted); }
.trade[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }

.dial { border-radius: 16px; background: var(--ink); border: 1px solid var(--ink-3); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.dial-who { color: var(--muted); font-size: .95rem; }
.dial-who strong { color: var(--paper); }
.dial-number { font: 700 clamp(1.7rem, 5vw, 2.4rem)/1 var(--f-mono); letter-spacing: -0.02em; color: var(--paper); text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dial-number:hover { color: var(--gold); }
.dial-row { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.try { display: flex; flex-direction: column; gap: var(--s-2); }
.try ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.try li { font-size: .93rem; color: var(--paper); padding-left: 1.1rem; position: relative; }
.try li::before { content: "“"; position: absolute; left: 0; color: var(--gold); font: 700 1.2rem/1 var(--f-display); }

details.personal { border-top: 1px dashed var(--ink-3); padding-top: var(--s-4); }
details.personal summary { cursor: pointer; font-weight: 600; color: var(--paper); list-style: none; display: flex; justify-content: space-between; gap: var(--s-3); }
details.personal summary::-webkit-details-marker { display: none; }
details.personal summary::after { content: "+"; color: var(--gold); font: 700 1.2rem/1 var(--f-mono); }
details.personal[open] summary::after { content: "–"; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
label.field { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--muted); min-width: 0; }
input, textarea, select {
  width: 100%; min-width: 0; padding: .7rem .8rem; border-radius: 10px;
  background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink-3);
  font: 400 1rem/1.3 var(--f-body);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
textarea { resize: vertical; min-height: 5.5rem; }
.check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.status { font-size: .9rem; min-height: 1.3em; }
.status.ok { color: var(--green); }
.status.err { color: var(--missed); }

/* Call log (hero side) */
.log { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 20px; overflow: hidden; min-width: 0; }
.log-head { display: flex; justify-content: space-between; align-items: center; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--ink-3); }
.log-head span { font: 600 .8rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ink); border: 1px solid var(--ink-3); }
.toggle button { border: 0; background: transparent; color: var(--muted); padding: .4rem .8rem; border-radius: 999px; cursor: pointer; font: 600 .8rem/1 var(--f-body); }
.toggle button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.log ol { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-5); border-bottom: 1px solid var(--ink-3); }
.log li:last-child { border-bottom: 0; }
.dot { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; font-size: .95rem; }
.log-who { min-width: 0; }
.log-who b { display: block; font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-who small { display: block; color: var(--muted); font-size: .82rem; }
.log time { font: 500 .8rem/1 var(--f-mono); color: var(--muted); }
.log .missed .dot { background: #d9654b22; color: var(--missed); }
.log .missed .log-who b { color: var(--missed); }
.log .answered .dot { background: var(--green-soft); color: var(--green); }
.log-foot { padding: var(--s-4) var(--s-5); background: var(--ink); display: flex; justify-content: space-between; gap: var(--s-3); align-items: baseline; flex-wrap: wrap; }
.log-foot b { font: 700 1.6rem/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.log-foot small { color: var(--muted); font-size: .85rem; }
.log li { transition: background .3s ease; }

/* ---------- Sections ---------- */
section.band { padding-block: var(--s-8); border-top: 1px solid var(--ink-3); }
.sec-head { display: flex; flex-direction: column; gap: var(--s-3); max-width: 44rem; margin-bottom: var(--s-7); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }
.stat { display: flex; flex-direction: column; gap: var(--s-2); }
.stat b { font: 800 clamp(2.6rem, 6vw, 3.8rem)/1 var(--f-display); color: var(--gold); letter-spacing: -0.03em; }
.stat p { color: var(--muted); max-width: 22rem; }
.source { margin-top: var(--s-5); font-size: .78rem; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { display: flex; flex-direction: column; gap: var(--s-3); padding-top: var(--s-4); border-top: 2px solid var(--ink-3); }
.step::before { counter-increment: step; content: "0" counter(step); font: 600 .85rem/1 var(--f-mono); color: var(--gold); }
.step p { color: var(--muted); }

.split { display: grid; gap: var(--s-7); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: .9fr 1.1fr; } }
.sms { max-width: 380px; width: 100%; margin-inline: auto; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 28px; padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.sms-meta { text-align: center; font: 500 .75rem/1 var(--f-mono); color: var(--muted); }
.bubble { background: var(--ink-3); border-radius: 18px 18px 18px 6px; padding: var(--s-3) var(--s-4); font-size: .92rem; line-height: 1.5; }
.bubble b { color: var(--gold); font-weight: 600; }
.bubble.me { background: var(--green); color: #06120c; border-radius: 18px 18px 6px 18px; align-self: flex-end; max-width: 75%; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-6); }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { display: flex; flex-direction: column; gap: var(--s-1); }
.feature h3 { font-size: 1.08rem; }
.feature p { color: var(--muted); font-size: .97rem; }

/* ROI */
.roi { display: grid; gap: var(--s-6); grid-template-columns: 1fr; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 20px; padding: var(--s-6); }
@media (min-width: 900px) { .roi { grid-template-columns: 1fr 1fr; padding: var(--s-7); } }
.roi-inputs { display: flex; flex-direction: column; gap: var(--s-5); }
.range { display: flex; flex-direction: column; gap: var(--s-2); }
.range-top { display: flex; justify-content: space-between; gap: var(--s-3); font-size: .95rem; }
.range-top output { font: 700 1rem/1 var(--f-mono); color: var(--gold); font-variant-numeric: tabular-nums; }
input[type="range"] { padding: 0; border: 0; background: transparent; accent-color: var(--gold); height: 28px; }
.roi-out { display: flex; flex-direction: column; justify-content: center; gap: var(--s-4); }
.roi-out .big { font: 800 clamp(2.8rem, 7vw, 4.4rem)/1 var(--f-display); letter-spacing: -0.03em; color: var(--missed); font-variant-numeric: tabular-nums; }
.roi-out p { color: var(--muted); }
.roi-out .vs { color: var(--paper); }
.roi-out .vs b { color: var(--green); }

/* Pricing */
.price-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-6); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 30rem; } }
.plan { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6); border-radius: 20px; border: 1px solid var(--ink-3); background: var(--ink); }
.plan.pop { border: 1.5px solid var(--gold); background: var(--ink-2); }
.plan-name { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); }
.tag { font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: .35rem .55rem; border-radius: 999px; }
.amount { display: flex; align-items: baseline; gap: var(--s-1); }
.amount b { font: 800 3rem/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.amount span { color: var(--muted); }
.plan .note { color: var(--muted); font-size: .9rem; min-height: 1.4em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.plan li { padding-left: 1.5rem; position: relative; font-size: .97rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan .btn { width: 100%; }
.guarantee { margin-top: var(--s-5); color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--ink-3); padding-block: var(--s-4); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); font: 600 1.1rem/1.35 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font: 700 1.3rem/1 var(--f-mono); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: var(--s-3); max-width: 44rem; }

/* Closing + footer */
.closing { text-align: left; display: flex; flex-direction: column; gap: var(--s-5); align-items: flex-start; }
.closing h2 { max-width: 18ch; }
footer { border-top: 1px solid var(--ink-3); padding-block: var(--s-6); color: var(--muted); font-size: .88rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); }
footer a { color: var(--muted); }

/* Modal for "call me" */
dialog { border: 1px solid var(--ink-3); background: var(--ink-2); color: var(--paper); border-radius: 20px; padding: 0; width: min(440px, calc(100vw - 32px)); }
dialog::backdrop { background: #000a; }
.modal { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-3); }
.x { background: transparent; border: 0; color: var(--muted); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.code-input { font: 700 1.6rem/1 var(--f-mono); letter-spacing: .4em; text-align: center; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Simple content pages */
.doc { max-width: 46rem; padding-block: var(--s-7); display: flex; flex-direction: column; gap: var(--s-4); }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); }
.doc h2 { font-size: 1.4rem; margin-top: var(--s-4); }
.doc p, .doc li { color: var(--muted); }
.dfy { display: flex; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-5); padding: var(--s-4) var(--s-5); border: 1px dashed var(--ink-3); border-radius: var(--r); cursor: pointer; color: var(--muted); font-size: .95rem; max-width: 52rem; }
.dfy b { color: var(--paper); }
.dfy input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.dfy:has(input:checked) { border-style: solid; border-color: var(--gold); background: var(--gold-soft); }

.nav a.btn-gold, .nav a.btn-gold:hover { color: var(--ink); }
