/* Ingredient Clarity Lab — shared interior page styles */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep: #03091B;
  --bg-mid: #050F26;
  --accent: #ACC8DC;
  --accent-soft: #ACC8DC;
  --accent-sky: #ACC8DC;
  --text: #ffffff;
  --text-dim: #ffffff;
  --text-mute: #ffffff;
  --rule: rgba(255, 255, 255, 0.12);
  --mono: 'Space Mono', 'SF Mono', Menlo, monospace;
  --sans: 'Hubot Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Hubot Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Soft rounded-corner system used across cards, images, buttons */
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 16px;
}

html, body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: #020612;
  background-image:
    /* Foreground bright stars (700px tile) */
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='85' cy='120' r='1.0' opacity='0.85'/%3E%3Ccircle cx='320' cy='75' r='0.8' opacity='0.75'/%3E%3Ccircle cx='580' cy='180' r='1.2' opacity='0.9'/%3E%3Ccircle cx='465' cy='400' r='0.9' opacity='0.8'/%3E%3Ccircle cx='180' cy='495' r='1.0' opacity='0.85'/%3E%3Ccircle cx='620' cy='560' r='0.7' opacity='0.7'/%3E%3Ccircle cx='35' cy='340' r='0.8' opacity='0.75'/%3E%3Ccircle cx='285' cy='635' r='0.9' opacity='0.8'/%3E%3C/g%3E%3C/svg%3E"),
    /* Background dim stars (250px tile) */
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='18' cy='35' r='0.5' opacity='0.4'/%3E%3Ccircle cx='62' cy='12' r='0.4' opacity='0.35'/%3E%3Ccircle cx='105' cy='75' r='0.6' opacity='0.5'/%3E%3Ccircle cx='148' cy='28' r='0.4' opacity='0.4'/%3E%3Ccircle cx='198' cy='95' r='0.5' opacity='0.45'/%3E%3Ccircle cx='225' cy='40' r='0.4' opacity='0.35'/%3E%3Ccircle cx='42' cy='128' r='0.6' opacity='0.5'/%3E%3Ccircle cx='88' cy='165' r='0.5' opacity='0.4'/%3E%3Ccircle cx='135' cy='118' r='0.4' opacity='0.35'/%3E%3Ccircle cx='178' cy='148' r='0.5' opacity='0.45'/%3E%3Ccircle cx='220' cy='195' r='0.6' opacity='0.5'/%3E%3Ccircle cx='25' cy='205' r='0.4' opacity='0.4'/%3E%3Ccircle cx='75' cy='225' r='0.5' opacity='0.45'/%3E%3Ccircle cx='115' cy='198' r='0.4' opacity='0.35'/%3E%3Ccircle cx='162' cy='225' r='0.5' opacity='0.4'/%3E%3C/g%3E%3C/svg%3E"),
    /* Vertical gradient — most of the color action concentrated in the
       top ~25% of the document, then settles into near-black below. */
    linear-gradient(
      180deg,
      #19407A 0%,
      #102E60 8%,
      #091B3F 16%,
      #06182B 24%,
      #03091B 45%,
      #020612 75%,
      #01030A 100%
    );
  background-size:
    700px 700px,
    250px 250px,
    auto;
  background-position:
    0 0,
    75px 50px,
    0 0;
  background-repeat: repeat, repeat, no-repeat;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 3.5rem 6rem;
}

/* ---- Site header (interior pages) ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease,
    -webkit-backdrop-filter 0.25s ease;
}

/* Once the user starts scrolling, the header turns into a milky-glass bar
   matching the wl-card / faq-item aesthetic — translucent white wash with
   a strong backdrop blur so the page beneath shows through. */
body.is-scrolled .site-header {
  background: rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.95rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;       /* prevent inline gap below the image */
  transition: opacity 0.2s ease;
}
.header-brand img {
  height: 64px;
  width: auto;
  display: block;
}
.header-brand:hover { opacity: 0.82; }

.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

/* In-menu logo + close button are only shown when the mobile fold-out is open. */
.header-nav-logo { display: none; }
.mobile-menu-close { display: none; }

/* Mobile-only nav items (e.g. LUMA Pulse) — hidden on desktop, revealed in the
   mobile fold-out below. */
.nav-mobile-only { display: none; }

/* Center the nav within nav-wrap; CTAs sit at the end */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-nav > ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.header-nav .nav-link:hover,
.header-nav .nav-link.active { color: var(--accent-sky); }

