/* ═══════════════════════════════════════════════════════════════
   MEIKAI — Shared Stylesheet
   All CSS that appears across more than one page type.
   Per-page overrides remain in each page's <style> tag.
═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  --warm-white:  #FAFAF8;
  --surface:     #F2F5F8;
  --border:      #CCCCCC;
  --border-lt:   #E4E4E0;
  --text:        #1A1A1A;
  --text-2:      #2A2A2A;
  --text-mid:    #555555;
  --text-muted:  #888888;
  --blue:        #2D5F8A;
  --blue-dark:   #1E4468;
  --blue-tint:   rgba(45,95,138,.07);
  --gold:        #D4A843;
  --dark:        #111111;
  --aurora-opacity: 0.5; /* set to 0 to disable */
  --font:        'Inter', 'Helvetica Neue', Helvetica, sans-serif;
  --mono:        'IBM Plex Mono', 'Courier New', monospace;
  --max:         1160px;
  --radius:      6px;
  --radius-md:   10px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── CONTAINER ─── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── SECTION LABEL ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-family: var(--mono);
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
nav.scrolled {
  background: rgba(250,250,248,.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border-lt);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 62px;
  gap: 0;
}
.nav-logo { flex-shrink: 0; margin-right: 2.5rem; display: flex; align-items: center; min-height: 44px; }
.nav-logo img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}
.nav-links a {
  display: block;
  padding: 0 1.1rem;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color .18s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* ─── LANG PICKER ─── */
.lang-toggle { position: relative; }
.lang-picker-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: .08em;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .18s, border-color .18s, background .18s;
  white-space: nowrap;
}
.lang-picker-btn:hover,
.lang-picker-btn[aria-expanded="true"] {
  color: var(--text);
  border-color: var(--border-lt);
  background: var(--surface);
}
.lang-globe { flex-shrink: 0; }
.lang-chevron { flex-shrink: 0; transition: transform .18s ease; }
.lang-picker-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--warm-white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,.1), 0 1px 4px rgba(0,0,0,.05);
  min-width: 148px;
  z-index: 200;
  overflow: hidden;
  animation: langDropIn 140ms ease-out;
}
@keyframes langDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-dropdown[hidden] { display: none; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.lang-option:hover { background: var(--surface); color: var(--text); }
.lang-option--active {
  color: var(--text);
  font-weight: 600;
  cursor: default;
  pointer-events: none;
  background: var(--blue-tint);
}
.lang-code {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  min-width: 20px;
  opacity: .7;
}
.lang-option--active .lang-code { opacity: 1; }

/* ─── NAV BUTTONS ─── */
.btn-nav {
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .18s, transform .15s;
}
.btn-nav:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-nav:active { transform: translateY(0); }

/* ─── HAMBURGER + MOBILE MENU ─── */
.btn-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  transition: background .18s, border-color .18s;
}
.btn-hamburger:hover { background: var(--surface); }
.btn-hamburger:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.hamburger-icon {
  width: 20px;
  height: 20px;
  transition: transform 300ms ease-in-out;
}
.hamburger-icon.open { transform: rotate(-45deg); }
.hamburger-path-1 {
  stroke-dasharray: 12 63;
  transition: stroke-dasharray 300ms ease-in-out, stroke-dashoffset 300ms ease-in-out;
}
.hamburger-icon.open .hamburger-path-1 {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42px;
}
.mobile-menu {
  position: fixed;
  inset: 62px 0 0 0;
  z-index: 40;
  background: rgba(250,250,248,.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-lt);
  display: flex;
  flex-direction: column;
  padding: 24px 20px 32px;
  overflow-y: auto;
  animation: mobileMenuIn 200ms ease-out forwards;
}
@keyframes mobileMenuIn {
  from { opacity: 0; transform: scale(.97) translateY(-4px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-menu-links a {
  display: flex;
  align-items: center;
  padding: 11px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius);
  transition: background .15s, color .15s;
}
.mobile-menu-links a:hover,
.mobile-menu-links a.active { background: var(--blue-tint); color: var(--text); }
.mobile-menu-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-lt);
  margin-top: 12px;
}
.mobile-lang-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 4px;
}
.mobile-lang-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .12s, color .12s;
}
.mobile-lang-link:hover { background: var(--blue-tint); color: var(--text); }
.mobile-lang-link--active {
  color: var(--text);
  font-weight: 600;
  background: var(--blue-tint);
  pointer-events: none;
}
.mobile-lang-code {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
  min-width: 22px;
}
.mobile-cta {
  display: block;
  background: var(--blue);
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background .18s;
}
.mobile-cta:hover { background: var(--blue-dark); }

