/* Power Through It — landing page */

:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #eeebe3;
  --ink: #14171a;
  --muted: #545b63;
  --line: #e0dcd2;
  --accent: #ffd60a;
  --accent-hover: #ffe14d;
  --accent-ink: #14171a;
  --good: #1e7f47;
  --good-bg: #e2f2e7;
  --warn: #c2410c;
  --focus: #14171a;
  --band-bg: #14171a;
  --band-ink: #f6f4ef;
  --band-muted: #b9bec4;
  --shadow: 0 1px 2px rgba(20, 23, 26, .06), 0 14px 36px -14px rgba(20, 23, 26, .22);
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1120px;
  --gutter: 20px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1215;
    --surface: #171b20;
    --surface-2: #1c2127;
    --ink: #f1efe9;
    --muted: #a3aab2;
    --line: #2a3038;
    --good: #5bd08a;
    --good-bg: #163020;
    --warn: #fb923c;
    --focus: #ffd60a;
    --band-bg: #1a1f25;
    --band-ink: #f1efe9;
    --band-muted: #a3aab2;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 44px -18px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 5.5vw, 3.1rem); max-width: 18em; }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section[id] { scroll-margin-top: 72px; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .6em 1em; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-link { font-weight: 650; font-size: .9375rem; text-decoration: none; color: var(--muted); }
.header-link:hover { color: var(--ink); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.0625rem; letter-spacing: -.02em; text-decoration: none;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-small { font-size: .9375rem; color: var(--ink); }
.brand-small svg { width: 24px; height: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.35em;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--accent-ink); color: var(--accent); }
.btn-dark:hover { background: #2a2f35; }
.btn-small { min-height: 40px; padding: .5em 1.05em; font-size: .9375rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 44px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  margin-bottom: 22px; padding: .35em .9em;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: .875rem; font-weight: 650;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-bg); }
h1 { font-size: clamp(2.6rem, 9.5vw, 4.9rem); letter-spacing: -.04em; line-height: 1.02; max-width: 11em; }
.hl {
  background: linear-gradient(transparent 64%, var(--accent) 64%, var(--accent) 90%, transparent 90%);
  padding: 0 .04em;
}
@media (prefers-color-scheme: dark) { .hl { background: none; color: var(--accent); } }
.lede { font-size: clamp(1.125rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 32em; }
.price-line { font-size: 1rem; color: var(--muted); }
.price-line strong { color: var(--ink); font-size: 1.125rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Hero demo card */
.demo { position: relative; margin: 0; max-width: 440px; width: 100%; justify-self: center; }
.demo::before {
  content: ""; position: absolute; inset: 18px -10px -14px 22px; z-index: 0;
  border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line);
  transform: rotate(3deg);
}
.demo-card {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 20px;
}
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: .8125rem; color: var(--muted); }
.demo-meta { display: inline-flex; align-items: center; gap: 7px; text-align: right; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: none; }
.demo-title { margin: 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.demo-to { margin: 2px 0 14px; color: var(--muted); font-size: .875rem; }
.demo-draft {
  background: var(--surface-2); border-left: 3px solid var(--accent); border-radius: 12px;
  padding: 14px 16px; font-size: .9375rem; line-height: 1.55;
}
.demo-draft p { margin: 0 0 .6em; }
.demo-draft p:last-child { margin: 0; }
.draft-label {
  font-size: .6875rem !important; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px !important;
}
.demo-actions { display: grid; gap: 8px; margin-top: 16px; }
@media (min-width: 400px) {
  .demo-actions { grid-template-columns: 1fr 1fr; }
  .demo-actions .primary { grid-column: 1 / -1; }
}
.demo-btn {
  min-height: 46px; padding: .5em .75em;
  border: 1.5px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--ink);
  font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.demo-btn:hover { border-color: var(--ink); }
.demo-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.demo-btn.primary:hover { background: var(--accent-hover); }
.demo-btn[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--good-bg); border-color: var(--good); }
.demo-status { min-height: 1.5em; margin: 12px 0 0; text-align: center; font-size: .875rem; color: var(--muted); }
.demo[data-state="booked"] .demo-status,
.demo[data-state="send"] .demo-status { color: var(--good); font-weight: 650; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--surface-2); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .8125rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.kicker::before { content: ""; width: 18px; height: 4px; border-radius: 2px; background: var(--accent); }
.section-intro { max-width: 38em; font-size: 1.125rem; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 800;
}
.step p { margin: 0; color: var(--muted); }
.step p + p { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.step .chips { color: var(--ink); }
.chip { padding: .3em .75em; border: 1.5px solid var(--line); border-radius: 999px; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.chip.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Split */
.split { display: grid; gap: 40px; align-items: center; }
.prose > p:not(.kicker) { color: var(--muted); }
.ask { margin: 26px 0; }
.ask figcaption { font-size: .8125rem; font-weight: 650; color: var(--muted); margin-bottom: 8px; }
.ask blockquote {
  margin: 0; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px;
  font-size: 1.125rem; font-weight: 650; line-height: 1.45;
}
.ask blockquote p { margin: 0; }

/* Finding cards */
.finding {
  margin: 0; width: 100%; max-width: 480px; justify-self: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 22px;
}
.finding-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .8125rem; color: var(--muted); }
.finding-title { margin: 0 0 14px; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.finding-body { color: var(--muted); }
.facts { margin: 0 0 16px; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 6.75em 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.45; }
.facts dt { font-weight: 650; color: var(--muted); }
.facts dd { margin: 0; }
.draft { margin-bottom: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); font-size: .9375rem; line-height: 1.55; }
.draft p { margin: 0; }
.draft .draft-label { margin-bottom: 6px !important; }
.mock-btn {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: .5em 1em;
  border-radius: 11px; background: var(--accent); color: var(--accent-ink); font-weight: 750; font-size: .9375rem;
  user-select: none;
}
.finding figcaption { margin-top: 14px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.tag {
  padding: .25em .6em; border-radius: 6px; background: var(--surface-2); color: var(--muted);
  font-size: .6875rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
}
.finding .tag, .demo-card .tag { background: var(--accent); color: var(--accent-ink); }

/* Principles */
.principles { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px 24px; }
.principle { padding-top: 22px; border-top: 3px solid var(--ink); }
.principle p { margin: 0; color: var(--muted); font-size: 1rem; }
.icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 12px; background: var(--accent); color: var(--accent-ink);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Pricing band */
.band { background: var(--band-bg); color: var(--band-ink); }
.band .kicker, .band .pricing-copy p { color: var(--band-muted); }
.pricing { display: grid; gap: 40px; align-items: center; }
.price-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); max-width: 460px; width: 100%; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 20px; }
.amount { font-size: 3.5rem; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.per { color: var(--muted); font-weight: 650; }
.includes { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.includes li { position: relative; padding-left: 34px; font-size: 1rem; line-height: 1.45; }
.includes li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--good-bg);
}
.includes li::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px;
  border: solid var(--good); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.fineprint { margin: 14px 0 0; font-size: .8125rem; color: var(--muted); text-align: center; }

