/* ==========================================================================
   EU Work Tools — institutional EU theme, 2026 uplift
   Navy / gold, document-grade typography, no external resources.
   ========================================================================== */

:root {
  /* Palette */
  --eu-navy: #003399;
  --eu-navy-deep: #0a1f5c;
  --eu-navy-ink: #001440;
  --eu-gold: #f5c400;
  --eu-gold-bright: #ffcc00;
  --eu-gold-soft: #fdf3cd;
  --paper: #fbfaf6;
  --paper-warm: #f3efe4;
  --paper-card: #ffffff;
  --ink: #10161f;
  --ink-soft: #3c4356;
  --muted: #5b6270;
  --border: #ddd7c9;
  --border-soft: #e8e3d6;
  --success: #1f5c37;
  --fail: #9b1c1c;
  --fail-bg: #fbeaea;
  --partial: #7a5c10;
  --partial-bg: #fbf3d8;

  /* Type */
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, Cambria, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --fs-body: clamp(1rem, 0.96rem + 0.25vw, 1.0625rem);
  --fs-small: clamp(0.85rem, 0.83rem + 0.15vw, 0.9375rem);
  --fs-h1: clamp(1.9rem, 1.2rem + 3.6vw, 3.4rem);
  --fs-h1-sub: clamp(1.65rem, 1.15rem + 2.6vw, 2.7rem);
  --fs-h2: clamp(1.45rem, 1.2rem + 1.3vw, 2.1rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --fs-lede: clamp(1.08rem, 1rem + 0.5vw, 1.28rem);

  /* Rhythm */
  --space-section: clamp(3.25rem, 2.25rem + 4.5vw, 5.75rem);
  --space-block: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-card: 0 1px 2px rgba(16, 22, 31, 0.05), 0 6px 20px -8px rgba(16, 22, 31, 0.12);
  --shadow-lift: 0 2px 4px rgba(16, 22, 31, 0.06), 0 14px 34px -12px rgba(10, 31, 92, 0.22);

  /* Circle of 12 stars, as decorative watermark (pure data URI, no external calls) */
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg fill='%23f5c400' font-size='19' text-anchor='middle' font-family='serif'%3E%3Ctext x='120' y='36'%3E%E2%98%85%3C/text%3E%3Ctext x='165' y='48'%3E%E2%98%85%3C/text%3E%3Ctext x='198' y='81'%3E%E2%98%85%3C/text%3E%3Ctext x='210' y='126'%3E%E2%98%85%3C/text%3E%3Ctext x='198' y='171'%3E%E2%98%85%3C/text%3E%3Ctext x='165' y='204'%3E%E2%98%85%3C/text%3E%3Ctext x='120' y='216'%3E%E2%98%85%3C/text%3E%3Ctext x='75' y='204'%3E%E2%98%85%3C/text%3E%3Ctext x='42' y='171'%3E%E2%98%85%3C/text%3E%3Ctext x='30' y='126'%3E%E2%98%85%3C/text%3E%3Ctext x='42' y='81'%3E%E2%98%85%3C/text%3E%3Ctext x='75' y='48'%3E%E2%98%85%3C/text%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }

::selection { background: var(--eu-navy); color: #fff; }

:focus-visible {
  outline: 3px solid var(--eu-navy);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--eu-navy);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
  top: 0;
  outline: 3px solid var(--eu-gold);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* --------------------------------------------------------------------------
   Header — sticky, document ribbon
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 4px solid var(--eu-navy);
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 3px 0 var(--eu-gold), 0 1px 0 rgba(16, 22, 31, 0.02);
  padding: 0.9rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.brand:hover span:last-child { color: var(--eu-navy); }

.brand-mark {
  color: var(--eu-gold-bright);
  background: radial-gradient(circle at 32% 28%, #0d47c4, var(--eu-navy) 55%, var(--eu-navy-deep));
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex: none;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--border), 0 2px 6px rgba(10, 31, 92, 0.35);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 1.9rem);
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-header nav a:hover {
  color: var(--eu-navy);
  border-bottom-color: var(--eu-gold);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-eu {
  display: inline-block;
  padding: 0.8rem 1.55rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-eu.primary {
  background: linear-gradient(180deg, #0d47c4, var(--eu-navy) 55%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(10, 31, 92, 0.3), 0 8px 18px -8px rgba(10, 31, 92, 0.5);
}
.btn-eu.primary:hover {
  background: linear-gradient(180deg, var(--eu-navy), var(--eu-navy-deep) 70%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 4px rgba(10, 31, 92, 0.3), 0 12px 24px -10px rgba(10, 31, 92, 0.55);
}
.btn-eu.primary:active { transform: translateY(0); }

.btn-eu.ghost {
  color: var(--eu-navy);
  border: 2px solid var(--eu-navy);
  background: transparent;
}
.btn-eu.ghost:hover {
  background: var(--eu-navy);
  color: #fff;
}

.btn-eu.large {
  padding: 1.05rem 2.2rem;
  font-size: 1.08rem;
}

.btn-eu:focus-visible {
  outline: 3px solid var(--eu-gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Sections — shared rhythm
   -------------------------------------------------------------------------- */
section { padding: var(--space-section) 0; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  letter-spacing: -0.012em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

section h2 {
  font-size: var(--fs-h2);
  line-height: 1.2;
  margin: 0 0 var(--space-block);
  font-weight: 700;
}

section p { max-width: 70ch; }
section ul, section ol { max-width: 70ch; }

.muted { color: var(--muted); }

/* Gold rule above section headings (skip hero + cta, they style their own) */
.legal-context h2::before,
.ranking h2::before,
.comparison-deep h2::before,
.ai-stack h2::before,
.faq h2::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--eu-gold), var(--eu-gold-bright));
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(0, 51, 153, 0.07), transparent 65%),
    linear-gradient(180deg, var(--paper-warm), #efe9db);
  border-bottom: 4px solid var(--eu-navy);
  box-shadow: inset 0 -8px 0 rgba(245, 196, 0, 0.35);
  padding: clamp(3.5rem, 3rem + 4vw, 6rem) 0 clamp(3.25rem, 2.75rem + 3.5vw, 5.25rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 32vw, 420px);
  aspect-ratio: 1;
  background: var(--stars) center / contain no-repeat;
  opacity: 0.4;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.eyebrow {
  color: var(--eu-navy);
  font-size: clamp(0.72rem, 0.7rem + 0.2vw, 0.85rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 1.1rem;
}

.hero h1 {
  font-size: var(--fs-h1);
  line-height: 1.12;
  margin: 0 0 1.4rem;
  font-weight: 700;
  max-width: 21ch;
}

.hl {
  background: linear-gradient(180deg, transparent 62%, var(--eu-gold-bright) 62%, var(--eu-gold-bright) 94%, transparent 94%);
  padding: 0 0.2rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.65;
  max-width: 62ch;
  color: var(--ink-soft);
  margin: 0 0 2.1rem;
}
.lede strong { color: var(--ink); }

.hero-actions {
  display: flex;
  gap: 0.9rem 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Legal context / timeline
   -------------------------------------------------------------------------- */
.legal-context {
  background: var(--paper);
  border-bottom: 1px solid var(--border-soft);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: var(--space-block) 0;
  position: relative;
}
.timeline li {
  position: relative;
  padding: 1.1rem 1.35rem 1.1rem 2.4rem;
  margin-bottom: 1rem;
  background: var(--paper-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  max-width: 75ch;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--eu-gold-bright);
  box-shadow: 0 0 0 3px var(--paper-card), 0 0 0 4px var(--eu-navy);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: calc(1.05rem + 4px);
  top: 2.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: var(--border);
}
.timeline li:last-child::after { display: none; }
.timeline strong { color: var(--eu-navy); }

/* --------------------------------------------------------------------------
   Tables — scrollable card containers
   -------------------------------------------------------------------------- */
.table-scroll {
  margin-top: var(--space-block);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--paper-card);
  box-shadow: var(--shadow-card);
  scrollbar-width: thin;
  scrollbar-color: var(--eu-navy) var(--paper-warm);
}
.table-scroll:focus-visible {
  outline: 3px solid var(--eu-navy);
  outline-offset: 2px;
}

.ranking-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: transparent;
  font-variant-numeric: tabular-nums;
}
.ranking-table.compact { min-width: 560px; }

.ranking-table th {
  background: linear-gradient(180deg, var(--eu-navy), var(--eu-navy-deep));
  color: #fff;
  padding: 0.95rem 1.1rem;
  text-align: left;
  font-weight: 650;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 3px solid var(--eu-gold);
}

.ranking-table td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
  vertical-align: top;
  line-height: 1.55;
}
.ranking-table tbody tr:last-child td { border-bottom: none; }
.ranking-table tbody tr:nth-child(even) { background: rgba(243, 239, 228, 0.45); }
.ranking-table tbody tr:hover { background: rgba(0, 51, 153, 0.045); }

.ranking-table .winner-row,
.ranking-table tbody tr.winner-row:nth-child(even),
.ranking-table tbody tr.winner-row:hover {
  background: linear-gradient(90deg, var(--eu-gold-soft), rgba(253, 243, 205, 0.25) 70%);
  box-shadow: inset 4px 0 0 var(--eu-gold-bright);
}
.ranking-table .winner-row td { border-bottom-color: #efe3b6; }
.ranking-table .winner-row strong { color: var(--eu-navy); }

.ranking-table .score {
  font-weight: 700;
  color: var(--eu-navy);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  white-space: nowrap;
}
.ranking-table .winner-row .score { position: relative; }

.ranking-table a {
  color: var(--eu-navy);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(0, 51, 153, 0.3);
  text-underline-offset: 3px;
}
.ranking-table a:hover { text-decoration-color: var(--eu-navy); }

.ranking-table.compact td,
.ranking-table.compact th { padding: 0.7rem 0.95rem; }

/* First column (rank number) as a subtle medallion */
.ranking .ranking-table td:first-child {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--muted);
  font-size: 1.02rem;
}
.ranking .ranking-table .winner-row td:first-child { color: var(--eu-navy); }

.ranking { background: var(--paper-warm); }

/* --------------------------------------------------------------------------
   Why YourPAZ
   -------------------------------------------------------------------------- */
.why-yourpaz { background: var(--paper); }

.why-yourpaz .grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.rank-pill {
  display: inline-block;
  background: linear-gradient(180deg, var(--eu-gold-bright), var(--eu-gold));
  color: var(--eu-navy-ink);
  padding: 0.38rem 1.05rem;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 6px -2px rgba(122, 92, 16, 0.5);
}

.why-yourpaz ol {
  padding-left: 1.4rem;
  margin: var(--space-block) 0;
}
.why-yourpaz ol li {
  margin-bottom: 1rem;
  padding-left: 0.35rem;
}
.why-yourpaz ol li::marker {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--eu-navy);
}
.why-yourpaz li strong { color: var(--eu-navy-deep); }

.why-yourpaz p .btn-eu { margin: 0.35rem 0.75rem 0.35rem 0; }

/* Data-residency card */
.data-card {
  position: relative;
  background:
    radial-gradient(420px 260px at 110% -20%, rgba(13, 71, 196, 0.55), transparent 70%),
    linear-gradient(165deg, var(--eu-navy) 0%, var(--eu-navy-deep) 70%, var(--eu-navy-ink));
  color: #fff;
  padding: clamp(1.5rem, 1.25rem + 1.5vw, 2.25rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.data-card::before {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 210px;
  height: 210px;
  background: var(--stars) center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}
.data-card h3 {
  font-family: var(--font-serif);
  margin: 0 0 1.4rem;
  font-size: var(--fs-h3);
  color: #fff;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(245, 196, 0, 0.45);
}
.data-card dl { margin: 0; position: relative; z-index: 1; }
.data-card dt {
  font-size: 0.72rem;
  color: var(--eu-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 0.85rem;
  font-weight: 700;
}
.data-card dt:first-child { margin-top: 0; }
.data-card dd {
  margin: 0.15rem 0 0.65rem;
  font-weight: 500;
  font-size: 0.98rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.data-card dd:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Comparison — US incumbents
   -------------------------------------------------------------------------- */
.comparison-deep { background: var(--paper-warm); }

.case {
  padding: clamp(1.15rem, 1rem + 1vw, 1.6rem) clamp(1.25rem, 1.1rem + 1vw, 1.75rem);
  background: var(--paper-card);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--fail);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
  max-width: 80ch;
}
.case h3 {
  font-family: var(--font-serif);
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: var(--fs-h3);
}
.case p { margin: 0; color: var(--ink-soft); }

.verdict-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
  margin-left: 0.5rem;
  white-space: nowrap;
  vertical-align: middle;
}
.verdict-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: currentColor;
}
.verdict-tag.fail {
  background: var(--fail-bg);
  color: var(--fail);
  border: 1px solid rgba(155, 28, 28, 0.25);
}
.verdict-tag.partial {
  background: var(--partial-bg);
  color: var(--partial);
  border: 1px solid rgba(122, 92, 16, 0.3);
}

/* --------------------------------------------------------------------------
   AI stack
   -------------------------------------------------------------------------- */
.ai-stack { background: var(--paper); }
.ai-stack .muted {
  font-size: var(--fs-small);
  margin-top: 1.1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--eu-gold);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { background: var(--paper-warm); }

.faq details {
  background: var(--paper-card);
  border: 1px solid var(--border-soft);
  padding: 0;
  margin-bottom: 0.65rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  max-width: 80ch;
  transition: box-shadow 0.15s ease;
}
.faq details[open] { box-shadow: var(--shadow-lift); border-color: var(--border); }

.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-family: var(--font-serif);
  color: var(--eu-navy-deep);
  font-size: 1.05rem;
  line-height: 1.45;
  padding: 1rem 3rem 1rem 1.25rem;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--eu-gold-soft);
  color: var(--eu-navy);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--eu-navy);
  color: var(--eu-gold-bright);
}
.faq summary:hover { color: var(--eu-navy); }
.faq summary:focus-visible {
  outline: 3px solid var(--eu-navy);
  outline-offset: -3px;
  border-radius: var(--radius);
}
.faq details p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--ink-soft);
  border-top: 1px dashed var(--border-soft);
  padding-top: 0.9rem;
}

/* --------------------------------------------------------------------------
   CTA strip
   -------------------------------------------------------------------------- */
.cta-strip {
  position: relative;
  background:
    radial-gradient(900px 420px at 50% 120%, rgba(13, 71, 196, 0.6), transparent 70%),
    linear-gradient(180deg, var(--eu-navy-deep), var(--eu-navy-ink));
  color: #fff;
  text-align: center;
  padding: clamp(4rem, 3rem + 4vw, 6rem) 0;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(340px, 46vw, 560px);
  aspect-ratio: 1;
  background: var(--stars) center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; }
.cta-strip h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  border-radius: 2px;
  background: var(--eu-gold-bright);
  margin: 1rem auto 0;
}
.cta-strip p {
  margin: 0 auto 1.9rem;
  color: #ccd6f6;
  max-width: 52ch;
}
.cta-strip .btn-eu.primary {
  background: linear-gradient(180deg, var(--eu-gold-bright), var(--eu-gold));
  color: var(--eu-navy-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 26px -10px rgba(0, 0, 0, 0.55);
}
.cta-strip .btn-eu.primary:hover {
  background: linear-gradient(180deg, #ffe066, var(--eu-gold-bright));
}
.cta-strip .btn-eu:focus-visible { outline-color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--eu-navy-ink);
  color: #b9c3dd;
  padding: clamp(2.25rem, 2rem + 1.5vw, 3.25rem) 0;
  font-size: var(--fs-small);
  border-top: 4px solid var(--eu-gold);
}
.site-footer p { margin: 0.4rem 0; max-width: none; }
.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}
.site-footer a:hover { text-decoration-color: var(--eu-gold-bright); }
.site-footer a:focus-visible { outline-color: var(--eu-gold-bright); }
.footer-links { margin: 0.6rem 0; }
.disclosure {
  color: #8d99b8;
  font-size: 0.8rem;
  margin-top: 1.1rem;
  max-width: 75ch;
}