.dropdown-caret {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
}

.has-dropdown { position: relative; }

.has-dropdown:hover .dropdown-caret,
.has-dropdown.is-open .dropdown-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: -0.5rem;
  min-width: 250px;
  margin: 0;
  padding: 0.5rem 0.4rem 0.4rem;
  background: rgba(7, 20, 48, 0.97);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(172, 200, 220, 0.22);
  list-style: none;
  display: none;
  flex-direction: column;
  box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.7);
  z-index: 101;
}

/* Open on hover (desktop), keyboard focus, or .is-open (mobile click) */
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.is-open > .dropdown {
  display: flex;
}

.dropdown li { margin: 0; text-align: left; }

.dropdown a {
  display: block;
  padding: 0.7rem 0.95rem 0.7rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-align: left;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dropdown a:hover {
  background: rgba(172, 200, 220, 0.07);
  color: #ffffff;
  border-left-color: rgba(172, 200, 220, 0.5);
}

.dropdown a.active {
  background: rgba(172, 200, 220, 0.09);
  color: var(--accent-sky);
  border-left-color: var(--accent-sky);
}

/* Header CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-cta-text {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  padding: 0.55rem 0.4rem;
  transition: color 0.2s ease;
}

.header-cta-text:hover { color: var(--accent-sky); }

.header-cta-outlined {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  min-height: 38px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-sky);
  background: transparent;
  border: 1px solid rgba(172, 200, 220, 0.5);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-cta-outlined:hover {
  background: rgba(172, 200, 220, 0.10);
  border-color: var(--accent-sky);
  color: #ffffff;
}

.header-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  min-height: 38px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0a2638;
  background: var(--accent-sky);
  border: 1px solid var(--accent-sky);
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(172, 200, 220, 0.7);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.header-cta-primary:hover {
  background: #C2D8E5;
  border-color: #C2D8E5;
  color: #0a2638;
  box-shadow: 0 8px 24px -8px rgba(172, 200, 220, 0.9);
}

.header-cta-primary:active { transform: translateY(1px); }

/* ---- Breathing halo glow around header CTAs ---- */
@keyframes cta-glow-breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}

.header-cta-outlined,
.header-cta-primary {
  position: relative;
  isolation: isolate;
}

/* Outer soft halo */
.header-cta-outlined::before,
.header-cta-primary::before {
  content: '';
  position: absolute;
  inset: -10px;
  z-index: -1;
  background:
    radial-gradient(ellipse at center,
      rgba(172, 200, 220, 0.65) 0%,
      rgba(172, 200, 220, 0.40) 30%,
      rgba(168, 207, 230, 0.18) 60%,
      transparent 80%);
  filter: blur(10px);
  pointer-events: none;
  animation: cta-glow-breathe 3.2s ease-in-out infinite;
  will-change: opacity, transform;
}

/* Tight inner glow ring on the button itself */
.header-cta-outlined {
  box-shadow:
    0 0 14px rgba(172, 200, 220, 0.45),
    inset 0 0 0 1px rgba(168, 207, 230, 0.25);
}

.header-cta-primary {
  box-shadow:
    0 0 16px rgba(172, 200, 220, 0.55),
    0 0 32px rgba(172, 200, 220, 0.20);
}

/* Hover — quicker, brighter breath */
.header-cta-outlined:hover::before,
.header-cta-primary:hover::before {
  animation-duration: 1.8s;
}

.header-cta-outlined:hover {
  box-shadow:
    0 0 18px rgba(172, 200, 220, 0.60),
    inset 0 0 0 1px rgba(168, 207, 230, 0.40);
}

.header-cta-primary:hover {
  box-shadow:
    0 0 22px rgba(172, 200, 220, 0.80),
    0 0 44px rgba(172, 200, 220, 0.30);
}

/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
  .header-cta-outlined::before,
  .header-cta-primary::before {
    animation: none;
    opacity: 0.55;
    transform: none;
  }
}

/* Sticky Free Analysis CTA — square button anchored bottom-right */
.sticky-free-analysis {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  min-height: 48px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #0a2638;
  background: var(--accent-sky);
  border: 1px solid var(--accent-sky);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow:
    0 10px 28px -8px rgba(172, 200, 220, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}
.sticky-free-analysis:hover {
  background: #C2D8E5;
  border-color: #C2D8E5;
  color: #0a2638;
  box-shadow:
    0 14px 36px -8px rgba(172, 200, 220, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}
.sticky-free-analysis:active { transform: translateY(1px); }
.sticky-free-analysis svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .sticky-free-analysis {
    bottom: 1rem;
    right: 1rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }
  .sticky-free-analysis svg { width: 14px; height: 14px; }
}

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.20);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

