/* ============================================================================
   webflow-base.css — slim Webflow framework base (replaces components.css).

   The used subset of the old components.css: the box-sizing reset, base element
   defaults, and the `.w-*` framework primitives that the vanilla behavior in
   site.js still drives (sliders, tabs, nav, richtext). Determined via PurgeCSS
   against the built HTML, then hand-trimmed.

   Loaded as a static stylesheet (not a frontmatter import) and linked BEFORE
   29next.css so the cascade order is preserved exactly — Astro bundles imported
   CSS *after* the manual <link>s, which would flip these low-specificity base
   rules over 29next.css and cause drift.

   Removed vs components.css:
   - the embedded base64 `webflow-icons` @font-face + all `[class*=" w-icon-"]`
     rules — no `w-icon-*` class exists in any built page (the slider arrows use
     custom `.arrow` markup), so the font was dead weight. Dropping it also lets
     `data:` come out of the CSP `font-src`.
   - ~270 unused selectors (forms, embeds, most lightbox variants, etc.).

   Colors below that read like `#3898EC` / `#dddddd` / `#C8C8C8` / `#222` are inert
   Webflow framework *defaults* (placeholder button/slider/tab colors) — every one
   is overridden by the real design in 29next.css and never renders, so they are
   intentionally left as-is rather than mapped to design tokens. Genuinely-rendered
   base colors use var(--nc-*).
   ============================================================================ */

/* ── Reset ──────────────────────────────────────────────────────────────── */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  height: 100%;
}
body {
  margin: 0;
  min-height: 100%;
  background-color: #fff;          /* inert: overridden by 29next.css body/.body */
  font-family: Arial, sans-serif;  /* inert: overridden to Inter by 29next.css */
  font-size: 14px;
  line-height: 20px;
  color: #333;                     /* inert: overridden by 29next.css */
}
img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}
html.w-mod-touch * {
  background-attachment: scroll !important;
}

/* ── Base elements (Webflow defaults; some h-levels still render) ────────── */
h1,
h2,
h3,
h4,
h5 {
  font-weight: bold;
  margin-bottom: 10px;
}
h1 {
  font-size: 38px;
  line-height: 44px;
  margin-top: 20px;
}
h2 {
  font-size: 32px;
  line-height: 36px;
  margin-top: 20px;
}
h3 {
  font-size: 24px;
  line-height: 30px;
  margin-top: 20px;
}
h4 {
  font-size: 18px;
  line-height: 24px;
  margin-top: 10px;
}
h5 {
  font-size: 14px;
  line-height: 20px;
  margin-top: 10px;
}
p {
  margin-top: 0;
  margin-bottom: 10px;
}
figure {
  margin: 0;
  margin-bottom: 10px;
}
ul,
ol {
  margin-top: 0px;
  margin-bottom: 10px;
  padding-left: 40px;
}
label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
button,
[type='button'] {
  border: 0;
  cursor: pointer;
  -webkit-appearance: button;
}

/* ── Webflow framework primitives (driven by site.js) ───────────────────── */
.w-inline-block {
  max-width: 100%;
  display: inline-block;
}
.w-button {
  display: inline-block;
  padding: 9px 15px;
  background-color: #3898EC;  /* inert Webflow default */
  color: white;
  border: 0;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
}
input.w-button {
  -webkit-appearance: button;
}
.w-embed:before,
.w-embed:after {
  content: " ";
  display: table;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-column-end: 2;
  grid-row-end: 2;
}
.w-embed:after {
  clear: both;
}

/* Sliders — Webflow .w-slider scaffold, now advanced by vanilla site.js */
.w-slider {
  position: relative;
  height: 300px;
  text-align: center;
  background: var(--nc-border-light);  /* #dddddd */
  clear: both;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
}
.w-slider-mask {
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 1;
  left: 0;
  right: 0;
  height: 100%;
  white-space: nowrap;
}
.w-slide {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  height: 100%;
  white-space: normal;
  text-align: left;
}
.w-slider-nav {
  position: absolute;
  z-index: 2;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 10px;
  height: 40px;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
}
.w-slider-nav.w-round > div {
  border-radius: 100%;
}
.w-slider-nav.w-num > div {
  width: auto;
  height: auto;
  padding: 0.2em 0.5em;
  font-size: inherit;
  line-height: inherit;
}
.w-slider-arrow-left,
.w-slider-arrow-right {
  position: absolute;
  width: 80px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  cursor: pointer;
  overflow: hidden;
  color: white;
  font-size: 40px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
  user-select: none;
}
.w-slider-arrow-left:focus,
.w-slider-arrow-right:focus {
  outline: 0;
}
.w-slider-arrow-left {
  z-index: 3;
  right: auto;
}
.w-slider-arrow-right {
  z-index: 4;
  left: auto;
}

/* Nav — Webflow brand + mobile menu open states (mobile nav toggled by site.js) */
.w-nav-brand {
  position: relative;
  float: left;
  text-decoration: none;
  color: #333333;  /* inert Webflow default */
}
[data-nav-menu-open] {
  display: block !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #C8C8C8;  /* inert Webflow default */
  text-align: center;
  overflow: visible;
  min-width: 200px;
}
.w--nav-link-open {
  display: block;
  position: relative;
}
.w--nav-dropdown-open {
  display: block;
}
.w--nav-dropdown-toggle-open {
  display: block;
}
.w--nav-dropdown-list-open {
  position: static;
}
@media screen and (max-width: 767px) {
  .w-nav-brand {
    padding-left: 10px;
  }
}

/* Tabs — Webflow .w-tabs scaffold, switched by vanilla site.js */
.w-tabs {
  position: relative;
}
.w-tabs:before,
.w-tabs:after {
  content: " ";
  display: table;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-column-end: 2;
  grid-row-end: 2;
}
.w-tabs:after {
  clear: both;
}
.w-tab-menu {
  position: relative;
}
.w-tab-link {
  position: relative;
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  padding: 9px 30px;
  text-align: left;
  cursor: pointer;
  color: #222222;            /* inert Webflow default */
  background-color: #dddddd; /* inert Webflow default */
}
.w-tab-link.w--current {
  background-color: #C8C8C8; /* inert Webflow default */
}
.w-tab-link:focus {
  outline: 0;
}
.w-tab-content {
  position: relative;
  display: block;
  overflow: hidden;
}
.w-tab-pane {
  position: relative;
  display: none;
}
.w--tab-active {
  display: block;
}
@media screen and (max-width: 479px) {
  .w-tab-link {
    display: block;
  }
}

/* Richtext — insights blog post body (Webflow CMS rich text) */
.w-richtext:before,
.w-richtext:after {
  content: " ";
  display: table;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-column-end: 2;
  grid-row-end: 2;
}
.w-richtext:after {
  clear: both;
}
.w-richtext ol,
.w-richtext ul {
  overflow: hidden;
}
.w-richtext figure {
  position: relative;
  max-width: 60%;
}
.w-richtext figure > div:before {
  cursor: default !important;
}
.w-richtext figure img {
  width: 100%;
}
.w-richtext figure div {
  font-size: 0px;
  color: transparent;
}
