/* ═══════════════════════════════════════════════════════════════
   Data Health v5 Styles
   System fonts only. No cream, no orange pills, no cards.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #F6F6F4;
  --ink: #0B0B0B;
  --mute: #6A6A66;
  --line: #E4E4E0;
  --hot: #E23B2B;
  --paper: #fff;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font: inherit;
}

/* ─────────────────────────────────────────────────────────────
   Skip Link
   ───────────────────────────────────────────────────────────── */
.skip {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ─────────────────────────────────────────────────────────────
   Navigation
   ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
}

.mark {
  display: flex;
  align-items: center;
  gap: 3px;
}

.mark i {
  display: block;
  width: 4px;
  height: 18px;
  background: var(--hot);
}

.mark i:first-child {
  height: 12px;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.brand-text em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.8em;
  color: var(--mute);
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav nav a {
  text-decoration: none;
  color: var(--mute);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}

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

.nav nav a.btn {
  padding: 0.5rem 1.25rem;
  background: var(--hot);
  color: var(--paper);
  border-radius: 4px;
  font-weight: 500;
}

.nav nav a.btn:hover {
  background: #C7311F;
  color: var(--paper);
}

/* ─────────────────────────────────────────────────────────────
   Hero
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(11, 11, 11, 0.72), rgba(11, 11, 11, 0.84));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: 0 2rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 680;
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 0.3s forwards;
}

.hero h1 .l1,
.hero h1 .l2 {
  display: block;
}

.hero h1 .yet {
  font-size: 0.88em;
  font-weight: 680;
  color: var(--paper);
  opacity: 0;
  animation: yetIn 0.6s var(--ease) 1.2s forwards;
}

@keyframes yetIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lede {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 2.15s forwards;
}

.lede .l1 {
  display: block;
  font-weight: 500;
}

.hero .btn {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 2.7s forwards;
}

/* ─────────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--hot);
  color: var(--paper);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn:hover {
  background: #C7311F;
  transform: translateY(-1px);
}

.btn-light {
  background: var(--paper);
  color: var(--hot);
}

.btn-light:hover {
  background: var(--bg);
  color: var(--hot);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: #2A2A2A;
}

.btn-primary {
  background: var(--hot);
  color: var(--paper);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--paper);
  border-color: var(--ink);
}

/* ─────────────────────────────────────────────────────────────
   Proof Section (Stats Board)
   ───────────────────────────────────────────────────────────── */
.proof {
  padding: 6rem 2rem;
  background: var(--paper);
}

.proof-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.proof-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mute);
  text-align: center;
  margin-bottom: 3rem;
}

.proof-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  padding: 3rem;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--line);
}

.proof-stat {
  text-align: center;
}

.proof-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.proof-label {
  font-size: 0.9rem;
  color: var(--mute);
  line-height: 1.3;
}

/* ─────────────────────────────────────────────────────────────
   Named Picture Section (Split Layout)
   ───────────────────────────────────────────────────────────── */
.named-picture {
  padding: 6rem 2rem;
  background: var(--bg);
}

.named-picture-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.named-picture-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(11, 11, 11, 0.08);
}

.named-picture-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 680;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.named-picture-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--mute);
  margin-bottom: 1.25rem;
}

.guarantee {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--paper);
  border-left: 4px solid var(--hot);
  border-radius: 4px;
}

.guarantee strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

/* ─────────────────────────────────────────────────────────────
   Laptop Band
   ───────────────────────────────────────────────────────────── */
.laptop-band {
  padding: 6rem 2rem;
  background: var(--paper);
}

.laptop-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.laptop-band-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(11, 11, 11, 0.12);
}

.laptop-band-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 680;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.laptop-band-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--mute);
  margin-bottom: 2rem;
}

/* ─────────────────────────────────────────────────────────────
   Already Section (Booking)
   ───────────────────────────────────────────────────────────── */
.already {
  padding: 6rem 2rem;
  background: var(--bg);
  text-align: center;
}

.already-inner {
  max-width: 720px;
  margin: 0 auto;
}

.already h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 680;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
}

.already p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--mute);
  margin-bottom: 2rem;
}

.price {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--hot);
  margin: 2rem 0 1rem;
}

.price-note {
  font-size: 0.95rem;
  color: var(--mute);
  margin-bottom: 2.5rem;
}

