/* ============================================================
   Build by Neil Busque — The Ownership Build
   Premium dark editorial. One accent. Intentional type.
   ============================================================ */

:root {
  --bg:      #0B0B0C;
  --bg-2:    #121215;
  --bg-3:    #17171b;
  --ink:     #F4F1EC;
  --ink-dim: #C9C4BA;
  --muted:   #8E897E;
  --muted-2: #6F6A60;
  --accent:  #E94F37;
  --accent-soft: rgba(233,79,55,0.12);
  --accent-line: rgba(233,79,55,0.35);
  --line:    rgba(244,241,236,0.10);
  --line-2:  rgba(244,241,236,0.16);
  --good:    #7FB069;
  --maxw:    1180px;
  --r:       16px;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* warm grain / vignette */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(233,79,55,0.10), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(233,79,55,0.05), transparent 55%);
  pointer-events: none; z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* ---------- Type ---------- */
.display { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.02; letter-spacing: -0.015em; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.eyebrow.muted { color: var(--muted); }

h1 { font-family: 'Fraunces', serif; font-weight: 500; line-height: 1.03; letter-spacing: -0.02em; }
h2 { font-family: 'Fraunces', serif; font-weight: 500; line-height: 1.06; letter-spacing: -0.018em; }
h3 { font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: -0.01em; }

.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-dim); line-height: 1.6; }
em.h { font-style: italic; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px;
  padding: 16px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #120504;
  box-shadow: 0 10px 30px -8px rgba(233,79,55,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(233,79,55,0.65); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,11,12,0.78); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line); padding: 12px 28px;
}
.brand { display: flex; align-items: center; gap: 9px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.nav .btn { padding: 11px 20px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { padding: 168px 0 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); margin: 22px 0 26px; }
.hero .lead { max-width: 33ch; }
.hero-cta { margin-top: 36px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-cta small { color: var(--muted); font-size: 14px; }
.trust { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.02em; }
.trust b { color: var(--ink-dim); font-weight: 500; }

/* hero visual: blueprint panel */
.panel {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.8);
  overflow: hidden;
}
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.panel-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.panel-bar i:first-child { background: var(--accent); }
.panel-bar span { margin-left: 8px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }
.panel-body { padding: 24px; font-family: 'JetBrains Mono', monospace; font-size: 13.5px; line-height: 2; }
.panel-body .k { color: var(--accent); }
.panel-body .c { color: var(--muted-2); }
.panel-body .v { color: var(--ink-dim); }
.panel-foot { display: flex; gap: 10px; padding: 16px 24px 22px; border-top: 1px solid var(--line); }
.tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-dim); }
.tag.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }

/* ---------- Section frame ---------- */
section { padding: 92px 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin: 16px 0 18px; }
.sec-head p { color: var(--ink-dim); font-size: 18px; }
.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Pain quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; position: relative; transition: transform .3s var(--ease), border-color .3s;
}
.quote:hover { transform: translateY(-4px); border-color: var(--line-2); }
.quote .mark { font-family: 'Fraunces', serif; font-size: 56px; line-height: 0.6; color: var(--accent); opacity: .55; }
.quote p { margin-top: 14px; font-family: 'Fraunces', serif; font-style: italic; font-size: 20px; line-height: 1.4; color: var(--ink); }
.quote .who { margin-top: 16px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Why options fail ---------- */
.fails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fail { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 30px; }
.fail .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); display: grid; place-items: center; margin-bottom: 20px; }
.fail .ico svg { width: 22px; height: 22px; stroke: var(--accent); }
.fail h3 { font-size: 21px; margin-bottom: 6px; }
.fail .sub { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 18px; }
.fail ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fail li { display: flex; gap: 11px; font-size: 15.5px; color: var(--ink-dim); line-height: 1.5; }
.fail li::before { content: "✕"; color: var(--accent); font-size: 13px; margin-top: 3px; }
.fail .cost { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.fail .cost b { color: var(--ink); font-weight: 600; }

/* ---------- Comparison table ---------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 760px; }
table.cmp th, table.cmp td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.cmp thead th.ours { color: var(--accent); }
table.cmp tbody th { font-weight: 500; color: var(--ink); font-size: 15px; }
table.cmp td { font-size: 15px; color: var(--ink-dim); }
table.cmp col.ours, table.cmp .ours { background: var(--accent-soft); }
table.cmp td.ours { color: var(--ink); font-weight: 500; }
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: none; }

/* ---------- Offer / method ---------- */
.offer { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
.step { position: relative; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.step .n { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.step h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 26px; margin: 10px 0 12px; }
.step p { color: var(--ink-dim); font-size: 15.5px; }
.step .when { margin-top: 16px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }

/* ---------- Included list ---------- */
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.incl li { list-style: none; display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--ink); }
.incl li svg { flex: 0 0 auto; width: 22px; height: 22px; stroke: var(--accent); margin-top: 2px; }
.incl li span small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; font-weight: 400; }

/* ---------- Guarantee ---------- */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); border: 1px solid var(--accent-line); border-radius: 22px; padding: 44px 48px; }
.guarantee .seal { width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; }
.guarantee .seal svg { width: 44px; height: 44px; stroke: var(--accent); }
.guarantee h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 12px; }
.guarantee p { color: var(--ink-dim); font-size: 17px; max-width: 60ch; }

