/* ==========================================================================
   MotoFit marketing site — design system (v3)
   Light, bordered-card UI with yellow used as an accent (buttons, badges,
   highlights), never as a large background. Palette carried over from the
   MotoFit app so the site and the widget feel like one product.
   ========================================================================== */

:root {
  --yellow: #FFD600;
  --yellow-dark: #E6C000;
  --yellow-deep: #B89A00;      /* AA-contrast yellow for small text on white */
  --yellow-pale: #FFF9E0;
  --yellow-glow: rgba(255, 214, 0, 0.22);
  --black: #111111;
  --black-2: #1A1A1A;
  --ink: #2B2B2B;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F7F7F7;
  --gray-150: #F0F0F0;
  --gray-200: #E4E4E4;
  --gray-300: #D1D1D1;
  --gray-400: #A3A3A3;
  --gray-600: #5C5C5C;
  --green: #1E8E3E;
  --green-pale: #E6F4EA;
  --red: #C5221F;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.06), 0 1px 3px rgba(17, 17, 17, 0.04);
  --shadow: 0 8px 28px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 17, 17, 0.14);
  --shadow-yellow: 0 8px 24px rgba(255, 214, 0, 0.30);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: 1180px;
  --container-narrow: 760px;
  --section-pad: clamp(64px, 8vw, 104px);
  --header-h: 72px;
}