body.header-open { overflow: hidden; }

/* Hide the floating Free Pre-Check sticky CTA while the mobile menu is open
   so it doesn't sit on top of the menu overlay. !important defeats the
   per-page .sticky-cta.is-visible rule. */
body.header-open .sticky-cta {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* When the mobile menu is open, strip backdrop-filter from the header.
   Per CSS spec, any non-none backdrop-filter on a parent creates a
   containing block for its position:fixed descendants — which would
   constrain .header-nav-wrap to the ~72px-tall header area instead of
   the full viewport. Without it, the wrap can fill the screen as
   intended via inset: 0. The visual cost (no header blur while menu
   is open) is invisible because the opaque navy menu covers the page. */
body.header-open .site-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 980px) {
  .header-inner { padding: 0.85rem 1.5rem; }

  .mobile-menu-toggle { display: inline-flex; }

  /* Fold-out menu — full-viewport overlay. The site-header (z-100) sits
     ABOVE this wrap (z-99) so the X close button stays tappable. The
     wrap's padding-top pushes its first item below the header bar. */
  .header-nav-wrap {
    display: none;                    /* hidden by default on mobile */
    position: fixed;
    inset: 0;                         /* covers full viewport */
    z-index: 99;                      /* under .site-header (z-100) */
    flex-direction: column;
    align-items: flex-start;          /* left-align children */
    justify-content: flex-start;
    gap: 0;
    padding: 100px 1.75rem 2rem;      /* top = header height + buffer (overridden below) */
    background: rgba(3, 9, 24, 0.98);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .header-nav-wrap.is-open {
    display: flex;                    /* show as flex column when open */
  }

  /* Show the ICL logo inside the open mobile menu, top-left. */
  .header-nav-logo {
    display: block;
    margin: 0 0 1.75rem;
    padding: 0;
  }
  .header-nav-logo img {
    height: 44px;
    width: auto;
    display: block;
  }

  /* In-menu close (X) — top-right of the fold-out. Sits on top of the wrap
     so it stays tappable above the menu's logo / scroll content. */
  .mobile-menu-close {
    display: inline-flex;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    z-index: 2;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  .mobile-menu-close:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.05);
  }
  .mobile-menu-close svg {
    width: 18px;
    height: 18px;
    fill: none;
  }

  .header-nav { width: 100%; }

  .header-nav > ul {
    flex-direction: column;
    align-items: flex-start;          /* left-align nav items */
    gap: 0;
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .header-nav > ul > li { width: 100%; }

  /* Mobile-only items reveal inside the fold-out. */
  .nav-mobile-only { display: block; }

  .header-nav .nav-link {
    display: block;
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;               /* bigger on mobile (was 0.7rem) */
    letter-spacing: 0.14em;
    text-align: left;
    justify-content: flex-start;
  }

  .has-dropdown .dropdown {
    position: static;
    display: none;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.25rem 0 0.75rem 1rem;
    margin: 0;
  }

  /* On narrow screens, only .is-open opens it — disable hover-open. */
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown { display: none; }

  .has-dropdown.is-open > .dropdown { display: flex; }

  .has-dropdown.is-open > .nav-link { border-bottom-color: transparent; }

  .dropdown a {
    padding: 0.7rem 0.65rem;
    color: #ffffff;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    white-space: normal;
  }

  .dropdown a:hover,
  .dropdown a.active {
    background: transparent;
    border-left-color: var(--accent-sky);
    color: var(--accent-sky);
  }

  .header-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.25rem;
  }

  .header-cta-text {
    text-align: left;
    padding: 0.85rem 0;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
  }

  .header-cta-outlined,
  .header-cta-primary {
    justify-content: center;
    width: 100%;
    padding: 0.95rem 1rem;
    min-height: 48px;
    font-size: 0.85rem;
  }
}

@media (max-width: 720px) {
  .header-inner { padding: 0.75rem 1.25rem; }
  .header-brand-name { display: none; }
  /* Phone — header ≈ 72px, push menu items below it */
  .header-nav-wrap { padding-top: 90px; }
  .header-nav-logo img { height: 40px; }
}

