@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/geist.woff2) format('woff2');
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/geist-mono.woff2) format('woff2');
}

.nav,
.mnav {
  --header-bg: #ffffff;
  --header-panel: #fafafa;
  --header-panel-2: #f5f5f5;
  --header-line: #e5e5e5;
  --header-ink: #171717;
  --header-muted: #737373;
  --header-faint: #a3a3a3;
  --header-brand: #0f766e;
  --header-brand-ink: #115e59;
  --header-brand-soft: #e4f3f1;
  --header-green-soft: #dcfce7;
  --header-radius: 8px;
  --header-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-mono: 'Geist Mono', 'SF Mono', ui-monospace, Menlo, monospace;
  --header-max-width: 1240px;
  --header-gutter: clamp(20px, 4vw, 48px);
  color: var(--header-ink);
  font-family: var(--header-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.nav *,
.mnav * { box-sizing: border-box; }

.nav a,
.mnav a { color: inherit; text-decoration: none; }

.nav .wrap,
.mnav .wrap {
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding-inline: var(--header-gutter);
}

.nav .mono,
.mnav .mono { font-family: var(--header-mono); }

.nav .btn,
.mnav .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.nav .btn--primary,
.mnav .btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #262626, #171717);
  border-color: #171717;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .09), 0 1px 2px rgb(0 0 0 / .12);
}

.nav .btn--primary:hover,
.mnav .btn--primary:hover { background: linear-gradient(180deg, #1c1c1c, #000); }

.nav .btn--outline,
.mnav .btn--outline {
  color: var(--header-ink);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--header-bg), var(--header-bg)) padding-box,
    linear-gradient(180deg, #ececec, #d6d6d6) border-box;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04);
}

.nav .btn--outline:hover,
.mnav .btn--outline:hover {
  background:
    linear-gradient(var(--header-panel), var(--header-panel)) padding-box,
    linear-gradient(180deg, #e3e3e3, #c8c8c8) border-box;
}

.nav .btn:active,
.mnav .btn:active { transform: scale(.985); }

.nav .btn--sm { height: 34px; padding: 0 13px; font-size: 13px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, #fff 85%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(1.3) blur(10px);
  transition: border-color .2s ease;
}

.nav.scrolled { border-bottom-color: var(--header-line); }

.nav__in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.nav .brand,
.mnav .brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.nav .brand svg,
.mnav .brand svg { display: block; flex: none; width: 26px; height: 26px; }

.nav__cta { display: flex; align-items: center; justify-self: end; gap: 9px; }
.nav__center { position: relative; justify-self: center; }
.pillnav { position: relative; display: flex; gap: 2px; }

.pillnav__hl {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-radius: var(--header-radius);
  background: var(--header-panel-2);
  opacity: 0;
  transition: left .25s cubic-bezier(.33, 1, .36, 1), width .25s cubic-bezier(.33, 1, .36, 1), opacity .18s ease;
}

.pillnav > button {
  position: relative;
  z-index: 1;
  padding: 8px 13px;
  border: 0;
  border-radius: var(--header-radius);
  color: var(--header-muted);
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 480;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: color .15s ease;
}

.pillnav > button:hover,
.pillnav > button.on { color: var(--header-ink); }

.pillnav > button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--header-brand) 35%, transparent);
}

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  border: 1px solid var(--header-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / .04), 0 28px 70px -18px rgb(0 0 0 / .16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(.985);
  transform-origin: top center;
  transition: opacity .22s ease, transform .22s cubic-bezier(.33, 1, .36, 1), left .32s cubic-bezier(.33, 1, .36, 1), width .32s cubic-bezier(.33, 1, .36, 1), height .32s cubic-bezier(.33, 1, .36, 1);
}

.mega.instant { transition: none; }
.mega.open { opacity: 1; pointer-events: auto; transform: none; }

.mega__panel {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .3s cubic-bezier(.33, 1, .36, 1);
}

.mega__panel.on { opacity: 1; pointer-events: auto; transform: none; }
.mega__cols { display: flex; gap: 36px; padding: 22px 26px 20px; }
.mcol { display: flex; flex-direction: column; min-width: 150px; }
.mcol--featured { width: 250px; }

.mcol h6 {
  margin: 0 0 10px;
  color: var(--header-faint);
  font-size: 13px;
  font-weight: 460;
  letter-spacing: 0;
}

.mitem {
  display: block;
  margin: 0 -10px;
  padding: 7px 10px;
  border-radius: var(--header-radius);
  transition: background .14s ease;
}