/* ---- Reset & base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
strong { font-weight: 700; }
::selection { background: var(--yellow); color: var(--black); }

:focus-visible {
  outline: 3px solid var(--yellow-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--black);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 16px; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 560px) {
  .container, .container-narrow { padding: 0 16px; }
}

/* ---- Typography helpers ---------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow-deep);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}
.text-muted { color: var(--gray-600); }
.link {
  font-weight: 700;
  color: var(--black);
  border-bottom: 2px solid var(--yellow);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.link:hover { border-color: var(--black); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--black); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: var(--radius-sm); }
.btn-primary { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); box-shadow: var(--shadow-yellow); transform: translateY(-1px); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--black-2); box-shadow: 0 8px 20px rgba(17,17,17,0.18); transform: translateY(-1px); }
.btn-outline { background: var(--white); color: var(--black); border-color: var(--gray-200); }
.btn-outline:hover { border-color: var(--black); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: var(--white); }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(17,17,17,0.06); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { color: var(--black); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  position: relative;
  color: var(--gray-600);
  font-size: 14.5px;
  font-weight: 600;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--black); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav .nav-cta, .main-nav .nav-mobile-only { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn-ghost {
  color: var(--gray-600);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 12px;
}
.header-actions .btn-ghost:hover { color: var(--black); }
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--black);
  padding: 8px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 20px 40px rgba(17,17,17,0.10);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--gray-150); font-size: 16px; }
  .main-nav a::after { display: none; }
  .main-nav .nav-mobile-only { display: block; }
  .main-nav .nav-cta { display: flex; margin-top: 14px; border-bottom: 0; padding: 14px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn-primary { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 380px) {
  .header-actions .btn-primary { display: none; }
}

/* ---- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(900px 480px at 85% -10%, var(--yellow-glow), transparent 60%),
    linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(17,17,17,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 80%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 80%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px 7px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .pill {
  background: var(--yellow);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  color: var(--black);
  max-width: 16ch;
  letter-spacing: -0.03em;
}
.hero h1 .hl {
  background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%);
  padding: 0 2px;
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(16.5px, 1.5vw, 19px);
  color: var(--gray-600);
  max-width: 48ch;
}
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--gray-600); display: flex; align-items: flex-start; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--green); }

.hero-proof {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
}
.hero-proof > * {
  display: block;
  font-size: 13.5px;
  color: var(--gray-600);
}
.hero-proof strong { display: block; font-size: 24px; color: var(--black); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 4px; }
.hero-proof a:hover strong { color: var(--yellow-deep); }
.hero-proof .stars { color: var(--yellow-dark); font-size: 14px; letter-spacing: 1px; }

.hero-visual { position: relative; }
.hero-visual .demo-toast {
  position: absolute;
  right: -14px;
  top: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  font-size: 13.5px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.hero-visual .demo-toast.show { opacity: 1; transform: translateY(0); }
.demo-toast .check {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.demo-toast .check svg { width: 18px; height: 18px; }
.demo-toast strong { display: block; font-size: 14px; }
.demo-toast span { color: var(--gray-600); }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: none; }
  .hero-visual .demo-toast { right: 8px; top: -14px; }
  .hero-proof { gap: 12px; }
  .hero-proof strong { font-size: 21px; }
}

/* ---- YMM demo widget (mirrors the live app's UI) --------------------------- */
.demo-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.demo-card-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.demo-card-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); }
.demo-card-bar small { margin-left: 10px; font-size: 12px; color: var(--gray-400); font-weight: 600; }
.demo-card-body { padding: 24px; }
.ymm-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ymm-head img { width: 30px; height: 30px; border-radius: 7px; }
.ymm-title { font-size: 15px; font-weight: 800; color: var(--black); }
.ymm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ymm-field label { display: block; font-size: 12px; font-weight: 700; color: var(--gray-600); margin-bottom: 6px; }
.ymm-row select {
  width: 100%;
  height: 46px;
  padding: 0 34px 0 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ymm-row select:hover:not(:disabled) { border-color: var(--gray-300); }
.ymm-row select:focus { border-color: var(--yellow); outline: none; box-shadow: 0 0 0 3px rgba(255,214,0,0.22); }
.ymm-row select:disabled { background-color: var(--gray-100); color: var(--gray-400); cursor: not-allowed; }
.ymm-actions { display: flex; gap: 10px; margin-top: 14px; }
.ymm-find-btn {
  flex: 1;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--yellow);
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 14.5px;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.ymm-find-btn:hover:not(:disabled) { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.ymm-find-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ymm-clear-btn {
  height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background: var(--gray-100);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
}
.ymm-clear-btn:hover { border-color: var(--gray-300); }

.ymm-results { margin-top: 16px; display: none; }
.ymm-results.show { display: block; animation: fadeUp 0.25s ease; }
.ymm-results-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.ymm-results-count .vehicle { color: var(--yellow); }
.ymm-results-list { max-height: 196px; overflow-y: auto; padding-right: 2px; }
.ymm-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 600;
}
.ymm-result-item .tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-pale);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.ymm-result-item .sub { display: block; font-size: 12px; color: var(--gray-600); font-weight: 500; }
.ymm-note { margin-top: 10px; font-size: 12px; color: var(--gray-400); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  .ymm-row { grid-template-columns: 1fr; }
  .demo-card-body { padding: 18px; }
}

/* ---- Trust / distributor strip ---------------------------------------------- */
.distributor-strip { background: var(--white); padding: 26px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.distributor-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
}
.distributor-strip-label { color: var(--gray-600); font-size: 13.5px; font-weight: 600; flex-shrink: 0; }
.distributor-list { display: flex; gap: 12px; flex-wrap: wrap; }
.distributor-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
}
.distributor-item strong { color: var(--black); font-size: 14.5px; font-weight: 800; letter-spacing: -0.01em; }
.distributor-item span { color: var(--gray-600); font-size: 12px; font-weight: 600; }