/* --------------------------------------------------------------------------
   Review & article pages
   -------------------------------------------------------------------------- */
.review-hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 90% -30%, rgba(13, 71, 196, 0.55), transparent 70%),
    linear-gradient(170deg, var(--eu-navy) 0%, var(--eu-navy-deep) 60%, var(--eu-navy-ink));
  color: #fff;
  border-bottom: 4px solid var(--eu-gold);
  padding: clamp(3.25rem, 2.75rem + 3vw, 5rem) 0 clamp(2.75rem, 2.25rem + 2.5vw, 4rem);
  overflow: hidden;
}
.review-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 26vw, 340px);
  aspect-ratio: 1;
  background: var(--stars) center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.review-hero .container { position: relative; z-index: 1; }

.review-badge {
  display: inline-block;
  background: linear-gradient(180deg, var(--eu-gold-bright), var(--eu-gold));
  color: var(--eu-navy-ink);
  padding: 0.4rem 1.05rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 8px -2px rgba(0, 0, 0, 0.4);
}

.review-hero h1 {
  font-family: var(--font-serif);
  font-size: var(--fs-h1-sub);
  line-height: 1.15;
  margin: 0 0 1.1rem;
  color: #fff;
  max-width: 26ch;
}
.review-hero .lede { color: #ccd6f6; margin-bottom: 0; }

.review-meta {
  display: flex;
  gap: 0.6rem 0.75rem;
  color: #e3e9fb;
  flex-wrap: wrap;
  font-size: var(--fs-small);
}
.review-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.32rem 0.9rem;
  white-space: nowrap;
}
.review-meta strong { color: var(--eu-gold-bright); }