.mitem:hover { background: var(--header-panel); }

.mitem b {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--header-ink);
  font-size: 14px;
  font-weight: 560;
  letter-spacing: -.01em;
}

.mitem span {
  display: block;
  margin-top: 2px;
  color: var(--header-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.mtag {
  padding: 2px 6px;
  border-radius: 5px;
  color: #15803d;
  background: var(--header-green-soft);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3;
}

.mfeat {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid var(--header-line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--header-panel), #fff);
}

.mfeat__badges { display: flex; flex-wrap: wrap; gap: 6px; }

.nav .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 21px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--header-brand-soft);
  color: var(--header-brand-ink);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.mfeat__chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--header-line);
  border-radius: var(--header-radius);
  color: var(--header-muted);
  background: #fff;
  font-size: 11px;
}

.mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 11px 26px;
  border-top: 1px solid var(--header-line);
  color: var(--header-muted);
  background: var(--header-panel);
  font-size: 13px;
  white-space: nowrap;
}

.mega__foot a { color: var(--header-ink); font-weight: 560; transition: opacity .15s; }
.mega__foot a:hover { opacity: .7; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--header-radius);
  color: var(--header-ink);
  background: none;
  cursor: pointer;
  place-items: center;
  transition: background .15s ease;
}

.burger:hover { background: var(--header-panel-2); }
.burger svg { width: 22px; height: 22px; }

.mnav {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s cubic-bezier(.33, 1, .36, 1);
}

.mnav.open { opacity: 1; pointer-events: auto; transform: none; }
.mnav .wrap { width: 100%; }
.mnav__head { display: flex; flex: none; align-items: center; justify-content: space-between; height: 64px; }

.mnav__close {
  display: grid;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--header-radius);
  color: var(--header-ink);
  background: none;
  cursor: pointer;
  place-items: center;
  transition: background .15s ease;
}

.mnav__close:hover { background: var(--header-panel-2); }
.mnav__close svg { width: 20px; height: 20px; }
.mnav__body { padding-bottom: 40px; }

.mnav .macc__t {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  border: 0;
  color: var(--header-ink);
  background: none;
  font: inherit;
  font-size: 17px;
  font-weight: 520;
  letter-spacing: -.015em;
  cursor: pointer;
}

.mnav .macc__t svg {
  width: 16px;
  height: 16px;
  color: var(--header-muted);
  transition: transform .28s cubic-bezier(.33, 1, .36, 1);
}

.mnav .macc__t[aria-expanded='true'] svg { transform: rotate(180deg); }
.mnav .macc__p { overflow: hidden; max-height: 0; transition: max-height .32s cubic-bezier(.33, 1, .36, 1); }
.mnav .macc__inner { display: grid; gap: 2px; padding: 2px 0 14px; }
.mnav__ctas { display: grid; gap: 10px; margin-top: 26px; }
.mnav__ctas .btn { width: 100%; height: 48px; font-size: 15px; }

@media (max-width: 920px) {
  .nav__center { display: none; }
  .burger { display: grid; justify-self: end; }
  .nav__cta { display: none; }
}

@media (max-width: 540px) {
  .nav__cta .btn--outline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mega,
  .mega__panel,
  .pillnav__hl,
  .mnav,
  .macc__t svg,
  .macc__p { transition: none; }
}

/* Shared in-page navigation ----------------------------------------------- */
.section-nav {
  position: sticky;
  z-index: 45;
  top: 64px;
  border-bottom: 1px solid #deddd7;
  background: color-mix(in srgb, #fff 93%, transparent);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  backdrop-filter: saturate(1.2) blur(12px);
}

.section-nav__inner {
  display: flex;
  min-height: 56px;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 48px);
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-nav__inner::-webkit-scrollbar { display: none; }

.section-nav a {
  flex: none;
  padding: 8px 13px;
  border-radius: 8px;
  color: #858585;
  font-size: 13px;
  font-weight: 480;
  line-height: 1.35;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease, background .16s ease;
}

.section-nav a:hover { color: #262626; }

.section-nav a.is-active,
.section-nav a[aria-current='location'] {
  color: #262626;
  background: #f0efe9;
}

[data-section-nav-target] { scroll-margin-top: 132px; }

@media (max-width: 680px) {
  .section-nav__inner { padding-inline: 12px; }
  .section-nav a { padding-inline: 11px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .section-nav a { transition: none; }
}