/* ---- Section shells --------------------------------------------------------- */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--gray-100); border-top: 1px solid var(--gray-150); border-bottom: 1px solid var(--gray-150); }
.section-head { max-width: 640px; margin: 0 0 clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(27px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.025em; }
.section-head p { margin-top: 14px; font-size: clamp(15.5px, 1.3vw, 17px); color: var(--gray-600); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---- Vehicle-type chips ------------------------------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}
.chip svg { width: 16px; height: 16px; color: var(--yellow-deep); }

/* ---- Feature grid -------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { border-color: var(--yellow); box-shadow: 0 12px 28px rgba(255,214,0,0.14); transform: translateY(-2px); }
.feature-icon {
  width: 46px; height: 46px;
  background: var(--yellow-pale);
  border: 1px solid rgba(230,192,0,0.35);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--black);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--gray-600); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---- Distributor compatibility block --------------------------------------------- */
.dist-compat {
  margin-top: 56px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.dist-compat-left h3 { color: var(--black); font-size: 24px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.dist-compat-left p { color: var(--gray-600); font-size: 15px; }
.dist-compat-left p strong { color: var(--black); }
.dist-compat-left .link-arrow { margin-top: 18px; }
.trademark-note { margin-top: 18px; font-size: 12.5px; color: var(--gray-400); }
.dist-compat-right { display: flex; flex-direction: column; gap: 10px; }
.dist-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: box-shadow 0.15s ease;
}
.dist-card:hover { box-shadow: var(--shadow-sm); }
.dist-card strong { display: block; color: var(--black); font-size: 15px; font-weight: 800; }
.dist-card span { display: block; color: var(--gray-600); font-size: 12.5px; margin-top: 2px; }
.dist-card .link-arrow { font-size: 13px; flex-shrink: 0; }
@media (max-width: 860px) { .dist-compat { grid-template-columns: 1fr; padding: 28px; } }

/* ---- Product tour (screenshots) --------------------------------------------------- */
.tour { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.tour-item {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.tour-item.reverse .tour-media { order: 2; }
.tour-item.reverse .tour-copy { order: 1; }
.tour-media {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  cursor: zoom-in;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tour-media:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tour-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tour-media .zoom {
  position: absolute; right: 12px; bottom: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(17,17,17,0.85);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.tour-media .zoom svg { width: 16px; height: 16px; }
.tour-media:hover .zoom, .tour-media:focus-visible .zoom { opacity: 1; }
.tour-copy .step-tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--black); color: var(--yellow);
  font-weight: 800; font-size: 14px;
  margin-bottom: 16px;
}
.tour-copy h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.tour-copy p { color: var(--gray-600); font-size: 15.5px; }
.tour-copy ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.tour-copy li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.tour-copy li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green); margin-top: 1px; }
@media (max-width: 860px) {
  .tour-item { grid-template-columns: 1fr; }
  .tour-item.reverse .tour-media { order: 1; }
  .tour-item.reverse .tour-copy { order: 2; }
}

.tour-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.tour-mini-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tour-mini-card .tour-media { border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--gray-200); }
.tour-mini-card .tour-media:hover { transform: none; }
.tour-mini-card .body { padding: 22px 24px 26px; }
.tour-mini-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.tour-mini-card p { font-size: 14.5px; color: var(--gray-600); }
@media (max-width: 760px) { .tour-mini { grid-template-columns: 1fr; } }

/* ---- Video facade (click-to-load YouTube) -------------------------------------------- */
.video-wrap { max-width: 960px; margin: clamp(40px, 5vw, 64px) auto 0; }
.video-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  background: var(--black);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: opacity 0.2s ease, transform 0.4s ease; }
.video-facade:hover img { opacity: 1; transform: scale(1.02); }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  width: 100%;
}
.video-play span {
  display: flex; align-items: center; justify-content: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}
.video-play span svg { width: 30px; height: 30px; margin-left: 4px; }
.video-facade:hover .video-play span { transform: scale(1.06); background: var(--yellow-dark); }
.video-caption { text-align: center; margin-top: 14px; font-size: 13.5px; color: var(--gray-600); }

