/* =================================================================
   AxiomPoint — site stylesheet
   Light and pastel only. No dark mode, no web fonts, no trackers.
   ================================================================= */

:root {
  --ink:       #1c3a3c;
  --ink-soft:  #4a6467;
  --ink-faint: #74898b;

  --paper: #fffdfa;
  --card:  #ffffff;
  --rule:  #ece5db;

  --mint:   #e8f5f1;
  --sky:    #e9f2f8;
  --peach:  #fdeee6;
  --butter: #fdf5e2;
  --blush:  #fceef0;

  --accent:      #2f7d70;
  --accent-deep: #235e55;
  --pastel:      #a8ddd0;
  --pastel-soft: #d9f0e9;
  --tint:        #eaf6f2;

  --radius:    18px;
  --radius-lg: 30px;
  --measure:   64ch;

  --shadow-sm: 0 2px 4px rgba(28,58,60,.04), 0 8px 24px rgba(28,58,60,.06);
  --shadow-md: 0 4px 10px rgba(28,58,60,.05), 0 22px 50px rgba(28,58,60,.10);
}

body.bam {                      /* Baby & Me — sage + peach */
  --pastel:      #f6cdb6;
  --pastel-soft: #fde3d4;
  --tint:        #fdefe6;
}
body.nn {                       /* NutriNest — mint + butter */
  --accent:      #37796b;
  --accent-deep: #285d52;
  --pastel:      #a9dcc7;
  --pastel-soft: #d8f0e5;
  --tint:        #e9f6ef;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.65 ui-rounded, "SF Pro Rounded", ui-sans-serif, -apple-system,
        BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 26px; }
.wrap.narrow { max-width: 800px; }
img { max-width: 100%; height: auto; }

/* ---------------- header ---------------- */

header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,253,250,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 15px 26px; flex-wrap: wrap;
}
.brandmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; letter-spacing: -.015em;
  color: var(--ink); text-decoration: none;
}
.brandmark .dot {
  width: 24px; height: 24px; border-radius: 9px; flex: 0 0 auto;
  background: linear-gradient(145deg, #f9c9a7, #a9dcc7 55%, #b9d9ef);
}
nav.site { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
nav.site a { color: var(--ink-soft); text-decoration: none; font-size: 15.5px; font-weight: 600; }
nav.site a:hover { color: var(--accent); }
nav.site .soon {
  font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: var(--butter); color: #7a5a12;
}

/* ---------------- type ---------------- */

h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.03em; font-weight: 750; margin: 0 0 20px; }
h2 { font-size: clamp(26px, 3.5vw, 38px); line-height: 1.15; letter-spacing: -.024em; font-weight: 730; margin: 0 0 16px; }
h3 { font-size: 20px; letter-spacing: -.012em; font-weight: 700; margin: 0 0 8px; }
h1, h2, h3 { color: var(--ink); }

p, li { color: var(--ink-soft); }
p { margin: 0 0 16px; max-width: var(--measure); }
.lede { font-size: clamp(18px, 2.05vw, 21px); line-height: 1.55; max-width: 54ch; }
a { color: var(--accent); text-underline-offset: 2px; }

.eyebrow {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--rule);
  font-size: 13.5px; font-weight: 700; color: var(--accent);
  margin-bottom: 18px; box-shadow: var(--shadow-sm);
}

section { padding: 82px 0; position: relative; }
section.tight { padding: 54px 0; }
.w-mint { background: var(--mint); }
.w-sky { background: var(--sky); }
.w-peach { background: var(--peach); }
.w-butter { background: var(--butter); }
.w-blush { background: var(--blush); }

.center { text-align: center; }
.center p, .center .lede { margin-left: auto; margin-right: auto; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em;
       background: var(--tint); padding: 2px 7px; border-radius: 6px; color: var(--accent-deep); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 44px 0; }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 16.5px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--pastel); box-shadow: var(--shadow-sm); }
.btn-ghost { background: var(--card); border-color: var(--rule); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---------------- hero ---------------- */

.hero {
  padding: 76px 0 84px; position: relative; overflow: hidden;
  background:
    radial-gradient(closest-side at 10% 16%, var(--peach), transparent 66%),
    radial-gradient(closest-side at 90% 10%, var(--sky), transparent 64%),
    radial-gradient(closest-side at 72% 94%, var(--tint), transparent 68%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 52px 0 60px; } }
.hero-note { font-size: 14.5px; color: var(--ink-faint); margin-top: 20px; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 700; padding: 8px 17px; border-radius: 999px;
  background: var(--card); color: var(--accent-deep);
  border: 1px solid var(--rule); box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--pastel); flex: 0 0 auto; }

/* ---------------- proof ---------------- */

.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 16px; margin-top: 46px; }
.proof div { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
             padding: 22px; box-shadow: var(--shadow-sm); }
