/* ═══════════════════════════════════════════════════════════════════
   MechKeyReview — Typeform Editorial Design System
   Dark aubergine hero + cream canvas sections, Playfair Display headlines
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Typeform palette */
  --c-aubergine:    #2a222b;
  --c-deep-plum:    #3e3040;
  --c-violet:       #9454ab;
  --c-lavender:     #ddb7f0;
  --c-cream:        #faf9fb;
  --c-parchment:    #f5f3f6;
  --c-white:        #ffffff;
  --c-ash:          #655d67;
  --c-fog:          #837a85;
  --c-mist:         #d4d1d5;
  --c-slate:        #564b58;

  /* Semantic — light mode (page default) */
  --c-bg:           #faf9fb;
  --c-surface-low:  #f5f3f6;
  --c-surface-ct:   #ffffff;
  --c-surface-ct-h: #f5f3f6;
  --c-surface-ct-hh:#ede8ef;
  --c-on-surface:   #2a222b;
  --c-on-surface-v: #655d67;
  --c-outline:      #837a85;
  --c-outline-v:    #d4d1d5;

  /* Brand */
  --c-primary:      #9454ab;   /* Violet Mist — eyebrow labels, accents */
  --c-primary-ct:   #2a222b;   /* Aubergine — CTA button fill */
  --c-secondary:    #564b58;   /* Slate Mid */

  /* Legacy aliases for article templates */
  --c-accent:       #9454ab;
  --c-accent-h:     #7d3d92;
  --c-text:         #2a222b;
  --c-muted:        #655d67;
  --c-border:       #d4d1d5;
  --c-dark:         #2a222b;
  --c-dark-2:       #3e3040;
  --c-surface:      #ffffff;

  /* Typography */
  --f-display: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --f-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:    'Inter', system-ui, sans-serif;
  --f-code:    'JetBrains Mono', 'Fira Code', monospace;

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows — minimal, elevation via color contrast */
  --sh-sm: 0 1px 4px rgba(42,34,43,0.07);
  --sh-md: 0 4px 20px rgba(42,34,43,0.09);
  --sh-lg: 0 8px 40px rgba(42,34,43,0.11);
  --sh-xl: 0 24px 64px rgba(42,34,43,0.14);

  /* Radii — Typeform: 12px buttons, 24px cards, 8px images */
  --r-xs:  0.25rem;   /*  4px */
  --r-sm:  0.5rem;    /*  8px — images */
  --r-md:  0.75rem;   /* 12px — buttons, tags */
  --r-lg:  1.5rem;    /* 24px — cards */
  --r-xl:  5rem;      /* 80px — pills */
}

/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-on-surface);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-sans);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--c-on-surface);
}

a { color: var(--c-primary); }

/* ── Navbar — Typeform style, white background ───────────────────── */
.mkr-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #ffffff;
  transition: box-shadow 0.3s var(--ease-out);
  height: 4rem;
  display: flex;
  align-items: center;
}

.mkr-nav.is-scrolled { box-shadow: var(--sh-sm); }

/* Inner flex row: logo | links | right */
.mkr-nav-inner {
  display: flex;
  align-items: center;
  max-width: 1280px;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
}

/* ── Brand ──────────────────────────────────────────────────────── */
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 2rem;
  height: 100%;
}
.nav-brand:hover { opacity: 0.8; }

/* ── Logo split animation ─────────────────────────────────────── */
.logo-wrap {
  display: flex;
  align-items: center;
  position: relative;
}
.logo-icon {
  display: block;
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
/* Clip container sits right after the icon — this is the "wall" */
.logo-text-clip {
  display: flex;
  align-items: center;
  overflow: hidden;
}
.logo-text {
  display: block;
  height: 40px;
  width: auto;
  transform: translateX(0);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.mkr-nav.logo-scrolled .logo-text {
  transform: translateX(-100%);
  pointer-events: none;
}

/* ── Center nav links ───────────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  padding: 0; margin: 0;
  flex: 1;
  height: 100%;
}

.nav-item {
  display: flex;
  align-items: center;
  height: 100%;
  /* default position:relative so Bootstrap dropdowns work */
  position: relative;
}

/* has-mega must be static so mega-panel's position:absolute
   travels up to .mkr-nav (sticky containing block) for full width */
.has-mega { position: static; }

.nav-link {
  font-family: var(--f-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-on-surface);
  padding: 0 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: color 0.15s;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--c-primary);
}

