:root {
  --bg: #e8f4fc;
  --bg-card: #ffffff;
  --bg-soft: #ddeef9;
  --accent: #4d84b0;
  --accent-dark: #3a678f;
  --accent-light: #b8d8f0;
  --text: #3a5166;
  --text-muted: #627889;
  --border: #cee3f3;
  --cta: #1a6b4a;
  --cta-hover: #145a3e;
  --coral: #e85d4c;
  --coral-dark: #c73d2e;
  --amber: #f0a030;
  --teal: #0f766e;
  --teal-light: #ccfbf1;
  --ink: #134e4a;
  /* Bonus tile palette — dark blue / orange / red + white type */
  --lil-blue: #1e40af;
  --lil-blue-dark: #172554;
  --big-orange: #ea580c;
  --big-orange-dark: #9a3412;
  --huge-red: #dc2626;
  --huge-red-dark: #991b1b;
  --header-h: 4.25rem;
  --radius: 16px;
  --shadow: 0 12px 36px rgba(30, 77, 122, 0.09);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, sans-serif;
  --step-0: clamp(1.0625rem, 1.02rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.22rem + 0.55vw, 1.625rem);
  --step-3: clamp(1.625rem, 1.35rem + 1vw, 2.125rem);
  --step-4: clamp(2rem, 1.55rem + 1.6vw, 2.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-dark);
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem clamp(1rem, 4vw, 2rem);
  background: rgba(232, 244, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(30, 77, 122, 0.08);
}

.site-header .brand {
  grid-column: 1;
  justify-self: start;
}

.site-header .site-nav {
  grid-column: 2;
  justify-self: center;
}

.site-header .header-actions {
  grid-column: 3;
  justify-self: end;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

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

.lang-switcher__select {
  font-family: inherit;
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem 1.75rem 0.45rem 0.55rem;
  max-width: min(220px, 42vw);
  cursor: pointer;
  line-height: 1.25;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232d5c88' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.45rem center;
}

.lang-switcher__select:hover,
.lang-switcher__select:focus-visible {
  border-color: var(--accent-light);
  outline: none;
  box-shadow: 0 0 0 2px rgba(61, 122, 173, 0.25);
}

.lang-switcher--in-nav {
  margin-bottom: 0.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.lang-switcher--in-nav .lang-switcher__select {
  max-width: 100%;
  width: 100%;
  font-size: var(--step-1);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

@media (min-width: 900px) {
  .lang-switcher--in-nav {
    display: none;
  }
}

@media (max-width: 899px) {
  .lang-switcher--desktop {
    display: none;
  }
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  display: block;
  height: clamp(2.25rem, 5vw, 3rem);
  width: auto;
  max-width: min(200px, 48vw);
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  cursor: pointer;
  color: var(--text);
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--text-muted);
  padding: 0.35rem 0.25rem;
  border-radius: 8px;
}

.site-nav a:hover {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.7);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  font-size: var(--step-0);
  font-weight: 700;
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn__label {
  position: relative;
  z-index: 2;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary,
.btn--secondary {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  background: linear-gradient(
    168deg,
    #f87171 0%,
    var(--huge-red) 38%,
    var(--huge-red-dark) 100%
  );
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 22px rgba(153, 27, 27, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary::before,
.btn--secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(
    168deg,
    rgba(255, 255, 255, 0.22) 0%,
    transparent 42%,
    transparent 58%,
    rgba(0, 60, 100, 0.12) 100%
  );
  pointer-events: none;
}

.btn--primary::after,
.btn--secondary::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -60%;
  width: 45%;
  height: 120%;
  z-index: 1;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  transform: skewX(-18deg) translateX(-130%);
  pointer-events: none;
  opacity: 0;
  transition: none;
}

.btn--primary:hover,
.btn--primary:focus-visible,
.btn--secondary:hover,
.btn--secondary:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 8px 28px rgba(153, 27, 27, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--primary:hover::after,
.btn--primary:focus-visible::after,
.btn--secondary:hover::after,
.btn--secondary:focus-visible::after {
  opacity: 1;
  transform: skewX(-18deg) translateX(420%);
  transition: transform 0.7s cubic-bezier(0.33, 0.9, 0.4, 1), opacity 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary::after,
  .btn--secondary::after {
    display: none;
  }
}

.hero {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, #cfe8fb 0%, #e0f7f5 38%, var(--bg) 72%);
  overflow: hidden;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1.05fr;
  }
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: var(--step-4);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-copy h1,
.hero-copy h1 strong {
  background: linear-gradient(
    110deg,
    var(--lil-blue-dark) 0%,
    var(--lil-blue) 35%,
    var(--big-orange) 68%,
    var(--huge-red) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 0 1.25rem;
}

.figure-hero {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--bg-card);
}

.figure-hero img {
  width: 100%;
}

.content-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(3rem, 8vw, 5rem);
}

.page-secondary {
  padding-top: 0.5rem;
}

.page-secondary .content-wrap {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.to-home {
  margin: 0 0 1.1rem;
  font-size: var(--step-0);
}

.to-home a {
  font-weight: 600;
}

.page-title {
  margin: 0 0 1.25rem;
  font-size: var(--step-3);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
}

.legal-article.prose p {
  max-width: 72ch;
}

.legal-article.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: var(--step-2);
  color: var(--accent-dark);
}

.legal-article.prose h2:first-of-type {
  margin-top: 1.5rem;
}

article section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  padding-top: 0.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-heading {
  margin: 0 0 1.25rem;
  font-size: var(--step-3);
  line-height: 1.2;
  color: var(--accent-dark);
  letter-spacing: -0.02em;
  padding-left: 0.65rem;
  border-left: 4px solid var(--coral);
}

.section-heading strong {
  color: inherit;
  font-weight: 800;
}

.prose p {
  margin: 0 0 1.1em;
  max-width: 70ch;
}

.prose ul {
  margin: 0 0 1.25em;
  padding-left: 1.35em;
  max-width: 65ch;
}

.prose li {
  margin-bottom: 0.5em;
}

.pull-quote {
  margin: 1.75rem 0;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 5px solid #d9a888;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-muted);
  background: linear-gradient(135deg, #f4f9fd 0%, #eaf3fb 42%, #e2eef8 100%);
  box-shadow: 0 4px 16px rgba(30, 77, 122, 0.06);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.stat-pill {
  border: none;
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.stat-pill:nth-child(3n + 1) {
  background: linear-gradient(165deg, #3b82f6 0%, var(--lil-blue) 45%, var(--lil-blue-dark) 100%);
}

.stat-pill:nth-child(3n + 2) {
  background: linear-gradient(165deg, #fb923c 0%, var(--big-orange) 45%, var(--big-orange-dark) 100%);
}

.stat-pill:nth-child(3n + 3) {
  background: linear-gradient(165deg, #f87171 0%, var(--huge-red) 45%, var(--huge-red-dark) 100%);
}

.stat-pill .emoji {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.35rem;
}

.stat-pill .stat-value {
  display: block;
  font-size: var(--step-2);
  font-weight: 800;
  color: #fff;
}

.stat-pill span:not(.emoji):not(.stat-value) {
  font-size: var(--step-0);
  color: rgba(255, 255, 255, 0.9);
}

.media-block {
  margin: 1.75rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.media-block img {
  width: 100%;
}

.media-caption {
  padding: 0.85rem 1.1rem;
  font-size: var(--step-0);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.97);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
  background: linear-gradient(90deg, #3a5698 0%, #4a72c4 40%, #c86a38 100%);
  border-top: 2px solid rgba(255, 255, 255, 0.28);
}

.media-caption a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 0.12em;
}

.media-caption a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.92);
}

.media-block--wide {
  margin-top: 2rem;
}

/* Native 700×700 asset — cap width on desktop so it is not upscaled (stays sharp) */
@media (min-width: 900px) {
  .media-block--how-win-visual {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}

.bonus-with-media {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.15rem 1.35rem;
  align-items: flex-start;
  margin: 1.35rem 0;
  padding: 1.1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(30, 77, 122, 0.08);
}

.bonus-with-media__fig {
  margin: 0;
  flex: 0 0 min(10.5rem, 38vw);
  max-width: 200px;
}

.bonus-with-media__fig img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(30, 77, 122, 0.12);
}

.bonus-with-media__body {
  flex: 1 1 14rem;
  min-width: 0;
}

.bonus-with-media__body p {
  margin: 0 0 0.65em;
  max-width: none;
}

.bonus-with-media__body p:last-child {
  margin-bottom: 0;
}

.phone-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.phone-showcase__device {
  position: relative;
  width: min(260px, 72vw);
  padding: 0.55rem;
  border-radius: 2.25rem;
  background: linear-gradient(160deg, #2c5282 0%, #1a3555 55%, #0f2844 100%);
  box-shadow: 0 20px 50px rgba(20, 60, 100, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone-showcase__notch {
  position: absolute;
  top: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 1.35rem;
  background: #0a1f33;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.phone-showcase__screen {
  border-radius: 1.65rem;
  overflow: hidden;
  background: #000;
  line-height: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.phone-showcase__screen img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.phone-showcase__caption {
  margin: 0;
  font-size: var(--step-0);
  color: var(--text-muted);
  text-align: center;
  max-width: 28rem;
}

.two-col {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .two-col--live-ui {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
    align-items: start;
    gap: clamp(1.25rem, 2.5vw, 2rem);
  }
}

.spec-table-wrap {
  overflow-x: visible;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.spec-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: var(--step-0);
  min-width: 0;
  table-layout: fixed;
}

.spec-table th,
.spec-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (min-width: 640px) {
  .spec-table th,
  .spec-table td {
    padding: 0.9rem 1.1rem;
  }
}

.spec-table th {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.spec-table th:first-child {
  background: linear-gradient(180deg, #1e3a8a 0%, var(--lil-blue-dark) 100%);
}

.spec-table th:last-child {
  background: linear-gradient(180deg, var(--big-orange-dark) 0%, var(--big-orange) 100%);
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.cta-row {
  margin: 2rem 0;
}

.cta-row .btn {
  width: 100%;
  max-width: 320px;
}

@media (min-width: 480px) {
  .cta-row .btn {
    width: auto;
  }
}

.tip-cards {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .tip-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tip-card {
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  border: none;
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 20px rgba(30, 60, 90, 0.11);
}

.tip-card:nth-child(3n + 1) {
  background: linear-gradient(160deg, #7eb4ec 0%, #5c96d6 42%, #4a7fc0 100%);
}

.tip-card:nth-child(3n + 2) {
  background: linear-gradient(160deg, #f2c896 0%, #e59862 46%, #d8834e 100%);
}

.tip-card:nth-child(3n + 3) {
  background: linear-gradient(160deg, #f0b0b0 0%, #e07878 46%, #cc6868 100%);
}

.tip-card p {
  color: rgba(255, 255, 255, 0.88);
}

.tip-card b {
  color: rgba(255, 255, 255, 0.96);
}

.tip-card .tip-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1rem;
  background: var(--bg-card);
  box-shadow: 0 6px 22px rgba(23, 37, 84, 0.08);
}

.faq-item h3 {
  margin: 0 0 0.65rem;
  font-size: var(--step-1);
  line-height: 1.35;
  color: var(--accent-dark);
  padding-left: 0.65rem;
  border-left: 4px solid var(--coral);
}

.faq-item h3 strong {
  color: inherit;
  font-weight: 800;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  max-width: none;
}

.site-footer {
  padding: 2.5rem clamp(1rem, 4vw, 2rem);
  background: linear-gradient(180deg, var(--bg-soft), #cfe8fb);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-subpages {
  margin: 0 0 1.35rem;
}

.footer-subpages ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  justify-content: center;
}

.footer-subpages a {
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
}

.footer-subpages a:hover,
.footer-subpages a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-note {
  font-size: var(--step-0);
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 1.5rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.organisation-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
}

.organisation-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.organisation-logos a:hover,
.organisation-logos a:focus-visible {
  box-shadow: var(--shadow);
  background: #fff;
}

.organisation-logos img {
  max-height: 22px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Single cool tone aligned with --accent / page background (ice blue) */
  filter: grayscale(100%) sepia(100%) hue-rotate(168deg) saturate(0.42) brightness(0.92) contrast(1.08);
  opacity: 0.88;
  transition: filter 0.35s ease, opacity 0.35s ease;
}

.organisation-logos a:hover img,
.organisation-logos a:focus-visible img {
  filter: none;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .organisation-logos img,
  .organisation-logos a {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 899px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }

  .site-header .brand,
  .site-header .site-nav,
  .site-header .header-actions {
    grid-column: auto;
    justify-self: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .cta-row {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .cta-row .btn {
    width: auto;
    max-width: min(100%, 320px);
  }

  .organisation-logos {
    gap: 0.3rem 0.45rem;
    max-width: 16.5rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.25rem;
  }

  .organisation-logos a {
    padding: 0.2rem 0.3rem;
    border-radius: 8px;
  }

  .brand-logo {
    height: clamp(2.7rem, 6vw, 3.6rem);
    max-width: min(240px, 57.6vw);
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(232, 244, 252, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(30, 77, 122, 0.15);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s;
    pointer-events: none;
    z-index: 999;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.65rem 0.75rem;
    font-size: var(--step-1);
  }
}

.decor-inline {
  display: inline-block;
  margin: 0 0.15em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}