/* FAQ */
.faq-grid { display: grid; gap: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 20px 44px 20px 0; cursor: pointer; list-style: none;
  font-weight: 750; font-size: 1.125rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 40em; }

/* Closer */
.closer { padding: 8px 0 72px; }
.closer-card { padding: 48px 24px; border-radius: 28px; background: var(--accent); color: var(--accent-ink); text-align: center; }
.closer-card h2 { margin: 0 auto .35em; }
.closer-card p { font-size: 1.125rem; margin-bottom: 24px; }

/* Footer */
.site-footer { padding: 28px 0 44px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Larger screens */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 48px; }
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 940px) {
  .hero { padding: 84px 0 104px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
  .section { padding: 108px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split-reverse > :first-child { order: 2; }
  .pricing { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .price-card { justify-self: end; }
  .principles { grid-template-columns: repeat(4, 1fr); }
  .closer-card { padding: 72px 48px; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 6px; }
.legal h2 { font-size: 1.3rem; margin: 2.2em 0 .5em; letter-spacing: -0.01em; }
.legal h3 { font-size: 1.05rem; margin: 1.6em 0 .4em; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2em; }
.legal li { margin: .35em 0; }
.legal a { color: inherit; text-underline-offset: 3px; }
.legal code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 6px; }
.legal .updated { color: var(--muted); font-size: .9375rem; margin-top: 0; }
mark.todo { background: var(--accent); color: var(--accent-ink); padding: 0 .25em; border-radius: 4px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: inherit; text-underline-offset: 3px; }