/* ═══════════════════════════════════════════
   BUTTONS (shared)
═══════════════════════════════════════════ */
.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 1px rgba(45,95,138,.15);
  transition: background .18s, transform .15s, box-shadow .18s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.15), 0 0 0 1px rgba(30,68,104,.2); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.btn-primary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .18s, gap .2s;
}
.btn-link:hover { color: var(--blue); gap: 8px; }
.btn-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 11px 22px;
  border-radius: var(--radius);
  transition: background .18s, color .18s, transform .15s;
}
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }
.btn-outline:active { transform: translateY(0); }

.btn-text-blue {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}
.btn-text-blue:hover { gap: 9px; }

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages — not homepage hero)
═══════════════════════════════════════════ */
.page-hero {
  background: var(--warm-white);
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 71px,
    rgba(0,0,0,.022) 71px,
    rgba(0,0,0,.022) 72px
  );
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.page-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--text);
  margin-bottom: 24px;
}
.page-hero-sub {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 0;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

/* ─── Credential strip ─── */
.cred-strip {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-lt);
}
.cred-item {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: .06em;
  white-space: nowrap;
}
a.cred-item { text-decoration: none; }
a.cred-item:hover { color: var(--blue); }
.cred-item + .cred-item::before {
  content: '·';
  margin: 0 14px;
  color: var(--border);
  font-size: 15px;
  line-height: 1;
}

/* ─── Hero actions ─── */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* ─── Hero guarantee line ─── */
.hero-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.45;
  max-width: 460px;
}
.hero-guarantee svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--blue);
}
.hero-trust-line {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════
   HOMEPAGE HERO (en/index, it/index, fr/index)
═══════════════════════════════════════════ */
.hero {
  background: var(--warm-white);
  padding: 88px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 71px,
    rgba(0,0,0,.022) 71px,
    rgba(0,0,0,.022) 72px
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}
.hero-left {}
.hero-right { position: relative; }
.hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 32px;
  font-weight: 400;
}
.hero .btn-primary {
  padding: 16px 32px;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(45,95,138,.28), 0 0 0 1px rgba(45,95,138,.2);
}

/* ─── HERO SCAN CARD ─── */
.scan-deck {
  cursor: pointer;
  user-select: none;
  padding-right: 24px;
}
.scan-deck-cards {
  display: grid;
}
.scan-card {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.05);
  overflow: hidden;
  transition: transform .55s cubic-bezier(.23,1,.32,1), opacity .45s ease;
}
.scan-card[data-pos="0"] { transform: rotate(1.5deg); opacity: 1; z-index: 4; }
.scan-card[data-pos="1"] { transform: rotate(3.5deg) translate(8px,6px) scale(0.97); opacity: 0.6; z-index: 3; }
.scan-card[data-pos="2"] { transform: rotate(5.5deg) translate(16px,12px) scale(0.94); opacity: 0.35; z-index: 2; }
.scan-card[data-pos="3"] { transform: rotate(7deg) translate(24px,18px) scale(0.91); opacity: 0; z-index: 1; pointer-events: none; }
.scan-card.is-leaving { transform: rotate(7.5deg) translate(28px,20px) scale(0.88) !important; opacity: 0 !important; z-index: 0 !important; }
.scan-deck:hover .scan-card[data-pos="0"] { transform: rotate(0deg); }
.scan-card:not([data-pos="0"]) .scan-row { animation: none; }
.scan-deck-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  padding-right: 24px;
}
.scan-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
  transition: background .3s, transform .3s;
}
.scan-dot--active {
  background: var(--blue);
  transform: scale(1.4);
}
.scan-card-header {
  background: var(--blue);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.scan-card-title {
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.scan-card-badge {
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 500;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.12);
  border-radius: 3px; padding: 3px 8px;
}
.scan-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px; align-items: baseline;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-lt);
  animation: scanRowIn .4s ease both;
}
.scan-row:last-child { border-bottom: none; }
@keyframes scanRowIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.scan-row:nth-child(1) { animation-delay: .3s; }
.scan-row:nth-child(2) { animation-delay: .44s; }
.scan-row:nth-child(3) { animation-delay: .58s; }
.scan-row:nth-child(4) { animation-delay: .72s; }
.scan-row:nth-child(5) { animation-delay: .86s; }
.scan-row-label {
  font-size: 12.5px; font-weight: 500; color: var(--text-2); line-height: 1.3;
}
.scan-row-label span {
  display: block;
  font-size: 11px; font-weight: 400; color: var(--text-muted); margin-top: 2px;
}
.scan-row-saving {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; color: var(--blue); white-space: nowrap;
}
.scan-row--leave .scan-row-label { color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--border); }
.scan-row--leave .scan-row-saving { color: var(--text-muted); font-weight: 400; }
.scan-card-footer {
  background: var(--surface);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 2px solid rgba(45,95,138,.1);
}
.scan-card-total-label {
  font-family: var(--mono);
  font-size: 9.5px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted);
}
.scan-card-total-value {
  font-family: var(--mono);
  font-size: 22px; font-weight: 700; color: var(--blue);
  letter-spacing: -.01em;
}
.scan-card-subtitle {
  font-size: 15px; font-weight: 600;
  color: var(--gold);
  margin-top: 4px;
  font-family: var(--font);
  letter-spacing: -.01em;
  text-transform: none;
  line-height: 1.2;
}
@keyframes scanCardIn {
  from { opacity: 0; transform: rotate(1.5deg) translateY(6px); }
  to   { opacity: 1; transform: rotate(1.5deg); }
}

