/* ------------------------------------------------------------------ *
 * SMOVR PPC landing
 * Clinical theme — soft cool-blue wash.
 * Palette derived from the infographic's own colors.
 * ------------------------------------------------------------------ */

:root {
  --maxw: 760px;
  --navy-900: #0a1736;
  --navy-700: #0f1f4b;
  --navy-600: #16306e;
  --blue-500: #1f6fe0;
  --blue-400: #3b86f0;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---- Clinical theme (soft cool-blue wash) ---- */
  --bg: radial-gradient(125% 80% at 50% -8%, #ffffff 0%, #eef4fd 42%, #dde9fa 100%);
  --bg-fixed: #e6eefb;
  --headline: var(--navy-700);
  --lede: #59688a;
  --accent: var(--blue-500);
  --card-bg: #ffffff;
  --card-pad: 16px;
  --card-shadow: 0 24px 60px -18px rgba(15, 31, 75, 0.28), 0 4px 12px rgba(15, 31, 75, 0.08);
  --card-ring: 1px solid rgba(15, 31, 75, 0.06);
  --cta-bg: linear-gradient(135deg, #16306e 0%, #0a1736 100%);
  --cta-bg-hover: linear-gradient(135deg, #1c3c85 0%, #0d1d49 100%);
  --cta-text: #ffffff;
  --cta-shadow: 0 14px 28px -8px rgba(10, 23, 54, 0.45);
  --tg-muted: #7488ac;
  --tg-active: var(--navy-700);
  --tg-active-bg: rgba(15, 31, 75, 0.09);
  --tg-sep: #c2cde2;
  --ctrl-bg: rgba(255, 255, 255, 0.82);
  --ctrl-border: rgba(15, 31, 75, 0.12);
  --ctrl-text: #59688a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-fixed);
  background-image: var(--bg);
  background-attachment: fixed;
  color: var(--headline);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease;
}

/* ---- Language toggle (top-right) -------------------------------- */
.lang-toggle {
  position: absolute;
  top: 18px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  z-index: 10;
}
.lang-btn {
  background: none;
  border: none;
  padding: 4px 7px;
  cursor: pointer;
  color: var(--tg-muted);
  font: inherit;
  border-radius: 7px;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-btn:hover { color: var(--tg-active); }
.lang-btn.is-active { color: var(--tg-active); background: var(--tg-active-bg); }
.lang-sep { color: var(--tg-sep); }

/* ---- Page ------------------------------------------------------- */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 24px 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headline {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(27px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.05;
  color: var(--headline);
  text-transform: uppercase;
}

/* ---- Signature: ECG pulse accent -------------------------------- */
.pulse {
  width: clamp(160px, 34%, 240px);
  height: auto;
  margin: 0 0 40px;
  color: var(--accent);
  display: block;
}
.pulse__line {
  stroke-dasharray: 360;
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .pulse__line {
    stroke-dashoffset: 360;
    animation: pulse-draw 1.5s 0.25s ease-out forwards;
  }
}
@keyframes pulse-draw { to { stroke-dashoffset: 0; } }

/* ---- Infographic card ------------------------------------------- */
.card {
  margin: 0;
  width: 100%;
  background: var(--card-bg);
  padding: var(--card-pad);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  border: var(--card-ring);
}
.infographic {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.lede {
  margin: 38px auto 34px;
  max-width: 600px;
  font-size: clamp(16px, 2.3vw, 18px);
  color: var(--lede);
}

/* ---- CTA -------------------------------------------------------- */
.cta {
  display: inline-block;
  background-image: var(--cta-bg);
  color: var(--cta-text);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(15px, 2.1vw, 17px);
  line-height: 1.3;
  padding: 18px 34px;
  border-radius: 12px;
  box-shadow: var(--cta-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-image 0.15s ease;
}
.cta:hover {
  background-image: var(--cta-bg-hover);
  transform: translateY(-2px);
}
.cta:active { transform: translateY(0); }
.cta:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 600px) {
  .page { padding: 72px 18px 110px; }
  .cta { width: 100%; }
}
