@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,500..800;1,9..144,500&display=swap");

:root {
  --bg:           #f7f9fc;
  --bg-elevated:  #ffffff;
  --bg-blue:      #eef4fb;
  --bg-dark:      #0d2d4a;
  --bg-dark-soft: #1a3f5e;
  --ink:          #0d1b2a;
  --ink-soft:     #3a5068;
  --muted:        #6b8099;
  --line:         rgba(13, 29, 42, 0.09);
  --blue:         #1a6fbd;
  --blue-deep:    #0d4f8a;
  --blue-glow:    rgba(26, 111, 189, 0.18);
  --green:        #16875a;
  --green-soft:   #e6f5ee;
  --red-soft:     #fdf0ee;
  --radius-lg:    20px;
  --radius-md:    14px;
  --radius-sm:    10px;
  --shadow-sm:    0 4px 20px rgba(13, 29, 42, 0.07);
  --shadow-md:    0 16px 48px rgba(13, 29, 42, 0.11);
  --shadow-lg:    0 28px 80px rgba(13, 29, 42, 0.15);
  --font-sans:    "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --max:          1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* ── Header ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--blue); }
.nav-main {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-main a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-main a:hover { color: var(--blue); }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { background: var(--bg-blue); }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-ghost:hover { background: var(--blue-glow); }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-blue);
  border: 1px solid rgba(26, 111, 189, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-deep);
  margin-bottom: 24px;
}
.hero-badge .stars { color: #f4a12a; letter-spacing: 1px; }
h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}
.hero-lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  line-height: 1.65;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}
.price-current {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1px;
}
.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.hero-visual {
  background: var(--bg-blue);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  padding: 32px;
}
.hero-visual img { max-height: 380px; object-fit: contain; }

/* ── Trust strip ─────────────────────────────────────────────────────────────── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.trust-item {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.trust-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Sections ────────────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-blue {
  background: var(--bg-blue);
}
.section-dark {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,0.6); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 48px;
  max-width: 560px;
}

/* ── Benefits grid ───────────────────────────────────────────────────────────── */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.benefit-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.benefit-icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}
.benefit-card strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.benefit-card p { margin: 0; font-size: 14px; line-height: 1.6; }

/* ── Reading guide ───────────────────────────────────────────────────────────── */
.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.reading-card {
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}
.reading-card.normal  { background: var(--green-soft); border: 1px solid rgba(22,135,90,0.2); }
.reading-card.warning { background: #fffbec; border: 1px solid rgba(230,160,0,0.25); }
.reading-card.alert   { background: var(--red-soft); border: 1px solid rgba(200,60,40,0.2); }
.reading-card .range {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 4px;
}
.reading-card .label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.reading-card.normal  .label { color: var(--green); }
.reading-card.warning .label { color: #b07d00; }
.reading-card.alert   .label { color: #c03c28; }
.reading-card .desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.reading-disclaimer {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
}

/* ── Split layout ────────────────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}
.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.4px;
}
.split-copy p { margin: 0 0 16px; }

/* ── Spec table ──────────────────────────────────────────────────────────────── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 16px 14px 0;
  width: 42%;
}
.spec-table td { padding: 14px 0; color: var(--ink-soft); }

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.section:not(.section-dark) .faq-item {
  background: var(--bg-elevated);
  border-color: var(--line);
}
.faq-item.is-open { border-color: var(--blue); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.section-dark .faq-q { color: #fff; }
.section:not(.section-dark) .faq-q { color: var(--ink); }
.faq-icon {
  font-size: 22px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
  color: var(--blue);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), padding 0.2s;
  font-size: 15px;
  line-height: 1.65;
  padding: 0 24px;
}
.faq-item.is-open .faq-a {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ── CTA band ────────────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-soft) 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}
.cta-band p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  margin: 0 0 32px;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--blue-deep);
  font-size: 17px;
  padding: 16px 40px;
}
.cta-band .btn-primary:hover { background: var(--bg-blue); }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  padding: 40px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  align-items: center;
}
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: #fff; }

/* ── Marquee ─────────────────────────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  background: var(--bg-dark);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-seg {
  padding: 0 40px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Check list ──────────────────────────────────────────────────────────────── */
.check-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Reveal animation ────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 56px; }
  .hero-visual { max-width: 340px; margin: 0 auto; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .reading-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .benefits { grid-template-columns: 1fr; }
  .nav-main { display: none; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}
