:root {
  --primary: #0B6B57;
  --primary-mid: #3B9A80;
  --primary-soft: #79C2AB;
  --primary-dark: #084A3D;
  --accent: #F2A65A;
  --bg: #F7F5F0;
  --bg-alt: #EFEBE0;
  --surface: #FFFFFF;
  --text: #14201C;
  --text-muted: #5B6B66;
  --text-faint: #97A39D;
  --border: #E4DECF;
  /* Fixed dark brand tone for the hero/gallery/founder bands — deliberately
     NOT theme-swapped (same call as the in-app ShareCard, CLAUDE.md §9.7:
     a marketing surface should look identical regardless of viewer theme). */
  --ink: #0A1512;
  --ink-2: #0F1F1A;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #45A98E;
    --primary-mid: #45A98E;
    --primary-soft: #79C2AB;
    --primary-dark: #79C2AB;
    --bg: #0E1613;
    --bg-alt: #131C18;
    --surface: #1A2620;
    --text: #F7F5F0;
    --text-muted: #A7B6AF;
    --text-faint: #5F6F68;
    --border: #263029;
  }
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary-mid); }
img { max-width: 100%; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary-mid);
  margin-bottom: 10px;
}
.kicker {
  font-size: 13px;
  font-weight: 700;
  color: #8FD9BE;
  margin: 0 0 14px;
  letter-spacing: .01em;
}

/* ── Header ── */
header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--primary-mid); color: var(--primary-mid); }
.lang-switch summary::after { content: "▾"; font-size: 10px; }
.lang-switch nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 150px;
  box-shadow: 0 16px 32px -12px rgba(0,0,0,.25);
  z-index: 30;
}
.lang-switch nav a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.lang-switch nav a:hover { background: var(--bg-alt); }
.lang-switch nav a.current { color: var(--primary); font-weight: 800; }
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

/* ── Hero (fixed dark band) ── */
section.hero {
  position: relative;
  background: radial-gradient(120% 140% at 50% -10%, var(--ink-2) 0%, var(--ink) 55%);
  color: #F7F5F0;
  padding: 56px 24px 60px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 460px;
  background: radial-gradient(closest-side, rgba(121,194,171,.35), transparent 72%);
  filter: blur(4px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #DCE6E1;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(32px, 5.4vw, 50px);
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h1 .accent-word { color: #8FD9BE; }
.hero-desc {
  color: #B9C7C1;
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 28px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 46px; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #45A98E, #0B6B57);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 16px 32px -12px rgba(69,169,142,.55);
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #B9C7C1;
  font-weight: 700;
  font-size: 14px;
  padding: 15px 22px;
  border-radius: 14px;
}
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 250px;
  aspect-ratio: 1080 / 2125;
  border-radius: 34px;
  padding: 8px;
  background: #0A0F0D;
  box-shadow: 0 40px 80px -28px rgba(0,0,0,.6), 0 4px 20px rgba(0,0,0,.3);
}
.phone .screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #000; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone .notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #0A0F0D;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.hero-visual .phone { width: 290px; }

/* ── Stat band ── */
section.stats { background: var(--bg-alt); padding: 40px 24px; }
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.stat b { display: block; font-size: clamp(26px, 6vw, 36px); font-weight: 900; color: var(--primary); letter-spacing: -0.02em; }
.stat span { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* ── Features ── */
section.features { max-width: 1080px; margin: 0 auto; padding: 72px 24px 40px; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 900; margin: 0 0 10px; letter-spacing: -0.02em; }
.section-head p { color: var(--text-muted); margin: 0; font-size: 15px; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px; }
.feature-card .emoji {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--bg-alt);
  border-radius: 14px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.01em; }
.feature-card p { color: var(--text-muted); margin: 0; font-size: 14.5px; }

/* ── Gallery (dark panel) ── */
section.gallery { max-width: 1080px; margin: 60px auto; padding: 0 24px; }
.gallery-panel { background: linear-gradient(165deg, var(--ink-2), var(--ink)); border-radius: 32px; padding: 48px 0 36px; }
.gallery-panel .section-head h2 { color: #F7F5F0; }
.gallery-panel .section-head p { color: #A9BAB3; }
.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 28px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { height: 6px; }
.gallery-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 999px; }
.gallery-item { flex: 0 0 auto; scroll-snap-align: start; width: 190px; text-align: center; }
.gallery-item .phone { width: 190px; }
.gallery-item .caption { margin-top: 14px; font-size: 13px; font-weight: 700; color: #CBD8D2; }

/* ── Deep-dive alternating sections ── */
section.dive { max-width: 1080px; margin: 0 auto; padding: 30px 24px; }
.dive-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.dive-row.reverse .dive-copy { order: 2; }
.dive-row.reverse .dive-visual { order: 1; }
@media (max-width: 800px) {
  .dive-row, .dive-row.reverse { grid-template-columns: 1fr; text-align: center; }
  .dive-row.reverse .dive-copy, .dive-row .dive-copy { order: 2; }
  .dive-row.reverse .dive-visual, .dive-row .dive-visual { order: 1; }
}
.dive-copy h2 { font-size: clamp(22px, 3.2vw, 28px); font-weight: 900; margin: 0 0 14px; letter-spacing: -0.02em; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 800px) { .checklist { text-align: left; max-width: 380px; margin: 0 auto; } }
.checklist li { display: flex; gap: 10px; color: var(--text-muted); font-size: 15px; }
.checklist li::before { content: "✓"; color: var(--primary); font-weight: 900; flex-shrink: 0; }
.dive-visual { display: flex; justify-content: center; }
.dive-visual .phone { width: 230px; }

/* ── Founder ── */
section.founder { max-width: 1080px; margin: 40px auto; padding: 48px 24px; background: linear-gradient(135deg, var(--ink-2), var(--ink)); border-radius: 28px; }
.founder-inner { max-width: 620px; margin: 0 auto; text-align: center; color: #F7F5F0; }
section.founder h2 { font-size: 26px; font-weight: 900; margin: 0 0 20px; }
section.founder p { color: #B9C7C1; font-size: 15px; }
.founder-figures { display: flex; gap: 16px; justify-content: center; margin: 22px 0; }
.founder-figures div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px 26px; text-align: center; }
.founder-figures b { display: block; font-size: 26px; font-weight: 900; color: #8FD9BE; }
.founder-figures span { font-size: 12px; color: #9FB0A9; }

/* ── FAQ ── */
section.faq { max-width: 760px; margin: 20px auto 0; padding: 40px 24px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-size: 16px; font-weight: 800; margin: 0 0 8px; }
.faq-item p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* ── Trust band ── */
section.trust { max-width: 780px; margin: 20px auto 0; padding: 32px 24px; text-align: center; }
section.trust .emoji { font-size: 26px; margin-bottom: 10px; }
section.trust h2 { font-size: 17px; font-weight: 800; margin: 0 0 10px; }
section.trust p { color: var(--text-muted); font-size: 14px; max-width: 560px; margin: 0 auto; }

/* ── Closing CTA ── */
section.closing { max-width: 1080px; margin: 40px auto; padding: 0 24px; }
.closing-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 48px 24px; text-align: center; }
.closing-panel h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 900; margin: 0 0 12px; letter-spacing: -0.02em; }
.closing-panel p { color: var(--text-muted); margin: 0 0 26px; }
.closing-panel .cta { background: linear-gradient(135deg, var(--primary-mid), var(--primary)); box-shadow: 0 16px 32px -14px rgba(11,107,87,.4); }

footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  align-items: center;
}
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
