/* GlucoBalance website — one stylesheet for all pages. No external fonts, scripts or trackers. */
:root {
  --navy: #0a2a4a;
  --navy-2: #0f3a5f;
  --teal: #0e6e68;
  --teal-light: #c6e4ec;
  --green: #34c759;
  --ink: #12202f;
  --muted: #5b6b7b;
  --line: #e3e9ef;
  --bg: #f5f8fb;
  --radius: 20px;
  --max: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; line-height: 1.55; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav .cta-small { color: #fff; background: var(--navy); padding: 8px 14px; border-radius: 999px; }
@media (max-width: 720px) { .nav a:not(.cta-small) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px;
  text-decoration: none; font-weight: 600; font-size: 17px; }
.btn-store { background: #000; color: #fff; }
.btn-store svg { width: 22px; height: 22px; fill: #fff; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: .85; line-height: 1.1; }
.btn-store span { display: block; font-size: 19px; line-height: 1.1; }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 45%, var(--teal) 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 20px; }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--teal-light); margin: 0 0 28px; max-width: 34em; }
.hero .meta { margin-top: 16px; font-size: 14px; color: var(--teal-light); }
.hero .phone { align-self: end; margin-bottom: -120px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .phone { margin: 0 auto -140px; max-width: 300px; }
}

/* Phone frame around real screenshots */
.phone { width: 100%; max-width: 340px; margin: 0 auto; padding: 10px; background: #111; border-radius: 52px;
  box-shadow: 0 30px 60px rgba(4, 20, 36, .35), inset 0 0 0 2px #3a3f45; }
.phone img { border-radius: 42px; width: 100%; height: auto; }

/* Sections */
section { padding: 96px 0; }
.hero + section { padding-top: 190px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--teal); margin: 0 0 10px; }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 16px; }
.section-intro { text-align: center; max-width: 720px; margin: 0 auto 56px; color: var(--muted); font-size: 19px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .text { order: 2; }
.feature .text p { color: var(--muted); font-size: 18px; margin: 0 0 16px; }
.feature ul { list-style: none; padding: 0; margin: 20px 0 0; }
.feature li { padding: 10px 0 10px 34px; position: relative; border-top: 1px solid var(--line); color: var(--ink); }
.feature li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(52,199,89,.18); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .text { order: 0; }
  .feature .phone { max-width: 290px; }
}

/* Optional strip */
.optional { background: var(--bg); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .icon { font-size: 30px; line-height: 1; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.note-center { text-align: center; color: var(--muted); margin: 32px 0 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Privacy band */
.privacy-band { background: var(--navy); color: #fff; }
.privacy-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.privacy-band h2 { color: #fff; }
.privacy-band p { color: var(--teal-light); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 14px 0 14px 40px; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 17px; }
.checks li::before { content: "✓"; position: absolute; left: 6px; top: 12px; color: var(--green); font-weight: 800; font-size: 20px; }
@media (max-width: 860px) { .privacy-band .wrap { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Final CTA + footer */
.final { text-align: center; background: var(--bg); }
.final img.app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 20px; box-shadow: 0 10px 24px rgba(10,42,74,.18); }
.site-footer { padding: 40px 0 56px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.disclaimer { flex-basis: 100%; font-size: 13px; }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 40px; margin: 0 0 6px; letter-spacing: -0.015em; }
.legal .version { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #2b3a49; }
.legal .highlight { background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: 12px; padding: 18px 20px; margin: 24px 0; font-weight: 600; }
.legal .updated { margin-top: 48px; color: var(--muted); font-size: 14px; }

/* Close-up of part of a screen */
.shot-card { border-radius: 28px; overflow: hidden; background: #f2f2f7; border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(10, 42, 74, .16); max-width: 460px; margin: 0 auto; }
.shot-card img { width: 100%; height: auto; }
.back-link { display: inline-block; margin-bottom: 18px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; }
.back-link:hover { text-decoration: underline; }