@media (max-width: 480px) {
  /* Tiny phone — header ≈ 66px */
  .header-nav-wrap { padding-top: 84px; }
  .header-nav-logo img { height: 36px; }
}

/* Slug tag — shown only while no global header exists, so you can see the route */
.slug-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-sky);
  border: 1px solid rgba(172, 200, 220, 0.45);
  padding: 0.35rem 0.75rem;
  margin-bottom: 2rem;
}

/* Headings */
h1 {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 880px;
}

.intro {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 1.25rem;
}

.intro + .intro { margin-top: 0; }

h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 780px;
}

h3 {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.75rem;
}

.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-sky);
  margin-top: 0;            /* reset h2/h3 defaults when .eyebrow is on a heading */
  margin-bottom: 1rem;
  line-height: 1.2;
  max-width: none;          /* override the global h2 max-width when used as heading */
}

/* Sections */
section {
  margin-top: 4.5rem;
  padding-top: 3rem;
}

section:first-of-type {
  margin-top: 3rem;
}

section > p {
  max-width: 760px;
  margin-bottom: 1rem;
  line-height: 1.65;
  color: var(--text-dim);
}

/* Lists — flush with surrounding text, no left indent */
ul, ol {
  padding-left: 0;
  list-style-position: inside;
  margin-bottom: 1.25rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 760px;
}

ul li, ol li { margin-bottom: 0.35rem; }

ul.plain {
  list-style: none;
  padding-left: 0;
}
ul.plain li {
  position: relative;
  padding-left: 1.25rem;
}
ul.plain li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-sky);
}

/* Pillar overview cards (used on /our-method/) */
.pillar-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pillar-card {
  position: relative;
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 8px 24px -10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: -45%;
  right: -15%;
  width: 75%;
  height: 110%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
  filter: blur(34px);
  pointer-events: none;
}

.pillar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 62%,
    transparent 100%
  );
  pointer-events: none;
  mix-blend-mode: screen;
}

.pillar-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 16px 36px -12px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.pillar-card > * { position: relative; z-index: 1; }

.pillar-card .pillar-title {
  font-family: var(--sans);
  font-size: clamp(1.7rem, 3.2vw, 2.1rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  background: linear-gradient(180deg, #ffffff 0%, #ACC8DC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.pillar-card .pillar-tagline {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-sky);
  margin-bottom: 1.5rem;
}

.pillar-card .meta-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.45rem;
  margin-top: 1.5rem;
}
.pillar-card .meta-label:first-of-type { margin-top: 0; }

.pillar-card .pillar-focus {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 0.5rem;
  max-width: none;
}

.pillar-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
  max-width: none;
}

.pillar-includes li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-left: 2px solid rgba(172, 200, 220, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pillar-includes li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  border-left-color: var(--accent-sky);
}

.pillar-includes li .feature-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-top: 0.1rem;
  filter: drop-shadow(0 0 6px rgba(172, 200, 220, 0.35));
}

.pillar-includes li .feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-includes li .feature-text {
  flex: 1;
  min-width: 0;
}

.pillar-includes li .feature-name {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.pillar-card .pillar-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0.95rem 2rem;
  min-height: 48px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0a2638;
  background: var(--accent-sky);
  border: 1px solid var(--accent-sky);
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 8px 24px -8px rgba(172, 200, 220, 0.75),
    inset 12px 1px 0 -11px rgba(10, 38, 56, 0.45),
    inset 12px -1px 0 -11px rgba(10, 38, 56, 0.45),
    inset -12px 1px 0 -11px rgba(10, 38, 56, 0.45),
    inset -12px -1px 0 -11px rgba(10, 38, 56, 0.45);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.pillar-card .pillar-cta:hover {
  background: #C2D8E5;
  border-color: #C2D8E5;
  color: #0a2638;
  box-shadow:
    0 10px 32px -8px rgba(172, 200, 220, 0.9),
    inset 12px 1px 0 -11px rgba(10, 38, 56, 0.55),
    inset 12px -1px 0 -11px rgba(10, 38, 56, 0.55),
    inset -12px 1px 0 -11px rgba(10, 38, 56, 0.55),
    inset -12px -1px 0 -11px rgba(10, 38, 56, 0.55);
}

.pillar-card .pillar-cta:active { transform: translateY(1px); }

.pillar-card .pillar-cta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .pillar-card { padding: 1.85rem 1.4rem 1.5rem; }
  .pillar-includes li { padding: 0.75rem 0.95rem; }
  .pillar-card .pillar-cta { width: 100%; }
}