/* Chevron SVG inside trigger link */
.nav-chevron {
  flex-shrink: 0;
  color: var(--c-on-surface-v);
  transition: transform 0.22s var(--ease-out), color 0.15s;
}

@media (min-width: 992px) {
  .has-mega:hover .nav-chevron,
  .has-mega.mega-open .nav-chevron {
    transform: rotate(180deg);
    color: var(--c-primary);
  }
  .has-mega:hover > a.nav-link,
  .has-mega.mega-open > a.nav-link {
    color: var(--c-primary);
  }
}

/* ── Mega panel ─────────────────────────────────────────────────── */
/* Hidden state — visible on desktop hover or .mega-open (keyboard/mobile) */
.mega-panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 3px 4px rgba(42,34,43,0.1);
  z-index: 1020;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease-out),
              transform 0.2s var(--ease-out),
              visibility 0s 0.2s;
  pointer-events: none;
}

@media (min-width: 992px) {
  .has-mega:hover .mega-panel,
  .has-mega.mega-open .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.2s var(--ease-out),
                transform 0.2s var(--ease-out),
                visibility 0s;
    pointer-events: auto;
  }
}

/* Centered columns container */
.mega-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 2.25rem;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.mega-col { flex: 1; min-width: 0; }
.mega-col-featured { flex: 0 0 280px; }

/* Column heading (ALL CAPS, violet) */
.mega-col-label {
  font-family: var(--f-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin: 0 0 0.75rem;
  padding: 0 0.875rem;
}

.mega-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

/* Individual mega-menu link */
.mega-link {
  display: flex;
  flex-direction: column;
  padding: 0.625rem 0.875rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.15s;
}
.mega-link:hover { background: var(--c-parchment); }

.mega-link-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-on-surface);
  line-height: 1.3;
}
.mega-link-desc {
  font-size: 0.78rem;
  color: var(--c-on-surface-v);
  line-height: 1.4;
  margin-top: 0.15rem;
}

/* Featured card */
.mega-card {
  display: block;
  text-decoration: none;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-mist);
  background: var(--c-surface-low);
  transition: box-shadow 0.18s, transform 0.18s;
}
.mega-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.mega-card-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.mega-card-body { padding: 0.875rem 1rem; }
.mega-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-on-surface);
  margin: 0 0 0.2rem;
  line-height: 1.4;
}
.mega-card-desc {
  font-size: 0.78rem;
  color: var(--c-on-surface-v);
  margin: 0;
  line-height: 1.4;
}

