/* ==========================================================================
   Cuidar Agora — site de marketing
   Tokens da marca: docs/12-identidade-visual.md
   ========================================================================== */

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --ink: #0D1B2A;
  --muted: #3F4E63;
  --line: #E5E7EB;
  --primary: #14B8A6;
  --primary-deep: #0B7C71;
  --primary-tint: #D9F5F0;
  --on-primary: #FFFFFF;
  --warning: #C58A04;

  /* seções navy: fixas nos dois temas */
  --navy-bg: #0B1826;
  --navy-surface: #122236;
  --navy-ink: #ECF2F8;
  --navy-muted: #9DB0C6;
  --navy-line: rgba(236, 242, 248, 0.12);
  --navy-primary: #2DD4BF;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", "Consolas", monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1826;
    --surface: #122236;
    --ink: #ECF2F8;
    --muted: #9DB0C6;
    --line: rgba(236, 242, 248, 0.12);
    --primary: #2DD4BF;
    --primary-deep: #2DD4BF;
    --primary-tint: rgba(45, 212, 191, 0.12);
    --on-primary: #0B1826;
  }
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 0.6em;
}

h2 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.75rem); }
h3 { font-size: 1.35rem; margin-bottom: 0.35em; }

p { margin: 0 0 1em; max-width: 65ch; text-wrap: pretty; }

a { color: inherit; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

section { padding-block: clamp(4.5rem, 10vw, 8rem); }

/* botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.9rem; }

.btn-primary {
  background: #14B8A6;
  color: #FFFFFF;
}
.btn-primary:hover { background: #0D9488; box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35); }

.btn-ghost {
  color: var(--navy-ink);
  border: 1px solid rgba(236, 242, 248, 0.35);
}
.btn-ghost:hover { border-color: var(--navy-primary); color: var(--navy-primary); }

.btn-navy {
  background: var(--navy-bg);
  color: var(--navy-ink);
}
.btn-navy:hover { box-shadow: 0 8px 24px rgba(11, 24, 38, 0.35); }

/* ---------- reveal (progressive enhancement: sem JS, tudo visível) ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 120ms);
}
html.js [data-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 10;
  transition: background-color 0.35s, box-shadow 0.35s, color 0.35s;
  color: var(--navy-ink);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.nav-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0.8rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a {
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="true"] { opacity: 1; color: var(--navy-primary); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a[aria-current="true"] { color: var(--primary-deep); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.brand-mark {
  width: 1.9rem;
  height: 1.43rem;
  color: #14B8A6;
  flex: none;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-word b { font-weight: 700; }
.brand-word em { font-style: normal; color: #14B8A6; }
.nav:not(.scrolled) .brand-word em,
.brand-word-dark em { color: var(--navy-primary); }

@media (max-width: 47.99rem) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  background: var(--navy-bg);
  color: var(--navy-ink);
  overflow: clip;
  padding-block: 7rem 5rem;
}

.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 47% 53% 61% 39% / 45% 51% 49% 55%;
  filter: blur(70px);
  opacity: 0.22;
  will-change: transform;
}
.blob-a {
  width: 34rem; height: 34rem;
  background: #0D9488;
  top: -10rem; right: -8rem;
  animation: drift 32s ease-in-out infinite alternate;
}
.blob-b {
  width: 26rem; height: 26rem;
  background: #2DD4BF;
  bottom: -12rem; left: -10rem;
  opacity: 0.14;
  animation: drift 26s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(4rem, 3rem) rotate(28deg); }
}

.hero-ecg {
  position: absolute;
  inset-inline: 0;
  top: 54%;
  width: 100%;
  height: clamp(70px, 10vw, 120px);
  pointer-events: none;
  opacity: 0.5;
}
.ecg-path {
  stroke: var(--navy-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(45, 212, 191, 0.7));
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 3.2s var(--ease-out) 0.5s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-inner {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-primary);
  margin-bottom: 1.2rem;
  animation: rise 0.8s var(--ease-out) both;
}
.hero-title {
  font-size: clamp(2.5rem, 1.4rem + 5.4vw, 4.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.5em;
}
.hero-title span {
  display: inline-block;
  animation: rise 0.9s var(--ease-out) both;
  animation-delay: calc(0.12s + var(--w) * 0.11s);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--navy-muted);
  animation: rise 0.9s var(--ease-out) 0.85s both;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  animation: rise 0.9s var(--ease-out) 1.05s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* cards flutuantes do hero */

.hero-cards {
  display: grid;
  gap: 1rem;
  max-width: 24rem;
  justify-self: center;
}
.ui-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--navy-surface);
  border: 1px solid var(--navy-line);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  animation:
    rise 0.9s var(--ease-out) calc(1.1s + var(--f) * 0.18s) both,
    float 7s ease-in-out calc(2.2s + var(--f) * 1.3s) infinite alternate;
}
.ui-card strong { display: block; font-size: 0.95rem; }
.ui-card small { color: var(--navy-muted); font-size: 0.85rem; line-height: 1.45; display: block; }
.uc-vitals { align-items: center; justify-content: space-between; }
.uc-vitals .spark { width: 6.5rem; height: 2rem; color: var(--navy-primary); flex: none; }
.uc-family .uc-heart { width: 1.6rem; height: 1.2rem; color: var(--navy-primary); flex: none; margin-top: 0.2rem; }
.uc-checkin { transform-origin: left; }
.uc-offline { margin-left: 1.5rem; }
.uc-family { margin-left: 0.5rem; }
.uc-vitals { margin-left: -0.75rem; }
@keyframes float {
  from { translate: 0 0; }
  to   { translate: 0 -8px; }
}

