/* PillPip site styles
   Warm theme (default): home, medicine reminder, family care.
   Pro theme (body.theme-pro): caregiver companies. */

:root {
  --bg: #fff8f1;
  --surface: #ffffff;
  --surface-2: #fff0e3;
  --ink: #2a211c;
  --ink-2: #5d5049;
  --muted: #74665d;
  --line: #f0e2d6;
  --accent: #bf3e2a;        /* Pip coral, AA on white */
  --accent-ink: #ffffff;
  --accent-soft: #ffe2da;
  --leaf: #2f9e6e;          /* taken */
  --leaf-soft: #ddf3e8;
  --sun: #f5b43c;           /* waiting */
  --sun-soft: #fff1d2;
  --sky: #3f8fd8;
  --sky-soft: #e0eefb;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 12px 32px -12px rgba(0, 0, 0, .18);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .06), 0 30px 60px -20px rgba(0, 0, 0, .28);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

body.theme-pro {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eaf0f6;
  --ink: #0f1b2d;
  --ink-2: #3c4a5e;
  --muted: #5b6a7f;
  --line: #dde4ee;
  --accent: #0f6e78;        /* deep teal */
  --accent-ink: #ffffff;
  --accent-soft: #dcf0f1;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 10px 30px -14px rgba(15, 27, 45, .22);
  --shadow-lg: 0 2px 4px rgba(15, 27, 45, .06), 0 30px 60px -24px rgba(15, 27, 45, .32);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.22rem; font-family: var(--font-body); font-weight: 700; letter-spacing: -.01em; }
body.theme-pro h1, body.theme-pro h2 { font-weight: 750; letter-spacing: -.03em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav-links, .nav > .btn { display: none; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: fixed; inset: 72px 0 0 0; background: var(--bg); padding: 24px var(--gutter); gap: 6px; margin: 0; }
  .nav.open .nav-links a { font-size: 1.25rem; min-height: 56px; padding: 0 18px; }
}

/* ---------- Buttons & badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, background .18s; }
body.theme-pro .btn { border-radius: 10px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 18%, transparent); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--surface); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .93rem; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 80%, #000); }
.badge-soon { background: var(--sun-soft); color: #8a5a00; }
body.theme-pro .badge-soon { background: #fff3d6; color: #7a5200; }
.badge-live { background: var(--leaf-soft); color: #1d6e4b; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; scroll-margin-top: 72px; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 640px; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-warm { background: var(--surface-2); }
.band-dark { background: #1d1714; color: #f8efe8; }
body.theme-pro .band-dark { background: #0c1726; color: #e8eef6; }
.band-dark .lead, .band-dark p { color: color-mix(in srgb, currentColor 78%, transparent); }
.band-dark .eyebrow { color: #ff9a85; }
body.theme-pro .band-dark .eyebrow { color: #6fd3d8; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); min-height: min(calc(100svh - 72px), 860px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent); }
body.theme-pro .hero h1 em { font-style: normal; }
.hero .lead { margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .95rem; font-weight: 600; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--leaf); }
.hero-visual { position: relative; display: flex; justify-content: center; }
@media (max-width: 920px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* entrance */
[data-enter] > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
[data-enter] > *:nth-child(2) { animation-delay: .08s; }
[data-enter] > *:nth-child(3) { animation-delay: .16s; }
[data-enter] > *:nth-child(4) { animation-delay: .24s; }
[data-enter] > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { [data-enter] > * { animation: none; } }

/* ---------- Phone mockup (live HTML UI) ---------- */
.phone { position: relative; width: 300px; max-width: 78vw; aspect-ratio: 9 / 19; border-radius: 46px; background: #1b1410; padding: 11px; box-shadow: var(--shadow-lg); flex: none; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #fffaf5; color: #2a211c; font-size: 13px; line-height: 1.35; padding: 54px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.screen .s-top { display: flex; justify-content: space-between; align-items: center; }
.screen .s-date { font-size: 11px; font-weight: 700; color: #74665d; text-transform: uppercase; letter-spacing: .08em; }
.screen .s-title { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 24px; letter-spacing: -.02em; margin: 0; }
.screen .s-pip { width: 38px; height: 38px; }
.s-progress { background: #fff; border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.ring { --p: 66; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(#2f9e6e calc(var(--p) * 1%), #f0e2d6 0); display: grid; place-items: center; flex: none; }
.ring::after { content: attr(data-label); width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.s-progress b { display: block; font-size: 14px; }
.s-progress span { color: #74665d; font-size: 12px; }
.s-label { font-size: 11px; font-weight: 800; color: #74665d; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.dose { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.dose .pill { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; font-size: 16px; }
.dose .meta { flex: 1; min-width: 0; }
.dose b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dose small { color: #74665d; font-size: 11.5px; }
.chip { font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.chip.taken { background: #ddf3e8; color: #1d6e4b; }
.chip.next { background: #e0eefb; color: #1f5f99; }
.chip.wait { background: #fff1d2; color: #8a5a00; }
.chip.miss { background: #ffe2da; color: #b03a28; }
.p-coral { background: #ffe2da; } .p-leaf { background: #ddf3e8; } .p-sun { background: #fff1d2; } .p-sky { background: #e0eefb; }

/* floating notification */
.notif { position: absolute; z-index: 4; width: 290px; max-width: 80vw; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 20px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: 13px; color: #2a211c; border: 1px solid rgba(0,0,0,.04); }
.notif .n-head { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #74665d; font-weight: 700; }
.notif .n-head svg { width: 20px; height: 20px; }
.notif .n-head time { margin-left: auto; font-weight: 600; }
.notif b { display: block; margin: 6px 0 2px; font-size: 14px; }
.notif .n-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.notif .n-actions span { text-align: center; font-weight: 700; font-size: 12px; padding: 7px 0; border-radius: 10px; background: #f6eee7; }
.notif .n-actions span:first-child { background: #1f7a53; color: #fff; }
.float-a { top: 1%; left: -8%; animation: bob 4s ease-in-out infinite; }
.float-b { bottom: 10%; right: -4%; animation: bob 4s ease-in-out 1.6s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-a, .float-b { animation: none; } }
@media (max-width: 920px) {
  .hero-visual { padding: 0 0 20px; }
  .float-a { left: 0; top: 6%; }
  .float-b { right: 0; }
}
@media (max-width: 480px) {
  .notif { width: 250px; font-size: 12px; }
  .float-a { left: -4px; }
  .float-b { right: -4px; }
}

/* ---------- Audience doors ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.door { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; text-decoration: none; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; overflow: hidden; }
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.door .door-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; }
.door .door-icon svg { width: 30px; height: 30px; }
.door h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.door p { color: var(--ink-2); flex: 1; }
.door ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.door li { display: flex; gap: 10px; }
.door li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 4px; border-radius: 50%; background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9e6e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.door .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.door .more svg { width: 18px; height: 18px; transition: transform .2s; }
.door:hover .more svg { transform: translateX(4px); }
.door .badge { position: absolute; top: 26px; right: 24px; }
.door-pro { background: #0f1b2d; color: #e8eef6; border-color: #0f1b2d; }
.door-pro p, .door-pro ul { color: #b7c4d6; }
.door-pro .more { color: #6fd3d8; }
.door-pro h3 { font-family: var(--font-body); font-weight: 750; letter-spacing: -.03em; }
@media (max-width: 960px) { .doors { grid-template-columns: 1fr; } }

/* ---------- Feature split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(72px, 10vw, 128px); }
.split.flip > :first-child { order: 2; }
.split-visual { display: flex; justify-content: center; position: relative; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.checks .ic svg { width: 18px; height: 18px; }
@media (max-width: 920px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
}

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent); }
.card .ic svg { width: 24px; height: 24px; }
.card .badge { margin-bottom: 14px; }
.band-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.band-dark .card p { color: rgba(255,255,255,.72); }
.band-dark .card .ic { background: rgba(255,255,255,.08); color: #ffb3a3; }
body.theme-pro .band-dark .card .ic { color: #6fd3d8; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.ic-leaf { background: var(--leaf-soft) !important; color: var(--leaf) !important; }
.ic-sun { background: var(--sun-soft) !important; color: #b77a00 !important; }
.ic-sky { background: var(--sky-soft) !important; color: var(--sky) !important; }

/* ---------- Panel visuals (non-phone) ---------- */
.panel { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; font-size: 14px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.panel-head b { font-size: 15px; }
.panel-head small { color: var(--muted); font-weight: 600; }
.person { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.person:first-of-type { border-top: 0; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.person .meta { flex: 1; min-width: 0; }
.person .meta b { display: block; }
.person .meta small { color: var(--muted); }
.bar { height: 6px; border-radius: 6px; background: var(--line); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--leaf); }

/* permissions matrix */
.matrix { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.matrix th, .matrix td { padding: 11px 8px; text-align: center; border-top: 1px solid var(--line); }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
.matrix thead th { border-top: 0; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.tick, .cross { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; }
.tick { background: var(--accent-soft); color: var(--accent); }
.cross { background: var(--surface-2); color: var(--muted); }
.tick svg, .cross svg { width: 14px; height: 14px; }

/* log */
.log { list-style: none; padding: 0; margin: 0; }
.log li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.log li:first-child { border-top: 0; }
.log .ld { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--accent); }
.log time { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* report table */
.report-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.report-table th, .report-table td { padding: 9px 6px; text-align: left; border-top: 1px solid var(--line); }
.report-table thead th { border-top: 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Pip & garden ---------- */
.pip-faces { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.widget { width: 170px; aspect-ratio: 1; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s; }
.widget:hover { transform: translateY(-2px); }
.widget svg { width: 72px; height: 72px; }
.widget b { font-size: 15px; display: block; }
.widget small { color: var(--muted); font-size: 12.5px; }
.widget.worried { background: #fff6e6; }
.garden { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 0 6px; }
.garden i { flex: 1; border-radius: 999px 999px 6px 6px; background: linear-gradient(to top, var(--leaf), #7fd1a6); transform-origin: bottom; animation: grow 3.2s ease-in-out infinite; }
.garden i:nth-child(odd) { background: linear-gradient(to top, var(--accent), #ffb3a3); }
.garden i:nth-child(2) { animation-delay: .2s; } .garden i:nth-child(3) { animation-delay: .4s; } .garden i:nth-child(4) { animation-delay: .6s; } .garden i:nth-child(5) { animation-delay: .8s; } .garden i:nth-child(6) { animation-delay: 1s; } .garden i:nth-child(7) { animation-delay: 1.2s; }
@keyframes grow { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.86); } }
@media (prefers-reduced-motion: reduce) { .garden i { animation: none; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 18px; font-family: var(--font-body); }
.steps li p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Quote / story ---------- */
.story { max-width: 860px; margin: 0 auto; text-align: center; }
.story blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.story blockquote em { color: var(--accent); }
.band-dark .story blockquote em { color: #ff9a85; }

/* ---------- Roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.road-col h3 { display: flex; align-items: center; gap: 10px; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.road-col .card + .card { margin-top: 14px; }
.road-col .card h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
@media (max-width: 920px) { .roadmap { grid-template-columns: 1fr; } }

/* ---------- Stats strip ---------- */
.facts-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.facts-strip div { padding: 26px 24px; border-left: 1px solid var(--line); }
.facts-strip div:first-child { border-left: 0; }
.facts-strip b { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; margin-bottom: 8px; letter-spacing: -.02em; }
.facts-strip span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) {
  .facts-strip { grid-template-columns: 1fr 1fr; }
  .facts-strip div:nth-child(3) { border-left: 0; }
  .facts-strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.08rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg) translateY(-4px); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { color: var(--ink-2); padding: 0 0 22px; margin: 0; max-width: 700px; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta-box { background: var(--accent); color: #fff; border-radius: calc(var(--radius) + 10px); padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px); position: relative; overflow: hidden; }
.cta-box h2 { color: #fff; max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-box p { color: #fff; max-width: 560px; margin: 0 auto 30px; font-size: 1.12rem; }
.cta-box .btn-dark:hover { box-shadow: 0 14px 26px -14px rgba(0,0,0,.6); }
.cta-box .pip-big { width: 96px; height: 96px; margin: 0 auto 20px; }
body.theme-pro .cta-box { background: #0c1726; }

/* waitlist form */
.waitlist { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.waitlist label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.waitlist input { flex: 1 1 260px; min-height: 50px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; padding: 0 16px; font: inherit; }
.waitlist input::placeholder { color: rgba(255,255,255,.6); }
.waitlist .btn { min-height: 50px; background: #6fd3d8; color: #0c1726; }
.form-note { font-size: .88rem; color: rgba(255,255,255,.65) !important; margin-top: 14px !important; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; border-top: 1px solid var(--line); background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid p { color: var(--ink-2); font-size: .95rem; max-width: 320px; margin-top: 14px; }
.foot-grid h4 { font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); display: inline-flex; min-height: 36px; align-items: center; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 85%; background-repeat: no-repeat; transition: background-size .25s, color .2s; }
.foot-grid a:hover { color: var(--ink); background-size: 100% 1.5px; }
.disclaimer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.disclaimer p { margin: 0; max-width: 760px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.breadcrumbs { font-size: .88rem; color: var(--muted); padding-top: 18px; }
.breadcrumbs ol { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* grid children never force overflow */
.hero-grid > *, .split > *, .doors > *, .grid-3 > *, .grid-2 > *, .grid-4 > * { min-width: 0; }
.panel { overflow-x: auto; }
body.theme-pro .hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
@media (max-width: 480px) {
  .panel { padding: 16px; }
  .matrix { font-size: 12px; }
  .matrix th, .matrix td { padding: 9px 3px; }
  .matrix thead th { font-size: 11px; letter-spacing: 0; }
}

/* feature cards: icon beside the heading, not stacked above it */
.card:has(> .ic) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
.card:has(> .ic) > .ic { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
.card:has(> .ic) > .ic svg { width: 20px; height: 20px; }
.card:has(> .ic) > h3 { margin: 0; }
.card:has(> .ic) > :not(.ic):not(h3) { grid-column: 1 / -1; margin-top: 12px; }
.band-dark .road-col h3 { color: #9fb0c6; }
.band-dark .checks li { color: rgba(255, 255, 255, .78); }
.band-dark .checks li b { color: #fff; }
.band-dark .checks .ic { background: rgba(255, 255, 255, .08); color: #ffb3a3; }
.band-dark .phone { background: #4a3e38; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -20px rgba(0, 0, 0, .6); }

/* audience cards: icon beside the heading */
.door { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-content: start; }
.door .door-icon { width: 52px; height: 52px; border-radius: 16px; margin: 0; align-self: center; }
.door .door-icon svg { width: 26px; height: 26px; }
.door h3 { margin: 0; align-self: center; }
.door > p, .door > ul, .door > .more { grid-column: 1 / -1; }
.door > p { margin-top: 18px; }
.door .more { justify-self: start; }
.door:has(.badge) { padding-top: 64px; }
.door .badge { top: 24px; left: 28px; right: auto; }
.door { grid-template-rows: auto 1fr auto auto; }
