/* The public page — October 2026.
 *
 * Colours come from styles.css, so this inherits light and dark for free and
 * cannot drift from the product it is advertising. Nothing here is loaded by a
 * signed-in page: the marketing surface changes often and the application
 * should not pay for it on every request.
 *
 * No web font. A product page that takes a second to show its headline has
 * already lost the argument, and the system stack renders instantly on the
 * phone and iPad this is mostly read on. */

.lp{--measure:62ch}
.lp *{box-sizing:border-box}
.lp-wrap{width:min(1120px,100%);margin-inline:auto;padding-inline:20px}

/* ---- top bar ---- */
.lp-top{position:sticky;top:0;z-index:30;background:var(--paper);border-bottom:1px solid var(--line)}
.lp-top .lp-wrap{display:flex;align-items:center;gap:16px;min-height:64px}
.lp-logo{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.02em;color:var(--ink);text-decoration:none}
.lp-logo .mark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--brand);color:var(--on-brand);font-size:13px;font-weight:800}
.lp-top nav{margin-left:auto;display:flex;align-items:center;gap:8px}
.lp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:9px;
  font-weight:700;font-size:.92rem;text-decoration:none;white-space:nowrap}
.lp-btn.primary{background:var(--brand);color:var(--on-brand)}
.lp-btn.quiet{color:var(--brand);background:transparent}
.lp-btn.big{min-height:52px;padding:0 26px;font-size:1rem}
.lp-btn.ghost{border:1px solid var(--line-strong);color:var(--brand)}

/* ---- hero ---- */
.lp-hero{padding-block:clamp(44px,8vw,96px) clamp(36px,6vw,72px)}
.lp-hero h1{font-size:clamp(2.1rem,6vw,4rem);line-height:1.04;letter-spacing:-.035em;margin:0 0 20px;text-wrap:balance;max-width:17ch}
.lp-eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.74rem;font-weight:700;color:var(--muted);margin-bottom:14px}
.lp-lede{font-size:clamp(1.02rem,2.1vw,1.26rem);color:var(--ink-2);max-width:var(--measure);margin:0 0 30px;line-height:1.6}
.lp-cta{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.lp-note{font-size:.85rem;color:var(--muted);margin-top:16px}

/* ---- the two-books diagram ---- */
.lp-books{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:stretch;margin-top:clamp(36px,6vw,60px)}
.lp-book{border:1px solid var(--line);border-radius:16px;padding:22px;background:var(--paper);min-width:0}
.lp-book h3{margin:0 0 4px;font-size:1.02rem}
.lp-book .kind{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:var(--brand);margin-bottom:12px}
.lp-book ul{margin:0;padding-left:18px;color:var(--ink-2);font-size:.92rem;line-height:1.75}
.lp-join{display:grid;place-items:center;color:var(--muted);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;
  writing-mode:vertical-rl;padding-block:8px}
@media(max-width:800px){.lp-books{grid-template-columns:1fr}.lp-join{writing-mode:horizontal-tb;padding-block:2px}}

/* ---- sections ---- */
.lp-section{padding-block:clamp(40px,6vw,72px);border-top:1px solid var(--line)}
.lp-section h2{font-size:clamp(1.5rem,3.4vw,2.2rem);letter-spacing:-.03em;margin:0 0 14px;text-wrap:balance;max-width:20ch}
.lp-section>.lp-wrap>p{color:var(--ink-2);max-width:var(--measure);margin:0 0 26px;line-height:1.7}
.lp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.lp-card{border:1px solid var(--line);border-radius:14px;padding:20px;background:var(--paper);min-width:0}
.lp-card h3{margin:0 0 7px;font-size:1rem}
.lp-card p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.65}
.lp-list{columns:2;column-gap:28px;margin:0;padding-left:18px;color:var(--ink-2);line-height:1.95;max-width:760px}
@media(max-width:620px){.lp-list{columns:1}}

/* ---- the tax point, given its own weight ---- */
.lp-point{border-left:3px solid var(--brand);background:var(--brand-soft);border-radius:0 14px 14px 0;padding:22px 24px;max-width:760px}
.lp-point h2{margin-top:0}
.lp-point p{margin:0;color:var(--ink-2);line-height:1.7}
.lp-point p+p{margin-top:12px}

/* ---- closing ---- */
.lp-end{padding-block:clamp(48px,7vw,88px);text-align:center;border-top:1px solid var(--line)}
.lp-end h2{margin-inline:auto}
.lp-end .lp-cta{justify-content:center}
.lp-foot{border-top:1px solid var(--line);padding-block:26px;color:var(--muted);font-size:.84rem}
.lp-foot .lp-wrap{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
.lp-foot a{color:var(--muted)}
:where(.lp) a:focus-visible,.lp-btn:focus-visible{outline:3px solid var(--brand);outline-offset:2px;border-radius:6px}

/* ---- narrow screens ----------------------------------------------------
   The header is the one row that cannot wrap, so it is the one that overflows.
   It sheds weight in two steps rather than being tuned to a single phone:
   first the padding and type, then the wordmark, leaving the mark and the one
   action that matters. "Sign in" is in the hero and the footer besides. */
@media (max-width: 600px){
  .lp-top nav{gap:6px}
  .lp-btn{padding:0 13px;font-size:.87rem}
  .lp-logo{font-size:.95rem;min-width:0}
  .lp-logo b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media (max-width: 430px){
  .lp-logo b{display:none}
  .lp-top nav .quiet{display:none}
}
.lp-top .lp-wrap{min-width:0}
.lp-cta .lp-btn{flex:1 1 auto;min-width:0}
@media (min-width: 560px){.lp-cta .lp-btn{flex:0 0 auto}}
