:root {
  --primary: #366760;
  --primary-deep: #20423d;
  --accent: #ee6557;
  --accent-soft: #ffb4aa;
  --bg: #f5faf8;
  --bg-2: #eef4f2;
  --surface: #dbe5e2;
  --text: #171d1b;
  --text-soft: #4a635e;
  --text-mute: #6f7977;
  --line: #cfdad6;
  --card: #ffffff;
  --halo: rgba(54, 103, 96, 0.12);
  --shadow-sm: 0 1px 2px rgba(23, 29, 27, 0.06), 0 1px 1px rgba(23, 29, 27, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(23, 29, 27, 0.14), 0 2px 6px rgba(23, 29, 27, 0.05);
  --shadow-lg: 0 30px 60px -28px rgba(23, 29, 27, 0.22), 0 10px 24px -12px rgba(23, 29, 27, 0.08);
  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
}

/* Dark Mode Tokens (Default App Design Target) */
body.dark {
  --primary: #9ed0c8;
  --primary-deep: #699a93;
  --accent: #ee6557;
  --accent-soft: #ffb4aa;
  --bg: #121413;
  --bg-2: #181b19;
  --surface: #222624;
  --text: #e2e3e0;
  --text-soft: #c0c8c6;
  --text-mute: #8a9390;
  --line: #2c3230;
  --card: #1a1c1b;
  --halo: rgba(158, 208, 200, 0.16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, 0.8), 0 10px 24px -12px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  transition: background-color .25s ease, color .25s ease;
}

/* Subtle organic grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 29, 27, 0.04) 1px, transparent 0);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 0;
}
body.dark::before {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.035) 1px, transparent 0);
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.serif {
  font-family: "Newsreader", "Iowan Old Style", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ---------- NAV ---------- */
nav.top {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(245, 250, 248, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
body.dark nav.top {
  background: rgba(18, 20, 19, 0.82);
}
nav.top.scrolled {
  border-bottom-color: var(--line);
}
nav.top .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img {
  width: 36px; height: 36px; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.brand b { font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
.brand span.tag {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  margin-left: 2px;
}
nav .links { display: flex; gap: 28px; align-items: center; }
nav .links ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}
nav .links li { margin: 0; }
nav .links a {
  color: var(--text-soft); text-decoration: none; font-size: 14.5px; font-weight: 500;
  transition: color .15s ease;
}
nav .links a:hover { color: var(--text); }
nav .mini-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary); color: #003732; text-decoration: none;
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
body:not(.dark) nav .mini-cta {
  color: #ffffff;
}
nav .mini-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 14px var(--halo); }

/* ---------- HERO ---------- */
header.hero {
  padding: 64px 0 88px;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary);
  background: var(--surface);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}
h1.display {
  font-size: clamp(40px, 5.2vw, 62px);
  line-height: 1.06;
  margin: 0 0 22px;
  color: var(--text);
}
h1.display .accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 500;
}
.lede {
  font-size: 19px; line-height: 1.5; color: var(--text-soft);
  margin: 0 0 16px; max-width: 530px;
}
.sub {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-mute); margin: 0 0 32px;
}
.sub svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--primary); }

.cta-row {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-bottom: 30px;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px; border-radius: 14px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.store-btn.primary {
  background: var(--primary);
  color: #003732;
  border-color: transparent;
  box-shadow: 0 8px 24px var(--halo);
}
body:not(.dark) .store-btn.primary {
  color: #ffffff;
}
.store-btn.primary:hover {
  box-shadow: 0 12px 32px var(--halo);
}
.store-btn .glyph { width: 26px; height: 26px; display: grid; place-items: center; flex-shrink: 0; }
.store-btn .glyph svg { width: 100%; height: 100%; }
.store-btn .label { display: flex; flex-direction: column; text-align: left; }
.store-btn .label small {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.8; font-weight: 600; line-height: 1.1;
}
.store-btn .label span { font-size: 15.5px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

.trust-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--text-mute);
}
.trust-row .item {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500;
}
.trust-row .item svg { width: 15px; height: 15px; color: var(--primary); }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.halo {
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--halo) 0%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 290px;
  aspect-ratio: 9 / 18.5;
  background: #0d0f0e;
  border-radius: 46px;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone .screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #121413;
}
.phone .screen img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Floating interactive badges */
.float {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--card);
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  font-size: 13px;
  animation: floaty 4.5s ease-in-out infinite alternate;
}
.float .ic {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--surface); color: var(--primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.float .ic svg { width: 17px; height: 17px; }
.float .tt { font-weight: 600; color: var(--text); line-height: 1.2; }
.float .subt { font-size: 11.5px; color: var(--text-soft); }

.float.a { top: 12%; left: -24px; animation-delay: 0s; }
.float.b { bottom: 16%; right: -20px; animation-delay: 2.2s; }

@keyframes floaty {
  from { transform: translateY(0px); }
  to { transform: translateY(-8px); }
}

/* ---------- SECTION HEADERS ---------- */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  margin: 0 0 14px;
  line-height: 1.15;
}
.section-head p {
  color: var(--text-soft);
  font-size: 17.5px;
  margin: 0;
}

/* ---------- FEATURES ---------- */
section.features {
  padding: 72px 0 80px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface); color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 20px; font-weight: 600; margin: 0 0 10px;
  letter-spacing: -0.015em; color: var(--text);
}
.feature-card p {
  margin: 0; color: var(--text-soft); font-size: 15.5px; line-height: 1.55;
}

