/* Shared site chrome — promo topbar + sticky header/nav + mobile sheet.
   Loaded on main marketing pages so chrome matches the homepage. */
header.site-chrome,
header:has(.site-top) {
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-top {
  background: var(--background, #fff);
}
.topbar {
  background: var(--ink, #1a1a1a);
  color: oklch(0.98 0 0);
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  padding: 10px 20px;
}
.topbar a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.topbar a:hover {
  opacity: 0.88;
}
header .navwrap,
.site-top .navwrap {
  position: static;
  top: auto;
  z-index: auto;
  padding: 16px 20px;
  transition: padding 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.navwrap.tight {
  padding: 8px 20px;
}
header .nav,
.site-top .nav {
  max-width: 1040px;
  margin: 0 auto;
  background: oklch(1 0 0 / 0.78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line, #e5e5e5);
  border-radius: 999px;
  padding: 9px 10px 9px 22px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: box-shadow 300ms;
}
.navwrap.tight .nav {
  box-shadow: 0 8px 30px -18px oklch(0.18 0.005 270 / 0.28);
}
.wm-svg,
.wm-img {
  height: 18px;
  width: auto;
  max-width: 96px;
  display: block;
  object-fit: contain;
}
.navlinks {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft, #555);
}
.navlinks a {
  text-decoration: none;
  color: inherit;
  transition: color 150ms;
}
.navlinks a:hover {
  color: var(--ink, #1a1a1a);
}
.nav-spacer {
  flex: 1;
}
header .btn,
.site-top .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
header .btn-sm,
.site-top .btn-sm {
  padding: 10px 18px;
  font-size: 14.5px;
  min-height: 44px;
  min-width: 44px;
}
header .btn-ink,
.site-top .btn-ink {
  background: var(--ink, #1a1a1a);
  color: var(--background, #fff);
  box-shadow: 0 1px 2px oklch(0.18 0.005 270 / 0.2);
}
.menu-btn {
  display: none;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  cursor: pointer;
  color: var(--ink, #1a1a1a);
  border-radius: 8px;
}
.menu-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}
/* Focus ring for chrome controls (pages that only load this stylesheet). */
a:focus-visible,
button:focus-visible,
.menu-btn:focus-visible,
.sheet-links a:focus-visible,
header .btn:focus-visible,
.site-top .btn:focus-visible,
.foot-nav a:focus-visible,
.topbar a:focus-visible {
  outline: 2px solid var(--ink, #1a1a1a);
  outline-offset: 2px;
  border-radius: 4px;
}
.sheet {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: oklch(1 0 0 / 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 150px 32px 40px;
}
.sheet-links {
  display: flex;
  flex-direction: column;
}
.sheet-links a {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink, #1a1a1a);
  padding: 18px 0;
  border-bottom: 1px solid var(--line, #e5e5e5);
}
body.sheet-open {
  overflow: hidden;
}
body.sheet-open header {
  z-index: 2147483002;
}
@media (max-width: 920px) {
  .navlinks {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  header .nav,
  .site-top .nav {
    gap: 12px;
    padding: 8px 8px 8px 18px;
  }
  header .nav .btn,
  .site-top .nav .btn {
    display: none;
  }
}

@media (max-width: 520px) {
  .topbar {
    font-size: 12px;
    padding: 8px 14px;
  }
  header .navwrap,
  .site-top .navwrap {
    padding: 10px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  header .navwrap,
  .site-top .navwrap,
  header .nav,
  .site-top .nav,
  .navlinks a,
  .foot-nav a,
  .topbar a {
    transition: none !important;
  }
}


/* Minimal legal footer — privacy / terms / contact + stamp */
footer[data-site-footer="1"],
footer:has(.foot-nav) {
  padding: 72px 0 88px;
  color: var(--ink-soft, #555);
  font-size: 16px;
  border-top: 1px solid var(--line, #e5e5e5);
  overflow: hidden;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
.foot-nav a {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  color: var(--ink-soft, #555);
  transition: color 150ms;
}
.foot-nav a:hover {
  color: var(--ink, #1a1a1a);
}
.foot-entity {
  margin-top: 28px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft, #555);
  max-width: 36ch;
  opacity: 0.85;
}
.foot-wordmark {
  margin-top: 72px;
  font-size: clamp(56px, 11vw, 168px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.92;
  color: var(--ink, #1a1a1a);
  text-wrap: balance;
  max-width: none;
}
@media (max-width: 920px) {
  footer[data-site-footer="1"],
  footer:has(.foot-nav) {
    padding: 64px 0 96px;
  }
  .foot-wordmark {
    margin-top: 56px;
    font-size: clamp(48px, 12vw, 104px);
  }
}
@media (max-width: 480px) {
  .foot-wordmark {
    font-size: clamp(40px, 12vw, 80px);
    margin-top: 48px;
  }
}
