/* The Laura Plan — shared styles. Fonts are self-hosted (no Google requests, no tracking). */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/poppins-Regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/poppins-Medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("/fonts/poppins-Bold.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/poppins-MediumItalic.woff") format("woff"); }
/* Layout idea: navy brand bands framing cream content; one featured product, a shelf for upcoming ones. */
:root {
  --navy: #1c2642;
  --navy-2: #2a3a63;
  --gold: #c39a6b;
  --gold-soft: #ead8c0;
  --cream: #f4eee6;
  --paper: #fffdf7;
  --ink: #1b2236;
  --muted: #5b6275;
  --line: #e8dfc8;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Header */
header.top { background: var(--navy); color: var(--cream); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.wordmark { display: flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: 1.15rem; letter-spacing: .01em; }
.wordmark .the { font-style: italic; font-weight: 500; color: var(--gold); font-size: .95rem; }
nav.links { display: flex; gap: 22px; flex-wrap: wrap; font-size: .92rem; }
nav.links a { text-decoration: none; opacity: .85; }
nav.links a:hover { opacity: 1; color: var(--gold-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem var(--font); text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d0aa7e; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }

/* Hero */
.hero { background: var(--navy); color: var(--cream); padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero .lede { margin-top: 18px; max-width: 34em; color: #d9dcea; font-size: 1.08rem; }
.hero .ctas { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .assure { margin-top: 18px; font-size: .86rem; color: #b8bdd3; display: flex; gap: 18px; flex-wrap: wrap; }
.hero .assure span::before { content: "✓ "; color: var(--gold); }

/* Product mock */
.mock { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.mock-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock h3 { font-size: .95rem; font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; }
.mock h3 small { font-weight: 500; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.tile b { display: block; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.tile span { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tile.left { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.tile.left span { color: var(--gold-soft); }
.bars { margin-top: 14px; display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 92px 1fr 64px; gap: 10px; align-items: center; font-size: .78rem; }
.bar-row .track { position: relative; height: 10px; background: #efe8d6; border-radius: 99px; }
.bar-row .plan { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: #bfe3dc; }
.bar-row .act { position: absolute; inset: 2px auto 2px 0; border-radius: 99px; background: #2a9d8f; }
.bar-row .act.over { background: #e76f51; }
.bar-row em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.mock-legend { margin-top: 10px; display: flex; gap: 14px; font-size: .7rem; color: var(--muted); }
.mock-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--navy); }
.section-head p { margin-top: 10px; color: var(--muted); }

/* Products */
.shop-list { display: grid; gap: 28px; }
.for-who { display: inline-block; background: var(--gold-soft); color: var(--navy); font-size: .75rem; font-weight: 600; letter-spacing: .04em; padding: 4px 12px; border-radius: 99px; margin-bottom: 12px; }
.product .info .name { font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 36px; }
.product .cover { background: var(--navy); color: var(--cream); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; }
.product .cover .tag { align-self: flex-start; background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; }
.product .cover h3 { font-size: 1.9rem; font-weight: 700; margin-top: 24px; }
.product .cover p { color: #c9cee0; margin-top: 10px; font-size: .95rem; }
.product .cover-img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; display: block; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pills span { border: 1px solid rgba(241,227,179,.5); color: var(--gold-soft); font-size: .78rem; padding: 4px 12px; border-radius: 99px; }
.product .info h3 { font-size: 1.5rem; color: var(--navy); }
.product .tagline { margin-top: 8px; color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 22px 0; }
.price { font-size: 2.2rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.price-note { font-size: .85rem; color: var(--muted); }
.inside { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.inside li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; }
.inside li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2314213d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.small-print { margin-top: 14px; font-size: .82rem; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.step .n { font-size: .8rem; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
.step .time { float: right; font-size: .78rem; color: var(--muted); }
.step h3 { margin-top: 10px; font-size: 1.15rem; color: var(--navy); }
.step p { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* Coming soon */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.soon { border: 1.5px dashed #cfc2a0; border-radius: 16px; padding: 24px; background: transparent; }
.soon .label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.soon h3 { margin-top: 8px; font-size: 1.1rem; color: var(--navy); }
.soon p { margin-top: 6px; font-size: .92rem; color: var(--muted); }

/* About */
.about { background: var(--navy); color: var(--cream); }
.about .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.about h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about .rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about .rules li { border-left: 3px solid var(--gold); padding-left: 14px; }
.about .rules b { color: var(--gold-soft); font-weight: 600; }
.about p.body { color: #d0d4e4; margin-top: 14px; max-width: 36em; }
.about .disclose { margin-top: 18px; font-size: .82rem; color: #9fa6c0; }

/* FAQ */
.faq { max-width: 760px; display: grid; gap: 10px; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 18px; color: var(--muted); max-width: 62ch; }

/* Footer */
footer { background: var(--cream); color: var(--muted); padding: 48px 0 32px; font-size: .9rem; border-top: 1px solid var(--line); }
.mono { border-radius: 8px; display: block; margin-right: 4px; }
.stacked { display: block; height: auto; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .cols { display: flex; gap: 40px; flex-wrap: wrap; }
footer h4 { margin: 0 0 8px; color: var(--navy); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--navy); text-decoration: underline; }
.copy { width: 100%; margin-top: 20px; font-size: .8rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .product, .about .wrap { grid-template-columns: 1fr; }
  .steps, .shelf { grid-template-columns: 1fr; }
  .product { padding: 22px; }
}
@media (max-width: 480px) {
  nav.links { gap: 14px; font-size: .85rem; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .bar-row { grid-template-columns: 74px 1fr 56px; }
}

/* ---- Accessibility and legal additions ---- */
:root { --bronze-text: #7d5830; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); font-weight: 600; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
/* Gold text is too light on cream; use darker bronze there (WCAG AA) */
section:not(.hero):not(.about) .eyebrow, .product .info .name, .step .n { color: var(--bronze-text); }
.mock .mock-title { font-size: .95rem; font-weight: 600; margin: 0 0 12px; display: flex; justify-content: space-between; }
.mock .mock-title small { font-weight: 500; color: var(--muted); }
footer .legal-links { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; }
footer .legal-links a { text-decoration: underline; text-underline-offset: 3px; }
footer h2.foot-h { margin: 0 0 8px; color: var(--navy); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }

/* Legal and error pages */
.page-top { background: var(--navy); color: var(--cream); padding: 48px 0 40px; }
.page-top h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-top p { color: #d9dcea; margin-top: 10px; }
.legal { max-width: 760px; padding: 48px 20px 72px; margin: 0 auto; }
.legal h2 { font-size: 1.25rem; color: var(--navy); margin: 36px 0 10px; }
.legal h3 { font-size: 1.02rem; color: var(--navy); margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; margin: 10px 0; }
.legal a { color: var(--navy); text-underline-offset: 3px; }
.legal .note { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-top: 18px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .93rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--navy); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.notfound { text-align: center; padding: 96px 20px; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--navy); }
.notfound p { color: var(--muted); margin: 14px auto 28px; max-width: 32em; }
.notfound .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-navy { background: var(--navy); color: var(--cream); }
