/* Peptide SEO — shared production styles.
   The pages keep the design export's inline styles; this file carries only
   what the export outsourced to its design-system bundle (the accent ramp
   and reset) plus the pieces the static build adds: the brand lockup sizes,
   interactive states that were runtime bindings in the prototype, and the
   generated :hover/:focus rules in hover.css. */

:root {
  /* Accent ramp consumed by the design (from the DS bundle it linked). */
  --color-accent: #0088b0;
  --color-accent-100: #e9f8ff;
  --color-accent-200: #cbeeff;
  --color-accent-300: #99e0ff;
  --color-accent-400: #62c5ee;
  --color-accent-500: #38a6cf;
  --color-accent-600: #1186ac;
  --color-accent-700: #006786;
  --color-accent-800: #004961;
  --color-accent-900: #0a303e;
}

*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--color-accent-600); outline-offset: 3px; }

/* --- Brand lockup (the exported horizontal logo, inlined per page) ------- */
.brand__logo {
  display: block;
  height: 46px;
  width: auto;
  flex: none;
  /* If the webfonts are late or missing, the fallback face runs wider than
     the viewBox — let it spill instead of clipping "SEO" off. */
  overflow: visible;
}
.footer-logo { height: 38px; }
.menu-logo { height: 40px; }

/* --- Mobile menu ---------------------------------------------------------- */
[data-mobile-menu][hidden] { display: none !important; }

/* --- FAQ accordion (home) --------------------------------------------------
   The prototype drove these with runtime bindings; the inline styles now hold
   the closed state and these rules open it. The item is the panel's parent;
   home.js toggles .is-open on it. */
.is-open > [data-faq-panel] { grid-template-rows: 1fr !important; }
.is-open > [data-faq-panel] > div > div {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* --- Lead form chips (home) ----------------------------------------------- */
[data-choice][aria-pressed="true"] {
  border-color: oklch(0.58 0.085 170) !important;
  background: linear-gradient(135deg, oklch(0.62 0.08 168), oklch(0.56 0.09 195)) !important;
  color: #ffffff !important;
}

/* --- Lead form states (home) ----------------------------------------------- */
[data-lead-form][hidden] { display: none !important; }
[data-lead-sent][hidden] { display: none !important; }
.lead-form-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, #b3261e 30%, transparent);
  background: color-mix(in srgb, #b3261e 6%, #ffffff);
  font-size: 13px;
  line-height: 1.5;
  color: #8c1d18;
}
.lead-form-error[hidden] { display: none !important; }
[data-lead-form] [type="submit"]:disabled { opacity: .6; cursor: progress; transform: none !important; }

/* --- Insights: load-more chunks -------------------------------------------- */
[data-chunk] { display: none; }
[data-chunk].is-shown { display: contents; }
[data-load-more-wrap][hidden] { display: none !important; }
