/* Landing — same warm dark system as Medi-Cal Coverage tool. No gradients, no shadows. */

:root {
  --bg-base: #111110;
  --bg-card: #1C1C1A;
  --bg-input: #232320;
  --border: #2E2E2B;
  --border-focus: #4A4A45;
  --text-primary: #EDEDEC;
  --text-secondary: #999991;
  --text-muted: #666660;
  --accent: #E5A764;
  --accent-hover: #F0BE87;
  --accent-muted: rgba(229, 167, 100, 0.12);
  --btn-orange: #D4782A;
  --btn-orange-hover: #E8A055;
  --radius: 12px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  max-width: 620px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}

/* -----------------------------------------
   Nav — full width, brand left / links right
----------------------------------------- */
.nav {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.brandMark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.brandName {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.navRight {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navLink {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: color 150ms ease, background 150ms ease;
}

.navLink:hover {
  color: var(--text-primary);
  background: var(--accent-muted);
}

.navBtn {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--btn-orange);
  transition: background 150ms ease, color 150ms ease;
}

.navBtn:hover {
  background: var(--btn-orange-hover);
  color: #111110;
}

/* -----------------------------------------
   Hero — centered content, vertically centered
----------------------------------------- */
.hero {
  margin-top: 0;
  padding: 0;
  text-align: center;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.heroGrid {
  display: block;
}

.heroCopy {
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 20px 0 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.hero .sub {
  max-width: 440px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}

.ctaRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.primaryBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-orange);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  border: none;
  transition: background 150ms ease, color 150ms ease;
}

.primaryBtn:hover {
  background: var(--btn-orange-hover);
  color: #111110;
}

.secondaryBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg-input);
  font-weight: 500;
  font-size: 13.5px;
  border: 1px solid var(--border);
  transition: border-color 150ms ease, background 150ms ease;
}

.secondaryBtn:hover {
  border-color: var(--border-focus);
  background: var(--bg-card);
}

/* -----------------------------------------
   Sections — 40% spacing, content centered vertically and horizontally
----------------------------------------- */
.section {
  margin-top: 22vh;
  padding: 0;
  text-align: center;
  min-height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sectionHead {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 24px;
}

.sectionHead.left {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 480px;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.section p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Steps — minimal boxes */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.card {
  text-align: center;
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
}

.cardTitle {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.cardText {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

/* -----------------------------------------
   Split section — centered, stacked on small
----------------------------------------- */
.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.callout {
  width: 100%;
  max-width: 400px;
  text-align: center;
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
}

.calloutTop {
  margin-bottom: 12px;
}

.calloutTitle {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.bullets {
  margin: 0;
  padding-left: 20px;
  text-align: left;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}

.bullets li {
  margin: 6px 0;
}

/* -----------------------------------------
   Principles — minimal boxes
----------------------------------------- */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
}

.principle {
  text-align: center;
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
}

.principleTitle {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.principleText {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* -----------------------------------------
   Final CTA — centered, 40% space above, vertically centered
----------------------------------------- */
.finalCta {
  margin-top: 22vh;
  padding: 0;
  text-align: center;
  min-height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.finalPanel {
  max-width: 440px;
  margin: 0 auto;
  padding: 24px 28px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
}

.finalCopy {
  text-align: center;
}

.finalCopy h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.finalCopy p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}

.finalActions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.finalHint {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* -----------------------------------------
   Footer — centered, vertically centered
----------------------------------------- */
.footer {
  margin-top: 22vh;
  padding: 24px 0 0;
  min-height: 25vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

.footerRow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}

/* -----------------------------------------
   Responsive
----------------------------------------- */
@media (min-width: 560px) {
  .steps {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 16px;
    max-width: 980px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .principles {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 16px;
    max-width: 980px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
  .primaryBtn, .secondaryBtn, .navLink, .navBtn {
    transition: none;
  }
}
