/* Squint - hand-built, no framework. Light + dark via prefers-color-scheme. */

:root {
  --paper: #faf7f1;
  --paper-2: #f1ece2;
  --ink: #1c1915;
  --muted: #6d655a;
  --line: #ddd5c7;
  --accent: #b4430e;
  --accent-ink: #fff;
  --mark: #ffe08a;
  --good: #1e6b47;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(28, 25, 21, .06), 0 8px 24px rgba(28, 25, 21, .07);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171410;
    --paper-2: #1f1b15;
    --ink: #ece7dd;
    --muted: #a39a8c;
    --line: #353026;
    --accent: #ff8a4c;
    --accent-ink: #221105;
    --mark: #4a3c12;
    --good: #6fcf9e;
    --card: #201c16;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

mark { background: var(--mark); color: var(--ink); padding: 0 .15em; border-radius: 2px; }

/* Header */
header.site {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1040px; margin: 0 auto; padding: 22px 20px;
}
.brand { font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand .dot { color: var(--accent); }
nav.site { display: flex; gap: 22px; align-items: center; }
nav.site a { color: var(--ink); text-decoration: none; font-size: .95rem; }
nav.site a:hover { color: var(--accent); }
nav.site a.btn { color: var(--accent-ink); }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  padding: 13px 22px; border-radius: 10px; font-size: 1rem;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost {
  display: inline-block; font-weight: 600; text-decoration: none; color: var(--ink);
  padding: 12px 20px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 1rem;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em;
  font-weight: 800; margin: 18px auto 22px; max-width: 17ch;
  animation: unsquint 1.4s cubic-bezier(.2, .7, .3, 1) both;
}
@keyframes unsquint { from { filter: blur(9px); opacity: .4; } to { filter: blur(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero h1 { animation: none; } }
.hero .sub { font-size: 1.16rem; color: var(--muted); max-width: 34rem; margin: 0 auto 30px; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--paper-2); }
h2 { font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.kicker { display: block; margin-bottom: 10px; }
.lede { color: var(--muted); max-width: 36rem; margin-bottom: 28px; }

/* Cards / lists */
.deliverables { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 26px; }
.d-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; box-shadow: var(--shadow); }
.d-card .num { font-family: ui-monospace, Menlo, monospace; color: var(--accent); font-weight: 700; font-size: .85rem; }
.d-card h3 { font-size: 1.02rem; margin: 6px 0 6px; letter-spacing: -.01em; }
.d-card p { font-size: .92rem; color: var(--muted); }

.steps { counter-reset: step; list-style: none; max-width: 34rem; margin-top: 24px; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 52px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem;
}
.steps li strong { display: block; margin-bottom: 2px; }
.steps li span { color: var(--muted); font-size: .95rem; }

/* Sample teaser */
.teaser { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.teaser img { max-width: 100%; width: 460px; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.teaser div { flex: 1; min-width: 260px; }

/* Pricing */
.price-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 16px;
  max-width: 420px; margin: 26px auto 0; padding: 30px; text-align: center; box-shadow: var(--shadow);
}
.price-card .amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; }
.price-card .amount small { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.price-card ul { list-style: none; margin: 18px 0 22px; text-align: left; }
.price-card li { padding: 7px 0 7px 26px; position: relative; font-size: .97rem; }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--good); font-weight: 700; }
.price-card .fine { font-size: .8rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.2rem; }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 16px; color: var(--muted); max-width: 42rem; }

/* Honesty / disclosure */
.honest { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; max-width: 40rem; }
.honest p { margin-bottom: 12px; }
.honest p:last-child { margin-bottom: 0; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 40px; }
footer.site .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
footer.site p, footer.site a { font-size: .88rem; color: var(--muted); }
footer.site .brand { font-size: 1.1rem; }

/* ---------- Report (sample teardown) ---------- */
.report-head { padding: 56px 0 8px; }
.report-head h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); letter-spacing: -.03em; line-height: 1.12; margin: 14px 0 10px; }
.report-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.report-meta .chip { font-family: ui-monospace, Menlo, monospace; font-size: .74rem; letter-spacing: .05em; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--muted); }