/* Long-form body */
.review-body {
  padding: clamp(2.5rem, 2rem + 2vw, 3.75rem) 0 clamp(3rem, 2.5rem + 2vw, 4.5rem);
  max-width: 780px;
  margin: 0 auto;
}
.review-body > p,
.review-body > ul,
.review-body > ol { max-width: 70ch; }

.review-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.25rem + 0.8vw, 1.75rem);
  line-height: 1.25;
  margin: clamp(2.25rem, 2rem + 1.5vw, 3.25rem) 0 0.9rem;
}
.review-body h2::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--eu-gold), var(--eu-gold-bright));
  margin-bottom: 0.85rem;
}
.review-body h2:first-child,
.review-body > *:first-child { margin-top: 0; }

.review-body h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  margin-top: 2rem;
}

.review-body ul,
.review-body ol { padding-left: 1.4rem; }
.review-body li { margin-bottom: 0.55rem; }
.review-body li::marker { color: var(--eu-navy); }
.review-body li strong { color: var(--eu-navy-deep); }

.review-body a {
  color: var(--eu-navy);
  text-decoration: underline;
  text-decoration-color: rgba(0, 51, 153, 0.35);
  text-underline-offset: 3px;
  font-weight: 550;
}
.review-body a:hover { text-decoration-color: var(--eu-navy); }
.review-body a.btn-eu { text-decoration: none; }

