/* Choosing Me — landing site styles
   Palette derived from app icon: navy seedling on warm cream. */

:root {
  --bg: #faf6ec;
  --bg-card: #ffffff;
  --bg-soft: #f1ead9;
  --ink: #23324f;
  --ink-soft: #46557a;
  --navy: #2b3a5c;
  --navy-deep: #1e2b47;
  --accent: #7d9fd3;
  --accent-strong: #35538f;
  --line: #e0d7c2;
  --shadow: 0 6px 24px rgba(43, 58, 92, 0.10);
  --radius: 16px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", "Iowan Old Style", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17203a;
    --bg-card: #1f2b4a;
    --bg-soft: #21304f;
    --ink: #ece5d3;
    --ink-soft: #c0c9dd;
    --navy: #d6e2f5;
    --navy-deep: #eef3fb;
    --accent: #8fadd9;
    --accent-strong: #a9c3e8;
    --line: #35446b;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

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

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

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
}
.site-nav ul {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--navy); text-decoration: underline; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-nav ul { flex-direction: column; gap: 0.4rem; padding: 0.5rem 0 0.75rem; }
  .site-nav a { display: block; padding: 0.45rem 0.25rem; font-size: 1.05rem; }
}

/* Hero */
.hero { padding: 3.5rem 0 3rem; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2rem; }
}
.hero-kicker {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.hero p.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 34rem;
}
.hero-cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.price-note { color: var(--ink-soft); font-size: 0.95rem; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--navy-deep);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.65rem 1.25rem;
  line-height: 1.15;
  transition: transform 0.15s ease;
}
@media (prefers-color-scheme: dark) {
  .store-badge { background: #0d1526; color: #f4f0e4; border: 1px solid var(--line); }
}
.store-badge:hover { transform: translateY(-2px); color: #fff; }
@media (prefers-color-scheme: dark) { .store-badge:hover { color: #f4f0e4; } }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .badge-text { display: flex; flex-direction: column; text-align: left; }
.store-badge .badge-small { font-size: 0.68rem; opacity: 0.85; }
.store-badge .badge-big { font-size: 1.05rem; font-weight: 600; }

/* Hero mock card (illustration, not a screenshot) */
.mock-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
  max-width: 21rem;
  margin: 0 auto;
  text-align: center;
}
.mock-card .mock-icon { width: 72px; height: 72px; border-radius: 16px; margin-bottom: 1rem; }
.mock-card .mock-day {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--navy);
  line-height: 1;
}
.mock-card .mock-label { color: var(--ink-soft); font-size: 0.95rem; margin: 0.35rem 0 1.2rem; }
.mock-dots { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 1.1rem; }
.mock-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.mock-dots span.done { background: var(--accent); border-color: var(--accent); }
.mock-caption { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }

/* Sections */
section { padding: 3.25rem 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 42rem; color: var(--ink-soft); }

/* Problem / solution */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }
.panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.panel ul { margin: 0; padding-left: 1.2rem; }
.panel li { margin-bottom: 0.55rem; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}
.feature .glyph {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  color: var(--accent-strong);
  font-size: 1.15rem;
}
.feature h3 { margin-bottom: 0.35rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* How it helps steps */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}
.steps .num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--accent-strong);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: 0.25rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Privacy strip */
.privacy-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.9rem;
}
.privacy-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.97rem;
}
.privacy-list li::before { content: "✓ "; color: var(--accent-strong); font-weight: 700; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; font-family: var(--font-body); font-size: 1.05rem; }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 1.1rem 2.4rem 1.1rem 0.2rem;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-strong);
}
.faq-q[aria-expanded="true"]::after { content: "–"; }
.faq-a { padding: 0 0.2rem 1.2rem; color: var(--ink-soft); max-width: 46rem; }
.faq-a[hidden] { display: none; }

/* Guides cards */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.guide-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.guide-card h3 { color: var(--accent-strong); margin-bottom: 0.4rem; }
.guide-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .hero-cta { justify-content: center; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 720px) { .footer-cols { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 1rem; font-family: var(--font-body); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  max-width: 52rem;
}

/* Guide article pages */
.breadcrumb { font-size: 0.9rem; color: var(--ink-soft); padding: 1.25rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.4rem; color: var(--line); }
article.guide { padding: 1.5rem 0 3rem; }
article.guide .wrap { max-width: 46rem; }
article.guide h2 { margin-top: 2.2rem; }
article.guide h3 { margin-top: 1.6rem; }
article.guide ul, article.guide ol { padding-left: 1.35rem; }
article.guide li { margin-bottom: 0.5rem; }
.guide-meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 1.75rem; }
.callout {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin: 1.75rem 0;
}
.callout h3 { margin-top: 0; }
.related { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; }