.dot {
  width: 0.6rem; height: 0.6rem;
  border-radius: 50%;
  flex: none;
  margin-top: 0.4rem;
}
.dot-live { background: var(--navy-primary); animation: pulse 2s ease-out infinite; }
.dot-off { background: var(--navy-muted); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

/* ---------- cabeçalho de seção + divisor ECG ---------- */

.sec-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
.sec-ecg {
  display: block;
  width: 8.5rem;
  height: 1.7rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
html.js .sec-ecg use { opacity: 0; }
html.js .in-view .sec-ecg use,
html.js .sec-head.in-view .sec-ecg use { opacity: 1; transition: opacity 0.4s; }
.sec-head-dark p { color: var(--navy-muted); }
.sec-head-dark .sec-ecg { color: var(--navy-primary); }

/* ---------- dor ---------- */

.pain { background: var(--bg); }
.pain-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .pain-grid { grid-template-columns: 1.2fr 0.8fr; gap: 5rem; }
}
.pain-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 1.4rem;
}
.pain-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}
.pain-list span { color: var(--muted); }
.pain-close {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary-deep);
}

.chat-stack {
  display: grid;
  gap: 0.8rem;
  transform: rotate(2deg);
}
.chat-bubble {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem 1rem 1rem 0.25rem;
  padding: 0.8rem 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
  box-shadow: 0 6px 18px rgba(13, 27, 42, 0.07);
  max-width: 19rem;
}
.chat-bubble b { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary-deep); margin-bottom: 0.2rem; }
.chat-bubble:nth-child(even) { justify-self: end; border-radius: 1rem 1rem 0.25rem 1rem; }
.chat-late { border-color: #D14343; color: #B03030; font-weight: 600; }
@media (prefers-color-scheme: dark) {
  .chat-late { color: #EF7B75; border-color: rgba(239, 123, 117, 0.5); }
}
html.js .pain-visual.in-view .chat-bubble {
  animation: rise 0.6s var(--ease-out) calc(var(--i) * 0.25s) both;
}

/* ---------- produto (bento) ---------- */

.product { background: var(--surface); }
@media (prefers-color-scheme: dark) {
  .product { background: #0E1D30; }
}

.bento {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(12, 1fr);
}
.cell {
  grid-column: span 12;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
.cell:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
  box-shadow: 0 16px 40px rgba(13, 27, 42, 0.10);
}
.cell p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.cell h3 { font-size: 1.2rem; }
@media (min-width: 48rem) {
  .cell { grid-column: span 6; }
  .cell-lg { grid-column: span 6; }
}
@media (min-width: 64rem) {
  .cell { grid-column: span 3; }
  .cell-lg { grid-column: span 6; padding: 2.25rem; }
  .cell-lg h3 { font-size: 1.4rem; }
}

.cell-visual {
  color: var(--primary-deep);
  margin-bottom: 1.25rem;
  min-height: 5.5rem;
  display: grid;
  align-content: center;
  gap: 0.6rem;
}
.cell-lg .cell-visual { min-height: 7rem; }
.cell-visual svg { width: 100%; max-width: 15rem; height: auto; }

.pill {
  justify-self: start;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  background: var(--primary-tint);
  color: var(--primary-deep);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}
.pill-warn { background: rgba(197, 138, 4, 0.14); color: var(--warning); }

html.js .cell.in-view .sync-line {
  animation: march 1.6s linear infinite;
}
@keyframes march { to { stroke-dashoffset: -26; } }

.alert-dot { fill: #D14343; animation: pulse-r 1.8s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse-r {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.35); }
}

.mini-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  max-width: 11rem;
}
.mini-cal span {
  aspect-ratio: 1;
  border-radius: 0.35rem;
  background: var(--line);
}
.mini-cal .on { background: var(--primary); opacity: 0.85; }
html.js .cell.in-view .mini-cal .on { animation: pop 0.5s var(--ease-out) both; }
html.js .cell.in-view .mini-cal .on:nth-child(2n) { animation-delay: 0.15s; }
html.js .cell.in-view .mini-cal .on:nth-child(3n) { animation-delay: 0.3s; }
@keyframes pop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 0.85; }
}

