/* Marketing-site glue: self-hosted font, base reset, and the few states landing.js toggles.
   landing.css (the design's layout layer) and components.css (design system) stay untouched,
   so a new export from Claude Design can be dropped in without merging. */

/* Figtree variable font, self-hosted (SIL OFL 1.1, see fonts/OFL.txt). No third-party font
   requests means no visitor IPs sent to Google, and nothing to add to a CSP later. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/figtree-latin-ext-wght-normal.eca8d8b337ff.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/figtree-latin-wght-normal.202cfb54d4e6.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body { margin: 0; }
.bc { font-family: var(--font-sans); color: var(--text); }
/* Slide-in reveals start up to 56px off to the side; clip so they never cause a
   sideways scrollbar on tablets. (clip, not hidden, keeps the sticky nav working.) */
.bc { overflow-x: clip; }

/* Components set display:flex etc., which would override the hidden attribute. */
[hidden] { display: none !important; }

/* Skip link: first focusable element on the page. */
.bc-skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--surface-inverse); color: var(--on-inverse); padding: 12px 16px;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.bc-skip:focus { top: 16px; }

/* Newsletter status line (the form is not wired to a mailing list yet). */
.bc-news__status { margin-top: var(--space-2); font-size: 14px; line-height: 20px; }

/* Stop the page scrolling behind the open mobile menu. */
body.bc-menu-open { overflow: hidden; }

/* ---------------------------------------------------------------------------
   Premium landing (pm-) glue. pm.css (the vendored premium export) stays
   untouched; this adds only the mobile menu sheet, which landing.js drives via
   the shared data-open-menu / #mobile-menu / data-close-menu hooks.
   --------------------------------------------------------------------------- */
.pm-sheet {
  position: fixed; inset: 0; z-index: 60;
  background: #021A11; color: #fff;
  display: flex; flex-direction: column;
  padding: 16px 20px 32px; overflow-y: auto;
  font-family: var(--font-sans);
}
.pm-sheet__bar { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.pm-sheet__x {
  width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff;
  display: grid; place-items: center;
}
.pm-sheet__x:hover { background: rgba(255,255,255,.06); }
.pm-sheet__x .pm-i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.pm-sheet__nav { display: flex; flex-direction: column; margin-top: 16px; }
.pm-sheet__nav a {
  color: #DCE7E1; text-decoration: none; font-size: 20px; font-weight: 700;
  padding: 14px 4px; min-height: 44px; display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pm-sheet__nav a:hover { color: #fff; }
.pm-sheet__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.pm-sheet__cta .pm-btn { width: 100%; }
@media (min-width: 1101px) { .pm-sheet { display: none; } }

/* Marketing form chips reflect their checkbox state without JS. */
.mk-chip:has(input:checked) { border-color: var(--brand-700); background: var(--brand-100); }
.mk-chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
