/* HALO shared styles for every page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* HALO palette: midnight navy, off-white, slate, restrained emerald */
  --paper: #F8FAFC; --paper-2: #EEF2F6; --card: #FFFFFF;
  --ink: #101828; --ink-2: #344054; --muted: #5B6578; --line: #E3E8EF; --line-2: #CDD5DF;
  --accent: #067647; --accent-ink: #05603A; --accent-tint: #E7F8EF; --accent-bright: #12B76A;
  --star: #E2A000; --good: #067647; --good-tint: #E7F8EF; --bad: #C4320A; --bad-tint: #FEF1EC;
  --serif: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 12px 32px -12px rgba(16,24,40,.16);
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.label { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--accent); }
h1, h2.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; color: var(--ink); text-wrap: balance; }
h2, h3 { text-wrap: balance; }
::selection { background: #C6F0DA; color: var(--ink); }
h1 em, h2 em { font-style: normal; color: inherit; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 600px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .18s cubic-bezier(.16,1,.3,1), border-color .18s, transform .18s; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #1D2939; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.link { color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Header */
header.nav { position: sticky; top: 0; z-index: 50; background: rgba(248,250,252,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: .14em; color: var(--ink); }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-cta .signin { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-cta .btn { height: 42px; padding: 0 18px; font-size: 14.5px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.mobile-menu { display: grid; padding: 4px 28px 20px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17px; }
.mobile-menu .btn { margin-top: 16px; }

/* Page hero */
.page-hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero .label { display: none; }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; margin-bottom: 24px; max-width: 900px; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Generic sections */
.sec { padding: 96px 0; border-top: 1px solid var(--line); }
.sec:first-of-type { border-top: none; }
.sec-head { margin-bottom: 48px; max-width: 720px; }
.sec-head .label { display: none; }
.sec-head h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }

/* Shared mock pieces */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; font-size: 14px; }
.mock-label { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.dot.bad { background: var(--bad); }
.stars { display: flex; gap: 1px; margin: 4px 0 8px; }
.stars svg { width: 14px; height: 14px; fill: var(--star); }
.stars svg.off { fill: var(--line); }
.mock p { color: var(--ink-2); }
.who { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.draft { background: #F8FAFC; border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px; margin-top: 14px; }
.draft p { color: var(--ink); }
.actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.mini-btn { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.mini-btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.tag { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.tag-bad { background: var(--bad-tint); color: var(--bad); }
.tag-good { background: var(--good-tint); color: var(--good); }
.mock-caption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* Checklist */
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--ink-2); }
.checks li .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--accent); }

/* Closing CTA */
.closing { background: var(--ink); color: var(--paper); padding: 96px 0; }
.closing h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(32px, 4vw, 48px); line-height: 1.06; color: var(--paper); margin-bottom: 18px; }
.closing p { color: #C2CAD6; font-size: 17px; max-width: 560px; margin-bottom: 30px; }
.closing .btn-ink { background: var(--paper); color: var(--ink); }
.closing .btn-ink:hover { background: #fff; }
.closing .btn-line { border-color: #475467; color: var(--paper); }
.closing .note { margin-top: 20px; font-size: 14px; color: #98A2B3; }
.closing .note a { color: var(--paper); font-weight: 600; text-decoration: none; border-bottom: 1px solid #475467; }
.closing .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Legal / prose pages */
.prose { padding: 72px 0 112px; }
.prose h1 { font-size: clamp(36px, 4.6vw, 54px); margin-bottom: 14px; }
.prose .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-bottom: 28px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.prose h2 { font-family: var(--sans); font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin: 48px 0 14px; color: var(--ink); }
.prose h3 { font-size: 17px; font-weight: 600; margin: 26px 0 10px; color: var(--ink); }
.prose p, .prose li { font-size: 16px; color: var(--ink-2); line-height: 1.75; margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose code { font-family: var(--mono); font-size: 13.5px; background: var(--paper-2); padding: 1px 6px; border-radius: 4px; }
.prose .highlight, .prose .sla { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; margin: 24px 0; }
.prose .highlight p:last-child, .prose .sla p:last-child { margin-bottom: 0; }
.prose .sla strong { display: block; margin-bottom: 6px; }
.prose .action-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; margin: 20px 0; }
.prose .action-card h3 { margin-top: 0; font-size: 19px; }
.prose .action-card .btn { display: inline-flex; height: 46px; padding: 0 20px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 15px; margin-top: 4px; }
.prose .action-card .btn:hover { background: #1D2939; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 12px 28px; flex-wrap: wrap; list-style: none; }
.foot-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.foot-links a:hover { color: var(--ink); }
.foot-meta { margin-top: 28px; font-size: 13.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .nav-links, .nav-cta .signin { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .mobile-menu { padding: 4px 20px 20px; }
  .nav-cta .btn { display: none; }
  .page-hero { padding: 56px 0 56px; }
  .page-hero .btns .btn, .closing .btns .btn { flex: 1 1 100%; }
  .sec { padding: 72px 0; }
  .closing { padding: 72px 0; }
  .prose { padding: 48px 0 80px; }
  .prose .action-card { padding: 22px; }
}

/* Footer operator line */
.foot-op { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.foot-op a { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; } }
