:root {
  --ink: #09243b;
  --ink-2: #14344f;
  --mint: #39c6bd;
  --mint-soft: #d9faf6;
  --coral: #ff5b55;
  --coral-dark: #e74741;
  --yellow: #ffd75b;
  --lilac: #bba2ff;
  --paper: #fbfffd;
  --white: #ffffff;
  --line: rgba(9, 36, 59, 0.12);
  --shadow: 0 22px 70px rgba(9, 36, 59, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(57, 198, 189, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(57, 198, 189, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

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

a {
  color: inherit;
}

button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 30;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 255, 253, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--ink);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand span {
  line-height: 1.05;
  white-space: nowrap;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-main {
  color: var(--coral-dark);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: rgba(9, 36, 59, 0.62);
  font-size: 0.7rem;
  font-weight: 820;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.95rem;
  font-weight: 760;
}

.main-nav a,
.header-cta {
  text-decoration: none;
}

.main-nav a {
  color: rgba(9, 36, 59, 0.72);
}

.main-nav a:hover {
  color: var(--coral-dark);
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--coral);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(255, 91, 85, 0.25);
}

.section-band {
  padding: clamp(62px, 7vw, 112px) clamp(18px, 4vw, 56px);
}

.hero {
  position: relative;
  min-height: calc(92vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 6% 18px auto;
  width: min(280px, 45vw);
  height: 10px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--coral), var(--coral) 26px, transparent 26px, transparent 36px);
  opacity: 0.38;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 215, 91, 0.28);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: 0;
  max-width: 760px;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 0.8rem;
  line-height: 1.2;
  max-width: none;
}

.hero-title {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: 0;
  max-width: 760px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.15rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

p {
  line-height: 1.72;
}

.hero-lede,
.section-heading p,
.emergency-copy p {
  color: rgba(9, 36, 59, 0.72);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-weight: 920;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.symptom:focus-within,
.domain-field:focus-within,
.send-options label:focus-within,
input[type="range"]:focus-visible {
  outline: 3px solid rgba(255, 91, 85, 0.36);
  outline-offset: 4px;
}

.btn-primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 18px 38px rgba(255, 91, 85, 0.28);
}

.btn-primary span {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.btn-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.vitals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.vitals > span,
.trust-item {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 36px rgba(9, 36, 59, 0.07);
}

.vitals strong,
.trust-item strong {
  display: block;
  font-size: 1.75rem;
  color: var(--coral-dark);
}

.vitals small {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 1rem;
}

.hero-art {
  position: relative;
  min-width: 0;
}

.hero-art > img:first-child {
  width: min(980px, 64vw);
  height: auto;
  margin-left: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.floating-sticker {
  position: absolute;
  width: 160px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(9, 36, 59, 0.14));
  animation: bob 5.8s ease-in-out infinite;
}

.sticker-heart {
  left: 0;
  bottom: 12%;
}

.sticker-kit {
  right: 4%;
  top: 20px;
  animation-delay: -2.3s;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.triage {
  background: linear-gradient(180deg, var(--white), var(--mint-soft));
}

.triage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.symptom-panel,
.diagnosis-board,
.treatment-card,
.timeline-step,
.before-after,
.trust-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.symptom-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.domain-field {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid rgba(9, 36, 59, 0.1);
  border-radius: var(--radius);
  background: var(--white);
}

.domain-field span {
  color: rgba(9, 36, 59, 0.74);
  font-size: 0.86rem;
  font-weight: 900;
}

.domain-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(9, 36, 59, 0.14);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-weight: 760;
}

.domain-field input::placeholder {
  color: rgba(9, 36, 59, 0.42);
}

.domain-field input:focus {
  outline: none;
  border-color: rgba(57, 198, 189, 0.72);
  background: var(--white);
}

.symptom {
  min-height: 128px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(9, 36, 59, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  color: rgba(9, 36, 59, 0.78);
  font-weight: 820;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.symptom:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 198, 189, 0.55);
}

.symptom input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--coral);
  flex: 0 0 auto;
}

.symptom-copy {
  display: grid;
  gap: 6px;
}

.symptom-copy > span {
  color: rgba(9, 36, 59, 0.86);
  font-weight: 900;
}

.symptom-copy small {
  color: rgba(9, 36, 59, 0.62);
  font-size: 0.86rem;
  font-weight: 680;
  line-height: 1.45;
}

.diagnosis-board {
  position: relative;
  min-height: 100%;
  padding: 24px;
  --ekg-color: var(--mint);
  --ekg-speed: 3.1s;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(57, 198, 189, 0.18), transparent 38%),
    var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.diagnosis-board::after {
  content: "";
  position: absolute;
  inset: 62px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 198, 189, 0.8), transparent);
  animation: scan 3s linear infinite;
}

.diagnosis-board[data-severity="watch"] {
  --ekg-color: var(--yellow);
  --ekg-speed: 2.45s;
}

.diagnosis-board[data-severity="urgent"] {
  --ekg-color: var(--coral);
  --ekg-speed: 1.75s;
}

.diagnosis-board[data-severity="critical"] {
  --ekg-color: #ff7b76;
  --ekg-speed: 1.15s;
}