/* ═══════════════════════════════════════════
   TOOL STRIP — integration logos
═══════════════════════════════════════════ */
.tool-strip {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border-lt);
  padding: 0;
}
.tool-strip-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tool-strip-inner::-webkit-scrollbar { display: none; }
.tool-strip-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid var(--border-lt);
  opacity: .7;
}
.tool-names {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.tool-names-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0;
  animation: toolMarquee 38s linear infinite;
  will-change: transform;
}
.tool-names-track:hover { animation-play-state: paused; }
@keyframes toolMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
.tool-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 140px;
  height: 36px;
}
.tool-logo-img {
  height: 18px;
  width: auto;
  max-width: 90px;
  display: block;
  filter: brightness(0);
  opacity: .38;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   METHOD PREVIEW (homepages)
═══════════════════════════════════════════ */
.method-section { position: relative; }
.method-step {
  background: var(--warm-white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.method-step--active {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(45,95,138,.08);
}
.step-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 14px;
  transition: color .35s ease;
}
.method-step--active .step-num { color: var(--blue); }
.step-product {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-tint);
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: .04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.method-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}
.method-cta:hover { gap: 9px; }

/* ═══════════════════════════════════════════
   SCAN TEASER / REPORT CARD (homepages)
═══════════════════════════════════════════ */
.scan-report {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.report-header {
  background: var(--blue);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.report-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.report-client {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
}
.report-sections { padding: 8px 0; }
.report-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 24px;
  border-bottom: 1px solid var(--border-lt);
  transition: background .15s;
}
.report-row:last-child { border-bottom: none; }
.report-row:hover { background: var(--surface); }
.rs-num {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--blue);
  width: 20px;
  flex-shrink: 0;
  letter-spacing: .05em;
}
.rs-title {
  font-size: 13.5px;
  color: var(--text-2);
  font-weight: 500;
}
.report-footer {
  background: var(--surface);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border-lt);
}
.report-footer-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.report-footer-text {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: .04em;
}

/* ─── Report row stagger animation (homepages) ─── */
.scan-report .report-row {
  animation: reportRowIn 0.3s ease-out both;
  animation-play-state: paused;
}
.scan-report.visible .report-row {
  animation-play-state: running;
}
.scan-report .report-row:nth-child(1) { animation-delay: .42s; }
.scan-report .report-row:nth-child(2) { animation-delay: .52s; }
.scan-report .report-row:nth-child(3) { animation-delay: .62s; }
.scan-report .report-row:nth-child(4) { animation-delay: .72s; }
.scan-report .report-row:nth-child(5) { animation-delay: .82s; }
.scan-report .report-row:nth-child(6) { animation-delay: .92s; }
.scan-report .report-row:nth-child(7) { animation-delay: 1.02s; }
.scan-report .report-row:nth-child(8) { animation-delay: 1.12s; }
@keyframes reportRowIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════
   FINAL CTA (shared across all content pages)