/* ── Right side ─────────────────────────────────────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.lang-pill {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--f-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-on-surface);
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--c-mist);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
  background: none;
  text-decoration: none;
}
.lang-pill:hover, .lang-pill:focus {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

/* Lang switcher dropdown */
.mkr-nav .dropdown-menu {
  border: 1px solid var(--c-mist);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: 0.375rem;
  min-width: 160px;
  background: var(--c-white);
  animation: dropIn 0.18s var(--ease-out);
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mkr-nav .dropdown-item {
  border-radius: var(--r-xs);
  font-family: var(--f-sans);
  font-size: 0.875rem;
  padding: 0.5rem 0.875rem;
  color: var(--c-on-surface);
  transition: background 0.15s, color 0.15s;
}
.mkr-nav .dropdown-item:hover,
.mkr-nav .dropdown-item.active {
  background: var(--c-parchment);
  color: var(--c-primary);
}

/* ── Mobile toggler ─────────────────────────────────────────────── */
.nav-toggler-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--c-mist);
  border-radius: var(--r-md);
  cursor: pointer;
  padding: 0.5rem 0.625rem;
  margin-left: 0.75rem;
  flex-shrink: 0;
}
.nav-toggler-btn span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--c-on-surface);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
/* Hamburger → X animation */
.nav-toggler-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggler-btn.is-open span:nth-child(2) { opacity: 0; }
.nav-toggler-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile layout ──────────────────────────────────────────────── */
@media (max-width: 991px) {
  /* Allow nav to grow vertically when open */
  .mkr-nav {
    height: auto;
    min-height: 4rem;
    align-items: flex-start;
  }

  .mkr-nav-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 4rem;
    align-items: center;   /* keep logo + toggler vertically centred */
  }

  /* Logo + toggler sit on the first row */
  .nav-brand { height: 4rem; margin-right: auto; }

  /* Toggler always at right edge of first row */
  .nav-toggler-btn {
    display: flex;
    margin-left: 0;
    order: 1;
  }

  /* Collapse items:
     flex: 0 0 100% overrides the desktop flex:1 (flex-basis:0%)
     so they always wrap to a NEW full-width row below logo+toggler */
  .nav-collapse {
    display: none;
    flex: 0 0 100%;
    order: 2;             /* after brand (0) and toggler (1) */
  }

  .nav-links.nav-collapse.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 1rem;
    gap: 0;
    background: #ffffff;
    border-top: 1px solid var(--c-mist);
  }

  .nav-right.nav-collapse.open {
    display: flex;
    justify-content: flex-start;
    padding: 0.75rem 1.25rem 1rem;
    border-top: 1px solid var(--c-mist);
    background: #ffffff;
  }

  .nav-item { height: auto; width: 100%; }

  .nav-link {
    height: auto;
    width: 100%;
    padding: 0.75rem 1.25rem;
    justify-content: space-between;
  }

  /* Mega panel: accordion — always in normal flow, revealed with max-height */
  .has-mega { position: static; }

  .mega-panel {
    position: static !important;
    display: block !important;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    background: var(--c-parchment);
    pointer-events: none;
    transition: max-height 0.3s ease;
    border-top: none;
    width: 100%;
  }

  .has-mega.mega-open .mega-panel {
    max-height: 500px;
    pointer-events: auto;
    border-top: 1px solid var(--c-mist);
  }

  /* Prevent the desktop :hover rule from reopening on touch devices */
  .has-mega:hover .mega-panel {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .mega-inner {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  /* Mobile mega: flat link list, no card, no descriptions */
  .mega-col-featured { display: none; }
  .mega-link-desc    { display: none; }
  .mega-col { border-bottom: 1px solid rgba(42,34,43,0.12); }
  .mega-col:last-child { border-bottom: none; }
  .mega-col-label { padding: 0.5rem 1.25rem 0.25rem; margin-bottom: 0; font-size: 0.62rem; }
  .mega-link { padding: 0.625rem 1.25rem; border-radius: 0; }
  .mega-list { gap: 0; }
}

/* ── Hero — dark aubergine ────────────────────────────────────────── */
.mkr-hero {
  background-color: #2a222b;
  padding: 6rem 0 5.5rem;
  overflow: hidden;
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: luminosity;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(42,34,43,0.6) 70%, rgba(42,34,43,0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

.mkr-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%; height: 120%;
  background: radial-gradient(ellipse at center, rgba(148,84,171,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.mkr-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(221,183,240,0.3), transparent);
}

.mkr-hero .container { position: relative; z-index: 2; }

.hero-split {
  display: grid;
  justify-content: center;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  justify-content: center;
  font-family: var(--f-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-lavender);
  margin-bottom: 1.5rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--f-display);
  font-size: clamp(3.25rem, 4.75vw, 5.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.031em;
  color: #faf9fb;
  margin-bottom: 1.375rem;
}

.hero-title em {
  font-style: italic;
  color: var(--c-lavender);
}

.hero-sub {
  text-align: center;
  font-size: 1.2625rem; 
  line-height: 1.7;
  color: rgba(250,249,251,0.72);
  max-width: 55ch;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn-mkr {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.625rem 1.5rem;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0;
  border-radius: var(--r-md);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.15s var(--ease-out), background 0.18s;
  will-change: transform;
}
.btn-mkr:active { transform: scale(0.97) !important; }

/* Primary — aubergine fill, cream text */
.btn-mkr-primary {
  background: #2a222b;
  color: #faf9fb;
  border-color: #2a222b;
}
.btn-mkr-primary:hover {
  opacity: 0.85;
  color: #faf9fb;
  transform: translateY(-1px);
}

/* On dark hero backgrounds */
.mkr-hero .btn-mkr-primary {
  background: #faf9fb;
  color: #2a222b;
  border-color: #faf9fb;
}
.mkr-hero .btn-mkr-primary:hover {
  opacity: 0.9;
  color: #2a222b;
}

.btn-mkr-purple {
    background: var(--c-primary-ct);
    color: white;
    transition: background-color .2s, border-radius .3s ease-out;
}

.btn-mkr-purple:hover {
    border-radius: calc(.75rem * 1.33);
    background-color: #564b58;
}

.btn-mkr-white {
    background: white;
    color: var(--c-primary-ct);
    transition: background-color .2s, border-radius .3s ease-out;
}

.btn-mkr-white:hover {
    border-radius: calc(.75rem * 1.33);
    background-color: var(--c-cream);
}

.btn-mkr-ghost {
  background: transparent;
  color: var(--c-on-surface-v);
  border: 1px solid var(--c-mist);
}

.btn-mkr-ghost:hover {
  background: var(--c-parchment);
  color: var(--c-on-surface);
  border-color: var(--c-outline);
  transform: translateY(-1px);
}

/* Ghost on dark backgrounds */
.mkr-hero .btn-mkr-ghost {
  color: rgba(250,249,251,0.7);
  border-color: rgba(250,249,251,0.2);
}
.mkr-hero .btn-mkr-ghost:hover {
  background: rgba(250,249,251,0.1);
  color: #faf9fb;
  border-color: rgba(250,249,251,0.4);
}

.btn-mkr-outline {
  background: transparent;
  color: var(--c-primary);
  border: 1px solid var(--c-mist);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}
.btn-mkr-outline:hover {
  background: var(--c-parchment);
  color: var(--c-primary);
  border-color: var(--c-primary);
  transform: translateY(-1px);
}

/* ── Hero Visual (decorative cards on dark hero) ──────────────────── */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
}

.hv-card {
  background: rgba(62,48,64,0.85);
  border: 1px solid rgba(221,183,240,0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.2s;
}
.hv-card:hover {
  transform: translateY(-3px);
  border-color: rgba(221,183,240,0.28);
}

.hv-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid rgba(221,183,240,0.1);
}

.hv-thumb {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hv-thumb-red  { background: linear-gradient(135deg, #d42f27, #ffb4aa); }
.hv-thumb-blue { background: linear-gradient(135deg, #3e3040, #9454ab); }

.hv-chip {
  font-family: var(--f-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  display: inline-block;
  margin-bottom: 0.25rem;
  border-radius: var(--r-xs);
}
.hv-chip-red  { background: rgba(212,47,39,0.18);  color: #ffb4aa; border: 1px solid rgba(255,180,170,0.2); }
.hv-chip-blue { background: rgba(148,84,171,0.2);  color: var(--c-lavender); border: 1px solid rgba(221,183,240,0.2); }

.hv-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #faf9fb;
  line-height: 1.3;
}

.hv-meta {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  color: rgba(250,249,251,0.5);
  display: flex; align-items: center; gap: 0.4rem;
}
.hv-stars { color: #fbbf24; }

.hv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(221,183,240,0.1);
}
.hv-stat {
  padding: 0.875rem 0.75rem;
  text-align: center;
  border-right: 1px solid rgba(221,183,240,0.1);
}
.hv-stat:last-child { border-right: none; }
.hv-stat-val {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #faf9fb;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hv-stat-lbl {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250,249,251,0.4);
  margin-top: 0.2rem;
}

@media (max-width: 991px) {
  .hero-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
}

/* ── Sections ─────────────────────────────────────────────────────── */
.mkr-section    { padding: 6rem 0; }
.mkr-section-sm { padding: 3.5rem 0; }

.mkr-section-low {
  background: var(--c-surface-low);
  border-bottom: 1px solid var(--c-mist);
}

/* Dark section variant (FAQ, alternating) */
.mkr-section-dark {
  background: #2a222b;
  color: #faf9fb;
}
.mkr-section-dark h1,
.mkr-section-dark h2,
.mkr-section-dark h3,
.mkr-section-dark h4 { color: #faf9fb; }
.mkr-section-dark p  { color: rgba(250,249,251,0.72); }
.mkr-section-dark .section-eyebrow { color: var(--c-lavender); }
.mkr-section-dark .section-title   { color: #faf9fb; }

/* Section headings */
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.031em;
  margin-bottom: 2rem;
  color: var(--c-on-surface);
}

/* ── Section eyebrow ──────────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--f-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── View toggle ──────────────────────────────────────────────────── */
.articles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.view-toggle {
  display: flex;
  gap: 0.375rem;
  flex-shrink: 0;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--c-mist);
  border-radius: var(--r-md);
  color: var(--c-on-surface-v);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.view-btn:hover { border-color: var(--c-outline); color: var(--c-on-surface); }
.view-btn.active { border-color: var(--c-primary); color: var(--c-primary); background: rgba(148,84,171,0.06); }

/* ── Article grid (homepage) ──────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* List view override */
.articles-grid.view-list {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.articles-grid.view-list .article-card { flex-direction: row; }
.articles-grid.view-list .article-card .ac-image {
  width: 280px;
  min-width: 280px;
  height: auto;
  min-height: 180px;
}
.articles-grid.view-list .article-card .ac-body { padding: 1.5rem 1.75rem; }
.articles-grid.view-list .article-card .card-desc { margin-bottom: 1rem; }

/* Article card */
.article-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
  will-change: transform;
}
.article-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-2px);
  color: inherit;
}

.ac-image {
  background: var(--c-parchment);
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ac-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.af-image-placeholder { opacity: 0.07; }

.ac-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Featured card */
.article-featured {
  display: grid;
  grid-template-columns: 45% 1fr;
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.article-featured:hover {
  border-color: var(--c-primary);
  transform: translateY(-2px);
  color: inherit;
}
.af-image {
  background: var(--c-parchment);
  position: relative;
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.af-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.af-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.af-body .card-title { font-size: 1.625rem; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.af-body .card-desc  { font-size: 1rem; color: var(--c-on-surface-v); line-height: 1.7; max-width: 48ch; margin-bottom: 1.5rem; }

/* Shared card pieces */
.card-tag {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.75rem;
  border-radius: var(--r-md);
}
.card-tag.reviews     { background: rgba(148,84,171,0.08); color: var(--c-primary);    border: 1px solid rgba(148,84,171,0.18); }
.card-tag.switches    { background: rgba(59,130,246,0.08);  color: #1d4ed8;             border: 1px solid rgba(59,130,246,0.22);  }
.card-tag.keycaps     { background: rgba(20,184,166,0.08);  color: #0f766e;             border: 1px solid rgba(20,184,166,0.22);  }
.card-tag.guides      { background: rgba(42,34,43,0.06);    color: var(--c-on-surface); border: 1px solid var(--c-mist);          }
.card-tag.comparisons { background: rgba(245,158,11,0.08);  color: #92700a;             border: 1px solid rgba(245,158,11,0.22);  }
.card-tag.learn       { background: rgba(34,197,94,0.08);   color: #166534;             border: 1px solid rgba(34,197,94,0.22);   }
.card-tag.history     { background: rgba(180,120,60,0.08);  color: #7c4f1e;             border: 1px solid rgba(180,120,60,0.22);  }
.card-tag.tutorials   { background: rgba(99,102,241,0.08);  color: #4338ca;             border: 1px solid rgba(99,102,241,0.22);  }

.card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--c-on-surface);
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--c-on-surface-v);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.card-footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--c-mist);
  margin-top: auto;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-on-surface);
}
.card-rating .s { color: #b8860b; }

.card-cta {
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s, opacity 0.2s;
}
.card-cta:hover { gap: 0.5rem; opacity: 0.8; }

/* Section CTA button */
.section-cta { text-align: center; margin-top: 3rem; }

@media (max-width: 991px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .articles-grid { grid-template-columns: 1fr; }
  .articles-grid.view-list .article-card { flex-direction: column; }
  .articles-grid.view-list .article-card .ac-image { width: 100%; min-width: unset; height: 200px; min-height: unset; }
  .article-featured { grid-template-columns: 1fr; }
  .af-image { min-height: 200px; }
  .af-body { padding: 1.5rem; }
  .af-body .card-title { font-size: 1.25rem; }
  .articles-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ── Comparison table ─────────────────────────────────────────────── */
.mkr-table-wrap {
  border: 1px solid var(--c-mist);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.mkr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--c-white);
}

.mkr-table thead th {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-primary);
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--c-mist);
  background: var(--c-parchment);
  text-align: left;
}

.mkr-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(212,209,213,0.5);
  color: var(--c-on-surface-v);
  vertical-align: middle;
}
.mkr-table tr:last-child td { border-bottom: none; }
.mkr-table tr:hover td     { background: var(--c-parchment); }
.mkr-table .td-name   { font-weight: 600; color: var(--c-on-surface); }
.mkr-table .td-rating { font-family: var(--f-sans); font-weight: 600; color: #92700a; }

/* ── Article pages ────────────────────────────────────────────────── */
.article-header { margin-bottom: 2rem; }

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-sans);
  font-size: 0.8rem;
  color: var(--c-on-surface-v);
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.meta-sep { color: var(--c-mist); }

.rating-badge-lg {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--c-parchment);
  border: 1px solid var(--c-mist);
  border-radius: var(--r-md);
  margin-bottom: 2rem;
}
.rbl-score {
  font-family: var(--f-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--c-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.rbl-stars { color: #b8860b; font-size: 1.1rem; letter-spacing: 0.06em; }
.rbl-label { font-family: var(--f-sans); font-size: 0.75rem; color: var(--c-on-surface-v); margin-top: 0.15rem; }

article h1 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--c-on-surface);
}

article h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-on-surface);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-mist);
  letter-spacing: -0.02em;
}

article p {
  margin-bottom: 1.1rem;
  color: var(--c-on-surface-v);
  font-size: 1.0625rem;
  line-height: 1.75;
}

article strong { color: var(--c-on-surface); }

/* Specs table */
.mkr-specs {
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.mkr-specs table { width: 100%; border-collapse: collapse; }
.mkr-specs td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(212,209,213,0.6);
  font-size: 0.9rem;
  vertical-align: top;
  color: var(--c-on-surface-v);
}
.mkr-specs tr:last-child td { border-bottom: none; }
.mkr-specs tr:hover td { background: var(--c-parchment); }
.mkr-specs .sl {
  font-family: var(--f-sans);
  font-weight: 600;
  color: var(--c-primary);
  width: 35%;
}
/* div/span variant (some articles use div rows instead of table) */
.mkr-specs > div {
  display: flex;
  border-bottom: 1px solid rgba(212,209,213,0.6);
}
.mkr-specs > div:last-child { border-bottom: none; }
.mkr-specs > div:hover { background: var(--c-parchment); }
.mkr-specs > div > span:first-child {
  font-family: var(--f-sans);
  font-weight: 600;
  color: var(--c-primary);
  width: 35%;
  flex-shrink: 0;
  padding: 0.875rem 1.25rem;
  font-size: 0.9rem;
}
.mkr-specs > div > span:last-child {
  padding: 0.875rem 1.25rem;
  color: var(--c-on-surface-v);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Pros / Cons */
.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.pc-box { border-radius: var(--r-md); overflow: hidden; }
.pc-box-head {
  padding: 0.75rem 1rem;
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pc-box.pros { border: 1px solid rgba(148,84,171,0.22); }
.pc-box.pros .pc-box-head { background: rgba(148,84,171,0.07); color: var(--c-primary); border-bottom: 1px solid rgba(148,84,171,0.15); }
.pc-box.cons { border: 1px solid rgba(42,34,43,0.16); }
.pc-box.cons .pc-box-head { background: var(--c-parchment); color: var(--c-on-surface); border-bottom: 1px solid var(--c-mist); }
.pc-list { list-style: none; padding: 0.5rem 0; margin: 0; background: var(--c-white); }
.pc-list li {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  color: var(--c-on-surface-v);
  display: flex; gap: 0.6rem; align-items: flex-start;
}
.pros .pc-list li::before { content: "+"; color: var(--c-primary); font-weight: 700; flex-shrink: 0; }
.cons .pc-list li::before { content: "−"; color: var(--c-fog); font-weight: 700; flex-shrink: 0; }
@media (max-width: 575px) { .pc-grid { grid-template-columns: 1fr; } }

/* Amazon CTA */
.amazon-cta {
  background: #2a222b;
  border-radius: var(--r-lg);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
.amazon-cta h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: #faf9fb; font-family: var(--f-display); font-weight: 400; }
.amazon-cta p  { color: rgba(250,249,251,0.65); font-size: 0.9rem; margin-bottom: 1.25rem; }
.amazon-cta .btn-mkr-primary {
  background: #faf9fb;
  color: #2a222b;
  border-color: #faf9fb;
}
.amazon-cta .btn-mkr-primary:hover {
  opacity: 0.9;
  color: #2a222b;
}

/* Verdict */
.verdict-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--c-parchment);
  border: 1px solid var(--c-mist);
  border-radius: var(--r-md);
  margin-bottom: 2rem;
}
.verdict-score {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--c-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--c-mist) !important;
  border-radius: var(--r-md) !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--c-white) !important;
}
.accordion-button {
  font-family: var(--f-sans) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  background: var(--c-white) !important;
  color: var(--c-on-surface) !important;
  box-shadow: none !important;
  padding: 1.1rem 1.25rem !important;
}
.accordion-button:not(.collapsed) {
  background: var(--c-parchment) !important;
  color: var(--c-primary) !important;
}
.accordion-button::after { filter: none; opacity: 0.4; }
.accordion-body {
  font-size: 0.9rem;
  color: var(--c-on-surface-v);
  padding: 1rem 1.25rem 1.25rem;
  background: var(--c-white);
}

/* Breadcrumb */
.mkr-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-sans);
  font-size: 0.8rem;
  color: var(--c-on-surface-v);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.mkr-breadcrumb a { color: var(--c-on-surface-v); text-decoration: none; }
.mkr-breadcrumb a:hover { color: var(--c-primary); }
.mkr-breadcrumb .sep { opacity: 0.35; }

/* ── Footer — dark aubergine ──────────────────────────────────────── */
.mkr-footer {
  border-radius: 1.5em 1.5em 0 0;
  background-color: #2a222b;
  border-top: 1px solid rgba(221,183,240,0.12);
  padding: 4.5rem 0 2.5rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(221,183,240,0.1);
  margin-bottom: 2rem;
}

.footer-brand-link {
  display: block;
  text-decoration: none;
  margin-bottom: 0.875rem;
  opacity: 0.9;
}
.footer-brand-link:hover { opacity: 1; }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(250,249,251,0.45);
  line-height: 1.65;
  max-width: 30ch;
}

.footer-col-label {
  font-family: var(--f-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,249,251,0.35);
  margin-bottom: 1rem;
}

.footer-link-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-link-list a {
  font-size: 0.875rem;
  color: rgba(250,249,251,0.55);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-link-list a:hover { color: var(--c-lavender); }

/* Logo appears white on dark footer */
.mkr-footer .footer-brand-link img { filter: brightness(0) invert(1); opacity: 0.85; }
.mkr-footer .footer-brand-link:hover img { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--f-sans);
  font-size: 0.75rem;
  color: rgba(250,249,251,0.3);
}

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Scroll reveal ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ── Bootstrap overrides ──────────────────────────────────────────── */
.container { max-width: 1280px; }
.badge { font-family: var(--f-sans); font-weight: 600; }
.btn  { font-family: var(--f-sans); font-weight: 600; }

.table {
  font-family: var(--f-sans);
  color: var(--c-on-surface-v);
  border-color: var(--c-mist);
}
.table thead th {
  color: var(--c-primary) !important;
  background: var(--c-parchment) !important;
  border-color: var(--c-mist) !important;
  font-family: var(--f-sans);
  font-size: 0.8125rem;
}
.table > :not(caption) > * > * { border-color: rgba(212,209,213,0.5) !important; color: var(--c-on-surface-v); }
.table tbody tr:hover > * { background: var(--c-parchment) !important; color: var(--c-on-surface); }

.form-control, .form-select {
  font-family: var(--f-sans);
  background-color: var(--c-white);
  border-color: var(--c-mist);
  color: var(--c-on-surface);
}

.card {
  border-radius: var(--r-lg);
  border-color: var(--c-mist);
  background: var(--c-white);
  font-family: var(--f-sans);
  color: var(--c-on-surface);
}

.table-responsive {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-mist);
}

/* ── Video embed ──────────────────────────────────────────────────── */
.mkr-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-mist);
  margin: 2rem 0;
  background: var(--c-parchment);
}
.mkr-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.mkr-video-label {
  font-family: var(--f-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.mkr-video-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-primary);
}

/* ── Inline article images ────────────────────────────────────────── */
.article-img-block { margin: 2.5rem 0; }
.article-img-block img {
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-mist);
  display: block;
}
.article-img-caption {
  font-family: var(--f-sans);
  font-size: 0.8rem;
  color: var(--c-fog);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── Profile pick cards ───────────────────────────────────────────── */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.profile-card {
  border: 1px solid var(--c-mist);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  background: var(--c-white);
  transition: border-color 0.18s;
}
.profile-card:hover { border-color: var(--c-primary); }
.profile-card-label {
  font-family: var(--f-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 0.4rem;
}
.profile-card-title   { font-size: 0.95rem; font-weight: 600; color: var(--c-on-surface); margin-bottom: 0.35rem; }
.profile-card-pick    { font-size: 0.8rem; color: var(--c-primary); margin-bottom: 0.25rem; font-weight: 500; }
.profile-card-detail  { font-size: 0.8rem; color: var(--c-on-surface-v); line-height: 1.55; }
@media (max-width: 600px) { .profile-grid { grid-template-columns: 1fr; } }

/* ── Blog pagination ──────────────────────────────────────────────── */
.mkr-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  font-family: var(--f-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-on-surface-v);
  border: 1px solid var(--c-mist);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.page-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(148,84,171,0.05);
}
.page-btn.active {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(148,84,171,0.08);
  pointer-events: none;
}

/* ── FAQ + About section ──────────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.faq-about p {
  font-size: 0.95rem;
  color: rgba(250,249,251,0.65);
  line-height: 1.7;
  margin: 0 0 1rem 0;
}
.faq-about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.about-tag {
  background: rgba(250,249,251,0.07);
  border-radius: var(--r-md);
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(250,249,251,0.7);
}
.faq-list-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1.25rem 0;
  color: rgba(250,249,251,0.9);
}
.faq-item {
  border-radius: var(--r-md);
  margin-bottom: 0.6rem;
  overflow: hidden;
  background: rgba(62,48,64,0.5);
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(221,183,240,0.25); }
.faq-question {
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  list-style: none;
  user-select: none;
  color: rgba(250,249,251,0.85);
  transition: color 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--c-lavender); }
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s;
  color: rgba(250,249,251,0.35);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1.15rem; }
.faq-answer p {
  font-size: 0.88rem;
  color: rgba(250,249,251,0.5);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) { .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ── Misc utility ─────────────────────────────────────────────────── */
.td-name   { font-weight: 600; color: var(--c-on-surface); }
.td-rating { font-weight: 600; color: #92700a; }

/* ── Static pages (Legal, Privacy, Cookies, Contact, 404) ─────────── */
.mkr-page-hero {
  background: var(--c-aubergine);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mkr-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 120%, rgba(148,84,171,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.mkr-page-hero .section-eyebrow {
  color: var(--c-lavender);
  border-color: rgba(221,183,240,0.2);
  background: rgba(221,183,240,0.08);
  position: relative; z-index: 1;
}
.mkr-page-hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: #ffffff;
  margin: 0.75rem 0 0;
  letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.mkr-page-hero .page-meta {
  font-size: 0.82rem;
  color: rgba(250,249,251,0.4);
  margin: 0.75rem 0 0;
  position: relative; z-index: 1;
}

.mkr-page-body {
  padding: 4rem 0 5.5rem;
  background: var(--c-bg);
}
.mkr-page-body .page-content {
  max-width: 780px;
  margin: 0 auto;
}
.mkr-page-body h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--c-on-surface);
  margin: 3rem 0 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-mist);
  letter-spacing: -0.01em;
}
.mkr-page-body .page-content > h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.mkr-page-body h3 {
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-on-surface);
  margin: 1.75rem 0 0.6rem;
}
.mkr-page-body p {
  font-size: 0.9375rem;
  color: var(--c-on-surface-v);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.mkr-page-body ul, .mkr-page-body ol {
  font-size: 0.9375rem;
  color: var(--c-on-surface-v);
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.mkr-page-body li { margin-bottom: 0.3rem; }
.mkr-page-body a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.mkr-page-body a:hover { color: var(--c-accent-h); }
.mkr-page-body strong { font-weight: 600; color: var(--c-on-surface); }

/* 404 page */
.mkr-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--c-bg);
  padding: 5rem 1rem;
}
.mkr-404-inner { max-width: 480px; }
.mkr-404-number {
  font-family: var(--f-display);
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 400;
  color: var(--c-primary);
  line-height: 1;
  opacity: 0.25;
  letter-spacing: -0.05em;
  margin-bottom: 0;
}
.mkr-404-inner h1 {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--c-on-surface);
  margin: 0 0 1rem;
}
.mkr-404-inner p {
  font-size: 1rem;
  color: var(--c-on-surface-v);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card {
  background: var(--c-white);
  border: 1px solid var(--c-mist);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.contact-info-card h3 {
  font-family: var(--f-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin: 0 0 0.6rem;
}
.contact-info-card p { margin: 0; font-size: 0.92rem; }
.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-primary) !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  margin-top: 0.25rem;
}
.contact-email-link:hover { color: var(--c-accent-h) !important; }
.contact-reasons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.contact-reason {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.1rem;
  background: var(--c-parchment);
  border-radius: var(--r-md);
  border: 1px solid var(--c-mist);
  font-size: 0.88rem;
  color: var(--c-on-surface);
  font-weight: 500;
}
.contact-reason-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: rgba(148,84,171,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .mkr-page-hero { padding: 3rem 0 2.25rem; }
  .mkr-page-body { padding: 2.5rem 0 4rem; }
}
