/* Shared marketing chrome — palette, fonts, wordmark, nav, footer.
 * Loaded on every public marketing page. Per-page styles live in
 * marketing/<page>.css and are loaded after this so they can override.
 */

  :root {
    --ink: #0A1832;
    --ink-soft: #142440;
    --ink-deep: #060F22;
    --bone: #F2EEE5;
    --bone-warm: #E8E3D6;
    --bone-soft: #F9F5EC;
    --signal: #E6293D;
    --signal-soft: #F7D4CC;
    --mute-dark: rgba(242,238,229,0.55);
    --mute-light: #6F6A60;
    --hairline-light: rgba(10,24,50,0.14);
    --hairline-dark: rgba(242,238,229,0.14);
    --hairline-strong: rgba(10,24,50,0.5);

    --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

    --grid-max: 1280px;
    --gutter: clamp(20px, 4vw, 56px);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--sans);
    background: var(--ink);
    color: var(--bone);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
  }
  ::selection { background: var(--signal); color: var(--bone); }
  a { color: inherit; }

  /* ─── Layout ─── */
  .frame {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
  }
  section {
    padding: clamp(64px, 7vw, 112px) 0;
    position: relative;
    border-top: 1px solid var(--hairline-dark);
  }
  section.light {
    background: var(--bone);
    color: var(--ink);
    border-top-color: var(--hairline-light);
  }
  section.first { border-top: none; }

  /* ─── Wordmark ─── */
  .wordmark {
    font-family: var(--sans);
    font-weight: 800;
    letter-spacing: -0.035em;
    font-size: 22px;
    line-height: 1;
    color: inherit;
    position: relative;
    display: inline-block;
    padding-right: 0.32em;
  }
  .wordmark::after {
    content: "";
    position: absolute;
    top: 0.03em;
    right: 0;
    width: 0.24em;
    height: 0.24em;
    border-radius: 50%;
    background: var(--signal);
  }

  /* ─── Typography ─── */
  .eyebrow {
    font-family: var(--mono);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mute-dark);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .light .eyebrow { color: var(--mute-light); }
  .eyebrow::before {
    content: ""; width: 18px; height: 1px;
    background: currentColor; opacity: 0.45;
  }
  .eyebrow.bare::before { display: none; }
  .eyebrow.signal { color: var(--signal); }
  .eyebrow.signal::before { background: var(--signal); opacity: 1; }

  .h1 {
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }
  .h1 .signal { color: var(--signal); }
  .h2 {
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.028em;
  }
  .h2 .signal { color: var(--signal); }
  .lede {
    font-family: var(--sans);
    font-weight: 400;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.5;
    letter-spacing: -0.01em;
    max-width: 60ch;
  }

  /* ─── Buttons ─── */
  .btn-primary {
    background: var(--signal);
    color: var(--bone);
    font-family: var(--sans); font-weight: 700; font-size: 14px;
    padding: 14px 24px;
    border: none; cursor: pointer;
    letter-spacing: -0.005em;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    transition: opacity 0.15s, transform 0.15s;
  }
  .btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }
  .btn-primary::after { content: "→"; font-family: var(--mono); font-weight: 400; }
  .btn-secondary {
    background: transparent;
    color: inherit;
    font-family: var(--sans); font-weight: 600; font-size: 14px;
    padding: 14px 22px;
    border: 1px solid currentColor;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: -0.005em;
    display: inline-flex; align-items: center; gap: 10px;
    transition: background 0.15s, color 0.15s;
  }
  .btn-secondary:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
  .light .btn-secondary:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

  /* ─── NAV ─── */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,24,50,0.92);
    color: var(--bone);
    border-bottom: 1px solid var(--hairline-dark);
    backdrop-filter: saturate(150%) blur(8px);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px var(--gutter);
    max-width: var(--grid-max);
    margin: 0 auto;
  }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .nav-link {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 16px;
    color: var(--bone);
    text-decoration: none;
    letter-spacing: -0.012em;
    transition: color 0.15s;
  }
  .nav-link:hover { color: var(--signal); }
  .nav-link.active { color: var(--signal); }
  .nav-cta {
    font-family: var(--sans); font-weight: 700; font-size: 12px;
    background: var(--signal); color: var(--bone);
    padding: 9px 16px; border: none; cursor: pointer;
    letter-spacing: -0.005em;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: opacity 0.15s;
  }
  .nav-cta:hover { opacity: 0.92; }
  .nav-cta::after { content: "→"; font-family: var(--mono); }

  footer.tail {
    background: var(--ink-deep);
    color: var(--bone);
    padding: clamp(64px, 7vw, 96px) 0 28px;
    border-top: 1px solid var(--hairline-dark);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 4vw, 56px);
    padding-bottom: clamp(40px, 4vw, 56px);
    border-bottom: 1px solid var(--hairline-dark);
  }
  @media (min-width: 800px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  }
  .footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .footer-brand-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
  }
  .footer-brand-link .wordmark {
    font-size: 30px;
  }
  .footer-brand-block .footer-tag {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--mute-dark);
    max-width: 32ch;
  }
  .footer-col-title {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mute-dark);
    margin-bottom: 16px;
  }
  .footer-col-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer-col-links a {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 14px;
    color: var(--bone);
    text-decoration: none;
    letter-spacing: -0.005em;
    transition: color 0.15s;
  }
  .footer-col-links a:hover { color: var(--signal); }
  .footer-bottom {
    margin-top: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--sans);
    font-size: 12px;
    color: var(--mute-dark);
    letter-spacing: -0.005em;
  }
  .footer-bottom a {
    color: var(--mute-dark);
    text-decoration: none;
  }
  .footer-bottom a:hover { color: var(--bone); }

