/* Marketing tokens, chrome (header/nav/hero/footer), legal.
 * Brand kit page chrome: site-brandkit.css
 * Pricing / offer: site-pricing.css
 * Field setup: site-setup.css
 */

/* Brand kit page: site-brandkit.css */
/* Pricing / offer: site-pricing.css */
/* Field setup: site-setup.css */

:root {
  /* Page + non-featured plans share this so side cards do not stand out */
  --bg: #fcfaf7;
  --paper: #fffdfa;
  --ink: #191714;
  --muted: #5f5a52;
  --line: #e4ddd2;
  --accent: #1e5c5a;
  --accent-light: #e8f2f1;
  --accent-cta: #c43b2f;
  --ok: #16803c;
  --code-bg: #f0ebe3;
  --sans: "Libre Franklin", ui-sans-serif, system-ui, sans-serif;
  --serif: "Libre Baskerville", Georgia, serif;
  /* Bold = 600 only — never 700 (see GOTCHAS.md) */
  --font-bold: 600;
  /* Type scale — 7 steps only; root 16px. Do not introduce ad-hoc rem sizes.
     Hierarchy: xxl page H1 → xl section / legal H1 → lg prices → md emphasis → base body → sm chrome → xs labels */
  --text-xs: 0.75rem;   /* 12 — badges, eyebrows, footer col labels */
  --text-sm: 0.875rem;  /* 14 — meta, units, footer, bylines, billing switch */
  --text-base: 1rem;    /* 16 — body, origin story, plan features, legal body */
  --text-md: 1.125rem;  /* 18 — brand, hero points, plan names, quotes, lede */
  --text-lg: 1.5rem;    /* 24 — plan prices */
  --text-xl: 2rem;      /* 32 — section titles, legal H1, mobile H1 */
  --text-xxl: 2.5rem;   /* 40 — page hero H1 only */
  /* Vertical rhythm between main’s direct children (sections, strips, etc.) */
  --section-gap: 88px; /* ~15% above prior 76.8px */
  /*
   * Spacing scale — within-section and component rhythm (not type).
   * Prefer these tokens over ad-hoc px margins inside sections.
   * 1=8 · 2=12 · 3=16 · 4=24 · 5=32 · 6=48 · 7=64 · section-gap=88
   */
  --space-1: 0.5rem;  /* 8  — tight chrome, badge padding */
  --space-2: 0.75rem; /* 12 — label → content, compact list rows */
  --space-3: 1rem;    /* 16 — default list row, related stack */
  --space-4: 1.5rem;  /* 24 — card/strip padding, small block gap */
  --space-5: 2rem;    /* 32 — sub-block gap inside a section */
  --space-6: 3.5rem;  /* 56 — major block stack inside a section (~+17% vs 48) */
  --space-7: 4rem;    /* 64 — large internal break (rare) */
}

* {
  box-sizing: border-box; 
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.65;
  font-size: 16px;
}

/* Sticky header clearance for in-page anchors on the single-page home */

main > section[id] {
  scroll-margin-top: 5.5rem;
}

.legal-doc h2[id] {
  scroll-margin-top: 5.5rem;
}

h1,
h2,
h3,
h4,
nav,
.btn,
.eyebrow,
.site-header,
.site-footer {
  font-family: var(--sans);
}

/* Cap bold at 600 — UA defaults for headings/strong are often 700 */

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: var(--font-bold);
}

a {
  color: var(--accent); 
}

a:hover {
  color: var(--accent-cta); 
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: var(--font-bold);
  font-size: var(--text-md);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-size: var(--text-base); /* match .btn (Sign in = Get started) */
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline; 
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-cta);
  color: #fff;
  border-color: var(--accent-cta);
}

.btn-primary:hover {
  background: #a83228;
  color: #fff;
}

/* Solid teal — used for non-featured plan CTAs */

.btn-secondary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: #174846;
  color: #fff;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.hero {
  padding: 0;
  text-align: center;
}

.story-strip {
  margin: 0;
  padding: 28px 24px;
  background: var(--accent-light);
  border-radius: 12px;
}

.origin-note {
  margin: 0 auto 22px;
  max-width: 38rem;
  font-size: var(--text-base);
  line-height: 1.6;
  text-align: center;
  color: var(--ink);
}

.origin-note p {
  margin: 0 0 0.85rem;
}

.origin-note p:last-child {
  margin-bottom: 0;
}

.origin-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.origin-note a:hover {
  color: var(--accent-cta);
  text-decoration: underline;
}

.testimony {
  margin: 0 auto;
  max-width: 36rem;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  text-align: center;
}

.testimony + .testimony {
  margin-top: 20px;
}

.testimony p {
  margin: 0 0 12px;
  font-size: var(--text-md);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}

.testimony footer {
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 600;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0 0 36px;
  font-size: var(--text-xxl);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--accent);
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: var(--font-bold);
}

.lede {
  font-size: var(--text-md);
  margin: 0 0 16px;
  max-width: 640px;
}

.hero-points {
  margin: 0 auto 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.plain-list {
  margin: 0 0 32px;
  padding-left: 1.25rem;
  max-width: 40rem;
}

.plain-list li {
  margin-bottom: 0.55rem;
  font-size: var(--text-base);
}

.section-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--accent);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-light);
}

.content-block {
  margin-bottom: 24px;
}

.content-block h2,
.content-block h3 {
  margin-top: 0;
  font-family: var(--sans);
  color: var(--accent);
}

.content-block h3 {
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.content-block p:last-child {
  margin-bottom: 0; 
}

/* Section head — title + controls */

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 0 8px;
  text-align: center;
}

.section-heading {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.site-callout {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  font-size: var(--text-base);
}

.section-note {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 8px auto 12px;
  max-width: 46rem;
  text-align: center;
}

/* Hero points — › markers; block centered, rows left-aligned */

.hero-points-checks {
  list-style: none;
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 0;
  text-align: left;
  box-sizing: border-box;
}

.hero-points-checks li {
  position: relative;
  padding: 0 0 0.65rem 1.55rem;
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.65;
  text-align: left;
}

.hero-points-checks li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.35em; /* relative to list item (base) */
  font-weight: 600;
  line-height: 1.22;
  color: var(--accent);
}

.legal-doc {
  padding: 8px 0 32px;
}

.legal-doc h1 {
  font-family: var(--sans);
  font-size: var(--text-xl);
  color: var(--accent);
  margin: 0 0 8px;
}

.legal-doc .effective {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0 0 28px;
}

.legal-doc h2 {
  font-family: var(--sans);
  font-size: var(--text-md);
  margin: 28px 0 10px;
  color: var(--accent);
}

.legal-doc p,
.legal-doc li {
  font-size: var(--text-base); 
}

.legal-doc ul {
  padding-left: 1.35rem; 
}

.placeholder {
  background: #fff8e8;
  border: 1px dashed #9a6700;
  border-radius: 4px;
  padding: 0 4px;
}

.review-banner {
  background: #fff8e8;
  border: 1px solid #e8d49a;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: #6b5200;
}

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 24px 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-col {
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
}

@media (max-width: 700px) {
  .footer-grid {
    flex-direction: column;
  }

  .hero h1 {
    font-size: var(--text-xl); 
  }
}

.footer-entity {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
  min-width: 0;
}

.footer-entity strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 6px; 
}

.footer-col a {
  text-decoration: none;
  font-size: var(--text-sm);
}

.footer-col a:hover {
  text-decoration: underline; 
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--muted);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em; /* relative to surrounding text */
  background: var(--code-bg);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
