:root {
  --purple: #3b227a;
  --purple-dark: #271451;
  --purple-soft: #eee9fb;
  --orange: #ff7a00;
  --orange-soft: #fff0df;
  --gold: #ffc83d;
  --gold-soft: #fff6d8;
  --cream: #fff8ed;
  --paper: #ffffff;
  --ink: #171128;
  --muted: #665f73;
  --line: #e7e0d7;
  --success: #1f7a4d;
  --shadow: 0 24px 60px rgba(39, 20, 81, 0.13);
  --shadow-small: 0 12px 30px rgba(39, 20, 81, 0.09);
  --radius: 22px;
  --shell: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-size: 16px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 10px 14px; background: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 237, 0.94); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: border-color 180ms ease, box-shadow 180ms ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 26px rgba(39, 20, 81, 0.06); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -0.04em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--ink); background: var(--gold); font-size: 22px; line-height: 1; transform: rotate(-3deg); box-shadow: 4px 4px 0 var(--purple); }
.brand-word { font-size: 22px; letter-spacing: -0.06em; }
.brand-word span { color: var(--orange); }
.primary-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 750; }
.primary-nav a, .nav-text-button { color: #4e465a; }
.primary-nav a:hover, .nav-text-button:hover { color: var(--purple); }
.nav-text-button { border: 0; padding: 0; background: transparent; cursor: pointer; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border: 2px solid transparent; border-radius: 13px; font-weight: 850; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(255, 122, 0, 0.35); outline-offset: 3px; }
.button-primary { color: white; background: var(--purple); box-shadow: 0 10px 24px rgba(59, 34, 122, 0.19); }
.button-primary:hover:not(:disabled) { background: var(--purple-dark); box-shadow: 0 14px 28px rgba(59, 34, 122, 0.24); }
.button-secondary { border-color: var(--purple); color: var(--purple); background: transparent; }
.button-secondary:hover:not(:disabled) { background: var(--purple-soft); }
.button-orange { color: var(--ink); background: var(--orange); box-shadow: 0 10px 24px rgba(255, 122, 0, 0.2); }
.button-orange:hover:not(:disabled) { background: #ee7000; }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 13px; }
.button-wide { width: 100%; }
.button:disabled { opacity: 0.55; cursor: not-allowed; }

.hero { min-height: 760px; padding-block: 85px 90px; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 70px; align-items: center; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--purple); font-size: 12px; letter-spacing: 0.16em; font-weight: 900; text-transform: uppercase; }
.eyebrow span { width: 24px; height: 4px; background: var(--orange); border-radius: 99px; }
.hero h1, .section-heading h2, .delivery-copy h2, .family-band h2, .page-heading h2, .admin-heading h1 { margin: 17px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 6.4vw, 84px); line-height: 0.98; letter-spacing: -0.055em; }
.hero h1 em { color: var(--purple); font-style: italic; }
.hero-lede { max-width: 640px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px; color: #5b5365; font-size: 12px; font-weight: 750; }
.trust-row span::before { content: "✓"; color: var(--success); font-weight: 950; margin-right: 6px; }

.hero-product { position: relative; min-height: 560px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(59, 34, 122, 0.15); border-radius: 50%; }
.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 390px; height: 390px; border-color: rgba(255, 122, 0, 0.2); }
.phone-card { position: relative; z-index: 2; width: min(340px, 90vw); min-height: 525px; border: 8px solid var(--ink); border-radius: 38px; background: white; overflow: hidden; box-shadow: 24px 30px 0 var(--gold), var(--shadow); transform: rotate(2deg); }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px 12px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: 0.1em; }
.message-notification { margin: 0 12px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-small); }
.mini-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--purple); font-weight: 950; }
.notification-meta { display: flex; justify-content: space-between; font-size: 10px; }
.notification-meta span { color: var(--muted); }
.message-notification p { margin: 3px 0 0; font-size: 10px; line-height: 1.45; }
.phone-content { padding: 38px 24px 25px; }
.today-label { color: var(--orange); font-size: 10px; letter-spacing: 0.14em; font-weight: 950; }
.phone-content h2 { margin: 12px 0 13px; font-family: Georgia, serif; font-size: 36px; line-height: 1; letter-spacing: -0.04em; }
.phone-content p { color: var(--muted); font-size: 13px; }
.complete-button { width: 100%; margin-top: 16px; padding: 12px; color: white; background: var(--purple); border: 0; border-radius: 11px; font-weight: 800; cursor: pointer; }
.complete-button.done { color: var(--ink); background: var(--gold); }
.streak-line { display: flex; justify-content: space-between; align-items: center; margin: 0 24px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 11px; }
.streak-line strong { color: var(--purple); }
.streak-line span { color: var(--muted); }
.floating-tag { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-radius: 14px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-small); }
.floating-tag strong { font-family: Georgia, serif; font-size: 27px; color: var(--purple); }
.floating-tag span { max-width: 65px; color: var(--muted); font-size: 10px; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.tag-top { right: -12px; top: 78px; }
.tag-bottom { left: -20px; bottom: 72px; }

.proof-strip { background: var(--ink); color: white; }
.proof-grid { min-height: 130px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.proof-grid div { min-height: 64px; padding: 0 26px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255, 255, 255, 0.14); }
.proof-grid div:last-child { border-right: 0; }
.proof-grid strong { color: var(--gold); font-family: Georgia, serif; font-size: 26px; }
.proof-grid span { color: rgba(255, 255, 255, 0.7); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

.section { padding-block: 120px; }
.section-heading h2, .delivery-copy h2, .family-band h2 { font-size: clamp(42px, 5vw, 64px); }
.section-heading p { max-width: 620px; color: var(--muted); font-size: 17px; }
.centered { max-width: 770px; margin-inline: auto; text-align: center; }
.centered p { margin-inline: auto; }
.steps-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { position: relative; min-height: 310px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-small); }
.step-card.featured { color: white; background: var(--purple); border-color: var(--purple); transform: translateY(-12px); }
.step-number { position: absolute; top: 20px; right: 22px; color: rgba(59, 34, 122, 0.22); font-size: 46px; font-weight: 950; line-height: 1; }
.step-card.featured .step-number { color: rgba(255, 255, 255, 0.17); }
.step-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; color: var(--purple); background: var(--gold-soft); font-size: 12px; font-weight: 950; text-transform: uppercase; transform: rotate(-4deg); }
.step-card.featured .step-icon { color: var(--ink); background: var(--gold); }
.step-card h3 { margin: 34px 0 8px; font-size: 23px; letter-spacing: -0.03em; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }
.step-card.featured p { color: rgba(255, 255, 255, 0.72); }