.v-checkin svg { max-width: 5.5rem; }
.ring { fill: none; stroke: currentColor; }
.r1 { stroke-width: 2; opacity: 0.6; }
.r2 { stroke-width: 1.5; opacity: 0.25; }
html.js .cell.in-view .r1 { animation: ring 2.4s ease-out infinite; }
html.js .cell.in-view .r2 { animation: ring 2.4s ease-out 0.5s infinite; }
@keyframes ring {
  from { transform: scale(0.55); opacity: 0.7; transform-origin: center; transform-box: fill-box; }
  to   { transform: scale(1.25); opacity: 0; transform-origin: center; transform-box: fill-box; }
}

.ledger, .feed { display: grid; gap: 0.45rem; font-size: 0.8rem; }
.ledger span {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.35rem;
  color: var(--muted);
}
.ledger span:first-child, .ledger span:nth-child(2) { color: var(--primary-deep); }
.feed span {
  background: var(--primary-tint);
  color: var(--primary-deep);
  border-radius: 0.6rem;
  padding: 0.35rem 0.7rem;
  justify-self: start;
  font-weight: 600;
}
.feed span:nth-child(2) { justify-self: end; }

/* ---------- como funciona (timeline) ---------- */

.shift {
  background: var(--navy-bg);
  color: var(--navy-ink);
}
.shift-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 48rem) {
  .shift-grid { grid-template-columns: 14rem 1fr; gap: 4rem; }
}

.shift-clock-col { display: none; }
@media (min-width: 48rem) {
  .shift-clock-col { display: block; }
  .shift-clock {
    position: sticky;
    top: 9rem;
    display: grid;
    gap: 0.3rem;
  }
  .shift-clock .mono {
    font-size: 3.4rem;
    color: var(--navy-primary);
    line-height: 1;
    transition: opacity 0.3s;
  }
  .shift-clock small {
    color: var(--navy-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
  }
}

.shift-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}
.shift-steps::before {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--navy-line);
}
@supports (animation-timeline: view()) {
  .shift-steps::after {
    content: "";
    position: absolute;
    left: 0.32rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: var(--navy-primary);
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.7);
    transform-origin: top;
    animation: grow linear both;
    animation-timeline: view();
    animation-range: entry 20% exit 80%;
  }
  @keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