/* ---------- HOW IT WORKS ---------- */
section.how {
  padding: 72px 0 80px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary);
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 19px; font-weight: 600; margin: 0 0 10px;
  line-height: 1.3; color: var(--text);
}
.step-card p {
  margin: 0; color: var(--text-soft); font-size: 15px; line-height: 1.55;
}

/* ---------- SCREENS SHOWCASE ---------- */
section#screens {
  padding: 80px 0 90px;
}
.shots-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 48px; flex-wrap: wrap;
}
.shots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.shot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.shot:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.shot--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}
.shot-frame {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 40px 24px 0;
  display: flex; justify-content: center;
  overflow: hidden;
}
.shot-phone {
  width: 250px;
  aspect-ratio: 9 / 18.5;
  background: #0d0f0e;
  border-radius: 36px 36px 0 0;
  padding: 8px 8px 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.shot--wide .shot-phone {
  width: 280px;
}
.shot-phone .inner {
  width: 100%; height: 100%;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  background: #121413;
}
.shot-phone .inner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.shot-cap {
  padding: 28px;
}
.shot-cap .tag {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary);
  margin-bottom: 8px;
}
.shot-cap h4 {
  font-size: 20px; font-weight: 600; margin: 0 0 8px; color: var(--text);
}
.shot-cap-body {
  font-size: 14.5px; color: var(--text-soft); line-height: 1.55;
}
.shot-cap-body p { margin: 0; }

/* ---------- PRIVACY PLEDGE ---------- */
.pledge {
  background: linear-gradient(135deg, #18221f 0%, #121413 100%);
  color: #e2e3e0;
  border: 1px solid #2c3834;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
body:not(.dark) .pledge {
  background: linear-gradient(135deg, #20423d 0%, #171d1b 100%);
  color: #f5faf8;
  border-color: #2b564f;
}
.pledge-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative; z-index: 1;
}
.pledge .eyebrow {
  background: rgba(158, 208, 200, 0.15);
  color: #9ed0c8;
}
.pledge .eyebrow .dot {
  background: #9ed0c8;
  box-shadow: 0 0 8px #9ed0c8;
}
.pledge h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 14px;
  line-height: 1.18;
}
.pledge h2 em {
  color: #9ed0c8;
  font-style: italic;
}
.pledge p {
  color: #c0c8c6;
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0;
}
.pledge-seal {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(158, 208, 200, 0.3);
  background: rgba(158, 208, 200, 0.08);
  display: grid; place-items: center;
  color: #9ed0c8;
  box-shadow: 0 0 32px rgba(158, 208, 200, 0.15);
}
.pledge-seal svg { width: 44px; height: 44px; }

/* ---------- FAQ ACCORDION ---------- */
section.faq {
  padding: 80px 0 90px;
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item:hover {
  border-color: var(--primary);
}
.faq-question {
  width: 100%;
  background: none; border: none;
  padding: 22px 26px;
  text-align: left;
  font-size: 17.5px; font-weight: 600;
  color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer;
  font-family: inherit;
}
.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--text-soft);
  transition: transform .2s ease, color .15s ease;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease-out;
  padding: 0 26px;
  color: var(--text-soft);
  font-size: 15.5px; line-height: 1.6;
}
.faq-item.open .faq-answer {
  padding-bottom: 22px;
}
.faq-answer p { margin: 0; }

/* ---------- FINAL CTA ---------- */
section.final-cta {
  padding: 60px 0 100px;
}
.cta-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta-box .halo {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
}
.cta-box h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 14px;
  position: relative; z-index: 1;
}
.cta-box p {
  color: var(--text-soft); font-size: 18px;
  max-width: 520px; margin: 0 auto 32px;
  position: relative; z-index: 1;
}
.cta-box .cta-row {
  justify-content: center; margin-bottom: 0;
  position: relative; z-index: 1;
}

/* ---------- SITE FOOTER ---------- */
footer.site-foot {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg);
}
footer.site-foot .inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 8px; }
.foot-brand .name { font-weight: 600; color: var(--text); font-size: 15px; }
.foot-brand .copy { color: var(--text-mute); font-size: 13.5px; margin-left: 14px; }
.foot-links { display: flex; gap: 24px; align-items: center; }
.foot-links a { color: var(--text-soft); text-decoration: none; font-size: 14px; transition: color .15s ease; }
.foot-links a:hover { color: var(--text); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .lede, .sub {
    margin-left: auto; margin-right: auto;
  }
  .cta-row, .trust-row {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .float.a { left: 5%; top: 5%; }
  .float.b { right: 5%; bottom: 5%; }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .shot--wide {
    grid-template-columns: 1fr;
  }
  .shot--wide .shot-phone {
    width: 250px;
  }
  .pledge-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pledge p { margin: 0 auto; }
  .pledge-seal { margin: 0 auto; }
}

@media (max-width: 680px) {
  .feature-grid, .shots-grid {
    grid-template-columns: 1fr;
  }
  .wrap { padding: 0 20px; }
  nav .links { display: none; }
  .float { display: none; }
  .pledge { padding: 40px 24px; }
  footer.site-foot .inner {
    flex-direction: column;
    text-align: center;
  }
  .foot-brand { flex-direction: column; }
  .foot-brand .copy { margin-left: 0; }
}