/* Method steps — prominent numbered process */
.method-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2.25rem 0 2rem;
}

.method-step {
  position: relative;
  padding: 2rem 1.6rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 8px 24px -10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.method-step::before {
  content: '';
  position: absolute;
  top: -55%;
  right: -20%;
  width: 90%;
  height: 110%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}

.method-step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 62%,
    transparent 100%
  );
  pointer-events: none;
  mix-blend-mode: screen;
}

.method-step:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 16px 36px -12px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.method-step > * { position: relative; z-index: 1; }

.method-step .num {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 4vw, 2.85rem);
  font-weight: 200;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #ACC8DC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 24px rgba(172, 200, 220, 0.20);
}

.method-step .label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-sky);
  margin-bottom: 0.5rem;
}

.method-step h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.method-step p {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.6;
}

/* Glass cards — pillar/feature blocks */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  position: relative;
  padding: 1.85rem 1.6rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 8px 24px -10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Inner sky-blue glow */
.card::before {
  content: '';
  position: absolute;
  top: -55%;
  right: -20%;
  width: 90%;
  height: 110%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}

/* Diagonal glass sheen */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 62%,
    transparent 100%
  );
  pointer-events: none;
  mix-blend-mode: screen;
}

.card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 16px 36px -12px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.card > * { position: relative; z-index: 1; }

.card h3 {
  margin-bottom: 1.25rem;
  font-weight: 500;
  color: #ffffff;
}

.card p {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.6;
}

.card ul {
  color: #ffffff;
}

/* Criteria block (used inside pillars) */
.criterion {
  padding: 1.75rem 0;
}
.criterion:first-of-type { padding-top: 0.5rem; }

.criterion h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
}

/* Label chip — used for "Pass condition" / "Does Not Meet Criteria if" markers
   inside criterion blocks AND directly inside pillar panels. */
.label,
.criterion .label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-sky);
  margin-top: 0.9rem;
  margin-bottom: 0.4rem;
}

.label.fail,
.criterion .label.fail { color: #ff9898; }

/* Glass stat cards — oversized metric, frosted blue panel */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 1.25rem;
}

.stat {
  position: relative;
  padding: 1.85rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 8px 24px -10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.2s ease;
}

/* Soft inner highlight (very subtle) */
.stat::before {
  content: '';
  position: absolute;
  top: -55%;
  left: -15%;
  width: 130%;
  height: 110%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  filter: blur(22px);
  pointer-events: none;
}

/* Diagonal glass sheen */
.stat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 36%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 64%,
    transparent 100%
  );
  pointer-events: none;
  mix-blend-mode: screen;
}

.stat:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 16px 36px -12px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.stat .num,
.stat .desc { position: relative; z-index: 1; }

.stat .num {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 4.5vw, 3rem);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-bottom: 0.65rem;
  background: linear-gradient(180deg, #ffffff 0%, #ACC8DC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 24px rgba(172, 200, 220, 0.20);
}

.stat .desc {
  font-size: 0.86rem;
  color: #ffffff;
  line-height: 1.55;
}

/* CTAs */
.cta-section {
  margin-top: 4rem;
  padding-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cta {
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cta:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.20);
}

.cta .cta-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-sky);
  margin-bottom: 0.75rem;
}

.cta h3 {
  margin-bottom: 0.5rem;
}

.cta p {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  flex: 1;
}

.cta a.btn {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a2638;
  background: var(--accent-sky);
  border-radius: var(--radius-sm);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  transition: background 0.2s ease;
}

.cta a.btn:hover { background: #C2D8E5; }

.cta a.btn.secondary {
  background: transparent;
  color: var(--accent-sky);
  border: 1px solid var(--accent-sky);
}
.cta a.btn.secondary:hover {
  background: rgba(172, 200, 220, 0.1);
}

/* Pricing — flex so a single tier doesn't stretch full width */
.pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.pricing .price {
  flex: 1 1 260px;
  max-width: 340px;
}

.price {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.price:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.20);
}

.price .tier {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 0.5rem;
}