.verdict { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin: 30px 0; box-shadow: var(--shadow); }
.verdict h2 { font-size: 1.15rem; margin-bottom: 10px; }
.scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.score { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.score .label { font-size: .78rem; color: var(--muted); }
.score .val { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.score .bar { height: 4px; background: var(--line); border-radius: 2px; margin-top: 7px; overflow: hidden; }
.score .bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }

.report h2.sec { margin-top: 54px; font-size: 1.45rem; }
.report h3 { margin: 26px 0 8px; font-size: 1.08rem; }
.report p { margin: 12px 0; max-width: 44rem; }
.report ul.plain { margin: 12px 0 12px 22px; max-width: 44rem; }
.report ul.plain li { margin-bottom: 8px; }

/* Figures with numbered markers */
figure.shot { margin: 26px 0 8px; }
.shot-frame { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.shot-frame img { display: block; width: 100%; height: auto; }
.marker {
  position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(255,255,255,.75), 0 2px 8px rgba(0,0,0,.35);
}
@media (prefers-color-scheme: dark) { .marker { box-shadow: 0 0 0 3px rgba(23,20,16,.75), 0 2px 8px rgba(0,0,0,.5); } }
figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.notes { list-style: none; margin: 14px 0 6px; max-width: 44rem; }
.notes li { position: relative; padding: 0 0 12px 38px; }
.notes li .n {
  position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .78rem;
  display: flex; align-items: center; justify-content: center;
}

/* Squint toggle */
.squint-btn {
  display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 4px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px;
  font: 600 .9rem/1 inherit; padding: 10px 18px; cursor: pointer;
}
.squint-btn:hover { filter: brightness(1.15); }
img.squinted { filter: blur(7px) saturate(.85); }
img.blurable { transition: filter .35s ease; }

/* Before / after copy blocks */
.rewrite { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 18px 0; max-width: 44rem; }
.rewrite .before, .rewrite .after { padding: 14px 18px; }
.rewrite .before { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.rewrite .tag { font-family: ui-monospace, Menlo, monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.rewrite .before .tag { color: var(--muted); }
.rewrite .after .tag { color: var(--good); }
.rewrite blockquote { font-size: 1.02rem; line-height: 1.5; }

/* Fix list */
.fixes { list-style: none; counter-reset: fix; margin: 18px 0; max-width: 44rem; }
.fixes li { counter-increment: fix; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 14px 54px; margin-bottom: 10px; position: relative; box-shadow: var(--shadow); }
.fixes li::before {
  content: counter(fix); position: absolute; left: 16px; top: 16px;
  width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem;
}
.fixes li strong { display: block; margin-bottom: 3px; }
.fixes li p { font-size: .93rem; color: var(--muted); margin: 0; }
.fixes .chips { margin-top: 8px; display: flex; gap: 8px; }
.fixes .chips span { font-family: ui-monospace, Menlo, monospace; font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--muted); }

/* ---------- Legal / commercial documents ---------- */
.legal { padding: 40px 20px 20px; }
.legal h1 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); letter-spacing: -.03em; line-height: 1.15; margin: 14px 0 6px; }
.legal h1 + p { color: var(--muted); }
.legal h2 { margin: 40px 0 6px; font-size: 1.25rem; }
.legal p { margin: 12px 0; max-width: 44rem; }
.legal ul { margin: 12px 0 12px 22px; max-width: 44rem; }
.legal li { margin-bottom: 8px; }
.legal .table-scroll { overflow-x: auto; margin: 16px 0; }
.legal table { border-collapse: collapse; min-width: 460px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 9px 14px; text-align: left; font-size: .93rem; vertical-align: top; }
.legal th { background: var(--paper-2); font-weight: 700; }

.cta-band { text-align: center; background: var(--paper-2); border-radius: 16px; padding: 44px 28px; margin: 60px 0 20px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin-bottom: 22px; }

@media (max-width: 640px) {
  nav.site { gap: 14px; }
  nav.site a.hide-sm { display: none; }
  .hero { padding: 48px 0 40px; }
  section { padding: 44px 0; }
}

/* ---- intake form (/start/) ---- */
.intake { padding: 56px 0 24px; max-width: 560px; }
.intake h1 { font-size: 2rem; line-height: 1.2; margin-bottom: 12px; }
.intake .lede { color: var(--muted); margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .req, .field .opt {
  font-family: ui-monospace, Menlo, monospace; font-size: .66rem; letter-spacing: .07em;
  text-transform: uppercase; font-weight: 400; color: var(--muted); margin-left: 6px;
}
.field input {
  width: 100%; padding: 11px 13px; font: inherit; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field.hp { position: absolute; left: -9999px; top: -9999px; }
.form-error { color: var(--accent); margin: 0 0 14px; font-size: .95rem; }
.intake .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.intake .btn:disabled { opacity: .6; cursor: default; }
.intake .fineprint { color: var(--muted); font-size: .85rem; margin-top: 14px; }
