/* ============================================================
   Super Health — Marketing site
   Shared styles. Light surfaces, dark hero, lime accent.
   ============================================================ */

:root {
  /* light (default page surface) */
  --bg:        #F5F4F0;
  --surface:   #FFFFFF;
  --card:      #FAFAF8;
  --border:    #E8E6DF;
  --bstrong:   #D0CEC6;
  --text:      #0E0F12;
  --sub:       #5C606E;
  --muted:     #9EA2AD;
  --faint:     #EEECEA;

  /* dark slab (hero + footer) */
  --d-bg:      #0A0B0D;
  --d-surface: #131418;
  --d-card:    #1A1C21;
  --d-border:  #242830;
  --d-bstrong: #333840;
  --d-text:    #EDEEF1;
  --d-sub:     #878D9A;
  --d-muted:   #545A67;
  --d-faint:   #23262E;

  /* shared */
  --accent:    #C8FF3E;
  --accent-ink:#0A0B0D;
  --ab:        #8EC800;

  --sh-sm: 0 1px 3px rgba(14,15,18,.07), 0 1px 2px rgba(14,15,18,.04);
  --sh-md: 0 4px 12px rgba(14,15,18,.08), 0 2px 4px rgba(14,15,18,.04);
  --sh-lg: 0 20px 60px rgba(14,15,18,.18), 0 6px 24px rgba(14,15,18,.10);

  --w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body { background: var(--bg); }
body {
  color: var(--text);
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: 'ss01','cv11';
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  line-height: 1.45;
}
.mono { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

a { color: inherit; text-decoration: none; }

/* ============ NAV ============ */
.nav-wrap { background: var(--d-bg); color: var(--d-text); position: relative; }
.nav {
  max-width: var(--w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: 'Geist Mono', monospace; font-weight: 700; font-size: 16px;
}
.brand-name {
  font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600; color: var(--d-text);
}
.brand-dot { color: var(--accent); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 500; padding: 8px 14px;
  border-radius: 8px; color: var(--d-sub);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--d-text); background: var(--d-card); }
.nav-links a.active { color: var(--d-text); }
.nav-cta {
  font-size: 13px; font-weight: 600; padding: 10px 16px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  margin-left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-ham {
  display: none; background: none;
  border: 1px solid var(--d-border); border-radius: 8px;
  padding: 8px 10px; cursor: pointer; color: var(--d-text); line-height: 0;
}
.nav-ham .icon-close { display: none; }
.nav-ham[aria-expanded="true"] .icon-ham { display: none; }
.nav-ham[aria-expanded="true"] .icon-close { display: block; }

/* ============ DARK SLAB ============ */
.slab-dark {
  background: var(--d-bg); color: var(--d-text);
  position: relative; overflow: hidden;
}
.slab-dark::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}
.container { max-width: var(--w); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ============ HERO ============ */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 64px; align-items: center;
  padding: 64px 0 120px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--d-sub);
  padding: 6px 12px; border: 1px solid var(--d-border); border-radius: 999px;
  background: var(--d-surface);
}
.eyebrow .live {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200,255,62,.18);
}
h1.display {
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 28px 0 0;
}
h1.display em {
  font-style: normal;
  color: var(--accent);
}
.lead {
  font-size: 18px; line-height: 1.55; max-width: 500px;
  color: var(--d-sub); margin-top: 28px;
}
.cta-row { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* App store badges */
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--d-text); color: var(--d-bg);
  padding: 12px 22px 12px 18px;
  border-radius: 12px;
  transition: transform .12s, background .15s;
}
.store:hover { transform: translateY(-1px); background: #fff; }
.store .glyph { width: 26px; height: 26px; flex: 0 0 26px; }
.store .lt { display: flex; flex-direction: column; line-height: 1.05; }
.store .lt .l1 { font-size: 10px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.store .lt .l2 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-top: 2px; }

/* hero meta strip */
.hero-meta {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 28px; border-top: 1px solid var(--d-border);
}
.hero-meta div {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--d-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-meta strong {
  display: block; color: var(--d-text); font-family: 'Inter Tight', sans-serif;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  text-transform: none; margin-top: 6px;
}

/* phone art */
.phone {
  width: 320px; height: 660px;
  background: var(--d-bg);
  border: 10px solid #1c1d20;
  border-radius: 44px;
  box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  transform: rotate(-2deg);
}
.phone::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 26px; background: #000; border-radius: 14px; z-index: 5;
}
.phone-screen {
  position: absolute; inset: 0;
  background: var(--d-bg);
  display: flex; flex-direction: column;
}

/* ============ LIGHT SECTION ============ */
.section { padding: 120px 0; }
.section.tight { padding: 88px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.section-title {
  font-size: clamp(36px, 4.5vw, 56px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.0;
  margin-top: 14px; max-width: 720px;
}
.section-title em { font-style: normal; color: var(--ab); }
.section-desc {
  font-size: 17px; line-height: 1.55; color: var(--sub);
  max-width: 360px;
}

/* module grid */
.modules { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.mod {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 28px;
  box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
}
.mod .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--faint); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text);
}
.mod h3 {
  font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05;
}
.mod p { font-size: 14px; color: var(--sub); line-height: 1.55; }
.mod .tag {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  margin-top: auto;
}
.mod-wide { grid-column: span 6; }
.mod-med  { grid-column: span 4; }
.mod-sm   { grid-column: span 4; }
.mod-feat { grid-column: span 8; background: var(--d-bg); color: var(--d-text); border-color: var(--d-bg); }
.mod-feat h3 { font-size: 36px; }
.mod-feat p { color: var(--d-sub); font-size: 15px; max-width: 420px; }
.mod-feat .ico { background: rgba(255,255,255,0.06); border-color: var(--d-border); color: var(--d-text); }

/* feature numbers row */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats > div {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
}
.stats > div:last-child { border-right: 0; }
.stats .n {
  font-size: 48px; font-weight: 500; letter-spacing: -0.03em; line-height: 1;
  font-family: 'Geist Mono', monospace; font-feature-settings: 'tnum';
}
.stats .l {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  margin-top: 14px;
}

/* principles list */
.principles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.princ {
  padding: 28px 0; border-top: 1px solid var(--border);
}
.princ .num {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; color: var(--muted);
}
.princ h4 {
  font-size: 22px; font-weight: 500; letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.princ p { font-size: 14px; color: var(--sub); line-height: 1.55; }

/* download cta */
.dlcta {
  background: var(--d-bg); color: var(--d-text);
  border-radius: 28px; padding: 80px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.dlcta::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}
.dlcta h2 {
  font-size: clamp(36px, 4.5vw, 56px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.0; position: relative; z-index: 1;
}
.dlcta h2 em { font-style: normal; color: var(--accent); }
.dlcta p { color: var(--d-sub); font-size: 17px; line-height: 1.55; margin-top: 24px; max-width: 480px; position: relative; z-index: 1; }
.dlcta .stores { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }

/* ============ FOOTER ============ */
.footer {
  background: var(--d-bg); color: var(--d-text);
  padding: 80px 0 40px;
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid var(--d-border);
}
.foot-grid h5 {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--d-muted);
  margin-bottom: 18px; font-weight: 500;
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-grid a {
  font-size: 14px; color: var(--d-sub);
  transition: color .15s;
}
.foot-grid a:hover { color: var(--d-text); }
.foot-blurb { font-size: 14px; color: var(--d-sub); line-height: 1.6; max-width: 280px; margin-top: 16px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.08em; color: var(--d-muted); text-transform: uppercase;
}
.foot-bottom .legal { display: flex; gap: 20px; }

/* ============ INNER PAGE HERO ============ */
.page-hero { padding: 88px 0 96px; }
.page-hero .eyebrow { background: var(--d-card); }
.page-hero h1 {
  font-size: clamp(48px, 6vw, 76px); font-weight: 500;
  letter-spacing: -0.035em; line-height: 0.98;
  margin-top: 24px; max-width: 880px;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { font-size: 18px; line-height: 1.55; color: var(--d-sub); margin-top: 24px; max-width: 620px; }

/* prose for about / terms */
.prose { max-width: 720px; }
.prose h2 {
  font-size: 28px; font-weight: 500; letter-spacing: -0.02em;
  margin: 56px 0 18px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 17px; font-weight: 600; letter-spacing: -0.005em;
  margin: 32px 0 10px; color: var(--text);
}
.prose p, .prose li {
  font-size: 16px; line-height: 1.65; color: var(--sub);
}
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0 8px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--muted); font-family: 'Geist Mono', monospace; font-size: 13px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .toc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px 24px; margin-bottom: 48px;
  box-shadow: var(--sh-sm);
}
.prose .toc h5 {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px; font-weight: 500;
}
.prose .toc ol { list-style: decimal; padding-left: 22px; columns: 2; column-gap: 32px; margin: 0; }
.prose .toc a { font-size: 14px; color: var(--sub); }
.prose .toc a:hover { color: var(--text); text-decoration: underline; }
.prose .meta {
  display: flex; gap: 28px; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid var(--d-border);
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.08em; color: var(--d-muted); text-transform: uppercase;
}
.prose .meta strong { color: var(--d-text); font-family: 'Inter Tight', sans-serif; font-size: 14px; letter-spacing: -0.005em; text-transform: none; display: block; margin-top: 6px; font-weight: 500; }

/* about specific */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start; }
.about-side h5 {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px; font-weight: 500;
}
.about-side ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.about-side a { font-size: 14px; color: var(--sub); display: block; padding: 6px 0; border-top: 1px solid var(--border); }
.about-side a:first-child { border-top: 0; padding-top: 0; }
.about-side a:hover { color: var(--text); }

/* contact specific */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 36px; box-shadow: var(--sh-sm);
}
.contact-card label {
  display: block; font-family: 'Geist Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; font-weight: 500;
}
.contact-card input, .contact-card textarea, .contact-card select {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px;
  transition: border .15s, box-shadow .15s;
}
.contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus {
  outline: 0; border-color: var(--ab);
  box-shadow: 0 0 0 4px rgba(142,200,0,0.12);
}
.contact-card textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.contact-card .field + .field { margin-top: 20px; }
.contact-card .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card .grid2 .field + .field { margin-top: 0; }
.btn-primary {
  font: inherit; font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
  padding: 16px 24px; border-radius: 12px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  transition: transform .08s;
  box-shadow: 0 2px 10px rgba(140,200,0,.28);
}
.btn-primary:active { transform: scale(0.98); }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info .item {
  padding: 24px 0; border-top: 1px solid var(--border);
}
.contact-info .item:first-child { border-top: 0; padding-top: 0; }
.contact-info .item h4 {
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px;
}
.contact-info .item p { font-size: 14px; color: var(--sub); line-height: 1.55; }
.contact-info .item a { color: var(--ab); font-weight: 500; }
.contact-info .item a:hover { text-decoration: underline; }
.contact-info .lbl {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}

/* responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 32px 0 80px; }
  .phone { transform: rotate(0); width: 280px; height: 580px; }
  .nav-ham { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    background: var(--d-surface); border-bottom: 1px solid var(--d-border);
    flex-direction: column; padding: 12px 24px 20px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--d-border); border-radius: 0; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { margin-left: 0; margin-top: 8px; align-self: flex-start; }
  .modules { grid-template-columns: 1fr; }
  .mod-wide, .mod-med, .mod-sm, .mod-feat { grid-column: span 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(1), .stats > div:nth-child(2) { border-bottom: 1px solid var(--border); }
  .principles { grid-template-columns: 1fr; }
  .dlcta { grid-template-columns: 1fr; padding: 48px 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .prose .toc ol { columns: 1; }
  .container { padding: 0 24px; }
  .nav { padding: 18px 24px; }
  .section { padding: 80px 0; }
}
