/* ==========================================================================
   Noyau Bleu — hand-written design system
   ========================================================================== */

:root {
  --color-navy: #0a1b2e;
  --color-navy-deep: #10273f;
  --color-cobalt: #1f5edc;
  --color-cobalt-hover: #1848b0;
  --color-cobalt-light: #4c86f0;
  --color-cobalt-tint: #e8f0fe;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-muted: #55657a;
  --color-border: #e2e8f0;

  --font-heading: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 27, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 27, 46, 0.08);
  --shadow-lg: 0 24px 64px rgba(10, 27, 46, 0.14);

  --container-max: 1180px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --transition-base: 180ms ease;
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.75rem, 2.4vw + 1rem, 2.5rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p { margin: 0 0 var(--space-4); color: var(--color-text); }
p.lede { font-size: 1.25rem; color: var(--color-muted); }

a { color: var(--color-cobalt); text-decoration: none; }
a:hover { color: var(--color-cobalt-hover); text-decoration: underline; }

ul, ol { padding-left: 1.25rem; }

/* Focus visibility for keyboard users, meeting WCAG AA. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-cobalt-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Same visually-hidden-until-focus technique as .visually-hidden above
   (1px box + clip, not an off-canvas transform) so there's no risk of a
   rounding sliver peeking into view: the unfocused box is clipped to
   nothing, not just moved off-screen by an approximate percentage. */
.skip-link {
  position: absolute;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1.25rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}

/* ------------------------------ Layout ----------------------------------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-24);
}
.section--tight { padding-block: var(--space-16); }
.section--surface { background: var(--color-surface); }
.section--navy {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
  color: #eef3fb;
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #c7d4e8; }

.section-head {
  max-width: 760px;
  margin-bottom: var(--space-12);
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cobalt);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-cobalt);
  display: inline-block;
}
.section--navy .eyebrow { color: var(--color-cobalt-light); }

/* ------------------------------ Header ------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-navy);
}
.brand:hover { text-decoration: none; color: var(--color-navy); }
.brand img { height: 34px; width: auto; }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-desktop {
  display: none;
}
.nav-desktop__list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop__list a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-desktop__list a:hover { color: var(--color-cobalt); text-decoration: none; }
.nav-desktop__list a[aria-current="page"] { color: var(--color-cobalt); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Below the desktop breakpoint there isn't room for the lang switch, the
   "Book a consultation" button, and the menu toggle side by side without
   wrapping and crushing the logo — hide the CTA here and surface it inside
   the mobile menu instead (see .mobile-nav__cta below). The actual
   `display: none` / `display: inline-flex` toggle lives further down, after
   the .btn rules — see the note there for why. */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.lang-switch a {
  color: var(--color-muted);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
}
.lang-switch a[aria-current="true"] {
  color: var(--color-navy);
  background: var(--color-cobalt-tint);
}
.lang-switch a:hover { text-decoration: none; color: var(--color-cobalt); }
.lang-switch__sep { color: var(--color-border); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
}

.mobile-nav {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: var(--space-4) 0 var(--space-6);
}
.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav__list a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 500;
}
.mobile-nav__list a:hover { color: var(--color-cobalt); text-decoration: none; }

.mobile-nav__cta {
  display: block;
  margin-top: var(--space-4);
}

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ------------------------------- Buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--color-cobalt);
  color: #fff;
}
.btn--primary:hover { background: var(--color-cobalt-hover); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-cobalt); color: var(--color-cobalt); }

.btn--on-navy {
  background: #fff;
  color: var(--color-navy);
}
.btn--on-navy:hover { background: var(--color-cobalt-tint); color: var(--color-navy); }

