/* Kindwillow — shared styles + WCAG 2.1 AA baseline.
   Applies to every page. Keep new pages using these tokens and components. */

:root {
  --bg: #FFFFFF;
  --surface: #FBFAF3;
  --surface-2: #F1F1E8;
  --ink: #22301F;
  --body: #414A38;
  --muted: #5F6555;          /* AA-safe on white and cream */
  --line: #E1E1D2;
  --green: #47714A;
  --green-deep: #2E5233;
  --gold: #B08D4F;           /* decorative fills / large elements */
  --gold-ink: #866A32;       /* AA-safe gold for text + links */
  --bark: #4F3D2C;
  --sage: #DCE0D0;
  --panel: #22301F;
  --panel-ink: #F1F1E8;
  --panel-body: #C3CCBA;
  --panel-line: #3C4A34;
  --focus: #866A32;
  --btn-fg: #F1F1E8;
  --shadow: 0 18px 44px -24px rgba(31, 42, 36, 0.42);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161E15;
    --surface: #1D261B;
    --surface-2: #212B1F;
    --ink: #F1F1E8;
    --body: #CFD7C7;
    --muted: #9BA792;
    --line: #2B3627;
    --green: #7CA47C;
    --green-deep: #6E9A6F;
    --gold: #CBA662;
    --gold-ink: #D8B872;
    --bark: #C7A98A;
    --sage: #33422F;
    --panel: #101710;
    --panel-ink: #F1F1E8;
    --panel-body: #B8C2AF;
    --panel-line: #2A3626;
    --focus: #D8B872;
    --btn-fg: #14201C;
    --shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --bg: #161E15;
  --surface: #1D261B;
  --surface-2: #212B1F;
  --ink: #F1F1E8;
  --body: #CFD7C7;
  --muted: #9BA792;
  --line: #2B3627;
  --green: #7CA47C;
  --green-deep: #6E9A6F;
  --gold: #CBA662;
  --gold-ink: #D8B872;
  --bark: #C7A98A;
  --sage: #33422F;
  --panel: #101710;
  --panel-ink: #F1F1E8;
  --panel-body: #B8C2AF;
  --panel-line: #2A3626;
  --focus: #D8B872;
  --shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Onest', system-ui, sans-serif; color: var(--ink); text-wrap: balance; margin: 0; line-height: 1.04; }
a { color: var(--gold-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Accessibility baseline --- */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: var(--btn-fg); font-weight: 600;
  padding: 12px 18px; border-radius: 10px; transition: top 0.15s ease;
}
.skip:focus { top: 12px; text-decoration: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 1120px; }
/* Cap reading width but keep the column left-aligned with the 1120px header/footer, instead of shrinking and centering the whole box (which floated content to the right on desktop). */
.narrow > * { max-width: 760px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--green); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--sage); color: var(--green-deep); font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 999px; }

/* Buttons — min 44px target */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 15.5px; min-height: 48px; padding: 12px 24px; border-radius: 13px; border: 0; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--green); color: var(--btn-fg); }
.btn-primary:hover { text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); min-height: 44px; font-size: 14px; padding: 10px 18px; border-radius: 999px; }
.btn-ghost:hover { text-decoration: none; border-color: var(--muted); }

/* Nav — sticky header (full-width bar), centered content inside */
header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.nav-in { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand span { font-family: 'Onest', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.6px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-links { display: flex; align-items: center; gap: 14px; }
.nav-links a.tx { color: var(--body); font-weight: 500; font-size: 15px; padding: 11px 8px; }
.nav-links a.tx:hover { color: var(--ink); }
/* CTA label swaps by breakpoint; hamburger appears only on mobile */
.cta .cta-sm { display: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); cursor: pointer; }
.nav-toggle:hover { border-color: var(--muted); }
.nav-toggle svg { display: block; }
.nav-toggle .ic-close { display: none; }
.nav-in.open .nav-toggle .ic-open { display: none; }
.nav-in.open .nav-toggle .ic-close { display: block; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 44px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(40px, 6vw, 62px); font-weight: 800; line-height: 0.98; letter-spacing: -2px; margin-bottom: clamp(20px, 2.6vw, 30px); }
.hero h1 em { font-style: normal; color: var(--gold-ink); }
.lead { font-size: 18.5px; line-height: 1.5; color: var(--body); max-width: 30em; margin: 0 0 26px; }
.capture { display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.capture .row { display: flex; gap: 10px; }
.capture input { flex: 1; min-height: 48px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 13px; padding: 14px 16px; font-size: 15px; color: var(--ink); font-family: 'Figtree', sans-serif; }
.capture input::placeholder { color: var(--muted); }

/* Leaf bullet list */
.leaf-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.leaf-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--body); }
.leaf-list .leaf { flex-shrink: 0; margin-top: 2px; }