.price .amount {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.price .per {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* Price + currency toggle on the same line.
   Uses align-items: baseline so the toggle pill sits visually centered
   against the price's display number. nowrap so the toggle stays on the
   same line — the toggle itself is made more compact below. */
.price .price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.6rem;
  margin: 0 0 0.4rem;
  min-width: 0;
}
.price .price-row .amount {
  margin-bottom: 0;
  flex: 0 0 auto;
}
.price .price-row .price-currency-toggle {
  flex: 0 1 auto;
  min-width: 0;
}
.price .price-row .price-currency-toggle .cc-btn {
  padding: 0.32rem 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

/* Currency toggle inside a price card (EUR / USD / CHF)
   — milky-glass container with a sliding sky-blue indicator pill */
.price .price-currency-toggle {
  --cc-idx: 0;                       /* set by JS: 0=EUR, 1=USD, 2=CHF */
  --cc-count: 3;
  position: relative;
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  margin: 0;                         /* spacing now handled by .price-row */
  padding: 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 4px 14px -6px rgba(0,0,0,0.4);
  isolation: isolate;                /* contain the indicator's z-index */
}
/* Sliding active indicator — covers exactly one button slot */
.price .price-currency-toggle::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: calc((100% - 8px) / var(--cc-count));
  background: var(--accent-sky);
  border-radius: 999px;
  box-shadow:
    0 4px 14px -4px rgba(172,200,220,0.55),
    0 0 0 1px rgba(255,255,255,0.10);
  transform: translateX(calc(var(--cc-idx) * 100%));
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.price .price-currency-toggle .cc-btn {
  position: relative;
  z-index: 1;                        /* sit above the sliding indicator */
  flex: 1 1 0;                       /* equal-width slots */
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.45rem 0.95rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  transition: color 0.22s ease;
}
.price .price-currency-toggle .cc-btn:hover {
  color: #ffffff;
}
.price .price-currency-toggle .cc-btn.is-active {
  color: #0a2638;
}
.price .price-currency-toggle .cc-btn:focus-visible {
  outline: 2px solid var(--accent-sky);
  outline-offset: 3px;
}

/* "Includes / description" line under price details */
.price .includes {
  margin: 0.95rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0;
  text-transform: none;
}

/* Inline CTA button inside a price card (e.g. Free Analysis → analyze page) */
.price .price-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding: 0.7rem 1.1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a2638;
  background: var(--accent-sky);
  border: 1px solid var(--accent-sky);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 8px 22px -8px rgba(172, 200, 220, 0.55);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}
.price .price-cta:hover {
  background: #C2D8E5;
  border-color: #C2D8E5;
  color: #0a2638;
  box-shadow: 0 10px 28px -8px rgba(172, 200, 220, 0.8);
}
.price .price-cta:active { transform: translateY(1px); }
.price .price-cta svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* Note / callout */
.note {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 2px solid var(--accent-sky);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 760px;
}

/* FAQ — milky-glass card accordion (Oura-inspired). Each <details> is its
   own rounded panel, generous spacing between items, naked +/− glyph. */
.faq {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}
.faq-item[open] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }

/* Naked +/− glyph — no border, just a hairline glyph */
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.25s ease, color 0.2s ease;
}
.faq-item summary:hover::after { color: #ffffff; }
.faq-item[open] summary::after {
  content: '−';                     /* en-dash for the open state */
  color: #ffffff;
}

.faq-item p {
  margin: 0 0 0.9rem;
  padding: 0 1.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: none;
}
.faq-item p:last-of-type {
  margin-bottom: 0;
  padding-bottom: 1.4rem;
}
.faq-item p a { color: var(--accent-sky); }
.faq-item p a:hover { color: #C2D8E5; }

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent-sky);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .faq-item summary {
    padding: 1.2rem 1.25rem;
  }
  .faq-item p {
    padding: 0 1.25rem 1.2rem;
  }
}

/* Pillar explore block */
.pillar-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.pillar-link {
  position: relative;
  display: block;
  padding: 1.85rem 1.6rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 8px 24px -10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pillar-link::before {
  content: '';
  position: absolute;
  top: -55%;
  right: -20%;
  width: 90%;
  height: 110%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}

.pillar-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 62%,
    transparent 100%
  );
  pointer-events: none;
  mix-blend-mode: screen;
}

.pillar-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 16px 36px -12px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.pillar-link > * { position: relative; z-index: 1; }

.pillar-link .name {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-sky);
  margin-bottom: 0.5rem;
}
.pillar-link .sub {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.6;
}

