:root {
  --bg: #0A0908;
  --bg-2: #131210;
  --bg-3: #1A1714;
  --line: #2A241E;
  --text: #F5F2EC;
  --muted: #9A9388;
  --faint: #6E675E;
  --ember: #E8743C;
  --ember-2: #FF8A4C;
  --teal: #7DC9C2;
  --good: #4ade80;
  --bad: #f87171;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(232,116,60,.12), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(125,201,194,.06), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ember); color: #111; padding: .5rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 1.25rem;
  padding: .9rem 1.25rem;
  background: rgba(10,9,8,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42,36,30,.9);
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; letter-spacing: .04em; font-size: .95rem;
}
.brand-dot {
  width: .55rem; height: .55rem; border-radius: 999px;
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(232,116,60,.12), 0 0 18px rgba(232,116,60,.55);
}
.nav-links { display: flex; gap: 1rem; margin-left: 1rem; flex: 1; }
.nav-links a, .footer a {
  color: var(--muted); font-size: .9rem; transition: color .2s var(--ease);
}
.nav-links a:hover, .footer a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid rgba(232,116,60,.45);
  background: rgba(232,116,60,.1);
  color: var(--text);
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}
.nav-cta:hover { background: rgba(232,116,60,.18); }

.hero {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5.5rem 0 4rem;
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 2.5rem;
  align-items: start;
}
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--ember);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
}
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.1; margin: 0 0 1rem; }
h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 400;
}
h1 em { font-style: italic; color: #F3D2B8; }
h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 400;
  max-width: 18ch;
}
h3 { font-size: 1.15rem; font-weight: 600; }
.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 48ch;
  margin: 0 0 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.8rem; padding: .7rem 1.1rem; border-radius: .7rem;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(180deg, var(--ember-2), var(--ember));
  color: #1a0d07;
  box-shadow: 0 10px 30px rgba(232,116,60,.22);
}
.btn.ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,.02);
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem;
  margin: 0; padding-top: 1.2rem; border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-family: var(--mono); font-size: 1.15rem; color: var(--ember-2); margin: 0 0 .25rem;
}
.hero-stats dd { margin: 0; color: var(--muted); font-size: .85rem; }

.hero-panel {
  background: linear-gradient(180deg, #161310, #100E0C);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.2rem 1.1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  position: sticky; top: 5.5rem;
}
.panel-head {
  font-family: var(--mono); font-size: .72rem; color: var(--faint);
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line);
}
.panel-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.04);
  font-family: var(--mono); font-size: .9rem; color: #D8CFB8;
}
.panel-row strong { color: var(--ember-2); }
.panel-row.bad strong { color: var(--bad); }
.panel-row.good strong { color: var(--good); }
.panel-note { color: var(--muted); font-size: .82rem; margin: .9rem 0 0; }

.band { padding: 4.5rem 0; border-top: 1px solid rgba(42,36,30,.8); }
.band.problem { background: linear-gradient(180deg, rgba(19,18,16,.6), transparent); }
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  color: var(--muted); max-width: 70ch; margin-bottom: 2rem;
}
.wound-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem;
}
.wound-grid li {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: .9rem; padding: 1rem;
  display: grid; gap: .45rem; min-height: 8.5rem;
}
.wound-grid strong { font-size: .95rem; }
.wound-grid span { color: var(--muted); font-size: .9rem; }

.steps {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem;
}
.steps li {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 1rem; padding: 1.2rem;
}
.step-n {
  display: inline-block; font-family: var(--mono); color: var(--ember);
  font-size: .8rem; margin-bottom: .7rem; letter-spacing: .08em;
}
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.formula {
  background: #090807; border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.2rem 1.3rem; overflow-x: auto; margin: 0 0 1rem;
}
.formula code {
  font-family: var(--mono); font-size: .86rem; color: #E8DFD0; white-space: pre;
}
.text-link {
  color: var(--ember-2); font-weight: 600; font-size: .95rem;
  border-bottom: 1px solid rgba(232,116,60,.35);
}
.text-link:hover { border-bottom-color: var(--ember-2); }

.table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; margin: 1.2rem 0 1rem;
}
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th {
  background: #14110E; color: var(--muted); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
td { font-family: var(--mono); font-size: .92rem; }
td:first-child { font-family: var(--sans); color: var(--text); }
td.good { color: var(--good); }
td.bad { color: var(--bad); }
.fine { color: var(--muted); font-size: .92rem; max-width: 70ch; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0 2rem;
}
.price-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 1rem; padding: 1.3rem;
  display: grid; gap: .55rem; align-content: start;
}
.price-card.featured {
  border-color: rgba(232,116,60,.5);
  background: linear-gradient(180deg, rgba(232,116,60,.12), rgba(19,18,16,.95));
  box-shadow: 0 18px 40px rgba(232,116,60,.08);
}
.tier { margin: 0; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.price {
  margin: 0; font-family: var(--mono); font-size: 2rem; color: var(--ember-2);
}
.price span { font-size: 1rem; color: var(--muted); }
.desc { margin: 0; color: var(--muted); font-size: .95rem; }
.price-card ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--text); }
.price-card li { margin: .25rem 0; color: var(--muted); }

.cta-band {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 1.5rem; border-radius: 1rem;
  background: linear-gradient(135deg, #171310, #100E0C);
  border: 1px solid rgba(232,116,60,.35);
}
.cta-band h3 { margin: 0 0 .35rem; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.cta-band p { margin: 0; color: var(--muted); }

.page-hero { padding: 4.5rem 0 2rem; }
.page-hero .lede { margin-bottom: 0; }
.content { padding-bottom: 4rem; }
.content p { color: var(--muted); max-width: 68ch; }
.content ul, .content ol { color: var(--muted); max-width: 68ch; }
.content li { margin: .4rem 0; }
.card-list {
  display: grid; gap: 1rem; margin: 1.5rem 0;
}
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 1rem; padding: 1.2rem;
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }

.form {
  display: grid; gap: .9rem; max-width: 560px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 1rem; padding: 1.3rem;
}
label { display: grid; gap: .35rem; font-size: .9rem; color: var(--muted); }
input, textarea, select {
  width: 100%; border-radius: .7rem; border: 1px solid var(--line);
  background: #0C0B0A; color: var(--text); padding: .8rem .9rem; font: inherit;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(232,116,60,.45); outline-offset: 1px;
}
textarea { min-height: 140px; resize: vertical; }

.ad-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem;
}
.ad-card a { color: var(--ember-2); font-weight: 600; }

.footer {
  border-top: 1px solid var(--line); padding: 2.5rem 0 2rem; margin-top: 2rem;
  background: #090807;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem;
}
.footer p { color: var(--muted); max-width: 32ch; }
.footer-label {
  margin: 0 0 .6rem; color: var(--faint); font-size: .75rem;
  text-transform: uppercase; letter-spacing: .12em;
}
.footer-grid > div { display: grid; gap: .4rem; align-content: start; }
.legal {
  width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto;
  color: var(--faint); font-size: .8rem;
}

@media (max-width: 960px) {
  .hero, .pricing-grid, .steps, .wound-grid, .footer-grid, .ad-grid, .split {
    grid-template-columns: 1fr;
  }
  .hero-panel { position: static; }
  .nav-links { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  h2 { max-width: none; }
}