.proof strong { display: block; color: var(--ink); font-size: 16px; font-weight: 730; margin-bottom: 5px; }
.proof span { font-size: 14.5px; color: var(--ink-faint); line-height: 1.5; display: block; }
.wrap.narrow .proof { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .wrap.narrow .proof { grid-template-columns: 1fr; } }

/* ---------------- pillars ---------------- */

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(244px, 1fr)); gap: 22px; margin-top: 46px; }
.pillar { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg);
          padding: 30px 28px; box-shadow: var(--shadow-sm); }
.pillar .ic { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px;
              background: var(--pastel-soft); color: var(--accent-deep);
              display: flex; align-items: center; justify-content: center; }
.pillar .ic svg { width: 25px; height: 25px; }
.pillar p { font-size: 15.5px; margin: 0; max-width: none; }
.pillar:nth-child(4n+2) .ic { background: var(--sky); }
.pillar:nth-child(4n+3) .ic { background: var(--butter); }
.pillar:nth-child(4n+4) .ic { background: var(--blush); }

/* ---------------- feature rows ---------------- */

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 86px; }
.row:last-child { margin-bottom: 0; }
.row.flip .row-text { order: 2; }
@media (max-width: 840px) { .row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 60px; }
                            .row.flip .row-text { order: 0; } }
.row-text p { max-width: 46ch; }

.tick { list-style: none; padding: 0; margin: 20px 0 0; }
.tick li { position: relative; padding-left: 32px; margin-bottom: 12px; font-size: 15.5px; }
.tick li::before { content: ""; position: absolute; left: 0; top: .15em; width: 21px; height: 21px;
                   border-radius: 999px; background: var(--pastel-soft); }
.tick li::after { content: ""; position: absolute; left: 6px; top: .55em; width: 9px; height: 5px;
                  border-left: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep);
                  transform: rotate(-45deg); }

/* ---------------- figure cards ---------------- */

.figcard { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg);
           padding: 34px 32px; box-shadow: var(--shadow-md); position: relative; z-index: 1; }
.figcard h4 { font-size: 13px; letter-spacing: .09em; text-transform: uppercase;
              color: var(--ink-faint); margin: 0 0 18px; font-weight: 730; }
.figcard p { font-size: 15px; margin: 16px 0 0; max-width: none; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips span { font-size: 14px; font-weight: 640; padding: 8px 15px; border-radius: 999px;
              background: var(--pastel-soft); color: var(--accent-deep); white-space: nowrap; }
.chips span:nth-child(4n+2) { background: var(--sky); }
.chips span:nth-child(4n+3) { background: var(--butter); }
.chips span:nth-child(4n+4) { background: var(--blush); }
.chips span.muted { background: transparent; border: 1px dashed var(--rule); color: var(--ink-faint); }

.bignum { font-size: clamp(44px, 5.5vw, 60px); line-height: 1; letter-spacing: -.035em;
          font-weight: 760; color: var(--accent); display: block; margin-bottom: 8px; }

.stack { display: grid; gap: 16px; }
.stack > div { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.stack > div:last-child { border-bottom: 0; padding-bottom: 0; }
.stack .n { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px;
            background: var(--pastel-soft); color: var(--accent-deep);
            font-size: 13.5px; font-weight: 730; display: flex; align-items: center; justify-content: center; }
.stack > div:nth-child(4n+2) .n { background: var(--sky); }
.stack > div:nth-child(4n+3) .n { background: var(--butter); }
.stack > div:nth-child(4n+4) .n { background: var(--blush); }
.stack strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 3px; font-weight: 700; }
.stack p { margin: 0; font-size: 14.5px; max-width: none; }

.sources { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
           margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--rule); }
.sources span { font-size: 14px; color: var(--ink-faint); font-weight: 620; }
.sources .label { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 730; }

/* ---------------- app cards ---------------- */

.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 48px; }
@media (max-width: 840px) { .apps { grid-template-columns: 1fr; } }
.app-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg);
            padding: 34px 32px 30px; display: flex; flex-direction: column;
            box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.app-card .icon { width: 62px; height: 62px; border-radius: 19px; margin-bottom: 20px;
                  display: flex; align-items: center; justify-content: center; }