.monitor-top,
.browser-dots {
  display: flex;
  gap: 7px;
}

.monitor-top span,
.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.monitor-top span:nth-child(1),
.browser-dots span:nth-child(1) {
  background: var(--coral);
}

.monitor-top span:nth-child(2),
.browser-dots span:nth-child(2) {
  background: var(--yellow);
}

.monitor-top span:nth-child(3),
.browser-dots span:nth-child(3) {
  background: var(--mint);
}

.board-label {
  margin: 28px 0 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ekg-monitor {
  position: relative;
  height: 118px;
  margin: 12px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 24px);
  overflow: hidden;
}

.ekg-monitor::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 80px;
  background: linear-gradient(90deg, rgba(9, 36, 59, 0), rgba(255, 255, 255, 0.08), rgba(9, 36, 59, 0));
  animation: ekgSweep var(--ekg-speed) linear infinite;
}

.ekg-monitor svg {
  width: 100%;
  height: 100%;
}

.ekg-trace {
  fill: none;
  stroke: var(--ekg-color);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 650;
  stroke-dashoffset: 650;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--ekg-color), transparent 18%));
  animation: ekgDraw var(--ekg-speed) linear infinite;
}

.ekg-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 4px 0 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--ekg-color);
  font-size: 0.82rem;
  font-weight: 900;
}

#diagnosisText {
  min-height: 78px;
  color: rgba(255, 255, 255, 0.78);
}

.send-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 12px;
}

.send-options label {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  cursor: pointer;
}

.send-options label:has(input:checked) {
  border-color: var(--ekg-color);
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.send-options input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--coral);
  flex: 0 0 auto;
}

#triageCta[hidden],
#emailCta[hidden] {
  display: none;
}

.send-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.5;
}

.treatments {
  background: var(--paper);
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.treatment-card {
  min-height: 270px;
  padding: 22px;
  box-shadow: 0 16px 48px rgba(9, 36, 59, 0.08);
  transition: transform 180ms ease, border-color 180ms ease;
}

.treatment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 91, 85, 0.34);
}

.treatment-card p {
  color: rgba(9, 36, 59, 0.68);
}

.service-icon {
  width: 148px;
  height: 148px;
  display: block;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  filter: drop-shadow(0 14px 18px rgba(9, 36, 59, 0.12));
}

.process {
  background: linear-gradient(180deg, #f9fffd, #ffffff);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 46px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--mint), var(--lilac));
}

.timeline-step {
  position: relative;
  min-height: 228px;
  padding: 86px 20px 20px;
  box-shadow: 0 14px 42px rgba(9, 36, 59, 0.08);
}

.timeline-step span {
  position: absolute;
  top: 19px;
  left: 20px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  border: 6px solid var(--paper);
  font-weight: 950;
}

.timeline-step:nth-child(2) span {
  background: var(--coral);
}

.timeline-step:nth-child(3) span {
  background: #1e9c95;
}

.timeline-step:nth-child(4) span {
  background: #775bd6;
}

.timeline-step p {
  color: rgba(9, 36, 59, 0.68);
}

.repair {
  background:
    linear-gradient(180deg, rgba(9, 36, 59, 0.04), rgba(57, 198, 189, 0.09)),
    var(--white);
}

.before-after {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 32px);
  padding-bottom: 84px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.repair-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.repair-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.repair-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 48% 0 0);
}

.repair-before .repair-image {
  position: absolute;
  inset: 0;
}

.repair-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 4px;
  transform: translateX(-50%);
  background: var(--coral);
  box-shadow: 0 0 0 999px rgba(9, 36, 59, 0.04);
}

.repair-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 8px 18px rgba(255, 91, 85, 0.35);
}