.focus-section { background: white; }
.split-heading { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: end; }
.split-heading p { padding-bottom: 22px; }
.focus-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 235px); gap: 15px; }
.focus-card { position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.focus-card h3 { margin: 84px 0 4px; font-family: Georgia, serif; font-size: 28px; }
.focus-card p { max-width: 280px; margin: 0; font-size: 13px; opacity: 0.78; }
.focus-index { font-size: 11px; font-weight: 900; letter-spacing: 0.12em; }
.focus-symbol { position: absolute; right: 23px; top: 20px; font-size: 36px; font-weight: 300; }
.focus-general { grid-column: span 2; color: white; background: var(--purple); border-color: var(--purple); }
.focus-faith { grid-column: span 2; background: var(--gold); }
.focus-business { grid-column: span 2; color: white; background: var(--ink); border-color: var(--ink); }
.focus-fitness { grid-column: span 3; background: var(--orange-soft); border-color: #ffd4ad; }
.focus-family { grid-column: span 3; color: var(--purple-dark); background: var(--purple-soft); border-color: #d8cff4; }

.delivery-section { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 80px; align-items: center; }
.delivery-copy p { color: var(--muted); font-size: 17px; }
.feature-list { margin: 32px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.feature-dot { width: 14px; height: 14px; border-radius: 5px; transform: rotate(9deg); }
.feature-dot.purple { background: var(--purple); }.feature-dot.orange { background: var(--orange); }.feature-dot.gold { background: var(--gold); }
.feature-list div { display: flex; flex-direction: column; }
.feature-list small { color: var(--muted); }
.schedule-panel { padding: 28px; border-radius: 28px; background: white; box-shadow: var(--shadow); border: 1px solid var(--line); }
.panel-head, .next-delivery { display: flex; justify-content: space-between; align-items: center; }
.panel-head { margin-bottom: 18px; font-weight: 900; }
.live-dot { color: var(--success); font-size: 10px; letter-spacing: 0.1em; }
.live-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--success); }
.schedule-options { display: grid; gap: 10px; }
.schedule-options button { display: flex; flex-direction: column; padding: 17px 18px; text-align: left; border: 2px solid var(--line); border-radius: 14px; background: white; cursor: pointer; }
.schedule-options button[aria-checked="true"] { border-color: var(--purple); background: var(--purple-soft); }
.schedule-options span { color: var(--muted); font-size: 12px; }
.next-delivery { margin-top: 20px; padding: 20px; color: white; background: var(--ink); border-radius: 15px; }
.next-delivery span { color: rgba(255, 255, 255, 0.65); font-size: 12px; }

.family-band { padding-block: 90px; color: white; background: var(--purple); }
.family-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.family-band h2 { margin-bottom: 0; }
.kicker.light { color: var(--gold); }
.family-copy > p { color: rgba(255, 255, 255, 0.76); font-size: 17px; }
.family-points { display: grid; gap: 10px; margin-top: 26px; }
.family-points span { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 10px; font-size: 13px; }
.family-points span::before { content: "✓"; color: var(--gold); margin-right: 10px; font-weight: 950; }

.pricing-section { max-width: 980px; }
.pricing-card { margin-top: 50px; padding: 44px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; border: 2px solid var(--ink); border-radius: 28px; background: white; box-shadow: 14px 14px 0 var(--gold); }
.plan-label { color: var(--purple); font-size: 11px; letter-spacing: 0.15em; font-weight: 950; }
.price { display: flex; align-items: flex-end; margin: 18px 0; }
.price sup { align-self: flex-start; margin-top: 14px; font-size: 26px; font-weight: 900; }
.price strong { font-family: Georgia, serif; font-size: 74px; line-height: 0.9; letter-spacing: -0.06em; }
.price span { margin-left: 9px; color: var(--muted); font-weight: 700; }
.price-copy p { color: var(--muted); font-size: 14px; }
.price-features { display: grid; gap: 12px; align-content: center; }
.price-features span { padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.price-features span::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; color: var(--purple); background: var(--purple-soft); border-radius: 7px; font-weight: 950; }
.pricing-card .button-wide { grid-column: 1 / -1; }

.faq-section { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 80px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 21px 40px 21px 0; list-style: none; cursor: pointer; font-weight: 850; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; font-size: 24px; color: var(--purple); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -6px 40px 22px 0; color: var(--muted); }

.site-footer { padding-block: 48px; color: white; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.footer-brand .brand-mark { box-shadow: 4px 4px 0 var(--orange); }
.footer-grid p { margin: 10px 0 0; color: rgba(255, 255, 255, 0.58); }
.footer-grid nav { display: flex; gap: 22px; align-items: center; font-size: 13px; }
.footer-grid nav button { padding: 0; color: white; background: transparent; border: 0; cursor: pointer; }
.footer-legal { grid-column: 1 / -1; padding-top: 22px; display: flex; gap: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); font-size: 12px; }

/* Member application */
.dashboard-view, .admin-view { min-height: 100vh; background: #f5f2ef; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.app-sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 22px; display: flex; flex-direction: column; color: white; background: var(--ink); }
.app-brand { color: white; margin-bottom: 50px; }
.app-sidebar nav { display: grid; gap: 7px; }
.app-sidebar nav button { padding: 13px 14px; color: rgba(255, 255, 255, 0.68); text-align: left; background: transparent; border: 0; border-radius: 10px; cursor: pointer; font-weight: 750; }
.app-sidebar nav button:hover, .app-sidebar nav button.active { color: white; background: rgba(255, 255, 255, 0.1); }
.sidebar-footer { margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; color: var(--ink); background: var(--gold); font-size: 12px; font-weight: 950; }
.sidebar-footer div { display: flex; flex-direction: column; }
.sidebar-footer small { color: rgba(255, 255, 255, 0.5); }
.app-main { min-width: 0; padding: 0 42px 60px; }
.app-topbar { min-height: 108px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ddd7d1; }
.app-topbar span, .page-heading span, .admin-heading span, .card-title span { color: var(--purple); font-size: 10px; letter-spacing: 0.13em; font-weight: 950; }
.app-topbar h1 { margin: 3px 0 0; font-family: Georgia, serif; font-size: 31px; letter-spacing: -0.04em; }
.topbar-actions { display: flex; align-items: center; gap: 13px; }
.topbar-actions button { padding: 10px 13px; color: var(--purple); background: var(--purple-soft); border: 0; border-radius: 10px; cursor: pointer; font-size: 12px; font-weight: 850; }
.app-menu { display: none; }
.dashboard-tab { padding-top: 38px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; }
.daily-card { min-height: 350px; padding: 34px; color: white; background: var(--purple); border-radius: 24px; box-shadow: var(--shadow-small); }
.daily-card-head { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255, 255, 255, 0.65); }
.category-pill { display: inline-flex; width: fit-content; padding: 6px 8px; color: var(--purple); background: var(--purple-soft); border-radius: 6px; font-size: 9px; font-weight: 950; letter-spacing: 0.1em; }
.gold-pill { color: #6a4a00; background: var(--gold-soft); }.orange-pill { color: #8c3e00; background: var(--orange-soft); }
.daily-card blockquote { max-width: 780px; margin: 44px 0 16px; font-family: Georgia, serif; font-size: clamp(28px, 3.4vw, 43px); line-height: 1.15; letter-spacing: -0.035em; }
.daily-card > p { color: rgba(255, 255, 255, 0.7); }
.daily-actions { display: flex; gap: 10px; margin-top: 30px; }
.daily-actions button { padding: 11px 14px; border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 9px; color: white; background: transparent; cursor: pointer; font-weight: 750; }
.daily-actions button:first-child { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.side-stack { display: grid; gap: 18px; }
.stat-card { min-height: 166px; padding: 24px; display: flex; flex-direction: column; border-radius: 20px; background: white; border: 1px solid var(--line); }
.stat-card span { font-size: 10px; letter-spacing: 0.1em; font-weight: 900; }
.stat-card strong { margin-top: auto; font-family: Georgia, serif; font-size: 52px; line-height: 1; }
.stat-card small { color: var(--muted); }
.orange-card { background: var(--orange); border-color: var(--orange); }
.section-row { display: flex; justify-content: space-between; align-items: center; margin: 38px 0 15px; }
.section-row h2 { margin: 0; font-size: 20px; }
.section-row button { color: var(--purple); background: transparent; border: 0; font-weight: 800; cursor: pointer; }
.mini-focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.mini-focus-grid article { padding: 20px; border-radius: 16px; background: white; border: 1px solid var(--line); }
.mini-focus-grid span { display: block; color: var(--muted); font-size: 9px; letter-spacing: 0.1em; font-weight: 950; }
.mini-focus-grid strong { display: block; margin: 8px 0 18px; }
.mini-focus-grid article div { height: 6px; border-radius: 99px; background: #e8e2ec; overflow: hidden; }
.mini-focus-grid i { display: block; height: 100%; background: var(--purple); }
.page-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.page-heading h2 { margin: 5px 0 0; font-size: 42px; }
.page-heading input { width: min(300px, 40vw); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.archive-list { display: grid; gap: 12px; }
.archive-list article { position: relative; padding: 24px 90px 24px 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.archive-list h3 { margin: 10px 0 4px; }.archive-list p { margin: 0; color: var(--muted); }
.archive-list time { position: absolute; right: 22px; top: 24px; color: var(--muted); font-size: 12px; }
.settings-card { margin-bottom: 14px; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.settings-card h3 { margin: 0 0 4px; }.settings-card > p { margin: 0 0 22px; color: var(--muted); }
.preference-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.preference-chips button { padding: 10px 15px; border: 1px solid var(--line); border-radius: 9px; background: white; cursor: pointer; }
.preference-chips button.selected { color: white; background: var(--purple); border-color: var(--purple); }
.preference-radios { display: flex; gap: 12px; flex-wrap: wrap; }
.preference-radios label { padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.channel-settings { display: grid; }
.channel-settings label { padding: 15px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.channel-settings label:last-child { border-bottom: 0; }
.channel-settings label span { display: flex; flex-direction: column; }.channel-settings small { color: var(--muted); }
.family-profile-list { display: grid; gap: 14px; }
.family-profile-list article { padding: 22px; display: flex; align-items: center; gap: 16px; border-radius: 16px; background: white; border: 1px solid var(--line); }
.profile-avatar { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; color: white; background: var(--purple); font-weight: 950; }
.family-profile-list h3, .family-profile-list p { margin: 0; }.family-profile-list p { color: var(--muted); }
.status-label { margin-left: auto; color: var(--success); font-size: 10px; font-weight: 950; letter-spacing: 0.1em; }
.empty-family { padding: 46px; text-align: center; border: 2px dashed #d8d0c7; border-radius: 16px; color: var(--muted); }
.empty-family strong { color: var(--ink); }.empty-family p { margin: 5px 0 0; }
.billing-card { padding: 34px; display: flex; justify-content: space-between; align-items: center; border-radius: 20px; background: white; border: 1px solid var(--line); }
.billing-card h3 { margin: 10px 0 0; font-family: Georgia, serif; font-size: 48px; }.billing-card h3 small { font-family: inherit; font-size: 16px; color: var(--muted); }.billing-card p { color: var(--muted); }

/* Admin */
.admin-shell { width: min(calc(100% - 50px), 1300px); margin-inline: auto; padding-bottom: 70px; }
.admin-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ddd7d1; }
.admin-header > div { display: flex; align-items: center; gap: 16px; }
.admin-header > div span { color: var(--orange); font-size: 10px; letter-spacing: 0.12em; font-weight: 950; }
.admin-header button { border: 0; background: transparent; cursor: pointer; font-weight: 800; }
.admin-heading { padding: 58px 0 30px; display: flex; justify-content: space-between; align-items: flex-end; }
.admin-heading h1 { margin: 7px 0 0; font-size: 54px; }.admin-heading p { margin: 8px 0 0; color: var(--muted); }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admin-stats article { padding: 20px; display: flex; flex-direction: column; border-radius: 15px; background: white; border: 1px solid var(--line); }
.admin-stats span { color: var(--muted); font-size: 9px; font-weight: 950; letter-spacing: 0.12em; }
.admin-stats strong { margin: 14px 0 2px; font-family: Georgia, serif; font-size: 34px; }.admin-stats small { color: var(--muted); }
.admin-grid { margin-top: 20px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 18px; }
.composer-card, .schedule-card { padding: 28px; border-radius: 20px; background: white; border: 1px solid var(--line); }
.card-title { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.card-title h2 { margin: 4px 0 0; font-size: 24px; }.card-title button { border: 0; background: transparent; color: var(--purple); font-weight: 800; cursor: pointer; }
.draft-pill { padding: 6px 8px; color: #6b5200 !important; background: var(--gold-soft); border-radius: 6px; }
.composer-card > label, .form-step > label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; font-size: 12px; font-weight: 850; }
.composer-card input, .composer-card select, .composer-card textarea, .form-step input, .form-step select { width: 100%; padding: 12px 13px; border: 1px solid #d9d2ca; border-radius: 10px; background: white; color: var(--ink); }
.composer-card textarea { min-height: 124px; padding: 12px 13px; resize: vertical; border: 1px solid #d9d2ca; border-radius: 10px; }
.character-count { color: var(--muted); text-align: right; font-size: 10px; font-weight: 500; }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-split label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 850; }
.schedule-list { display: grid; }
.schedule-list article { display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--line); }
.schedule-list time { color: var(--muted); font-size: 9px; text-align: center; line-height: 1; }.schedule-list time strong { color: var(--purple); font-family: Georgia, serif; font-size: 26px; }
.schedule-list span { color: var(--orange); font-size: 9px; letter-spacing: 0.1em; font-weight: 950; }.schedule-list h3, .schedule-list p { margin: 2px 0; }.schedule-list p { color: var(--muted); font-size: 11px; }
.schedule-list i { padding: 6px 8px; color: var(--success); background: #e7f5ed; border-radius: 6px; font-style: normal; font-size: 8px; font-weight: 950; }

/* Join flow */
.join-dialog { width: min(620px, calc(100% - 28px)); max-height: calc(100dvh - 30px); padding: 0; border: 0; border-radius: 24px; background: white; box-shadow: 0 32px 90px rgba(23, 17, 40, 0.35); overflow: auto; }
.join-dialog::backdrop { background: rgba(23, 17, 40, 0.72); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; z-index: 2; right: 18px; top: 16px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; font-size: 24px; }
.dialog-brand { padding: 20px 24px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); color: var(--purple); font-size: 10px; letter-spacing: 0.13em; font-weight: 950; }
.dialog-brand .brand-mark { width: 30px; height: 30px; font-size: 18px; }
.progress-track { height: 5px; background: #eee9e3; }.progress-track i { display: block; width: 33.333%; height: 100%; background: var(--orange); transition: width 200ms ease; }
.form-step { padding: 38px 42px 42px; }
.step-label { color: var(--orange); font-size: 10px; letter-spacing: 0.14em; font-weight: 950; }
.form-step h2 { margin: 10px 0 8px; font-family: Georgia, serif; font-size: 38px; line-height: 1.05; letter-spacing: -0.04em; }
.form-step > p { margin: 0 0 25px; color: var(--muted); }
.google-button { width: 100%; margin-top: 10px; padding: 12px; display: flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 11px; background: white; opacity: 0.6; }.google-button small { margin-left: 4px; }
.join-categories { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.join-categories button { position: relative; min-height: 105px; padding: 14px; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--line); border-radius: 13px; background: white; cursor: pointer; text-align: left; }
.join-categories button.selected { border-color: var(--purple); background: var(--purple-soft); }.join-categories button > span { position: absolute; right: 13px; top: 10px; color: var(--purple); font-size: 23px; }.join-categories small { color: var(--muted); }
.step-buttons { margin-top: 24px; display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 10px; }
.form-step fieldset { margin: 0 0 19px; padding: 0; border: 0; }.form-step legend { margin-bottom: 8px; font-size: 12px; font-weight: 900; }
.join-schedule, .join-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.join-schedule label, .join-channels label { position: relative; cursor: pointer; }
.join-schedule input, .join-channels input { position: absolute; opacity: 0; }
.join-schedule span, .join-channels span { min-height: 76px; padding: 13px; display: flex; flex-direction: column; justify-content: center; border: 2px solid var(--line); border-radius: 11px; }
.join-schedule input:checked + span, .join-channels input:checked + span { border-color: var(--purple); background: var(--purple-soft); }
.join-schedule small, .join-channels small { color: var(--muted); font-size: 10px; }
.form-step label > small { color: var(--muted); font-weight: 500; line-height: 1.4; }
.terms-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; padding: 12px; border-radius: 10px; background: var(--cream); }.terms-check input { width: auto; margin-top: 4px; }
.form-error { min-height: 20px; color: #a12222; font-size: 12px; font-weight: 700; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 22px; max-width: min(440px, calc(100% - 30px)); padding: 13px 18px; color: white; background: var(--ink); border-radius: 12px; box-shadow: var(--shadow); transform: translate(-50%, 150%); opacity: 0; transition: transform 220ms ease, opacity 220ms ease; font-weight: 750; font-size: 13px; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 20px; padding-top: 70px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }.hero-product { min-height: 600px; }
  .proof-grid { grid-template-columns: 1fr 1fr; padding-block: 22px; }.proof-grid div:nth-child(2) { border-right: 0; }.proof-grid div { min-height: 70px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 650px; margin-inline: auto; }.step-card.featured { transform: none; }
  .focus-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }.focus-card { grid-column: auto; min-height: 235px; }.focus-family { grid-column: 1 / -1; }
  .delivery-section, .family-grid, .faq-section { grid-template-columns: 1fr; gap: 45px; }
  .pricing-card { grid-template-columns: 1fr; }.pricing-card .button-wide { grid-column: auto; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .nav-wrap { min-height: 68px; }.nav-toggle { display: block; }.primary-nav { position: absolute; top: 68px; left: 14px; right: 14px; padding: 20px; display: none; flex-direction: column; align-items: stretch; gap: 17px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow); }.primary-nav.open { display: flex; }.primary-nav .button { width: 100%; }
  .hero { min-height: auto; padding-block: 55px 50px; }.hero h1 { font-size: 52px; }.hero-lede { font-size: 16px; }.hero-actions { width: 100%; flex-direction: column; }.hero-actions .button { width: 100%; }.trust-row { justify-content: center; }.hero-product { min-height: 530px; }.phone-card { width: 300px; min-height: 490px; box-shadow: 12px 16px 0 var(--gold), var(--shadow); }.orbit-one { width: 390px; height: 390px; }.orbit-two { width: 320px; height: 320px; }.floating-tag { display: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; }.proof-grid div { padding: 8px 14px; text-align: center; }.proof-grid strong { font-size: 22px; }
  .section { padding-block: 78px; }.section-heading h2, .delivery-copy h2, .family-band h2 { font-size: 42px; }.split-heading { grid-template-columns: 1fr; gap: 0; }.split-heading p { padding: 0; }
  .focus-grid { grid-template-columns: 1fr; }.focus-card, .focus-family { grid-column: auto; }.focus-card { min-height: 210px; }
  .delivery-section { gap: 32px; }.schedule-panel { padding: 18px; }.family-band { padding-block: 70px; }
  .pricing-card { padding: 26px; gap: 28px; box-shadow: 8px 8px 0 var(--gold); }.price strong { font-size: 62px; }
  .faq-section { gap: 25px; }.footer-grid { grid-template-columns: 1fr; }.footer-grid nav { flex-wrap: wrap; }
  .app-shell { display: block; }.app-sidebar { position: fixed; z-index: 70; left: 0; top: 0; width: 250px; transform: translateX(-105%); transition: transform 180ms ease; box-shadow: var(--shadow); }.app-sidebar.open { transform: none; }.app-main { padding: 0 16px 45px; }.app-topbar { min-height: 86px; gap: 10px; }.app-menu { display: block; border: 1px solid var(--line); border-radius: 9px; background: white; }.app-topbar h1 { font-size: 22px; }.app-topbar > div:first-of-type > span { display: none; }.topbar-actions button { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }.side-stack { grid-template-columns: 1fr 1fr; }.daily-card { padding: 24px; }.daily-card blockquote { margin-top: 32px; }.mini-focus-grid { grid-template-columns: 1fr; }.page-heading { align-items: flex-start; gap: 18px; }.page-heading h2 { font-size: 34px; }.page-heading input { width: 100%; }.billing-card { align-items: flex-start; flex-direction: column; gap: 20px; }
  .admin-shell { width: min(calc(100% - 28px), 1300px); }.admin-heading { align-items: flex-start; flex-direction: column; gap: 18px; }.admin-heading h1 { font-size: 43px; }.admin-stats { grid-template-columns: 1fr 1fr; }.schedule-list article { grid-template-columns: 48px 1fr; }.schedule-list i { grid-column: 2; width: fit-content; }
  .form-step { padding: 34px 22px 28px; }.form-step h2 { font-size: 32px; }.form-split { grid-template-columns: 1fr; }.join-categories { grid-template-columns: 1fr 1fr; }.join-schedule, .join-channels { grid-template-columns: 1fr; }.join-schedule span, .join-channels span { min-height: 58px; }.step-buttons { grid-template-columns: 1fr; }.step-buttons .button-secondary { order: 2; }
}

@media (max-width: 440px) {
  .hero h1 { font-size: 46px; }.hero-product { min-height: 505px; }.orbit-one { width: 330px; height: 330px; }.phone-card { width: 275px; }.phone-content h2 { font-size: 31px; }
  .proof-grid { grid-template-columns: 1fr; }.proof-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }.proof-grid div:last-child { border-bottom: 0; }
  .side-stack, .admin-stats { grid-template-columns: 1fr; }.daily-actions { flex-direction: column; }.join-categories { grid-template-columns: 1fr; }.admin-header > div span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