.app-card.bam .icon { background: linear-gradient(150deg, #fde3d4, #f6cdb6); color: #8a4a2c; }
.app-card.nn  .icon { background: linear-gradient(150deg, #d8f0e5, #a9dcc7); color: #285d52; }
.app-card .icon svg { width: 30px; height: 30px; }
.app-card .status { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
                    font-size: 12.5px; font-weight: 730; padding: 6px 13px; border-radius: 999px;
                    background: var(--butter); color: #7a5a12; margin-bottom: 14px; }
.app-card h2 { font-size: 27px; margin-bottom: 10px; }
.app-card p { font-size: 15.5px; flex: 1; max-width: none; }
.app-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.app-links a { font-size: 15.5px; font-weight: 660; text-decoration: none; }
.app-links a:hover { text-decoration: underline; }

/* ---------------- principles ---------------- */

.principles { display: grid; gap: 18px; margin-top: 38px; }
.principles div { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
                  padding: 26px 28px; box-shadow: var(--shadow-sm); border-left: 5px solid var(--pastel); }
.principles div:nth-child(2) { border-left-color: #f6d9a8; }
.principles div:nth-child(3) { border-left-color: #f5c2c8; }
.principles div:nth-child(4) { border-left-color: #b9d9ef; }
.principles strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 17px; font-weight: 730; }
.principles p { margin: 0; font-size: 15.5px; max-width: none; }

/* ---------------- founder note ---------------- */

.story {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 44px 46px; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.story::before {
  content: ""; position: absolute; inset: -50% -30% auto auto; width: 320px; height: 320px;
  border-radius: 50%; background: var(--tint); opacity: .8; pointer-events: none;
}
.story > * { position: relative; }
.story p { font-size: 17.5px; line-height: 1.68; max-width: 58ch; }
.story p:first-of-type { font-size: 20px; font-weight: 620; color: var(--ink); }
.sig { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 26px;
       border-top: 1px solid var(--rule); }
.sig .av { width: 46px; height: 46px; border-radius: 999px; flex: 0 0 auto;
           background: linear-gradient(145deg, #f9c9a7, #a9dcc7); color: var(--ink);
           display: flex; align-items: center; justify-content: center; font-weight: 750; font-size: 18px; }
.sig strong { display: block; color: var(--ink); font-size: 16px; font-weight: 730; }
.sig span { font-size: 14px; color: var(--ink-faint); }
@media (max-width: 640px) { .story { padding: 32px 26px; } }

/* ---------------- FAQ ---------------- */

.faq { margin-top: 38px; }
.faq details { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
               margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 56px 22px 26px; position: relative;
               font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px;
                      border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
                      transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 26px 22px; margin: 0; font-size: 16px; }
.faq details p + p { padding-top: 0; margin-top: -10px; }

/* ---------------- CTA ---------------- */

.cta {
  border-radius: var(--radius-lg); padding: 62px 44px; text-align: center;
  background:
    radial-gradient(closest-side at 18% 20%, var(--peach), transparent 70%),
    radial-gradient(closest-side at 84% 78%, var(--sky), transparent 70%),
    var(--pastel-soft);
  border: 1px solid var(--rule);
}
.cta p { max-width: 48ch; margin-left: auto; margin-right: auto; }
.cta .btn-primary { background: var(--card); }

/* ---------------- callout ---------------- */

.note { background: var(--card); border: 1px solid var(--rule); border-left: 5px solid var(--pastel);
        border-radius: var(--radius); padding: 22px 26px; margin: 28px 0; box-shadow: var(--shadow-sm); }
.note p { margin: 0; max-width: none; }
.note p + p { margin-top: 10px; }

/* ---------------- prose ---------------- */

.prose { padding: 60px 0 92px; }
.prose h1 { font-size: clamp(32px, 4.4vw, 46px); }
.prose h2 { font-size: 24px; margin: 50px 0 12px; }
.prose h3 { font-size: 18px; margin: 32px 0 8px; }
.prose p, .prose li { max-width: var(--measure); }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin-bottom: 10px; }
.meta { font-size: 14.5px; color: var(--ink-faint); margin-bottom: 34px; }

table { border-collapse: collapse; width: 100%; max-width: var(--measure); margin: 20px 0 28px; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-soft); }
th { color: var(--ink); font-weight: 700; }
ul.clean { padding-left: 22px; }
ul.clean li { margin-bottom: 9px; }

/* ---------------- footer ---------------- */

footer.site { border-top: 1px solid var(--rule); background: var(--mint);
              padding: 54px 0 64px; font-size: 15px; color: var(--ink-faint); }
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 38px; }
@media (max-width: 800px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
                 color: var(--ink); margin: 0 0 14px; font-weight: 730; }
footer.site a { color: var(--ink-soft); text-decoration: none; display: block; margin-bottom: 9px; font-weight: 550; }
footer.site a:hover { color: var(--accent); }
footer.site p { color: var(--ink-faint); font-size: 14.5px; margin: 0 0 8px; max-width: 40ch; }
footer.site .legal { border-top: 1px solid rgba(28,58,60,.12); padding-top: 24px; font-size: 14px; }

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

/* ---------------- app screenshots ---------------- */

.shot {
  position: relative; border-radius: 30px; overflow: hidden;
  background: var(--card); border: 1px solid var(--rule);
  box-shadow: var(--shadow-md);
}
.shot img { display: block; width: 100%; }

.shot-wrap { display: flex; justify-content: center; margin-top: 40px; }
.shot-wrap .shot { max-width: 300px; width: 100%; }
