.site { color-scheme: light; color: #18241c; background: #fff; }
.site p { color: #43594b; }
.site a { color: #315f49; }
.site-inner { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-nav { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px max(24px, calc((100% - 1120px) / 2)); background: #fff; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 850; text-decoration: none; }
.site nav { display: flex; align-items: center; gap: 24px; }
.site nav a { font-size: 14px; text-decoration: none; }
.site .nav-demo { padding: 10px 16px; background: #315f49; color: #fff; border-radius: 6px; }
.site-hero { display: flex; align-items: center; min-height: 380px; height: min(620px, calc(100svh - 164px)); background: url('/assets/morningquest-sunrise.png') center 53% / cover; position: relative; }
.site-hero::before { content: ''; position: absolute; inset: 0; background: rgba(18, 34, 26, .64); }
.hero-inner { position: relative; padding-block: 40px; }
.site .site-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.site-hero .site-eyebrow, .site-hero .hero-status { color: #e7f0e9; }
.site h1 { font-family: inherit; font-size: 80px; font-weight: 850; line-height: 1.08; color: #fff; }
.site .hero-subtitle { margin: 16px 0 10px; font-size: 27px; color: #fff; font-weight: 650; }
.site .hero-description { max-width: 530px; margin: 0; font-size: 19px; line-height: 1.6; color: #fff; }
.site-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.site-actions button { width: auto; padding-inline: 24px; }
.site-actions a { display: inline-flex; align-items: center; justify-content: center; width: auto; text-decoration: none; min-height: 48px; padding: 12px 24px; border: 1px solid; border-radius: 6px; font-size: 14px; font-weight: 750; }
.site-actions .primary { color: #18241c; background: #f7c55f; }
.site-actions .secondary { color: #fff; border-color: #fff; background: rgba(18,34,26,.48); }
.site .hero-status { margin: 0; font-size: 12px; }
.site-band { padding-block: 68px; }
.site-tinted { background: #edf4f5; }
.site h2 { font-family: inherit; font-size: 36px; line-height: 1.2; font-weight: 750; }
.site h3 { font-size: 20px; }
.site-flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 36px 0 0; padding: 0; }
.site-flow li { border-top: 1px solid #b7c7bf; padding-top: 18px; }
.site-flow span { display: block; margin-bottom: 14px; font-size: 14px; color: #315f49; font-weight: 800; }
.site-flow p { margin-bottom: 0; }
.site-product { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: center; }
.site-detail { margin-top: 26px; max-width: 580px; }
.site-detail p { margin: 8px 0 0; }
.site-screenshot { margin: 0; }
.site-screenshot img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid #b7c7bf; }
.site-screenshot figcaption { margin-top: 12px; color: #43594b; font-size: 12px; text-align: center; }
.site-safety { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; }
.site-safety aside { padding-left: 28px; border-left: 3px solid #d76b4d; }
.site ul { padding-left: 20px; line-height: 1.65; }
.site li + li { margin-top: 8px; }
.site .site-note { font-size: 13px; }
.site .plan-explanation { margin: 34px 0 22px; max-width: 760px; }
.plan-comparison { width: 100%; table-layout: fixed; border-collapse: collapse; background: #fff; font-size: 14px; }
.plan-comparison caption { text-align: left; font-size: 20px; font-weight: 750; padding-bottom: 16px; }
.plan-comparison th, .plan-comparison td { padding: 16px; border-bottom: 1px solid #b7c7bf; text-align: left; vertical-align: top; line-height: 1.5; overflow-wrap: anywhere; }
.plan-comparison th:first-child { width: 38%; }
.plan-comparison thead { color: #fff; background: #315f49; }
.plan-comparison tbody th { font-weight: 600; }
.plan-comparison tbody td { color: #315f49; }
@media (max-width: 420px) {
  .plan-comparison { font-size: 12px; }
  .plan-comparison th, .plan-comparison td { padding: 12px 8px; }
  .plan-comparison th:first-child { width: 42%; }
}
.site-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 36px; }
.site-plans article { border-top: 2px solid #315f49; padding-top: 22px; }
.site-plans article + article { border-color: #b9573d; }
.site .plan-price { font-size: 36px; color: #18241c; font-weight: 750; margin: 20px 0 12px; }
.plan-price small { font-size: 16px; color: #43594b; font-weight: 500; }
.site-faq { max-width: 860px; }
.site details { border-bottom: 1px solid #b7c7bf; padding: 20px 0; }
.site summary { font-size: 18px; font-weight: 700; cursor: pointer; }
.site details p { max-width: 760px; }
.site-final { padding-top: 56px; }
.site-final .primary { display: inline-flex; align-items: center; justify-content: center; width: auto; margin-top: 24px; color: #fff; text-decoration: none; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; border-top: 1px solid #b7c7bf; }
.site-footer span { font-size: 13px; color: #43594b; }
.site :focus-visible, .demo-shell :focus-visible { outline: 3px solid #b45935; outline-offset: 4px; }

.demo-shell[data-theme='light'] { color-scheme: light; --ink: #18241c; --muted: #3d4b40; --surface: #fff; --sage: #315f49; --line: #a7b6ac; --wash: rgba(246,249,246,.76); --soft: #e5ebe5; }
.demo-shell[data-theme='dark'] { color-scheme: dark; --ink: #e8f1ea; --muted: #c5d2c8; --surface: #233128; --sage: #a4d6b6; --line: #708779; --wash: rgba(24,34,28,.82); --soft: #354239; }
.demo-shell { background: #dce7e1; color: var(--ink); }
.demo-shell .phone { position: relative; background: url('/assets/morningquest-sunrise.png') center / cover; }
.demo-shell .phone::before { content: ''; position: absolute; inset: 0; background: var(--wash); }
.demo-shell .phone > * { position: relative; }
.demo-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px 8px; }
.demo-header a { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.demo-header label { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.demo-header input { width: 17px; height: 17px; min-height: 0; padding: 0; accent-color: var(--sage); }
.demo-shell .demo-disclosure { font-size: 11px; color: var(--muted); padding: 0 22px 8px; margin: 0; }
.demo-shell .panel-screen { min-height: 0; padding-block: 28px; }
.demo-shell h2 { font-family: inherit; font-size: 29px; font-weight: 750; }
.demo-shell .brand { color: var(--ink); }
.demo-shell .quest-step:not(.selected), .demo-shell .prayer-card { color: var(--ink); background: var(--surface); }
.demo-shell .quest-step:not(.selected) small, .demo-shell .quest-step:not(.selected) .step-order { color: var(--muted); }
.demo-shell .prayer-card p, .demo-shell .prayer-card small { color: var(--muted); }
.demo-shell .category { color: var(--sage); }
.demo-shell .primary { color: #fff; background: #315f49; }
.demo-shell[data-theme='dark'] .primary { color: #123321; background: #a4d6b6; }
.demo-shell .secondary, .demo-shell .ghost, .demo-shell .mini-button { color: var(--sage); border-color: var(--sage); }
.demo-shell .mini-button[aria-pressed='true'] { color: #fff; background: #315f49; }
.demo-shell .audio-screen, .demo-shell .setup-screen, .demo-shell .reflection-screen, .demo-shell .success-screen, .demo-shell .alarm-screen { color: var(--ink); background: transparent; }
.demo-shell .audio-screen p, .demo-shell .setup-screen p, .demo-shell .reflection-screen p, .demo-shell .success-screen p, .demo-shell .alarm-screen p { color: var(--muted); }
.demo-shell .setup-row, .demo-shell .prayer-copy, .demo-shell .reflection-copy, .demo-shell .lock-box, .demo-shell .quiet, .demo-shell .blocked-preview { color: var(--ink); background: var(--surface); border-color: var(--line); }
.demo-shell .prayer-copy p { color: var(--muted); white-space: pre-line; }
.demo-shell .prayer-copy strong, .demo-shell .quiet strong, .demo-shell .calm-preview .audio-status, .demo-shell .audio-status { color: var(--ink) !important; }
.demo-shell .audio-bar { color: var(--ink); }
.demo-shell .audio-bar div { background: var(--soft); }
.demo-shell .audio-bar i { background: var(--sage); }
.demo-shell .setup-time { color: var(--sage); }
.demo-shell .card-actions { color: var(--muted); }
.demo-field { display: grid; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 650; }
.demo-field select { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink); background: var(--surface); font: inherit; }
.demo-shell .demo-field input { color: var(--ink); background: var(--surface); }
.demo-alarm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }
.demo-days { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 12px 0; margin: 0; }
.demo-days legend { text-align: left; font-size: 14px; padding-top: 12px; }
.demo-days label { display: grid; place-items: center; gap: 6px; min-width: 36px; font-size: 12px; }
.demo-days input { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--sage); }
.demo-progress { border-block: 1px solid var(--line); padding-block: 14px; }
.demo-progress > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.demo-week { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 5px; }
.demo-week span { display: grid; gap: 6px; justify-items: center; padding: 8px 0; background: var(--surface); border-radius: 6px; font-size: 13px; }
.demo-week small { color: var(--muted); font-size: 11px; }
.demo-week .done { color: #fff; background: #315f49; }
.demo-week .done small { color: #fff; }
.demo-shell .streak { color: var(--ink); }
.demo-shell .audio-screen h2, .demo-shell .reflection-screen h2, .demo-shell .success-screen h2, .demo-shell .reflection-text, .demo-shell .lock-box strong { color: var(--ink); }
.demo-shell .quest-summary span { color: var(--sage); background: var(--surface); }
.demo-shell .setup-screen .demo-alarm-fields, .demo-shell .setup-screen .demo-days { width: 100%; }
.demo-shell .setup-row span { color: var(--ink); }
.demo-shell .setup-screen { gap: 22px; }
.demo-shell[data-theme='dark'] .secondary-play { color: #123321; background: #a4d6b6; }
.demo-shell .app-tile.unlocked em { color: #254f3c; }
.demo-shell .app-tile { color: #18241c; background: #f6f9f6; border-color: #a7b6ac; border-radius: 8px; }
.demo-shell .app-tile b, .demo-shell .app-tile em { color: #18241c; z-index: 1; }
.demo-emergency { text-align: center; padding: 0 22px 22px; }
.demo-emergency button { min-height: 44px; padding: 8px 14px; color: var(--sage); background: var(--surface); border: 1px solid var(--sage); border-radius: 6px; }
@media (max-width: 700px) {
  .site-nav { padding: 16px 20px; min-height: 66px; }
  .site-nav { gap: 12px; }
  .site-nav .site-logo { font-size: 17px; gap: 6px; }
  .site-logo { font-size: 19px; }
  .site-nav nav { gap: 12px; }
  .site-nav nav a:not(.nav-demo) { display: none; }
  .site-inner { width: calc(100% - 40px); }
  .site h1 { font-size: 44px; }
  .site .hero-subtitle { font-size: 22px; }
  .site .hero-description { font-size: 16px; }
  .site .site-eyebrow { font-size: 11px; }
  .site-hero { height: auto; min-height: max(380px, calc(100svh - 150px)); }
  .hero-inner { padding-block: 32px; }
  .site-actions { margin-top: 22px; gap: 10px; }
  .site-actions button { font-size: 12px; padding-inline: 14px; }
  .site-actions a { font-size: 12px; padding-inline: 14px; }
  .site h2 { font-size: 28px; }
  .site-band { padding-block: 42px; }
  .site-flow { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
  .site-flow h3 { font-size: 18px; }
  .site-flow p { font-size: 14px; }
  .site-product, .site-safety, .site-plans { grid-template-columns: 1fr; gap: 32px; }
  .site-screenshot { width: min(280px, 100%); margin-inline: auto; }
  .site-safety aside { padding-left: 20px; }
  .site-footer nav { gap: 18px; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .site h1 { font-size: 36px; }
  .site-actions button { font-size: 11px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
