/* Geetha Health — marketing site
   Hand-written, no framework, no build step, no external requests.
   Brand colour matches the app's AccentColor: rgb(52,122,179). */

/* ---------- tokens ---------- */

:root {
  --brand: #347ab3;
  --brand-hover: #2a6291;
  --brand-soft: #eef4fa;

  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --bg-invert: #16202b;

  --text: #16202b;
  --text-muted: #5b6b7c;
  --text-invert: #f2f6fa;

  --border: #e2e8ee;
  --shadow: 0 18px 40px -18px rgba(22, 32, 43, .35);

  --wrap: 1080px;
  --radius: 14px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #6ba9dc;
    --brand-hover: #8cbde6;
    --brand-soft: #17222c;

    --bg: #0f1519;
    --bg-alt: #161e25;
    --bg-invert: #1d2833;

    --text: #e8eef4;
    --text-muted: #9aabbb;

    --border: #26323d;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  }
}

/* ---------- base ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); font-weight: 650; }
h3 { font-size: 1.1rem; font-weight: 640; }
p { margin: 0 0 1rem; }

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

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; top: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: .6rem 1.15rem;
  border-radius: 980px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-hover); color: #fff; transform: translateY(-1px); }
.btn-sm { font-size: .875rem; padding: .45rem .95rem; }
.btn-lg { font-size: 1.05rem; padding: .85rem 1.8rem; }

.btn-invert { background: #fff; color: var(--bg-invert); }
.btn-invert:hover { background: #e8eef4; color: var(--bg-invert); }

.badgelink { display: inline-block; }
.badgelink img { height: 48px; width: auto; }

/* Pre-launch status badge. Deliberately not button-shaped — there is nowhere
   to go yet, and a fake button is worse than an honest label. */
.comingsoon {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
  font-weight: 650; font-size: .875rem; letter-spacing: .01em;
  padding: .45rem 1rem; border-radius: 980px;
}
.comingsoon::before {
  content: ""; flex: none;
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--brand);
}
.comingsoon-lg { font-size: 1rem; padding: .7rem 1.4rem; }
.comingsoon-invert {
  background: color-mix(in srgb, #fff 14%, transparent);
  border-color: color-mix(in srgb, #fff 30%, transparent);
  color: var(--text-invert);
}
.comingsoon-invert::before { background: var(--text-invert); }

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

.siteheader {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.headerinner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text); text-decoration: none; }
.brand img { border-radius: 7px; }

/* ---------- hero ---------- */

.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.heroinner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.lede { font-size: 1.15rem; color: var(--text-muted); max-width: 34em; }
.lede.strong { color: var(--text); font-weight: 600; }

.ctarow { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 1.75rem; }
.ctanote { font-size: .85rem; color: var(--text-muted); }

.heroshot img {
  width: 100%; max-width: 340px; margin-inline: auto;
  border-radius: 34px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ---------- bands ---------- */

.band { padding: clamp(48px, 6.5vw, 84px) 0; border-top: 1px solid var(--border); }
.band > .wrap > h2 { max-width: 20em; }
.bandlede { font-size: 1.1rem; color: var(--text-muted); max-width: 46em; margin-bottom: 2rem; }

.privacy { background: var(--bg-alt); }

.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .85rem; max-width: 52em; }
.checks li { padding-left: 2rem; position: relative; color: var(--text-muted); }
.checks li strong { color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.1rem; height: .6rem;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: rotate(-45deg);
}

.fineprint { font-size: .92rem; color: var(--text-muted); }

/* ---------- feature cards ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 20px; margin-top: 2rem; }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card p { color: var(--text-muted); margin: 0; font-size: .96rem; }
.privacy .card { background: var(--bg); }

.badge {
  display: inline-block; margin-left: .4em;
  font-size: .72rem; font-weight: 650; letter-spacing: .02em;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  padding: .1rem .45rem; border-radius: 5px; vertical-align: 1px;
}

/* ---------- screenshot row ---------- */

.shots { background: var(--bg-alt); }
.shotrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 4vw, 48px); }
.shotrow figure { margin: 0; }
.shotrow img {
  width: 100%; max-width: 280px; margin-inline: auto;
  border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.shotrow figcaption {
  margin-top: 1rem; text-align: center;
  font-size: .9rem; color: var(--text-muted);
}

/* ---------- steps ---------- */

.stepslist { list-style: none; counter-reset: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.stepslist li { margin: 0; }
.stepnum {
  display: inline-grid; place-items: center;
  width: 2.2rem; height: 2.2rem; margin-bottom: .9rem;
  border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 700; font-size: .95rem;
}
.stepslist p { color: var(--text-muted); margin: 0; font-size: .96rem; }

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

.faq { background: var(--bg-alt); }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  max-width: 52em;
}
.faq details:first-of-type { border-top: 1px solid var(--border); margin-top: 2rem; }
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--brand); font-weight: 500; font-size: 1.4rem; line-height: 1; flex: none;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .9rem 0 0; color: var(--text-muted); max-width: 46em; }

/* ---------- closing ---------- */

.closing { background: var(--bg-invert); border-top: none; color: var(--text-invert); }
.closinginner { text-align: center; }
.closing h2 { color: var(--text-invert); }
.closing p { color: color-mix(in srgb, var(--text-invert) 72%, transparent); font-size: 1.1rem; margin-bottom: 2rem; }

/* ---------- prose (privacy policy) ---------- */

.prose { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); max-width: 720px; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.prose h2 { font-size: 1.3rem; margin-top: 2.4rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { font-weight: 650; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

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

.sitefooter { border-top: 1px solid var(--border); padding: 40px 0 56px; background: var(--bg); }
.disclaimer {
  font-size: .85rem; color: var(--text-muted); max-width: 52em;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-alt);
}
.footerlinks { display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0 12px; font-size: .92rem; }
.colophon { font-size: .82rem; color: var(--text-muted); margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .heroinner { grid-template-columns: 1fr; text-align: center; }
  .herocopy .lede { margin-inline: auto; }
  .ctarow { align-items: center; }
  .heroshot { order: 2; }
  .heroshot img { max-width: 270px; }
  .checks { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .btn:hover { transform: none; }
}