.hero-panel { position: relative; border-radius: 26px; overflow: hidden; min-height: 440px; background: #22301F linear-gradient(155deg, #2E5233 0%, #22301F 55%, #4F3D2C 100%); display: flex; align-items: flex-end; padding: 24px; }
.hero-panel .vig { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, transparent 42%, rgba(0, 0, 0, 0.3) 100%); }
.statcard { position: relative; width: 100%; background: #F1F1E8; border-radius: 16px; padding: 16px 18px; box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.5); }
.statcard .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: #6C6A57; font-weight: 700; }
.statrow { display: flex; gap: 18px; margin-top: 8px; }
.statrow .n { font-family: 'Onest', sans-serif; font-weight: 800; font-size: 27px; letter-spacing: -1px; color: #22301F; }
.statrow .n.g { color: #3C6340; } .statrow .n.o { color: #7E6330; }
.statrow .c { font-size: 11px; color: #55604B; }
.photo-tag { position: absolute; top: 16px; right: 16px; font-size: 10.5px; font-weight: 600; color: #F1F1E8; background: rgba(34, 48, 31, 0.62); border: 1px solid rgba(220, 224, 208, 0.45); padding: 5px 10px; border-radius: 999px; }

/* Sections */
section { padding: 64px 0; }
.band { background: var(--surface-2); }
.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -1px; line-height: 1.06; margin-top: 12px; }
.section-head p { font-size: 17.5px; color: var(--body); margin: 14px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.step .k { font-family: 'Onest', sans-serif; font-weight: 800; font-size: 15px; color: var(--gold-ink); }
.step h3 { font-size: 20px; font-weight: 600; margin: 14px 0 8px; }
.step p { margin: 0; font-size: 15.5px; color: var(--body); }

.show { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.phone { width: 300px; max-width: 100%; border-radius: 34px; border: 9px solid #1B2418; background: #fff; overflow: hidden; box-shadow: var(--shadow); margin: 0 auto; }
.phone-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; }
.phone-head b { font-family: 'Onest', sans-serif; font-size: 13px; color: #22301F; }
.phone-photo { margin: 0 16px; height: 172px; border-radius: 16px; background: linear-gradient(155deg, #2E5233, #22301F 60%, #4F3D2C); position: relative; display: flex; align-items: center; justify-content: center; }
.phone-photo .av { width: 82px; height: 82px; border-radius: 999px; background: rgba(241, 241, 232, 0.14); border: 1.5px solid rgba(220, 224, 208, 0.5); }
.phone-name { padding: 14px 16px 4px; }
.phone-name b { font-family: 'Onest', sans-serif; font-size: 19px; color: #22301F; }
.phone-name span { display: block; font-size: 12.5px; color: #55604B; }
.phone-cta { margin: 12px 16px 4px; background: #47714A; color: #F1F1E8; text-align: center; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 14px; padding: 12px; border-radius: 11px; }
.phone-qa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 16px 18px; }
.phone-qa div { background: #F1F1E8; border-radius: 11px; padding: 11px 4px; text-align: center; font-size: 10.5px; color: #34402E; font-weight: 500; }

.value-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.value-list li { display: flex; gap: 14px; align-items: flex-start; }
.value-list .dot { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.value-list b { font-family: 'Onest', sans-serif; color: var(--ink); font-weight: 600; font-size: 16.5px; }
.value-list p { margin: 3px 0 0; font-size: 15px; color: var(--body); }

.ai { background: #22301F; color: var(--panel-body); border-radius: 28px; padding: 52px; position: relative; overflow: hidden; }
.ai h2 { color: var(--panel-ink); font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -1px; }
.ai p { color: var(--panel-body); font-size: 17.5px; max-width: 34em; margin: 16px 0 0; }
.ai em { font-style: italic; color: #E7D8B4; }
.ai .willow { position: absolute; right: -30px; top: -30px; opacity: 0.14; }

/* Pricing */
.price { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 36px; text-align: center; box-shadow: var(--shadow); }
.price .tag { font-family: 'Onest', sans-serif; font-weight: 800; font-size: 46px; letter-spacing: -1.5px; color: var(--ink); }
.price .tag small { font-family: 'Figtree', sans-serif; font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 22px auto 26px; max-width: 380px; text-align: left; display: flex; flex-direction: column; gap: 11px; }
.price li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--body); }
.price li svg { flex-shrink: 0; margin-top: 3px; color: var(--green); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0 14px; }
.faq summary { font-family: 'Onest', sans-serif; font-weight: 600; font-size: 16.5px; color: var(--ink); cursor: pointer; list-style: none; padding: 14px 0; min-height: 44px; display: flex; align-items: center; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--gold-ink); font-weight: 700; margin-left: 12px; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq p { margin: 0 0 6px; font-size: 15.5px; color: var(--body); }

/* Closing */
.close { background: #22301F; border-radius: 28px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.close h2 { color: #F1F1E8; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -1.5px; }
.close p { color: #D2DBC9; font-size: 18px; margin: 14px auto 26px; max-width: 30em; }
.close .capture { margin: 0 auto; }
.close input { background: rgba(241, 241, 232, 0.12); border-color: rgba(220, 224, 208, 0.4); color: #F1F1E8; }
.close input::placeholder { color: #C3CCBA; }

/* Prose (legal + content pages) */
.page-head { padding-top: 60px; padding-bottom: 8px; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -1.5px; }
.page-head .updated { color: var(--muted); font-size: 15px; margin-top: 12px; }
.prose { padding: 24px 0 72px; }
.prose h2 { font-size: 23px; font-weight: 700; letter-spacing: -0.5px; margin: 36px 0 10px; }
.prose h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.65; color: var(--body); }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.prose a { text-decoration: underline; }

/* Solutions page: two-column feature sections */
.split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 52px; align-items: center; }
.split > * { min-width: 0; }
.split-text { max-width: 540px; }
.split.reverse .solmedia { order: -1; }
.split-text .eyebrow { display: block; margin-bottom: 14px; }
.split-text h2 { font-size: clamp(27px, 3.6vw, 38px); font-weight: 700; letter-spacing: -1px; }
.split-text .body { font-size: 17.5px; color: var(--body); margin: 16px 0 0; }
.split-text .leaf-list { margin-top: 20px; }
.split-text .cta-row { margin-top: 24px; }
.solution-note { max-width: 540px; margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.stat-inline { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 20px; }
.stat-inline .n { font-family: 'Onest', sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -1.5px; color: var(--green-deep); line-height: 1; }
.stat-inline .t { font-size: 14.5px; color: var(--muted); max-width: 15em; }

/* Media placeholders: lifestyle photo + app screen */
.solmedia { position: relative; padding: 0 12px 16px 0; }
.ph-life { position: relative; border-radius: 22px; min-height: 350px; overflow: hidden; background: linear-gradient(150deg, #2E5233 0%, #22301F 58%, #4F3D2C 100%); display: flex; align-items: flex-start; }
.ph-life .lbl { position: relative; margin: 14px; }
.ph-life .vig { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, transparent 45%, rgba(0,0,0,0.28) 100%); }
.ph-app { position: absolute; right: -8px; bottom: -16px; width: 148px; }
.ph-scr { border-radius: 26px; border: 8px solid #1B2418; background: var(--surface); aspect-ratio: 9 / 18.6; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.ph-lbl { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; color: #F1F1E8; background: rgba(34,48,31,0.55); border: 1px solid rgba(220,224,208,0.4); padding: 5px 11px; border-radius: 999px; }
.ph-scr .ph-lbl { color: var(--muted); background: var(--surface-2); border-color: var(--line); }

/* Accordion (native details) */
.acc { margin-top: 22px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { font-family: 'Onest', sans-serif; font-weight: 600; font-size: 16.5px; color: var(--ink); cursor: pointer; list-style: none; padding: 16px 0; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pl { color: var(--gold-ink); font-weight: 700; font-size: 22px; flex-shrink: 0; transition: transform 0.2s ease; }
.acc details[open] summary .pl { transform: rotate(45deg); }
.acc p { margin: 0 0 16px; font-size: 15.5px; color: var(--body); }

/* Carousel */
.caro { min-width: 0; }
.caro-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.caro-track::-webkit-scrollbar { height: 8px; }
.caro-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.caro-slide { scroll-snap-align: start; flex: 0 0 76%; }
.caro-card { height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.band .caro-card { background: var(--bg); }
.caro-card .ph-lbl { color: var(--muted); background: var(--surface-2); border-color: var(--line); margin-bottom: 14px; }
.caro-card b { font-family: 'Onest', sans-serif; font-size: 16.5px; color: var(--ink); display: block; margin-bottom: 6px; }
.caro-card p { margin: 0; font-size: 15px; color: var(--body); }
.caro-ctrl { display: flex; gap: 10px; margin-top: 16px; }
.caro-ctrl button { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.caro-ctrl button:hover { border-color: var(--muted); }

/* Footer */
footer { padding: 48px 0 56px; margin-top: 8px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 2.2fr; gap: 30px 40px; align-items: start; }
.foot-brand-block { max-width: 26em; }
.foot-tag { color: var(--muted); font-size: 13.5px; max-width: 24em; margin-top: 12px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; }
.foot-h { font-family: 'Onest', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.foot-col a { color: var(--body); font-size: 14px; padding: 6px 0; }
.foot-col a:hover { color: var(--ink); }
.foot-legal { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; margin-top: 10px; }

.thanks { display: none; align-items: center; gap: 10px; font-weight: 600; color: var(--green); }
.capture.done form { display: none; }
.capture.done .thanks { display: flex; }

@media (max-width: 860px) {
  .hero, .show { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; padding-bottom: 44px; gap: 32px; }
  .hero-panel { min-height: 340px; }
  .steps, .faq { grid-template-columns: 1fr; }
  .ai, .close { padding: 36px 26px; }
  section { padding: 48px 0; }
  .show { gap: 30px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .solmedia { order: 0; }
  .split-text { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* --- Mobile polish (phones) --- */
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  /* Nav: text links collapse behind the hamburger; logo + CTA stay visible */
  .nav-in { min-height: 60px; }
  .nav-toggle { display: inline-flex; }
  .cta .cta-lg { display: none; }
  .cta .cta-sm { display: inline; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 20px 12px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-in.open .nav-links { display: flex; }
  .nav-links a.tx { display: block; padding: 13px 4px; font-size: 16px; }
  .nav-links a.tx + a.tx { border-top: 1px solid var(--line); }
  .hero { padding-top: 32px; padding-bottom: 40px; gap: 28px; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); letter-spacing: -1px; }
  .lead { font-size: 17px; }
  /* Stack the email field and button for full-width tap targets */
  .capture { max-width: 100%; }
  .capture .row { flex-direction: column; }
  .capture .row .btn { width: 100%; }
  .hero-panel { min-height: 288px; border-radius: 22px; }
  .statrow { gap: 14px; }
  .statrow .n { font-size: 23px; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: clamp(25px, 7vw, 34px); }
  .step, .price { padding: 24px 22px; }
  .ai, .close { padding: 30px 22px; border-radius: 22px; }
  .ai h2 { font-size: clamp(24px, 7vw, 32px); }
  .close h2 { font-size: clamp(27px, 8vw, 40px); }
  .page-head { padding-top: 40px; padding-bottom: 6px; }
  .solmedia { padding: 0 8px 14px 0; }
  .ph-life { min-height: 260px; }
  .ph-app { width: 118px; }
  .caro-slide { flex-basis: 84%; }
  .foot-in { grid-template-columns: 1fr; gap: 28px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .foot-col a { padding: 8px 0; }
}

/* --- Magalog port: illustrated scenes + app mockups (2026-08-29) --- */
.scene { position: relative; border-radius: 22px; min-height: 350px; overflow: hidden; background: var(--surface-2); }
.scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene.dark { background: linear-gradient(155deg, #2E5233 0%, #22301F 60%, #1B271A 100%); }
.app-over { position: absolute; right: -8px; bottom: -16px; width: 216px; }
.card-over { position: absolute; right: -8px; bottom: -16px; width: 240px; }

/* mini phone */
.mp { background: #101510; border-radius: 28px; padding: 6px; }
.mp .scr { background: #fff; border-radius: 23px; overflow: hidden; }
.mp .scr.night { background: #111514; }
.mp .sb { display: flex; justify-content: space-between; align-items: center; padding: 8px 13px 3px; font-family: 'Onest', sans-serif; font-size: 9px; font-weight: 700; color: #22301F; }
.mp .scr.night .sb, .mp .scr.navy-hero .sb { color: #fff; }
.mp .isl { width: 46px; height: 10px; background: #101510; border-radius: 999px; }
.mp .pad { padding: 4px 11px 12px; }
.mp .kick { font-family: 'Onest', sans-serif; font-size: 7.5px; letter-spacing: 1.3px; text-transform: uppercase; color: #5A6472; }
.mp .ttl { font-family: 'Onest', sans-serif; font-weight: 700; font-size: 13.5px; color: #22301F; margin: 1px 0 6px; }
.mp .cardlet { border: 1px solid #ECECE4; border-radius: 9px; padding: 7px 9px; margin-top: 5px; font-size: 8.5px; color: #414A38; }
.mp .cardlet b { font-family: 'Onest', sans-serif; font-size: 9px; color: #22301F; display: block; }
.mp .cardlet .sub { color: #5A6472; font-size: 8px; }
.mp .rowline { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.mp .ok { font-family: 'Onest', sans-serif; font-weight: 700; font-size: 8px; color: #47714A; white-space: nowrap; }
.mp .meter { height: 4px; border-radius: 999px; background: #EDEDE4; overflow: hidden; margin-top: 5px; }
.mp .meter i { display: block; height: 100%; background: #47714A; }
.mp .cta-b { display: block; text-align: center; font-family: 'Onest', sans-serif; font-weight: 700; font-size: 9px; border-radius: 9px; padding: 8px 0; margin-top: 7px; background: #31435C; color: #fff; }
.mp .tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 5px; }
.mp .tile { border: 1px solid #ECECE4; border-radius: 9px; padding: 7px 5px; text-align: center; font-size: 8px; color: #5A6472; }
.mp .tile b { display: block; font-family: 'Onest', sans-serif; font-size: 9px; color: #22301F; }
/* chat bubbles */
.mp .bub { border-radius: 11px; padding: 7px 9px; font-size: 8.6px; line-height: 1.45; margin-top: 6px; }
.mp .bub.me { background: #2E3A2D; color: #E9EDE7; margin-left: 18px; border-bottom-right-radius: 3px; }
.mp .bub.ai { background: #1C221B; border: 1px solid #2E3A2D; color: #C9D2C6; margin-right: 10px; border-bottom-left-radius: 3px; }
.mp .bub .draft { display: block; background: #232B22; border-radius: 7px; padding: 6px 8px; margin-top: 5px; font-size: 8px; }
.mp .bub .draft b { color: #CBA662; }

/* browser mock */
.bm { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.bm .bbar { display: flex; align-items: center; gap: 6px; background: #F1F1E8; padding: 7px 10px; border-bottom: 1px solid #E1E1D2; }
.bm .bbar i { width: 7px; height: 7px; border-radius: 999px; background: #E1E1D2; }
.bm .burl { flex: 1; background: #fff; border: 1px solid #E1E1D2; border-radius: 999px; font-family: 'Onest', sans-serif; font-size: 8px; color: #5F6555; padding: 3px 10px; }
.bm .bpad { padding: 10px 12px 12px; }
.bm .fld { border: 1px solid #D4DCE7; border-radius: 7px; padding: 6px 8px; font-size: 9px; color: #22301F; margin-top: 5px; }
.bm .flbl { font-size: 7.5px; font-weight: 600; color: #6B7480; margin-top: 6px; }
.bm .go { text-align: center; font-family: 'Onest', sans-serif; font-weight: 700; font-size: 9.5px; border-radius: 8px; padding: 8px 0; margin-top: 8px; background: #31435C; color: #fff; }
.bm .statset { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; text-align: center; }
.bm .statset div { background: #F1F1E8; border-radius: 8px; padding: 8px 3px; font-size: 7.5px; color: #5F6555; }
.bm .statset b { display: block; font-family: 'Onest', sans-serif; font-size: 13px; color: #22301F; }
.bm .qrow { display: flex; align-items: center; gap: 6px; padding: 7px 2px; border-top: 1px solid #EFEFE8; font-size: 8.5px; color: #414A38; }
.bm .qrow .dot2 { width: 7px; height: 7px; border-radius: 999px; flex: none; }
.bm .qrow .st { margin-left: auto; font-family: 'Onest', sans-serif; font-weight: 700; font-size: 7.5px; white-space: nowrap; }
/* obituary / follow-up cards */
.obit-card { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.obit-card .oc-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 6px; }
.obit-card .oc-k { font-family: 'Onest', sans-serif; font-size: 8px; font-weight: 700; letter-spacing: 1.2px; color: #22301F; text-transform: uppercase; }
.obit-card .tone { display: flex; gap: 3px; }
.obit-card .tone span { font-family: 'Onest', sans-serif; font-size: 7.5px; font-weight: 600; border: 1px solid #E1E1D2; color: #5F6555; border-radius: 999px; padding: 2.5px 7px; }
.obit-card .tone .on { background: #DCE0D0; color: #2E5233; border-color: #DCE0D0; font-weight: 700; }
.obit-card p { margin: 0; font-size: 9.5px; line-height: 1.55; color: #414A38; }
.obit-card .hl { background: #DCE0D0; border-radius: 2px; }
@media (max-width: 600px) {
  .app-over { width: 178px; right: -4px; }
  .card-over { width: 205px; right: -4px; }
}

/* --- Forms: loading state, ZIP checker, contact page (2026-09-02) --- */

/* Button processing state */
.btn.is-loading { pointer-events: none; gap: 9px; opacity: 0.94; }
.btn-spin { width: 16px; height: 16px; border: 2.5px solid currentColor; border-top-color: transparent; border-radius: 50%; display: inline-block; flex-shrink: 0; animation: btnspin 0.6s linear infinite; }
@keyframes btnspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn-spin { display: none; } }

/* ZIP availability checker (two-step waitlist capture) */
.zip-step2 { display: none; }
.capture.checked .zip-form { display: none; }
.capture.checked .zip-step2 { display: block; }
.capture.done .zip-form, .capture.done .zip-step2 { display: none; }
.zip-result { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; font-weight: 600; color: var(--green-deep); margin: 0 0 12px; }
.zip-result .zip-echo { color: var(--ink); }
.zip-result svg { flex-shrink: 0; margin-top: 1px; color: var(--green); }
.close .zip-result { color: #DCE0D0; }
.close .zip-result .zip-echo { color: #F1F1E8; }
.close .zip-result svg { color: #DCE0D0; }

/* Contact page */
.split-text .body a { text-decoration: underline; }
.contact-hero { display: grid; grid-template-columns: 1fr 0.94fr; gap: 56px; align-items: start; padding-top: 56px; padding-bottom: 80px; }
.contact-hero > * { min-width: 0; }
.contact-intro { max-width: 520px; }
.contact-intro h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -1.5px; }
.contact-intro .lead { margin-top: 14px; }
.contact-intro .leaf-list { margin-top: 22px; }
.contact-alt { margin-top: 20px; font-size: 15.5px; color: var(--body); }
.contact-alt a { text-decoration: underline; }
.contact-form .zip-fld input { max-width: 190px; }
@media (max-width: 860px) { .contact-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; padding-bottom: 56px; } .contact-intro { max-width: none; } }
.form-wrap.done .contact-form { display: none; }
.form-wrap.done .thanks { display: flex; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form .fld { display: flex; flex-direction: column; gap: 6px; }
.contact-form .fld > span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.contact-form .fld .opt { color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 48px; border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 15px; color: var(--ink); font-family: 'Figtree', sans-serif; }
.contact-form textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 520px) { .contact-form .two { grid-template-columns: 1fr; } }