/* ─────────────────────────────────────────────────────────────
   Trust Section
   ───────────────────────────────────────────────────────────── */
.trust {
  padding: 6rem 2rem;
  background: var(--paper);
}

.trust-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.trust h3 {
  font-size: 1.25rem;
  font-weight: 680;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.trust ul {
  list-style: none;
}

.trust li {
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--mute);
  border-bottom: 1px solid var(--line);
}

.trust li:last-child {
  border-bottom: none;
}

.trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  font-weight: 700;
  color: var(--hot);
}

/* ─────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────── */
.footer {
  padding: 3rem 2rem;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.footer-inner p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-inner a {
  color: var(--paper);
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────
   Scorecard Page
   ───────────────────────────────────────────────────────────── */
.scorecard-hero {
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  background: var(--paper);
  text-align: center;
}

.scorecard-inner {
  max-width: 880px;
  margin: 0 auto;
}

.scorecard-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 680;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}

.scorecard-hero .lede {
  font-size: 1.25rem;
  color: var(--mute);
  animation: none;
  opacity: 1;
}

.scorecard-calculator {
  padding: 4rem 2rem;
  background: var(--bg);
}

.scorecard-form {
  margin-bottom: 3rem;
}

.scorecard-form h2 {
  font-size: 1.5rem;
  font-weight: 680;
  color: var(--ink);
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 1.125rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.2s var(--ease);
}

.form-group input:focus {
  outline: none;
  border-color: var(--hot);
}

.scorecard-result {
  margin-bottom: 3rem;
}

.scorecard-result h3 {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mute);
  text-align: center;
  margin-bottom: 2rem;
}

.result-board,
.gap-board {
  padding: 3rem 2rem;
  background: var(--ink);
  border-radius: 8px;
  text-align: center;
}

.result-percentage,
.gap-pct {
  margin-bottom: 1.5rem;
}

.result-value,
.gap-pct {
  font-size: clamp(64px, 12vw, 104px);
  font-weight: 700;
  line-height: 1;
  color: var(--hot);
}

.result-text p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.5rem;
}

.result-leftover {
  font-weight: 600;
  color: var(--paper);
}

.result-board.example,
.gap-board.example {
  opacity: 0.78;
}

.scorecard-symptoms {
  margin-bottom: 3rem;
}

.scorecard-symptoms h3 {
  font-size: 1.25rem;
  font-weight: 680;
  color: var(--ink);
  margin-bottom: 1rem;
  text-align: center;
}

.symptoms-note {
  font-size: 0.95rem;
  color: var(--mute);
  text-align: center;
  margin-bottom: 2rem;
}

.symptoms-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.symptom-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.symptom-item:hover {
  border-color: var(--hot);
}

.symptom-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.symptom-item span {
  font-size: 1.05rem;
  color: var(--ink);
}

.scorecard-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* ─────────────────────────────────────────────────────────────
   Animations & Scroll Reveal
   ───────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────────
   Print Styles
   ───────────────────────────────────────────────────────────── */
@media print {
  .nav,
  .footer,
  .btn,
  button,
  .scorecard-actions {
    display: none !important;
  }

  body {
    background: var(--paper);
  }

  .gap-board,
  .result-board {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .scorecard-hero {
    padding-top: 2rem;
  }
}

/* ─────────────────────────────────────────────────────────────
   Responsive (Mobile 860px breakpoint)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav nav a:not(.btn) {
    display: none;
  }

  .proof-board {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
  }

  .named-picture-inner,
  .laptop-band-inner,
  .trust-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .laptop-band-inner {
    direction: rtl;
  }

  .laptop-band-inner > * {
    direction: ltr;
  }
}

@media (max-width: 600px) {
  /* Keep the message usable on small screens. The hero image remains decorative. */
  .hero-media {
    z-index: 0;
    pointer-events: none;
  }

  .hero-inner {
    z-index: 2;
  }

  .hero h1,
  .lede,
  .hero .btn {
    animation: none;
    opacity: 1;
  }

  .nav-inner {
    padding: 0 1rem;
  }

  .hero-inner,
  .scorecard-inner,
  .proof,
  .named-picture,
  .laptop-band,
  .already,
  .trust {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .proof-board {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