.review-body blockquote {
  border-left: 4px solid var(--eu-gold);
  padding: 0.25rem 0 0.25rem 1.5rem;
  color: var(--ink-soft);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  margin: 1.5rem 0;
}

.review-body .table-scroll { margin: 1.25rem 0 1.75rem; }
.review-body .ranking-table { min-width: 560px; }

.back-link {
  margin-top: 3rem;
  font-weight: 600;
}

.cta-inline { margin: 1.75rem 0 2rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .why-yourpaz .grid { grid-template-columns: 1fr; }
  .data-card { max-width: 560px; }
  .hero::after { opacity: 0.18; right: -110px; }
}

@media (max-width: 640px) {
  .site-header { position: static; }
  .header-inner { justify-content: center; text-align: center; }
  .site-header nav { justify-content: center; }
  .hero-actions .btn-eu { flex: 1 1 auto; text-align: center; }
  .review-hero::after { display: none; }
  .review-meta { gap: 0.5rem; }
  .ranking-table th, .ranking-table td { padding: 0.8rem 0.85rem; }
  .verdict-tag { margin-left: 0; margin-top: 0.5rem; display: inline-flex; }
  .case { border-radius: var(--radius); }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Print — long reviews should read like a briefing document
   -------------------------------------------------------------------------- */
@media print {
  :root { --paper: #fff; --paper-warm: #fff; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .hero-actions, .cta-strip, .btn-eu, .skip-link { display: none !important; }
  .hero, .review-hero {
    background: none;
    color: #000;
    border-bottom: 2pt solid #000;
    padding: 0 0 1rem;
  }
  .review-hero h1, .cta-strip h2 { color: #000; }
  .review-hero .lede, .review-meta { color: #333; }
  .review-meta span { border: 1pt solid #999; background: none; }
  .hero::after, .review-hero::after, .data-card::before, .cta-strip::before { display: none; }
  .data-card { background: none; color: #000; border: 1pt solid #000; box-shadow: none; }
  .data-card h3, .data-card dt { color: #000; }
  .table-scroll { overflow: visible; border: none; box-shadow: none; }
  .ranking-table { min-width: 0; }
  .ranking-table th { background: #eee !important; color: #000; border-bottom: 2pt solid #000; }
  section { padding: 1.25rem 0; }
  a { color: #000; }
  .case, .timeline li, .faq details { box-shadow: none; break-inside: avoid; }
  .faq details { border: 1pt solid #999; }
  .faq details p { display: block; }
}
