/* Shared Sage foundations and components. Used by home, beta, and privacy. */
:root {
  --cream: #F6F1E7;
  --paper: #FBF8F2;
  --forest: #1F3B2D;
  --forest-soft: #34513F;
  --ink-muted: #5B6A61;
  --sage: #8DAA91;
  --sage-deep: #4E7A5E;
  --sage-tint: #E7EEE2;
  --gold: #E9B961;
  --cursor-green: #3DDC97;
  --line: rgba(31, 59, 45, 0.12);
  --radius-small: 10px;
  --radius: 18px;
  --radius-large: 28px;
  --shadow-soft: 0 1px 2px rgba(31, 59, 45, .06), 0 8px 24px rgba(31, 59, 45, .08);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { display: block; }

.page-width { width: min(1120px, 100% - 32px); margin-inline: auto; }

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

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 50;
  background: var(--forest); color: var(--paper);
  padding: 10px 16px; border-radius: var(--radius-small); text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 3px; border-radius: 6px; }

kbd {
  display: inline-block; padding: 1px 8px; margin: 0 1px;
  font-family: var(--sans); font-size: .82em; font-weight: 600; color: var(--forest);
  background: var(--paper); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 7px;
  vertical-align: .08em;
}

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; }
h1 em, h2 em { font-style: italic; color: var(--sage-deep); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button-primary { background: var(--forest); color: var(--paper); box-shadow: 0 6px 18px rgba(31, 59, 45, .22); }
.button-primary:hover { background: var(--forest-soft); transform: translateY(-1px); }
.button-primary:active { transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 241, 231, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--forest); display: grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; fill: #CFE3D2; }

.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--ink-muted); transition: color .15s ease; }
.site-nav a:hover { color: var(--forest); }
.site-nav .nav-cta { color: var(--paper); background: var(--forest); padding: 9px 16px; border-radius: 999px; }
.site-nav .nav-cta:hover { color: var(--paper); background: var(--forest-soft); }


.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--sage-deep);
  background: rgba(255, 255, 255, .6); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
}

.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cursor-green); box-shadow: 0 0 0 3px rgba(61, 220, 151, .22); }

.hero-subtitle { max-width: 610px; margin: 0 auto; font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-muted); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-muted); font-size: 14px; }

.site-footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.site-footer a { text-decoration: none; }

.site-footer a:hover { color: var(--forest); }

.hero-promise { margin: 16px auto 0; font-weight: 600; font-size: 20px; color: var(--forest); }

:root {
  --space-1: 8px; --space-2: 16px; --space-3: 24px;
  --space-4: 32px; --space-5: 48px; --space-6: 64px;
  --space-section: 80px;
}
.display-title { font-size: clamp(48px, 8vw, 88px); margin: 20px 0; }
.section-title { font-size: clamp(38px, 5.6vw, 64px); margin-bottom: var(--space-5); }
.section-eyebrow { color: var(--sage-deep); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.section-space { padding-block: var(--space-section); }
.button-with-icon { gap: 12px; }
.button-with-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a { text-underline-offset: 4px; }
@media (max-width: 860px) { .site-nav a:not(.nav-cta) { display: none; } }
@media (max-width: 600px) {
  :root { --space-section: 48px; }
  .site-header { position: relative; }
  .hero-promise { font-size: 18px; }
  .display-title { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