.btn--outline-on-navy {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--outline-on-navy:hover { border-color: #fff; }

.btn--block { width: 100%; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }

/* `.header-actions__cta` sets `display: none` below 900px (see the header
   section above), but `.header-actions__cta` is itself a `.btn`, and `.btn`
   (declared above, after `.header-actions__cta`'s original rule) also sets
   `display`. Both are single-class selectors of equal specificity, so
   source order alone decided the winner — and `.btn` came later, silently
   defeating the hide and leaving the CTA visible/wrapping on mobile.
   Scoping to the parent `.header-actions` gives this rule higher specificity
   than `.btn` so it wins regardless of source order. */
.header-actions .header-actions__cta {
  display: none;
}
@media (min-width: 900px) {
  .header-actions .header-actions__cta {
    display: inline-flex;
  }
}

/* -------------------------------- Hero ------------------------------------ */
.hero {
  padding-block: var(--space-24) var(--space-16);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-12);
  align-items: center;
}
.hero__eyebrow { color: var(--color-cobalt-light); }
.hero__copy p.lede { color: #c7d4e8; max-width: 52ch; }
.hero__motif {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  display: inline-block;
  padding-top: var(--space-4);
  margin-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.hero__panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
/* Single column below the desktop breakpoint: at narrower widths two
   minmax(0,1fr) tracks are too narrow to hold the longest stat label
   ("Enterprise-scale" / "Échelle de l'entreprise") on its wrapped lines
   without a "word" (the text after the last normal break opportunity —
   hyphen or slash) rendering wider than its own track. minmax(0,1fr)
   only stops the TRACK from growing to fit that word; it doesn't stop the
   word's painted glyphs from overflowing the track into the next column,
   because a plain block's own layout box (and therefore its grid track)
   isn't widened by descendant content that overflows it. That overflow
   isn't visible to layout (getBoundingClientRect on the value/cell stays
   at the track width) but is visible on screen, landing on top of the
   next column when both share a row. Below 960px there simply isn't a
   width at which two tracks reliably fit both languages' longest label,
   so stack the four stats in one column instead of trying to out-narrow
   the text. overflow-wrap is kept as a second, independent guard (see
   below) so even a future longer label can't reproduce the overlap.
*/
.hero__stat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
}
.hero-stat {
  /* Defensive: without this a grid item's automatic min-width is based on
     its content's min-content size, which can fight the track's
     minmax(0, 1fr) at the container's expense. */
  min-width: 0;
}
.hero-stat__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  /* Belt-and-suspenders: if a single "word" (after normal hyphen/slash
     break opportunities) is ever still wider than its track — at any
     viewport, in either language — let it break instead of overflowing
     into the next column. */
  overflow-wrap: anywhere;
}
.hero-stat__label {
  font-size: 0.85rem;
  color: #c7d4e8;
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero__stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------- Credibility strip ----------------------------- */
.credibility {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
  padding-block: var(--space-8);
}
.credibility__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.credibility__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-navy);
}
.credibility__item span {
  color: var(--color-muted);
  font-size: 0.875rem;
}
@media (min-width: 720px) {
  .credibility__list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .credibility__list { grid-template-columns: repeat(5, 1fr); }
}

/* --------------------------------- Cards ----------------------------------- */
.card-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-cobalt-light);
}
.service-card--flagship {
  border-color: var(--color-cobalt);
  box-shadow: var(--shadow-md);
}
.service-card__badge {
  align-self: flex-start;
  margin-bottom: var(--space-4);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-cobalt-tint);
  color: var(--color-cobalt);
  margin-bottom: var(--space-6);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: var(--space-2); }
.service-card p { color: var(--color-muted); margin-bottom: var(--space-4); flex-grow: 1; }
.service-card__link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.service-card__link svg { width: 16px; height: 16px; transition: transform var(--transition-base); }
.service-card:hover .service-card__link svg { transform: translateX(3px); }
.service-card, .service-card * { text-decoration: none; }
.service-card__link { text-decoration: none; }

a.service-card { color: inherit; }

/* -------------------------------- Approach --------------------------------- */
.approach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-6);
}
.approach-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  align-items: start;
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.approach-item:last-child { border-bottom: none; }
.approach-item__num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cobalt-light);
  min-width: 2.5ch;
}

