/* ───────────────────────────────────────────────────────────────────────────
   Vyra — shared stylesheet for sub-pages (Privacy, Terms, Contact, Press).
   Mirrors the design system used on index.html. Calm, type-driven, AA-safe.
─────────────────────────────────────────────────────────────────────────── */

:root {
  --sage:        #8FB890;
  --sage-dark:   #5F9962;
  --sage-deep:   #3D7A42;   /* interactive — AA-safe */
  --bg:          #FAFCFA;
  --surface:     #FFFFFF;
  --tint:        #E4F0E5;
  --ink:         #23302A;
  --ink-2:       #56705F;
  --ink-3:       #8FA496;
  --line:        #E7EEE8;

  --maxw:        1120px;
  --readw:       720px;
  --radius:      16px;
  --radius-sm:   12px;
  --shadow:      0 1px 2px rgba(20,30,32,0.05), 0 2px 4px rgba(20,30,32,0.04);
  --ease:        cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-feature-settings: 'cv11','ss01','tnum';
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; line-height: 1.14; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
svg { display: block; }

:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 16px; top: -56px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 16px;
  font-weight: 600; font-size: 14px; z-index: 100; transition: top .12s var(--ease);
}
.skip:focus { top: 16px; }
.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;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); margin: 0 0 18px;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { height: 26px; width: auto; }
.brand .word { font-size: 23px; font-weight: 700; letter-spacing: -1.2px; color: var(--ink); line-height: 1; }
.header-cta {
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: var(--surface);
  padding: 9px 16px; border-radius: var(--radius-sm);
  transition: background .1s var(--ease), border-color .1s var(--ease); white-space: nowrap;
}
.header-cta:hover { background: var(--tint); border-color: var(--sage); }

/* ── Page hero ───────────────────────────────────────────────────────────── */
.page-hero { padding: clamp(48px, 8vw, 88px) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 700; max-width: 18ch; }
.page-hero .lead {
  font-size: clamp(17px, 1.9vw, 20px); color: var(--ink-2);
  max-width: 56ch; margin-top: 18px; text-wrap: pretty;
}
.page-hero .updated { font-size: 13px; color: var(--ink-3); margin-top: 18px; }

/* ── Prose (legal/long-form) ────────────────────────────────────────────── */
.prose { max-width: var(--readw); padding-bottom: clamp(56px, 9vw, 104px); }
.prose section { padding-top: clamp(28px, 4vw, 40px); }
.prose h2 { font-size: clamp(20px, 2.4vw, 25px); font-weight: 700; margin-bottom: 12px; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 20px 0 8px; }
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { color: var(--ink-2); margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--sage); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--sage-deep); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--sage-deep) 35%, transparent); }
.prose a:hover { border-bottom-color: var(--sage-deep); }
.prose .divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Calm sage callout for the standing disclaimer */
.note {
  background: var(--tint); border-radius: var(--radius); padding: 18px 22px;
  font-size: 15px; color: var(--ink); line-height: 1.5; margin: 4px 0 8px;
}
.note strong { font-weight: 600; }

/* ── Cards / grids (contact, press) ─────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: var(--readw); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card .glyph {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--tint); color: var(--sage-deep); display: grid; place-items: center; margin-bottom: 16px;
}
.card .glyph svg { width: 21px; height: 21px; }
.card h2 { font-size: 18px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.card p { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
.card a.link { font-size: 15px; font-weight: 600; color: var(--sage-deep); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.card a.link:hover { border-bottom-color: color-mix(in srgb, var(--sage-deep) 40%, transparent); }

/* Press asset swatches */
.asset-row { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: var(--readw); }
.asset {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px;
}
.asset .preview { display: flex; align-items: center; gap: 12px; }
.asset .preview.ink { background: var(--ink); border-radius: var(--radius-sm); padding: 14px 18px; }
.asset .meta b { display: block; font-size: 15px; font-weight: 600; }
.asset .meta span { font-size: 13px; color: var(--ink-3); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: clamp(36px,5vw,56px) 0; margin-top: auto; }
.footer-inner { display: flex; flex-direction: column; gap: 24px; }
.footer-top { display: flex; flex-direction: column; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .1s var(--ease); }
.footer-links a:hover { color: var(--sage-deep); }
.footer-disclaimer { font-size: 13px; color: var(--ink-2); line-height: 1.5; max-width: 520px; }
.footer-legal { font-size: 12px; color: var(--ink-3); }

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media (min-width: 768px) {
  .container { padding: 0 40px; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
}