═══════════════════════════════════════════ */
.final-cta-inner {
  max-width: 640px;
}
.final-cta-inner h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.final-cta-inner > p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 32px;
}
.final-cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.final-cta-micro {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .06em;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--dark);
  padding: 64px 0 40px;
  color: rgba(250,250,248,.55);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 32px;
}
.footer-brand img { height: 28px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .75; }
.footer-brand p:not(.footer-tagline) { font-size: 13px; line-height: 1.65; color: rgba(250,250,248,.4); max-width: 240px; }
.footer-tagline { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; margin-top: 8px; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: rgba(250,250,248,.3); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(250,250,248,.5); margin-bottom: 2px; padding: 5px 0; transition: color .18s; }
.footer-col a:hover { color: rgba(250,250,248,.9); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer-bottom-left p { font-size: 12px; color: rgba(250,250,248,.25); margin-bottom: 4px; }
.footer-compliance { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: rgba(250,250,248,.18); max-width: 400px; line-height: 1.7; text-align: right; }

/* ─── Footer social (LinkedIn icon) ─── */
.footer-social { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0; padding: 12px; margin-left: -12px; color: rgba(250,250,248,.5); transition: color .18s; }
.footer-social a:hover { color: rgba(250,250,248,.9); }

/* ─── Footer language links ─── */
.footer-lang-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.footer-lang-links a { display: inline; margin-bottom: 0; }

/* ═══════════════════════════════════════════
   SECTION INTRO (shared pattern)
═══════════════════════════════════════════ */
.section-intro {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-intro h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.section-intro p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   AURORA EFFECT
═══════════════════════════════════════════ */
@keyframes aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to   { background-position: 350% 50%, 350% 50%; }
}
.aurora-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora-layer {
  position: absolute;
  inset: -10px;
  opacity: var(--aurora-opacity);
  will-change: transform;
  filter: blur(10px) invert(1);
  background-image:
    repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%),
    repeating-linear-gradient(100deg, #3b82f6 10%, #a5b4fc 15%, #93c5fd 20%, #ddd6fe 25%, #60a5fa 30%);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  animation: aurora 60s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
}
.aurora-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%),
    repeating-linear-gradient(100deg, #3b82f6 10%, #a5b4fc 15%, #93c5fd 20%, #ddd6fe 25%, #60a5fa 30%);
  background-size: 200%, 100%;
  background-attachment: fixed;
  mix-blend-mode: difference;
  animation: aurora 60s linear infinite;
}

/* ═══════════════════════════════════════════
   LEGAL PAGES (privacy + terms)
═══════════════════════════════════════════ */
.hero-legal {
  background: var(--warm-white);
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--border-lt);
}
.hero-legal h1 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text-2);
  margin-bottom: 16px;
}
.hero-legal .hero-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .06em;
}
.legal-content {
  background: var(--warm-white);
  padding: 72px 0 96px;
}
.legal-wrap { max-width: 760px; }
.legal-section { margin-bottom: 56px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text-2);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-lt);
}
.legal-section h3 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 8px;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  padding-left: 1.25rem;
  margin-bottom: 12px;
}
.legal-section ul li {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.legal-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-tint);
  border: 1px solid rgba(45,95,138,.15);
  border-radius: var(--radius);
  padding: 2px 8px;
  margin-right: 6px;
  vertical-align: middle;
}
.legal-contact-box {
  background: var(--surface);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 12px;
}
.legal-contact-box p { margin-bottom: 6px; }
.legal-contact-box a { color: var(--blue); }
.legal-contact-box a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   RESPONSIVE — shared breakpoints
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  /* Homepage hero collapses to single column */
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: flex; justify-content: center; }
  .scan-deck { padding-right: 0; }
  .scan-deck-nav { padding-right: 0; }
  .scan-card { max-width: 420px; width: 100%; transform: none; }
  .scan-card:hover { transform: none; }
  /* Common footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 660px) {
  /* Nav: hide desktop links, show hamburger */
  .nav-links { display: none; }
  .lang-toggle { display: none; }
  .btn-nav { display: none; }
  .btn-hamburger { display: flex; }
  /* Hero: prevent text overflow on narrow viewports */
  .hero { overflow-x: clip; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero-sub { font-size: 15px; max-width: 100%; }
  .cred-strip { flex-wrap: wrap; row-gap: 4px; }
  .cred-item { font-size: 10px; letter-spacing: .03em; }
  /* Tool strip hidden on mobile */
  .tool-strip { display: none; }
  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .footer-compliance { text-align: left; }
}

/* ═══════════════════════════════════════════════════════════════
   LEAD MAGNET STRIP
   Used on homepages and clarity-scan pages.
═══════════════════════════════════════════════════════════════ */
.lm-strip {
  background: var(--blue-tint);
  border-top: 1px solid rgba(45,95,138,.12);
  border-bottom: 1px solid rgba(45,95,138,.12);
  padding: 40px 0;
}
.lm-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.lm-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}
.lm-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.lm-sub {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}
.lm-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--blue);
  color: white;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s, box-shadow .18s;
  box-shadow: 0 2px 8px rgba(45,95,138,.2);
}
.lm-btn:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 14px rgba(45,95,138,.3);
}
@media (max-width: 760px) {
  .lm-inner { flex-direction: column; align-items: flex-start; }
  .lm-btn { align-self: flex-start; }
}

