/* Shared look for Pivot's public pages (welcome, pricing): the header and footer (one copy each in
   /site/partials, put into every page at build), buttons, labels and cards. Page-specific styles stay in each page.
   Colours and fonts are the brand tokens in /site/brand.css (load it first). Brand rules: near-black ground, orange
   only on the main button and the pivot, flat cards with small corners, one glow (the main button). */
:root { --bg: var(--ground); --muted: var(--fog); --accent: var(--signal); --wrap: 1200px; --gutter: 20px; color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { background: var(--bg); }
body { margin: 0; color: var(--ink); font: 16px/1.5 var(--font-ui); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; margin: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-sm); }

/* label: small condensed capitals (orange for the page's one label, fog elsewhere) */
.eyebrow { display: block; font: 700 11px/14px var(--font-condensed); letter-spacing: .16em; text-transform: uppercase; color: var(--signal-ink); }
.eyebrow.muted { color: var(--fog); }

/* header: the hairline shows only after scrolling (site.js) */
.bar { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--ground) 86%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.bar.scrolled { border-bottom-color: var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 24px; width: auto; }
.bar-nav { display: flex; align-items: center; gap: 24px; }
.bar-link { color: var(--fog); font-weight: 600; font-size: 15px; text-decoration: none; }
.bar-link:hover { color: var(--ink); }
@media (max-width: 559px) { .bar-link { display: none; } }

/* buttons: primary (orange, the page's one), secondary (outline), quiet (small outline in the header) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--radius-md); font: 700 16px/1 var(--font-ui); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.btn.go { background: var(--signal); color: var(--on-signal); box-shadow: var(--glow); }
.btn.go:hover { background: var(--signal-press); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); font-weight: 600; }
.btn.ghost:hover { border-color: var(--fog); }
.btn.quiet { height: 40px; padding: 0 16px; background: transparent; color: var(--ink); border-color: var(--line-strong); font-weight: 600; font-size: 15px; }
.btn.quiet:hover { border-color: var(--fog); }
/* sign-ups closed: the button keeps its look but does nothing */
.btn[aria-disabled="true"] { cursor: default; }
.btn.go[aria-disabled="true"]:hover { background: var(--signal); }

/* sections */
.sect { padding: 56px 0; }
.sect h2 { font-size: clamp(28px, 5vw, 40px); line-height: 1.1; text-align: center; margin-bottom: 10px; }
.sect .sub { color: var(--muted); text-align: center; margin: 0 auto 32px; max-width: 520px; }
.kicker { display: inline-block; font: 700 11px/14px var(--font-condensed); letter-spacing: .16em; text-transform: uppercase; color: var(--signal-ink); }
.kicker b { display: none; }

/* footer */
.site-foot { margin-top: 96px; padding: 32px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.foot-row .brand img { height: 22px; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 600; }
.foot-row nav a { color: var(--fog); text-decoration: none; }
.foot-row nav a:hover { color: var(--ink); }
.social { display: flex; gap: 8px; margin-left: auto; }
.social a, .social .soon { width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--fog); }
.social a:hover { color: var(--ink); border-color: var(--line-strong); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.legal { margin: 20px 0 0; max-width: 760px; color: var(--fog); font-size: 13px; line-height: 1.55; }
@media (max-width: 559px) {
  .foot-row { display: grid; grid-template-columns: 1fr auto; }
  .foot-row nav { grid-column: 1 / -1; order: 3; }
  .social { margin-left: 0; }
}

/* privacy and terms: one readable column under the shared header (website option A) */
.doc { max-width: 720px; padding-top: 48px; }
.doc h1 { font-size: clamp(36px, 8vw, 56px); line-height: 1.05; letter-spacing: -.03em; margin: 8px 0 8px; }
.doc .date { color: var(--fog); font-size: 15px; margin: 0 0 24px; }
.doc .lead { font-size: 18px; line-height: 1.55; margin: 0 0 8px; }
.doc h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; margin: 40px 0 10px; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; margin: 0 0 12px; }
.doc ul { padding-left: 20px; margin: 0 0 12px; }
.doc .card { margin: 24px 0 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.doc .card .eyebrow { margin-bottom: 12px; }
.doc .card ul:last-child, .doc .card p:last-child { margin-bottom: 0; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
