/* NAMO marketing site — plain CSS, no framework. Reproduces the approved design
   (desktop 1280 / 1120px container) and lays out cleanly at 768 and 360. */

/* ── Self-hosted Inter (variable, latin subset) — no external requests ─────── */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;              /* variable wght axis: covers 400/600/800 */
  font-display: swap;
  src: url("assets/inter-latin.woff2") format("woff2");
}

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --ink: #1C1C1C;
  --white: #FFFFFF;
  --border: #E4E2DF;
  --orange: #F26B1D;
  --cream: #F6EBDD;
  --muted: #55524F;
  --muted-2: #8A8784;
  --sand: #D4A87C;
  /* Eyebrow labels are tiny 12px text; these are nudged a shade darker than the
     mock's #7A2E0E / #C2410C purely to clear WCAG AA (4.5:1) on the cream and
     sand grounds — same rust family, visually ~identical. */
  --hero-eyebrow: #5A2207;
  --eyebrow: #9A3412;
  --hero-note: #3D3530;
  --callout: #FDE9DC;
}

/* ── Reset / base ──────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  width: 100%;
  overflow-x: hidden;               /* belt-and-braces: never scroll sideways */
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
h1, h2, p { margin: 0; }
a { color: inherit; }

/* Visible focus for keyboard users, works on light and dark grounds. */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 6px;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.14em; color: var(--eyebrow); text-transform: uppercase;
}
.eyebrow--sand { color: var(--hero-eyebrow); }
.eyebrow--orange { color: var(--orange); }
h1 { font-size: clamp(32px, 7vw, 44px); line-height: 1.1; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(26px, 5vw, 32px); line-height: 1.2; font-weight: 800; text-wrap: balance; }
.wordmark { display: inline-block; vertical-align: -2px; }

/* Buttons / CTAs (pill) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  background: var(--ink); color: var(--white);
  font-weight: 600; font-size: 17px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: none;
  font-family: inherit;
}
.btn--sm { font-size: 16px; }
.btn--block { width: 100%; }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: relative; }
.site-header .container {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav a.nav-cta { padding: 10px 18px; border: 2px solid var(--ink); border-radius: 999px; }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent; border: 2px solid var(--ink);
  border-radius: 12px; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { display: block; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { padding: 40px 0 56px; background: linear-gradient(135deg, #C79B6E 0%, #DFB488 100%); }
.hero .container { display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 40px; }
.hero__copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero__lead { font-size: 18px; line-height: 28px; color: var(--ink); }
.hero__cta { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.hero__paynote { font-size: 14px; line-height: 20px; color: var(--hero-note); text-align: center; }
.hero__assure {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--callout); border-radius: 16px; padding: 16px 18px; max-width: 460px;
  font-size: 15px; line-height: 22px;
}
.hero__assure .dot { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--orange); }
.hero__media { flex: 1 1 340px; min-width: 0; border-radius: 24px; overflow: hidden; line-height: 0; }
.hero__media img { width: 100%; height: auto; display: block; }

/* ── Generic section ───────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section__head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.stack { display: flex; flex-direction: column; gap: 28px; }

/* Feature grid (What you keep) */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--white); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card__title { font-weight: 600; font-size: 18px; }
.card__desc { font-size: 15px; line-height: 22px; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--white); }
.pill--good { background: #1E7A46; }
.pill--caution { background: #A15C00; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--ink);
  font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.step__title { font-weight: 600; font-size: 18px; }
.step__desc { font-size: 15px; line-height: 22px; color: var(--muted); }

/* Pricing */
.pricing__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.toggle { display: flex; background: var(--white); border-radius: 999px; padding: 4px; border: 1px solid var(--border); }
.toggle button {
  min-height: 44px; padding: 0 16px; border: none; border-radius: 999px;
  background: transparent; color: var(--ink); font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
}
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.plan { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.plan--featured { border: 2px solid var(--orange); }
.plan__name { font-weight: 800; font-size: 22px; }
.plan__name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__price .amount { font-weight: 800; font-size: 40px; line-height: 1; }
.plan__price .per { font-size: 16px; color: var(--muted); }
.plan__note { font-size: 14px; color: var(--muted); }
.plan__features { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 22px; }
.feat { display: flex; gap: 10px; }
.feat .bullet { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--orange); }
.feat--muted .bullet { background: var(--muted-2); }
.badge { background: var(--ink); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; padding: 5px 10px; border-radius: 999px; }
.pricing__disclaimer { font-size: 13px; line-height: 19px; color: var(--muted); }

/* Doctors band */
.doctors { background: var(--sand); padding: 56px 0; }
.doctors .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.doctors__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.doctors__copy p { font-size: 17px; line-height: 26px; color: var(--hero-note); }

/* Privacy cards */
.grid-privacy { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card--cream { background: var(--cream); }

/* Our story */
.story .container { }
.story__card { background: var(--ink); color: var(--white); border-radius: 28px; padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; }
.story__card p { font-size: 17px; line-height: 26px; color: var(--border); max-width: 680px; }
.story__name { font-size: 15px; font-weight: 600; color: var(--white); }

/* Final CTA */
.cta-final .container { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.cta-final__note { font-size: 14px; color: var(--muted); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--border); padding: 36px 0; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.footer__nav a { color: var(--border); text-decoration: none; padding: 10px 0; }
.footer__copy { font-size: 13px; width: 100%; color: var(--muted-2); }

/* ── Sub-page (doctors / privacy / terms) article ──────────────────────── */
.page-hero { padding: 48px 0 8px; }
.draft-banner {
  background: #FDE9DC; border: 1px solid #F3B48A; color: #7A2E0E;
  border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 22px; font-weight: 600;
}
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.prose h2 { font-size: clamp(22px, 4.5vw, 26px); margin-top: 12px; }
.prose h3 { font-size: 18px; font-weight: 600; margin: 8px 0 0; }
.prose p, .prose li { font-size: 16px; line-height: 26px; color: #2A2724; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose .muted { color: var(--muted); }
.updated { font-size: 14px; color: var(--muted); }

/* ── Responsive: tablet 768 and below ──────────────────────────────────── */
@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px; box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  }
  .nav.nav--open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: none; }
  .nav a.nav-cta { margin-top: 10px; text-align: center; border: 2px solid var(--ink); }
  .hero { padding: 28px 0 44px; }
  .section, .doctors { padding: 44px 0; }
  .story__card { padding: 32px 22px; }
}

/* ── Responsive: phone 360 and below ───────────────────────────────────── */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero .container { gap: 28px; }
  .plan { padding: 22px; }
  .story__card { padding: 26px 18px; }
  .pricing__top { align-items: stretch; }
  .toggle { align-self: flex-start; }
}