/* ═══════════════════════════════════════════
   COOKIE CONSENT
═══════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.cookie-banner--visible { transform: translateY(0); }

/* ── Bar ── */
.cookie-bar {
  background: var(--warm-white);
  border-top: 1px solid var(--border-lt);
  box-shadow: 0 -6px 28px rgba(0,0,0,.07);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-bar-text {
  font-size: 13px;
  color: var(--text-mid);
  flex: 1;
  min-width: 180px;
  margin: 0;
}
.cookie-bar-text a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cookie-manage-btn {
  font-size: 13px; font-weight: 500;
  color: var(--text-muted); background: none; border: none;
  cursor: pointer; padding: 12px 10px;
  min-height: 44px;
  transition: color .18s;
}
.cookie-manage-btn:hover { color: var(--text); }
.cookie-accept-btn {
  font-size: 13px; font-weight: 600;
  color: #fff; background: var(--blue); border: none;
  border-radius: var(--radius); padding: 10px 20px; min-height: 44px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(45,95,138,.25), 0 4px 12px rgba(45,95,138,.15);
  transition: background .18s, transform .15s;
}
.cookie-accept-btn:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ── Detail panel ── */
.cookie-detail {
  background: var(--surface);
  border-top: 1px solid var(--border-lt);
  padding: 20px 32px 8px;
}
.cookie-detail[hidden] { display: none; }
.cookie-detail-inner {
  display: flex; flex-direction: column;
  max-width: 640px; margin: 0 auto 16px;
}
.cookie-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  padding: 13px 0; border-bottom: 1px solid var(--border-lt);
}
.cookie-row:last-child { border-bottom: none; }
.cookie-row-info { flex: 1; }
.cookie-row-info strong { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 2px; }
.cookie-row-info p { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.cookie-always-on {
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  color: var(--blue); flex-shrink: 0; text-transform: uppercase;
}
.cookie-save-btn {
  display: block; margin: 4px auto 16px;
  font-size: 13px; font-weight: 600;
  color: var(--blue); background: none;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius); padding: 8px 22px;
  cursor: pointer; transition: background .18s, color .18s;
}
.cookie-save-btn:hover { background: var(--blue); color: #fff; }

/* ── Toggle switch ── */
.cookie-toggle { position: relative; display: inline-block; flex-shrink: 0; cursor: pointer; }
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle-track {
  display: block; width: 40px; height: 22px;
  border-radius: 11px; background: var(--border);
  position: relative; transition: background .2s;
}
.cookie-toggle-track::after {
  content: ''; position: absolute;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px;
  transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--blue); }
.cookie-toggle input:checked + .cookie-toggle-track::after { transform: translateX(18px); }
.cookie-toggle input:focus-visible + .cookie-toggle-track { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ── Map consent placeholder ── */
.map-consent-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border-lt);
}
.map-consent-placeholder p {
  font-size: 13px; color: var(--text-muted);
  text-align: center; max-width: 240px;
  line-height: 1.55; margin: 0;
}
.map-consent-placeholder button {
  font-size: 13px; font-weight: 600;
  color: var(--blue); background: none;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius); padding: 8px 18px;
  cursor: pointer; transition: background .18s, color .18s;
}
.map-consent-placeholder button:hover { background: var(--blue); color: #fff; }

/* ── Cal.com inline consent placeholder ── */
.cal-consent-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  padding: 52px 24px;
  background: var(--surface); border: 1px solid var(--border-lt);
  border-radius: var(--radius-md); text-align: center;
}
.cal-consent-placeholder p {
  font-size: 14px; color: var(--text-muted);
  max-width: 300px; line-height: 1.65; margin: 0;
}
.cal-consent-placeholder button {
  font-size: 14px; font-weight: 600;
  color: #fff; background: var(--blue); border: none;
  border-radius: var(--radius); padding: 10px 24px;
  cursor: pointer; transition: background .18s;
}
.cal-consent-placeholder button:hover { background: var(--blue-dark); }

/* ── Footer settings link ── */
.cookie-reset-btn {
  font-size: 12px; color: var(--text-muted);
  background: none; border: none; cursor: pointer; padding: 0;
  text-decoration: underline; text-underline-offset: 2px;
  transition: color .18s;
}
.cookie-reset-btn:hover { color: rgba(250,250,248,.9); }

@media (max-width: 660px) {
  .cookie-bar { padding: 14px 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-bar-actions { width: 100%; }
  .cookie-accept-btn { flex: 1; text-align: center; }
  .cookie-detail { padding: 16px 20px 8px; }
}

/* ── Currency conversion note ────────────────────────────────────────── */
.price-eur-note {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}
.price-billing-note { font-size: 10px; opacity: .7; }
