/* PulseCheck marketing site.
   Brand colours come from aso-tokens.css and are never hard-coded here.
   Direction: warm paper, one coral accent, no decoration that does not carry meaning. */

:root {
  --paper:      #FFFBF8;
  --paper-2:    #FFF4ED;
  --line:       #F0DCCF;
  --text:       #1F1512;
  --text-2:     #5A4740;
  --shadow:     0 1px 2px rgba(60, 25, 10, .06), 0 8px 24px -16px rgba(60, 25, 10, .30);
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, h2, h3 {
  font-family: -apple-system, "SF Pro Rounded", BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(31px, 7.2vw, 46px); font-weight: 700; }
h2 { font-size: clamp(23px, 4.6vw, 30px); font-weight: 700; margin-top: 8px; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-ink); }
a:hover { text-decoration-thickness: 2px; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */

.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.brand img { border-radius: 7px; display: block; }
.site-head nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
}
.site-head nav a { color: var(--text-2); text-decoration: none; }
.site-head nav a:hover { color: var(--brand-ink); text-decoration: underline; }

/* ---------- sections ---------- */

section { padding: 42px 0; }
section + section { border-top: 1px solid var(--line); }

.hero {
  padding: 46px 0 40px;
  background:
    linear-gradient(180deg, rgba(248, 176, 136, .22) 0%, rgba(248, 176, 136, 0) 78%);
}
.eyebrow {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin: 0 0 12px;
}
.lead {
  font-size: clamp(18px, 3.4vw, 21px);
  line-height: 1.5;
  color: var(--text-2);
  margin: 16px 0 24px;
  max-width: 34em;
}

/* ---------- call to action ---------- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin: 24px 0 0;
}
.cta-note {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
  max-width: 24em;
}
.aso-badge { text-decoration: none; }

/* ---------- medical notice ---------- */

.notice {
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  background: var(--paper-2);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 28px 0 0;
}
.notice strong { color: var(--text); font-weight: 650; }

/* ---------- screenshots ---------- */

.shots {
  display: flex;
  gap: 16px;
  margin: 28px 0 0;
  padding-bottom: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.shot {
  flex: 0 0 auto;
  width: 221px;
  scroll-snap-align: start;
}
.shot img {
  display: block;
  width: 221px;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.shot figcaption {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-2);
  margin-top: 10px;
}

/* ---------- lists and cards ---------- */

.stack { display: grid; gap: 22px; margin-top: 24px; }

.item h3 { margin-bottom: 6px; }
.item p { color: var(--text-2); margin-bottom: 0; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 20px;
}
.steps li {
  counter-increment: step;
  padding-left: 44px;
  position: relative;
  color: var(--text-2);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
}
.steps b { color: var(--text); font-weight: 650; }

.facts {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.facts li {
  padding-left: 22px;
  position: relative;
  color: var(--text-2);
}
.facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.facts b { color: var(--text); font-weight: 650; }

/* ---------- comparison table ---------- */

.table-scroll { overflow-x: auto; margin-top: 24px; }
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
  font-size: 15px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-2);
}
th { color: var(--text); font-weight: 650; }
thead th { background: var(--paper-2); }
tbody th { font-weight: 500; color: var(--text); }

/* ---------- guides grid ---------- */

.guides {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
@media (min-width: 620px) {
  .guides { grid-template-columns: 1fr 1fr; }
}
.guide {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--paper);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}
.guide:hover { transform: translateY(-2px); border-color: var(--brand); }
.guide span {
  display: block;
  font-weight: 650;
  font-size: 17px;
  color: var(--brand-ink);
  margin-bottom: 4px;
}
.guide em {
  display: block;
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---------- faq ---------- */

.faq { display: grid; gap: 24px; margin-top: 24px; }
.faq h3 { margin-bottom: 6px; }
.faq p { color: var(--text-2); margin-bottom: 0; }

/* ---------- pulse rule ---------- */

.pulse-rule {
  display: block;
  width: 100%;
  max-width: 240px;
  height: 22px;
  margin: 34px 0 0;
  color: var(--brand);
}

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

.site-foot {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 32px 0 44px;
  font-size: 14.5px;
  color: var(--text-2);
}
.site-foot .wrap { display: grid; gap: 14px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-foot a { color: var(--brand-ink); }
.site-foot .fine { font-size: 13.5px; }

@media (min-width: 700px) {
  body { font-size: 17.5px; }
  section { padding: 52px 0; }
  .hero { padding: 60px 0 52px; }
}