/* ---------- For / not for ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-col { border: 1px solid var(--line); border-radius: var(--r); padding: 32px; background: var(--bg-2); }
.fit-col h3 { font-size: 19px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.fit-col.yes h3 { color: var(--good); }
.fit-col.no h3 { color: var(--muted); }
.fit-col li { list-style: none; display: flex; gap: 12px; padding: 11px 0; font-size: 16px; color: var(--ink-dim); border-bottom: 1px solid var(--line); }
.fit-col li:last-child { border-bottom: none; }
.fit-col.yes li::before { content: "✓"; color: var(--good); }
.fit-col.no li::before { content: "–"; color: var(--muted-2); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.about .card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 34px; }
.about .stat-row { display: flex; gap: 32px; margin-top: 26px; }
.about .stat .num { font-family: 'Fraunces', serif; font-size: 40px; color: var(--accent); line-height: 1; }
.about .stat .lab { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; }
.about h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 20px; }
.about p { color: var(--ink-dim); margin-bottom: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 4px; font-size: 19px; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; align-items: center; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .pm { flex: 0 0 auto; width: 26px; height: 26px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; color: var(--ink-dim); font-size: 16px; max-width: 70ch; }

/* ---------- Final CTA + form ---------- */
.final { background: var(--bg-2); border-top: 1px solid var(--line); }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.final h2 { font-size: clamp(32px, 4.6vw, 54px); margin: 16px 0 20px; }
.final .lead { margin-bottom: 26px; }
.final .reassure { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.final .reassure li { display: flex; gap: 12px; color: var(--ink-dim); font-size: 16px; }
.final .reassure li svg { width: 20px; height: 20px; stroke: var(--accent); flex: 0 0 auto; }

form.book { background: var(--bg); border: 1px solid var(--line-2); border-radius: 22px; padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 14px 16px; color: var(--ink); font-family: 'Inter', sans-serif; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238E897E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
form.book .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }
form.book .fineprint { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted-2); }
.form-msg { margin-top: 14px; font-size: 14px; text-align: center; display: none; }
.form-msg.err { display: block; color: var(--accent); }

/* ---------- Footer ---------- */
footer { padding: 56px 0 48px; border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .brand { font-size: 20px; }
.foot .links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.foot .links a:hover { color: var(--ink); }
.foot .legal { width: 100%; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .about, .final-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .panel { order: -1; }
  .quotes, .fails, .steps { grid-template-columns: 1fr; }
  .incl, .fit { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; text-align: center; padding: 36px 28px; }
  .guarantee .seal { margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { padding: 14px 20px; }
  .nav .brand span.full { display: none; }
  .hero { padding: 130px 0 64px; }
  section { padding: 64px 0; }
  .guarantee p { font-size: 15px; }
  form.book { padding: 24px; }
}