/* ---- Comparison table ------------------------------------------------------------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.compare-col {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--white);
}
.compare-col.good { border-color: var(--yellow); box-shadow: 0 12px 32px rgba(255,214,0,0.16); }
.compare-col h3 { font-size: 17px; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.compare-col h3 .badge { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius-pill); }
.compare-col.bad h3 .badge { background: var(--gray-150); color: var(--gray-600); }
.compare-col.good h3 .badge { background: var(--yellow); color: var(--black); }
.compare-col ul { display: flex; flex-direction: column; gap: 12px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.compare-col li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.compare-col.bad li svg { color: var(--gray-400); }
.compare-col.good li svg { color: var(--green); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---- Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--gray-600); font-size: 14.5px; }
.steps-footer {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 600;
  background: var(--yellow-pale);
  border: 1px solid rgba(230,192,0,0.4);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
}
.steps-footer svg { width: 18px; height: 18px; color: var(--yellow-deep); }
.steps-footer strong { color: var(--black); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 14px; } }

/* ---- Pricing ------------------------------------------------------------------- */
.pricing-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; max-width: 1000px; margin: 0 auto; }
.pricing-card {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.pricing-card .plan-badge {
  position: absolute; top: -14px; left: 28px;
  background: var(--yellow); color: var(--black);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.pricing-card .plan-name { font-size: 15px; font-weight: 800; color: var(--gray-600); }
.pricing-card .price { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.pricing-card .price strong { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.pricing-card .price span { color: var(--gray-600); font-size: 15px; font-weight: 600; }
.pricing-card .price-note { margin-top: 8px; font-size: 14px; color: var(--gray-600); }
.pricing-card ul { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--gray-200); padding-top: 22px; }
.pricing-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.pricing-card li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green); margin-top: 2px; }
.pricing-card .fine { margin-top: 12px; font-size: 12.5px; color: var(--gray-400); text-align: center; }
.pricing-side h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.pricing-side p { color: var(--gray-600); font-size: 15.5px; margin-bottom: 14px; }
.pricing-side .roi {
  margin-top: 22px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14px;
  color: var(--ink);
}
.pricing-side .roi strong { color: var(--black); }
@media (max-width: 800px) { .pricing-wrap { grid-template-columns: 1fr; } .pricing-side { order: 2; } }

/* ---- CTA band ---------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: clamp(56px, 7vw, 88px) 0;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 100% 0%, rgba(255,214,0,0.18), transparent 60%);
  pointer-events: none;
}
.cta-band .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; max-width: 22ch; letter-spacing: -0.025em; }
.cta-band p { margin-top: 10px; color: rgba(255,255,255,0.7); font-size: 16px; max-width: 48ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- FAQ ---------------------------------------------------------------------- */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-item.open { border-color: var(--gray-300); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  border-radius: var(--radius);
}
.faq-question .icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-question .icon svg { width: 14px; height: 14px; }
.faq-item.open .faq-question .icon { background: var(--yellow); transform: rotate(45deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 22px 20px; color: var(--gray-600); font-size: 15px; max-width: 68ch; }
.faq-answer a { font-weight: 700; color: var(--black); border-bottom: 2px solid var(--yellow); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-more { text-align: center; margin-top: 28px; font-size: 14.5px; color: var(--gray-600); }

/* ---- Testimonials --------------------------------------------------------------- */
.testimonial-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.testimonial {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.testimonial .stars { color: var(--yellow-dark); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial p.quote { font-size: 15.5px; color: var(--ink); line-height: 1.65; flex: 1; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--black); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.testimonial .name { font-weight: 800; font-size: 14.5px; }
.testimonial .role { font-size: 12.5px; color: var(--gray-600); margin-top: 1px; }
.reviews-note { margin-top: 24px; font-size: 14px; color: var(--gray-600); text-align: center; }
@media (max-width: 760px) { .testimonial-row { grid-template-columns: 1fr; } }

/* ---- Book a demo ------------------------------------------------------------------ */
.bookdemo-perks-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 0 auto 40px; max-width: 980px; }
.bookdemo-perks-row div {
  display: flex; gap: 9px; align-items: center;
  font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-pill);
  padding: 9px 16px 9px 12px;
}
.bookdemo-perks-row svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.calendly-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow);
  min-height: 300px;
  position: relative;
}
.calendly-inline-widget { min-width: 280px; height: 680px; }
.calendly-placeholder {
  position: absolute; inset: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--gray-600); font-size: 14px; text-align: center; padding: 24px;
  border-radius: var(--radius);
  background: var(--gray-50);
}
.calendly-card.loaded .calendly-placeholder { display: none; }
.bookdemo-fallback { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--gray-600); max-width: 70ch; margin-left: auto; margin-right: auto; }
.bookdemo-fallback a { font-weight: 700; color: var(--black); border-bottom: 2px solid var(--yellow); }
@media (max-width: 640px) { .calendly-inline-widget { height: 780px; } }