/* Links */
a { color: var(--accent-sky); }
a:hover { color: #C2D8E5; }

/* HubSpot meetings embed — match content width */
.meetings-iframe-container {
  width: 100%;
  max-width: 760px;
  margin: 1.5rem 0 0;
}
.meetings-iframe-container iframe {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  border: 0;
}

/* Inline primary button (for opening the meeting modal) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0a2638;
  background: var(--accent-sky);
  border: 1px solid var(--accent-sky);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.75rem;
  margin-top: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 8px 24px -8px rgba(172,200,220,0.7);
}
.btn-primary:hover {
  background: #C2D8E5;
  border-color: #C2D8E5;
  color: #0a2638;
}
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* Meeting modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 21, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 1.25rem;
  overflow-y: auto;
}
.modal-overlay.is-open {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  background: rgba(7, 20, 48, 0.95);
  border: 1px solid rgba(172, 200, 220, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  margin: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header .modal-eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-sky);
}

.modal-close {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.modal-close:hover {
  border-color: var(--accent-sky);
  color: var(--accent-sky);
}

.modal-body {
  flex: 1;
  padding: 0;
  background: #ffffff;
}

.modal-body iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  height: 80vh;
  border: 0;
  background: #ffffff;
}

@media (max-width: 720px) {
  .modal-overlay { padding: 0; }
  .modal-dialog { min-height: 100vh; max-width: none; }
  .modal-body iframe { height: calc(100vh - 70px); min-height: 0; }
}

body.modal-open { overflow: hidden; }

/* Visually-hidden helper (accessible labels) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Blue-check list */
ul.checklist {
  list-style: none;
  padding-left: 0;
  max-width: 760px;
  margin-bottom: 1.25rem;
}
ul.checklist li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-dim);
  line-height: 1.6;
}
ul.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.95rem;
  height: 0.95rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338BDF8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Contact form — bracketed inputs, matches homepage */
.contact-form {
  margin-top: 2rem;
  max-width: 760px;
  position: relative;
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-top: none;
  border-bottom: none;
  border-radius: 0;
  outline: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  padding: 0.75rem 1.25rem;
  box-shadow:
    inset 12px 1px 0 -11px rgba(255, 255, 255, 0.55),
    inset 12px -1px 0 -11px rgba(255, 255, 255, 0.55),
    inset -12px 1px 0 -11px rgba(255, 255, 255, 0.55),
    inset -12px -1px 0 -11px rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  display: block;
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  font-family: var(--sans);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-sky);
  box-shadow:
    inset 12px 1px 0 -11px var(--accent-sky),
    inset 12px -1px 0 -11px var(--accent-sky),
    inset -12px 1px 0 -11px var(--accent-sky),
    inset -12px -1px 0 -11px var(--accent-sky);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ffffff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 0.78rem;
  opacity: 1;
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}

.contact-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form button[type="submit"] {
  margin-top: 0.75rem;
  min-height: 54px;
  padding: 0.75rem 2rem;
  background: var(--accent-sky);
  border: 1px solid var(--accent-sky);
  border-radius: var(--radius-sm);
  color: #0a2638;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 24px -8px rgba(172, 200, 220, 0.75);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.contact-form button[type="submit"]:hover {
  background: #C2D8E5;
  border-color: #C2D8E5;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 10px 32px -8px rgba(172, 200, 220, 0.9);
}

.contact-form button[type="submit"]:active { transform: translateY(1px); }
.contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

.contact-form button[type="submit"]:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.contact-form input:focus-visible {
  outline: 2px solid var(--accent-sky);
  outline-offset: 2px;
}

.contact-form .form-msg {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 1em;
  color: var(--text-dim);
}

.contact-form .form-msg.is-error   { color: #ff9898; }
.contact-form .form-msg.is-success { color: var(--accent-sky); }

@media (max-width: 560px) {
  .contact-form .row { grid-template-columns: 1fr; }
}

/* ---- Site footer (interior pages) ---- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3.5rem;
}

/* Top: 3-column nav */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav-col h4 {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-sky);
  margin: 0 0 0.65rem;
}

.footer-nav-col a {
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-col a:hover { color: var(--accent-sky); }

/* Bottom: logo + legal */
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  transition: opacity 0.2s ease;
}
.footer-brand:hover { opacity: 0.82; }

.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
}