.browser-window {
  position: absolute;
  inset: clamp(18px, 3vw, 32px) clamp(18px, 3vw, 32px) 88px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.browser-window.before {
  width: 52%;
  border-right: 4px solid var(--coral);
  box-shadow: 16px 0 22px rgba(255, 91, 85, 0.16);
}

.browser-dots {
  height: 42px;
  align-items: center;
  padding: 0 14px;
  background: var(--ink);
}

.screen {
  position: absolute;
  inset: 42px 0 0;
  padding: clamp(20px, 4vw, 48px);
}

.screen-title {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.healthy {
  background:
    linear-gradient(90deg, rgba(57, 198, 189, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(57, 198, 189, 0.18) 1px, transparent 1px),
    #effffb;
  background-size: 32px 32px;
}

.healthy .screen-title {
  color: #0c6964;
  background: rgba(57, 198, 189, 0.2);
}

.sick {
  background:
    linear-gradient(90deg, rgba(255, 91, 85, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 91, 85, 0.14) 1px, transparent 1px),
    #fff4f2;
  background-size: 34px 34px;
}

.sick .screen-title {
  color: #a82e29;
  background: rgba(255, 91, 85, 0.16);
}

.clean-hero,
.clean-row,
.broken-block,
.error-strip {
  border-radius: var(--radius);
}

.clean-hero {
  width: min(520px, 80%);
  height: 92px;
  background: linear-gradient(90deg, var(--mint), #8fe7df);
}

.clean-row {
  width: min(610px, 88%);
  height: 22px;
  margin-top: 22px;
  background: rgba(9, 36, 59, 0.18);
}

.clean-row.short {
  width: min(380px, 60%);
}

.health-chart,
.fever-chart {
  width: min(440px, 70%);
  height: 86px;
  margin-top: 28px;
  border-radius: var(--radius);
}

.health-chart {
  background:
    linear-gradient(135deg, transparent 0 45%, var(--mint) 45% 52%, transparent 52%),
    rgba(255, 255, 255, 0.74);
}

.broken-block {
  width: min(440px, 76%);
  height: 80px;
  transform: rotate(-2deg);
  background: rgba(255, 91, 85, 0.26);
}

.broken-block.small {
  width: min(310px, 60%);
  height: 36px;
  margin-top: 22px;
  transform: rotate(1deg);
  background: rgba(9, 36, 59, 0.22);
}

.error-strip {
  width: min(520px, 84%);
  height: 24px;
  margin-top: 26px;
  background: repeating-linear-gradient(90deg, var(--coral), var(--coral) 18px, var(--yellow) 18px, var(--yellow) 34px);
}

.fever-chart {
  background:
    linear-gradient(135deg, transparent 0 32%, var(--coral) 32% 39%, transparent 39% 48%, var(--coral) 48% 58%, transparent 58%),
    rgba(255, 255, 255, 0.82);
}

.crack {
  position: absolute;
  right: 18%;
  top: 84px;
  width: 5px;
  height: 210px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 40% 22%, 100% 22%, 26% 47%, 72% 47%, 24% 78%, 90% 78%, 20% 100%, 0 100%);
  opacity: 0.5;
}

.slider-label {
  position: absolute;
  left: clamp(18px, 3vw, 32px);
  bottom: 34px;
  color: rgba(9, 36, 59, 0.7);
  font-size: 0.9rem;
  font-weight: 850;
}

input[type="range"] {
  position: absolute;
  left: clamp(18px, 3vw, 32px);
  right: clamp(18px, 3vw, 32px);
  bottom: 18px;
  width: calc(100% - clamp(36px, 6vw, 64px));
  accent-color: var(--coral);
}

.trust {
  background: var(--ink);
  color: var(--white);
}

.trust .section-heading p,
.trust .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-item {
  color: var(--ink);
  background: var(--white);
}

.trust-item strong {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.trust-item span {
  display: block;
  margin-top: 12px;
  color: rgba(9, 36, 59, 0.7);
  font-weight: 850;
}

.trust-item p {
  margin: 12px 0 0;
  color: rgba(9, 36, 59, 0.7);
}

.emergency {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, #fff8f5, var(--mint-soft));
  overflow: hidden;
}

.emergency::before {
  content: "";
  position: absolute;
  inset: 36px auto auto 54%;
  width: 320px;
  height: 320px;
  background-image: url("assets/stickers-bg.webp");
  background-size: cover;
  opacity: 0.1;
  transform: rotate(-8deg);
}

.emergency-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.ambulance-wrap {
  position: relative;
  z-index: 1;
}

.ambulance-wrap img {
  width: min(620px, 100%);
  margin-left: auto;
  filter: drop-shadow(0 28px 38px rgba(9, 36, 59, 0.18));
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(9, 36, 59, 0.7);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.has-reveal .reveal {
  opacity: 1;
  transform: translateY(18px);
  transition: transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-14px) rotate(4deg);
  }
}

@keyframes scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(210px);
  }
}

@keyframes ekgDraw {
  0% {
    stroke-dashoffset: 650;
  }
  62% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -650;
  }
}

@keyframes ekgSweep {
  from {
    transform: translateX(-100px);
  }
  to {
    transform: translateX(620px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .emergency,
  .triage-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-art > img:first-child {
    width: 100%;
  }

  .treatment-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
    gap: 12px;
  }

  .brand-text {
    max-width: none;
    overflow: visible;
  }

  .brand-main {
    font-size: 0.82rem;
    overflow: visible;
    text-overflow: clip;
  }

  .brand-sub {
    font-size: 0.62rem;
    overflow: visible;
    text-overflow: clip;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-cta {
    display: none;
  }

  .section-band {
    padding: 54px 16px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.2rem);
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .vitals,
  .symptom-panel,
  .treatment-grid,
  .timeline,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .floating-sticker {
    width: 110px;
    height: auto;
  }

  .sticker-heart {
    left: 10px;
    bottom: 10px;
  }

  .sticker-kit {
    top: 10px;
    right: 10px;
  }

  .before-after {
    padding-bottom: 78px;
  }

  .browser-window {
    bottom: 82px;
  }

  .screen {
    padding: 18px;
  }

  .crack {
    right: 12%;
    height: 150px;
  }
}

@media (max-width: 420px) {
  .brand-text {
    max-width: none;
  }

  .header-cta {
    padding-inline: 10px;
  }
}

@media (max-width: 360px) {
  .brand-text {
    display: grid;
  }
}
