/* The public homepage (founder, 2 Dec 2026). Same warm palette and Trooix mark as the chat
   (style.css), so a visitor moving from here to the consent screen stays in one place. No framework:
   the page is static, and the CSP allows only this site's own styles. */
:root {
  --bg: #faf6f1;
  --surface: #ffffff;
  --sunk: #f3ece4;
  --border: #e6dacd;
  --text: #2f2924;
  --muted: #6b5f56;
  --accent: #a9502e;        /* white text on it: 5.4:1 */
  --accent-hover: #8f4225;
  --accent-ink: #ffffff;
  --ink: #1A1835;
  --dot: #6C5CE7;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1815;
    --surface: #26201c;
    --sunk: #2e2622;
    --border: #41362f;
    --text: #efe6dd;
    --muted: #b9aa9c;
    --accent: #e3936a;      /* dark text on it: 7.3:1 */
    --accent-hover: #eaa784;
    --accent-ink: #1c1815;
    --ink: #ffffff;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3.6vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--border); }
.bar-row { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.brand:hover { color: var(--text); }
.mark { width: 1.5em; height: 1.5em; flex: none; }
.mark-ink { stroke: var(--ink); }
.mark-faded { stroke: var(--ink); stroke-opacity: .3; }
.mark-dot { fill: var(--dot); }

/* buttons */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 650; padding: .8rem 1.5rem; border-radius: 999px; transition: background .15s ease;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn:focus-visible, .link:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-small { padding: .45rem 1rem; font-size: .95rem; }
.link { font-weight: 600; }

/* a way back for a browser that already has a personal link (home.js) */
.resume { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; margin-bottom: 28px; }
.resume[hidden] { display: none; }
.resume p { margin: 0; }

/* hero */
.hero { padding: clamp(48px, 9vw, 104px) 0 clamp(40px, 7vw, 80px); }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--muted);
  background: var(--sunk); border: 1px solid var(--border); border-radius: 999px; padding: .2rem .8rem; margin-bottom: 1.2rem; }
.hero h1 { max-width: 15ch; }
.lead { font-size: clamp(1.08rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 40em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 1.6rem 0 1.4rem; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; }
.facts li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: .4rem; }

/* bands and sections */
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: clamp(40px, 7vw, 72px) 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.2rem 0 0;
  display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 22px 22px 8px; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; margin-bottom: .8rem; }
.steps p { color: var(--muted); }

.two-col { display: grid; gap: 32px 48px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding-top: clamp(40px, 7vw, 72px); padding-bottom: clamp(40px, 7vw, 72px); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .7rem; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: .55rem; height: .55rem;
  border-radius: 50%; background: var(--dot); }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--border); padding: .9rem 0; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: -.1rem; font-size: 1.4rem; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .6rem 0 0; color: var(--muted); }

.closing { text-align: center; padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(48px, 8vw, 88px); }
.closing p { color: var(--muted); }
.closing .btn { margin: .4rem 0 1.2rem; }
.small { font-size: .9rem; }

.foot { border-top: 1px solid var(--border); padding: 24px 0 32px; color: var(--muted); font-size: .9rem; }
.foot p { margin: 0; }