.footer-links a,
.footer-links button {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
  /* Button reset — make <button class="js-open-cookies"> match the anchors */
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  font-family: var(--mono);
  font-size: 0.65rem;
}

.footer-links a:hover,
.footer-links button:hover { color: var(--accent-sky); }

.footer-links .sep {
  color: #ffffff;
  font-size: 0.7rem;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #ACC8DC;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: #C2D8E5;
  transform: translateY(-1px);
}

.footer-socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-copyright {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-disclaimer {
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: #ffffff;
  max-width: 780px;
  margin: 0;
}

@media (max-width: 720px) {
  .site-footer { margin-top: 3rem; padding: 2rem 0 1.5rem; }
  .footer-inner { padding: 0 1.5rem; }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links { gap: 0.4rem 0.75rem; }
}

/* ============================================================
   Responsive — comprehensive mobile pass
   Desktop is untouched; everything below ≤720 / ≤480 only.
   ============================================================ */

/* Tablet + standard phone */
@media (max-width: 720px) {
  /* Page container — tighter horizontal padding */
  .page { padding: 2.25rem 1.25rem 3.5rem; }

  /* Section rhythm — tighter so vertical scrolling is faster */
  section { margin-top: 2.5rem; padding-top: 1.75rem; }

  /* Headings — collapse to bounded mobile sizes (overrides clamp()) */
  h1 { font-size: clamp(1.85rem, 9vw, 2.4rem); line-height: 1.1; }
  h2 { font-size: clamp(1.35rem, 5.5vw, 1.7rem); line-height: 1.2; }
  h3 { font-size: 1.1rem; }
  .intro { font-size: 1.02rem; line-height: 1.55; }

  /* Header — smaller logo + tighter inner padding */
  .header-brand img { height: 48px; }

  /* Cards — tighter inner padding so content gets more room */
  .card { padding: 1.4rem 1.2rem 1.2rem; border-radius: 10px; }

  /* Pricing cards — fill the screen, comfortable single-column */
  .pricing { gap: 1rem; }
  .pricing .price { flex: 1 1 100%; max-width: none; padding: 1.5rem 1.25rem; }

  /* Hero CTAs — ensure tap targets are comfortable (≥44px) */
  .hero-cta-button,
  .connect-cta-button,
  .price-cta,
  .pe-pass-cta,
  .faq-cta,
  .sticky-cta {
    min-height: 44px;
  }
}

/* Tiny phones (iPhone SE, older Androids, etc.) */
@media (max-width: 480px) {
  /* Even tighter — squeeze more content into each scroll */
  .page { padding: 1.75rem 1rem 3rem; }
  section { margin-top: 2rem; padding-top: 1.5rem; }

  /* Hero typography — bound the lower end */
  h1 { font-size: clamp(1.7rem, 8.5vw, 2.1rem); }
  h2 { font-size: clamp(1.25rem, 5vw, 1.55rem); }

  /* Header — even smaller logo so the toggle button has space */
  .header-brand img { height: 42px; }

  /* Cards — less padding inside */
  .card { padding: 1.25rem 1.1rem 1.1rem; }
  .pricing .price { padding: 1.35rem 1.1rem; }

  /* Buttons — slightly shorter horizontal padding so text doesn't wrap */
  .header-cta-primary,
  .header-cta-text { font-size: 0.66rem; }
}

/* ============================================================
   Accessibility — skip link, focus indicators, screen-reader text
   ============================================================ */

/* Skip-to-content link — hidden until keyboard-focused */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.75rem 1.1rem;
  background: var(--accent-sky);
  color: #0a2638;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 10000;
  transform: translateY(-110%);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Visually-hidden helper (already in use; defining canonically here) */
.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.sr-only:focus,
.sr-only:focus-visible {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

/* Universal keyboard-focus indicator for interactive elements.
   Scoped to :focus-visible so it ONLY appears for keyboard users
   (mouse clicks don't trigger the visible outline). */
:focus-visible {
  outline: 2px solid var(--accent-sky);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Specific override for elements where a generic outline looks wrong
   (e.g. images with intrinsic borders, inline-flex buttons that
   already have their own glow). These get a sky-blue ring instead. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
details:focus-visible,
[role="button"]:focus-visible,
[role="tab"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-sky);
  outline-offset: 3px;
}

/* When the user is navigating via keyboard, give <main> a focus ring
   when reached via the skip-link. */
main:focus {
  outline: none;
}

/* Respect "Reduce motion" — softens animations across the site */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
