/* Shared layout. Every idea's themes/<slug>.css overrides these variables and adds its own look. */
:root {
  --bg: #fbfaf7;
  --ink: #14130f;
  --muted: #5f5b52;
  --line: #e7e3da;
  --card: #ffffff;
  --soft: #f2efe8;
  --accent: #4b3df5;
  --on-accent: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, var(--card));
  --font-head: Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, Menlo, Consolas, monospace;
  --head-weight: 400;
  --head-tracking: -0.01em;
  --h1-size: clamp(40px, 6vw, 66px);
  --base: 16px;
  --btn-radius: 999px;
  --card-radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: var(--base)/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }

/* Buttons */
.btn {
  appearance: none; border: 0; cursor: pointer;
  font: 600 1em/1 var(--font-body);
  padding: 18px 28px; border-radius: var(--btn-radius);
  background: var(--accent); color: var(--on-accent);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn.small { padding: 11px 18px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
@media (max-width: 860px) { header.site .btn.small { display: none; } }

/* Hero */
.hero-band { position: relative; overflow: hidden; }
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 64px 20px 84px;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--accent); background: var(--accent-soft);
  padding: 6px 12px; border-radius: 999px;
}
h1 {
  font-family: var(--font-head); font-weight: var(--head-weight);
  font-size: var(--h1-size); line-height: 1.03; letter-spacing: var(--head-tracking);
  margin: 18px 0;
}
.sub { font-size: 1.19em; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.micro { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.visual { position: relative; width: 100%; }

/* Sample report card */
.report {
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--card-radius) + 4px);
  padding: 24px 24px 12px;
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .28);
}
.report-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.report-title { font-weight: 600; }
.tag { font-size: 12px; color: var(--muted); background: var(--soft); padding: 3px 9px; border-radius: 999px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.row .val { font-weight: 600; text-align: right; }
.row.hl .val { color: var(--accent); }
.meter { grid-column: 1 / -1; height: 6px; background: var(--soft); border-radius: 9px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 9px; }

/* Sections */
section { padding: 76px 0; border-top: 1px solid var(--line); }
h2 {
  font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking);
  font-size: clamp(30px, 4vw, 46px); line-height: 1.08; margin: 0 0 28px;
}
.get { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--card-radius); padding: 26px; }
.card h3 { margin: 8px 0 6px; font-size: 1.1em; }
.card p { margin: 0; color: var(--muted); }
.num { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 34px; line-height: 1; color: var(--accent); }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 36px; font-size: 1.06em; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft);
}
.checks li::after {
  content: ""; position: absolute; left: 9px; top: 7px; width: 5px; height: 10px;
  border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.checks.small { gap: 6px; }
.checks.small li { font-size: 15px; }

/* Pricing */
.pricing {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--card-radius) + 6px); padding: 40px;
}
.pricing h2 { margin-bottom: 12px; }
.pricing .lead { color: var(--muted); font-size: 1.06em; margin: 0; }
.price-box { text-align: center; background: var(--accent-soft); border-radius: var(--card-radius); padding: 32px 24px; }
.price { font-family: var(--font-head); font-size: 46px; font-weight: 700; letter-spacing: -0.02em; }
.price.claim { font-size: 32px; line-height: 1.15; }
.anchor { text-decoration: line-through; color: var(--muted); font-size: 20px; margin-right: 10px; }
.price-note { color: var(--muted); font-size: 14px; margin: 6px 0 20px; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 1.06em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin: 10px 0 0; }

.final { background: var(--soft); }
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); }
.disclaimer { font-size: 13px; color: var(--muted); max-width: 820px; }
.foot-links { font-size: 13px; color: var(--muted); }

/* Sticky mobile CTA */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.sticky .btn { width: 100%; }

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .wrap.hero { grid-template-columns: 1fr; gap: 40px; padding: 32px 16px 56px; }
  .sub { font-size: 1.06em; }
  .get, .grid3, .pricing { grid-template-columns: 1fr; }
  .get { gap: 36px; }
  .pricing { padding: 26px; }
  section { padding: 54px 0; }
  .sticky { display: block; }
  body { padding-bottom: 84px; }
}

/* Funnel */
.funnel { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: flex; flex-direction: column; overflow-y: auto; }
.funnel[hidden] { display: none; }
.f-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.icon { appearance: none; border: 0; background: none; font-size: 24px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; color: var(--ink); }
.icon:hover { background: var(--soft); }
.progress { height: 4px; background: var(--line); flex: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }
.f-body { width: 100%; max-width: 580px; margin: 0 auto; padding: 40px 16px 64px; }
.f-step { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.f-q {
  font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking);
  font-size: clamp(28px, 5vw, 40px); line-height: 1.1; margin: 0 0 14px;
}
.f-help { color: var(--muted); margin: 0 0 22px; }
.opts { display: grid; gap: 10px; margin-top: 22px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt {
  text-align: left; padding: 18px 20px; border-radius: min(var(--card-radius), 16px); border: 1.5px solid var(--line);
  background: var(--card); font: 500 1.06em var(--font-body); color: var(--ink); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.opt:hover:not(:disabled) { border-color: var(--accent); }
.opt.sel { border-color: var(--accent); background: var(--accent-soft); }
.opt:disabled { opacity: .45; cursor: default; }
.field { display: grid; gap: 12px; margin-top: 22px; }
.input, .field select {
  width: 100%; padding: 17px 18px; border-radius: min(var(--card-radius), 16px); border: 1.5px solid var(--line);
  font: 500 18px var(--font-body); color: var(--ink); background: var(--card);
}
.input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.input.err { border-color: #e2541c; }
.prefixed { position: relative; }
.prefixed span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--muted); }
.prefixed .input { padding-left: 36px; }
.f-kicker { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.big {
  font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking);
  font-size: clamp(46px, 10vw, 76px); line-height: 1; margin: 10px 0 14px;
}
.f-detail { color: var(--muted); font-size: 1.06em; margin: 0 0 12px; }
.f-note { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: 15px; margin: 14px 0 0; }
.offer { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--card-radius) + 2px); padding: 24px; }
.offer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.offer-name { font-weight: 700; font-size: 18px; }
.offer .price { font-size: 32px; }
.offer .anchor { font-size: 16px; }
.stack { display: grid; gap: 10px; margin-top: 18px; }
.stack .btn { width: 100%; }
.note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.tone { display: flex; align-items: center; gap: 16px; margin: 6px 0 4px; }
.freq { font-weight: 600; color: var(--muted); }
.done-mark {
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center;
  font-size: 30px; color: var(--accent); margin-bottom: 18px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