/* ---- Newsletter ----------------------------------------------------------------------- */
.newsletter {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.newsletter h3 { font-size: 21px; font-weight: 800; }
.newsletter p { margin-top: 6px; color: var(--gray-600); font-size: 14.5px; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.newsletter input[type="email"] {
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14.5px;
  min-width: 260px;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.newsletter input[type="email"]:focus { border-color: var(--yellow); outline: none; box-shadow: 0 0 0 3px rgba(255,214,0,0.22); }
.newsletter-message { flex-basis: 100%; margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--green); }
.newsletter-message:empty { display: none; }
.newsletter-message.error { color: var(--red); }

/* ---- Blog teaser on home ------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card {
  display: flex; flex-direction: column;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.post-card:hover { border-color: var(--black); box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card .kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--yellow-deep); margin-bottom: 10px; }
.post-card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 8px; }
.post-card p { color: var(--gray-600); font-size: 14px; flex: 1; }
.post-card .meta { margin-top: 16px; font-size: 12.5px; color: var(--gray-400); display: flex; gap: 8px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* ---- Footer ----------------------------------------------------------------------------- */
.site-footer { background: var(--gray-100); color: var(--gray-600); padding: 64px 0 28px; border-top: 1px solid var(--gray-200); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 34ch; }
.footer-brand .badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer-brand .mini-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--black);
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-pill);
  padding: 5px 10px;
}
.footer-brand .mini-badge svg { width: 13px; height: 13px; color: var(--yellow-deep); }
.footer-col h4 { color: var(--black); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--black); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-400);
}
.footer-bottom a:hover { color: var(--black); }
.footer-trademark { padding-top: 18px; font-size: 12px; color: var(--gray-400); max-width: 72ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Page hero (blog index, contact, legal) ------------------------------------------ */
.page-hero {
  padding: clamp(44px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-150);
}
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.page-hero p { margin-top: 12px; font-size: 17px; color: var(--gray-600); max-width: 60ch; }
.breadcrumb { font-size: 13.5px; color: var(--gray-600); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb .sep { color: var(--gray-300); }

/* ---- Blog listing ----------------------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.blog-card {
  display: flex; flex-direction: column;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.blog-card:hover { border-color: var(--black); box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card .kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--yellow-deep); margin-bottom: 10px; }
.blog-card h2 { font-size: 21px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.blog-card p { color: var(--gray-600); font-size: 14.5px; flex: 1; }
.blog-card .meta { margin-top: 16px; font-size: 12.5px; color: var(--gray-400); display: flex; gap: 8px; align-items: center; }
.blog-card .read-more { margin-top: 12px; }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---- Long-form article ----------------------------------------------------------------------------- */
.article-header { max-width: var(--container-narrow); margin: 0 auto; padding: clamp(40px, 5vw, 56px) 24px 0; }
.article-header .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--yellow-deep); margin-bottom: 14px; }
.article-header h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.article-header .lede { margin-top: 16px; font-size: 18px; color: var(--gray-600); }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--gray-200);
  font-size: 13.5px; color: var(--gray-600);
}
.article-meta .author { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--black); }
.article-meta .author img { width: 26px; height: 26px; border-radius: 7px; }
.article-meta .dot { color: var(--gray-300); }
.article-body { max-width: var(--container-narrow); margin: 36px auto 0; padding: 0 24px clamp(56px, 8vw, 90px); }
.article-body h2 { font-size: 25px; font-weight: 800; margin: 44px 0 14px; letter-spacing: -0.02em; scroll-margin-top: 90px; }
.article-body h3 { font-size: 19px; font-weight: 800; margin: 30px 0 10px; }
.article-body p { font-size: 17px; color: var(--ink); margin-bottom: 18px; max-width: 70ch; line-height: 1.7; }
.article-body a:not(.btn) { font-weight: 600; color: var(--black); border-bottom: 2px solid var(--yellow); }
.article-body a:not(.btn):hover { border-color: var(--black); }
.article-body ul, .article-body ol { margin: 0 0 22px; }
.article-body li { font-size: 16.5px; color: var(--ink); padding-left: 24px; position: relative; margin-bottom: 10px; max-width: 68ch; line-height: 1.65; }
.article-body ul li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-dark); }
.article-body ol { counter-reset: item; }
.article-body ol li::before { counter-increment: item; content: counter(item) '.'; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--yellow-deep); }
.article-callout {
  background: var(--yellow-pale);
  border: 1px solid rgba(230,192,0,0.45);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 15.5px;
  color: var(--black);
}
.article-callout p { margin: 0; font-size: 15.5px; }
.article-faq { margin-top: 36px; }
.article-faq .faq-item { margin-bottom: 10px; }
.article-faq .faq-question { font-size: 15.5px; }
.article-cta {
  margin-top: 44px;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.article-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 240px at 100% 0%, rgba(255,214,0,0.2), transparent 60%); pointer-events: none; }
