/* trumanplanner.com — the public face of the product. Same tokens as the
   application, so a person who signs up lands somewhere that looks like where
   they came from. Colour is reserved for one accent; the product's own rule. */
:root {
  --ink: #0f1419; --ink-2: #3b4452; --ink-3: #697283; --ink-4: #98a1ae;
  --line: #e3e6eb; --line-2: #eef0f3; --bg: #ffffff; --bg-2: #f5f6f8; --panel: #ffffff;
  --accent: #2b5ce6; --accent-2: #224bc4; --accent-soft: #eaf0ff;
  --green: #1f7a4d; --green-bg: #e8f5ee;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 12px; --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.02em; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }

/* header */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.86); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-2); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 17px; }
.brand:hover { text-decoration: none; }
.mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 18px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 14.5px; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.current { color: var(--ink); font-weight: 600; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 9px; font-weight: 600;
  font-size: 14.5px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; background: var(--bg-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-2); }
.btn.lg { padding: 14px 22px; font-size: 16px; border-radius: 11px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; }

/* hero */
.hero { padding: 88px 0 56px; border-bottom: 1px solid var(--line-2);
  background: radial-gradient(1200px 500px at 70% -10%, var(--accent-soft), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero p.lede { font-size: 19px; color: var(--ink-2); margin: 22px 0 30px; max-width: 560px; }
.cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cta .note { font-size: 13.5px; color: var(--ink-3); flex-basis: 100%; }

/* the record, drawn */
.record { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 70px rgba(15,20,25,.10);
  padding: 18px 20px; font-size: 13.5px; }
.record .row { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.record .row:first-of-type { border-top: 0; }
.record .what { font-weight: 600; }
.record .who { color: var(--ink-3); font-size: 12.5px; }
.record .amt { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.record .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tag { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line-2); }
.tag.ok { background: var(--green-bg); color: var(--green); border-color: transparent; }
.tag.q { background: #fdf4df; color: #8a6412; border-color: transparent; }
.record .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.record .head b { font-size: 14px; }

/* sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line-2); }
section.tint { background: var(--bg-2); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); font-size: 17px; margin-top: 12px; }
.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.icon { width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 8px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }
.quote { font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--ink); max-width: 760px; }
.boundary { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.boundary ul { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.boundary li { margin-bottom: 6px; }

/* pricing */
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: 0 24px 70px rgba(15,20,25,.08); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; }
.price .amt { font-size: 56px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price .per { color: var(--ink-3); font-size: 16px; }
.check { list-style: none; padding: 0; margin: 20px 0 26px; }
.check li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: var(--ink-2); font-size: 15px; }
.check li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--green-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat; }
.faq details { border-top: 1px solid var(--line-2); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--ink-4); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); font-size: 15px; margin: 10px 0 0; }
.hidden { display: none !important; }
[data-when] { display: none; }
[data-when].show { display: block; }

/* prose pages */
.prose { max-width: 720px; }
.prose h2 { font-family: var(--sans); font-size: 20px; font-weight: 600; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; }
.prose ul { padding-left: 22px; }
.draft { display: inline-block; background: #fdf4df; color: #8a6412; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

/* footer */
footer { border-top: 1px solid var(--line-2); padding: 40px 0 48px; font-size: 14px; color: var(--ink-3); background: var(--bg-2); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { margin: 0 0 10px; font-size: 13px; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
footer a { color: var(--ink-2); display: block; margin-bottom: 6px; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; }
footer .legal p { margin: 0 0 8px; }
.fill { background: #fdf4df; color: #8a6412; padding: 0 5px; border-radius: 4px; }

@media (max-width: 900px) {
  .hero .wrap, .grid.three, .grid.two, .steps, .boundary, footer .wrap { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 24px 18px; gap: 14px; }
  .nav.open .nav-links { display: flex; }
  .menu-toggle { display: inline-block; }
  section { padding: 52px 0; }
}

.tiers { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 14.5px; }
.tiers th { text-align: left; font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.tiers td { padding: 7px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.tiers td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