/* --------------------------------- CTA banner ------------------------------ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-cobalt) 0%, var(--color-navy) 130%);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: flex-start;
}
.cta-banner h2 { color: #fff; margin-bottom: var(--space-2); }
.cta-banner p { color: #dce7fb; margin-bottom: 0; max-width: 60ch; }
@media (min-width: 800px) {
  .cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --------------------------------- Footer ---------------------------------- */
.site-footer {
  background: var(--color-navy);
  color: #c7d4e8;
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand img { height: 30px; margin-bottom: var(--space-4); }
.footer-brand p { color: #9fb2cc; max-width: 40ch; }
.footer-heading {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-list a { color: #c7d4e8; }
.footer-list a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  font-size: 0.85rem;
  color: #8fa2bf;
}
.footer-bottom a { color: #8fa2bf; }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------- Forms ----------------------------------- */
.form-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
}
.form-field__input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  width: 100%;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-field__input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-cobalt);
  box-shadow: 0 0 0 3px var(--color-cobalt-tint);
  outline: none;
}
.form-field--error .form-field__input,
.form-field--error select,
.form-field--error textarea {
  border-color: #d1364a;
}
.form-error {
  color: #b3223a;
  font-size: 0.85rem;
}
.form-hint { color: var(--color-muted); font-size: 0.85rem; }

/* Honeypot: hidden from sighted and mouse users, but present in the DOM
   so unsophisticated bots fill it in. Screen readers skip it via aria-hidden
   and tabindex="-1" set in the widget attrs. */
.form-field--honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: var(--space-6);
}
.alert--success {
  background: #e7f7ee;
  border: 1px solid #a9e2c1;
  color: #1a6b3d;
}
.alert--error {
  background: #fdecee;
  border: 1px solid #f3b7c0;
  color: #9b1c30;
}

/* django.contrib.messages, rendered above <main> for the non-htmx PRG
   (redirect-after-POST) flow, where there's no htmx swap to surface a
   status message inline. */
.messages-region {
  padding-top: var(--space-6);
}
.messages-region__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}
.messages-region__dismiss {
  flex: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: inherit;
  opacity: 0.6;
  padding: 0;
}
.messages-region__dismiss:hover { opacity: 1; }

.success-panel {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  border: 1px dashed var(--color-cobalt-light);
  border-radius: var(--radius-md);
  background: var(--color-cobalt-tint);
}
.success-panel__icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-4);
  color: var(--color-cobalt);
}

/* ------------------------------- Content pages ------------------------------ */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--space-12); }
.prose ul { color: var(--color-text); }

.deliverables-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}
.deliverables-list li:last-child { border-bottom: none; }
.deliverables-list svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-cobalt);
}

.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: var(--space-6);
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-cobalt); }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--color-cobalt-tint);
  color: var(--color-cobalt-hover);
}

.founder-grid {
  display: grid;
  gap: var(--space-12);
  align-items: start;
}
@media (min-width: 900px) {
  .founder-grid { grid-template-columns: 1fr 1.3fr; }
}
.founder-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-navy), var(--color-cobalt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
}
.credential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.credential-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  background: var(--color-surface);
}
.credential-card strong { display: block; color: var(--color-navy); font-size: 0.95rem; margin-bottom: 0.2rem; }
.credential-card span { color: var(--color-muted); font-size: 0.85rem; }

/* -------------------------------- Utilities ---------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Scroll-reveal (paired with the x-reveal Alpine directive in main.js).
   [data-reveal] elements are visible by default — the JS directive itself
   adds `.reveal-pending` right before it starts observing an element, and
   only then does the element get hidden ahead of its intersect animation.
   That way no-JS visitors, print/PDF output, and headless capture tools
   (which never scroll to trigger IntersectionObserver) always see full
   content; only browsers where the animation is actually going to run ever
   hide anything. */
.reveal-pending {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-pending { opacity: 1; transform: none; transition: none; }
}
@media print {
  [data-reveal],
  .reveal-pending {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Alpine cloak */
[x-cloak] { display: none !important; }