.step {
  position: relative;
  padding-left: 2.2rem;
  display: grid;
  gap: 0.3rem;
}
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--navy-bg);
  border: 2px solid var(--navy-primary);
}
.step-time {
  color: var(--navy-primary);
  font-size: 0.95rem;
}
.step h3 { color: var(--navy-ink); margin-bottom: 0.2em; }
.step p { color: var(--navy-muted); margin: 0; }

/* ---------- para quem ---------- */

.who { background: var(--bg); }
.who-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.who-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: grid;
  align-content: space-between;
  gap: 1.25rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.who-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(13, 27, 42, 0.10); }
.who-card p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.45;
  margin: 0;
}
.who-card footer { color: var(--muted); font-size: 0.9rem; }
.who-card footer strong { color: var(--primary-deep); }

.who-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  justify-content: center;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: none;
}
.who-strip b {
  color: var(--ink);
  font-size: 1.5rem;
  margin-right: 0.3rem;
}

/* ---------- segurança ---------- */

.trust {
  background: var(--navy-bg);
  color: var(--navy-ink);
}
.trust-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .trust-grid { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; }
}
.trust-copy > p { color: var(--navy-muted); font-size: 1.1rem; }
.trust-list {
  margin: 2.25rem 0;
  display: grid;
  gap: 1.5rem;
}
.trust-list dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.trust-list dt::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--navy-primary);
  margin-right: 0.6rem;
  vertical-align: 0.1rem;
}
.trust-list dd { margin: 0; color: var(--navy-muted); }
.trust-note {
  font-size: 0.9rem;
  color: var(--navy-muted);
  border-top: 1px solid var(--navy-line);
  padding-top: 1.25rem;
}

.audit {
  background: #081220;
  border: 1px solid var(--navy-line);
  border-radius: 1rem;
  padding: 1.5rem;
  display: grid;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: var(--navy-primary);
  overflow-x: auto;
}
html.js .audit-line { opacity: 0; transform: translateX(-8px); transition: opacity 0.4s, transform 0.4s var(--ease-out); transition-delay: calc(var(--i) * 0.35s); }
html.js .trust-visual.in-view .audit-line { opacity: 1; transform: none; }
.audit-cursor { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- CTA final ---------- */

.cta {
  position: relative;
  background: #14B8A6;
  color: #06302B;
  overflow: clip;
  text-align: center;
}
.cta-inner { display: grid; justify-items: center; }
.cta h2 { color: #052622; max-width: 22ch; }
.cta p { color: #06403A; font-size: 1.1rem; }
.cta .btn { margin-top: 1rem; }
.cta-ecg {
  position: absolute;
  inset-inline: 0;
  top: 12%;
  width: 100%;
  height: 90px;
  opacity: 0.35;
}
.cta-ecg .ecg-path {
  stroke: #052622;
  filter: none;
  animation: none;
}
.cta-check {
  stroke: #052622;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
html.js .cta-ecg { opacity: 0; transition: opacity 0.6s; transform: none !important; }
html.js .cta-ecg.in-view { opacity: 0.35; }
html.js .cta-ecg.in-view .ecg-path { animation: draw 1.6s var(--ease-out) forwards; }
html.js .cta-ecg.in-view .cta-check { animation: draw 0.7s var(--ease-out) 1.5s forwards; }

/* ---------- footer ---------- */

.footer {
  background: var(--navy-bg);
  color: var(--navy-ink);
  padding-block: 3.5rem;
}
.footer-inner {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}
.footer .brand-word { color: var(--navy-ink); }
.footer-tag { color: var(--navy-muted); margin: 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.92rem;
}
.footer-links a { color: var(--navy-muted); text-decoration: none; }
.footer-links a:hover { color: var(--navy-primary); }
.footer-legal {
  color: var(--navy-muted);
  font-size: 0.8rem;
  margin: 1rem 0 0;
  border-top: 1px solid var(--navy-line);
  padding-top: 1.25rem;
  width: 100%;
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ecg-path, .cta-check { stroke-dasharray: none; stroke-dashoffset: 0; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