.article-cta > * { position: relative; }
.article-cta h3 { color: var(--white); font-size: 20px; font-weight: 800; margin: 0; }
.article-cta p { color: rgba(255,255,255,0.65); font-size: 14px; margin: 6px 0 0; }
.related { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--gray-200); }
.related h2 { font-size: 18px; margin: 0 0 14px; }
.related-links { display: flex; gap: 10px; flex-wrap: wrap; }
.related-links a {
  font-size: 13.5px; font-weight: 700;
  border: 1.5px solid var(--gray-200) !important;
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  color: var(--black);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.related-links a:hover { border-color: var(--black) !important; background: var(--gray-50); }

/* ---- Lightbox (dialog) ------------------------------------------------------------------ */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1200px, 94vw);
  width: 100%;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(17,17,17,0.86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox-inner { position: relative; }
.lightbox img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--white); }
.lightbox-caption { margin-top: 12px; text-align: center; color: rgba(255,255,255,0.85); font-size: 14px; }
.lightbox-close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  border: 0;
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: 0; color: var(--black);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }
@media (max-width: 640px) {
  .lightbox-close { top: 8px; right: 8px; width: 36px; height: 36px; }
  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}

/* ---- Contact page ------------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--white);
  display: flex; flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-card:hover { border-color: var(--yellow); box-shadow: 0 12px 28px rgba(255,214,0,0.14); }
.contact-card h2 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.contact-card p { color: var(--gray-600); font-size: 14.5px; flex: 1; }
.contact-card .btn { margin-top: 18px; align-self: flex-start; }
.contact-card .feature-icon { margin-bottom: 16px; }
.contact-details { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-details .box { background: var(--gray-100); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; font-size: 14.5px; color: var(--ink); }
.contact-details .box h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.contact-details .box a { font-weight: 700; color: var(--black); border-bottom: 2px solid var(--yellow); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-details { grid-template-columns: 1fr; } }

/* ---- 404 --------------------------------------------------------------------------------- */
.notfound { text-align: center; padding: clamp(64px, 10vw, 120px) 0; }
.notfound .code { font-size: clamp(64px, 12vw, 120px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--black); }
.notfound .code span { color: var(--yellow); }
.notfound h1 { font-size: clamp(24px, 3vw, 32px); margin-top: 8px; }
.notfound p { margin-top: 12px; color: var(--gray-600); font-size: 16.5px; }
.notfound .actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Scroll reveal --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Print --------------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta-band, .newsletter, .skip-link, .nav-toggle { display: none !important; }
  body { color: #000; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 12px; color: #555; }
}
