:root {
  --blue: #39c1e8;
  --blue-deep: #0f718e;
  --copper: #c78f5e;
  --copper-deep: #8a5b39;
  --cream: #f2ebe1;
  --cream-soft: #faf7f2;
  --sage: #78938a;
  --ink: #0d1a21;
  --ink-soft: #52616a;
  --night: #071821;
  --night-raised: #0d2b39;
  --surface: #fffdf9;
  --surface-alt: #f3eee7;
  --line: #e2ddd5;
  --success: #2aa86a;
  --radius: 24px;
  --radius-small: 15px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --shadow-soft: 0 18px 50px rgba(8, 31, 44, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; min-width: 320px; background: #dfe4e2; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid rgba(49, 196, 243, .55); outline-offset: 3px; }

.material-symbols-rounded { font-family: "Material Symbols Rounded"; font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; line-height: 1; }
.app-shell { position: relative; width: min(100%, 620px); min-height: 100dvh; margin: 0 auto; padding: 0 18px 124px; overflow: hidden; background: var(--surface); }
.app-shell::before { position: absolute; inset: 0 0 auto; height: 555px; background: linear-gradient(180deg, rgba(4,15,21,.16) 0%, rgba(4,16,23,.42) 50%, rgba(4,16,23,.94) 100%), url("fdv-en-casa-hero-v2.webp") center 76% / cover no-repeat; content: ""; }
.app-header, .welcome, .today-hub, .care-section, .section-block { position: relative; z-index: 1; }
.app-header { height: calc(82px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); display: flex; align-items: center; justify-content: space-between; }
.app-brand { display: flex; align-items: center; gap: 5px; }
.app-brand img { width: 135px; height: auto; }
.app-brand span { border: 1px solid rgba(255,255,255,.62); color: #fff; border-radius: 999px; padding: 2px 7px; font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.icon-button, .row-button, .text-button { border: 0; background: transparent; color: var(--ink); }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 15px; color: #fff; background: rgba(5,17,26,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.icon-button:active, .row-button:active { transform: scale(.96); }

.welcome { min-height: 430px; display: flex; flex-direction: column; justify-content: flex-end; padding: 60px 10px 56px; color: #fff; }
.app-overline { margin: 0 0 7px; color: var(--copper-deep); font-size: .64rem; font-weight: 700; letter-spacing: .15em; }
.welcome .app-overline { color: #bdefff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.18; text-wrap: balance; }
h1 { max-width: 390px; margin-bottom: 17px; color: #fff; font-size: clamp(2.55rem, 10.5vw, 3.4rem); text-shadow: 0 6px 28px rgba(3,14,22,.35); }
.welcome h1 span, .welcome h1 em { display: block; }
.welcome h1 span { font-family: var(--font); font-size: .8em; font-weight: 600; letter-spacing: -.065em; }
.welcome h1 em { margin-top: -2px; font-family: var(--display); font-weight: 700; letter-spacing: -.055em; line-height: .88; }
.welcome > p:last-child { max-width: 345px; margin-bottom: 0; color: rgba(255,255,255,.78); font-size: .96rem; line-height: 1.62; }

.today-hub { z-index: 2; margin: -24px -18px 0; padding: 31px 18px 35px; border-radius: 34px 34px 0 0; background: var(--surface); box-shadow: 0 -16px 52px rgba(6,24,35,.16); }
.today-hub__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.today-hub__heading h2 { margin: 0; color: var(--night); font-family: var(--display); font-size: 2.25rem; font-weight: 700; letter-spacing: -.055em; line-height: .96; }
.today-hub__date { margin: 0 0 2px; color: #71808a; font-size: .59rem; font-weight: 600; letter-spacing: .11em; text-align: right; }

.live-card { position: relative; min-height: 230px; margin: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; overflow: hidden; color: #fff; background: linear-gradient(90deg, rgba(4,16,23,.82) 0%, rgba(4,16,23,.54) 55%, rgba(4,16,23,.12) 100%), url("fdv-live-card-banner.webp") center / cover no-repeat; box-shadow: 0 22px 48px rgba(8,31,44,.24); }
.live-card::before { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(49,196,243,.08), transparent 42%); content: ""; pointer-events: none; }
.live-card__image { display: none; }
.live-card__content { position: relative; z-index: 1; display: grid; grid-template-areas: "chip ." "title button" "meta button"; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; align-items: center; min-height: 230px; padding: 25px 22px; }
.live-chip { grid-area: chip; display: inline-flex; align-items: center; width: max-content; margin-bottom: 7px; color: var(--blue); font-size: .58rem; font-weight: 700; letter-spacing: .13em; }
.live-chip::before { width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(49,196,243,.1); content: ""; }
.live-chip.is-live::before { animation: livePulse 1.7s ease-in-out infinite; }
.live-card__meta { grid-area: meta; margin: 3px 0 0; color: rgba(255,255,255,.57); font-size: .65rem; font-variant-numeric: tabular-nums; }
.live-card h2 { grid-area: title; max-width: 220px; margin: 0; color: #fff; font-family: var(--display); font-size: 1.78rem; font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.live-card__content > p:not(.live-card__meta) { display: none; }
.live-card .button--light { grid-area: button; width: 56px; height: 56px; min-height: 56px; padding: 0; border-radius: 18px; color: var(--night); background: var(--blue); box-shadow: 0 12px 26px rgba(49,196,243,.28); }
.live-card .button--light .material-symbols-rounded { display: block; font-size: 23px; }
.live-card .button--light span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px; padding: 11px 17px; border: 1px solid transparent; border-radius: 999px; font-size: .84rem; font-weight: 600; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:active { transform: translateY(1px) scale(.99); }
.button--light { background: #fff; color: var(--ink); }
.button--blue { color: #fff; background: var(--blue-deep); box-shadow: 0 10px 22px rgba(17,124,160,.22); }
.button--blue:hover { background: #0d6e8e; }
.button--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.button--full { width: 100%; }

.section-block, .care-section { margin-top: 58px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.section-heading h2, .section-block > h2 { font-size: 1.65rem; font-weight: 600; letter-spacing: -.05em; line-height: 1.08; }
.care-section .section-heading h2, #agenda .section-heading h2 { font-family: var(--display); font-size: 1.92rem; font-weight: 700; }
.text-button { color: var(--blue-deep); font-size: .8rem; font-weight: 700; }
.today-hub .devotional { margin-top: 29px; }
.devotional-card { position: relative; padding: 28px 25px 25px; border: 1px solid rgba(199,143,94,.2); border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 100% 0, rgba(199,143,94,.17), transparent 31%), var(--cream-soft); box-shadow: 0 14px 34px rgba(92,61,39,.08); }
.devotional-card::before { position: absolute; top: 26px; bottom: 26px; left: 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--copper); content: ""; }
.devotional-card__verse { margin-bottom: 11px; color: #253b40; font-family: var(--display); font-size: 1.42rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.38; }
.devotional-card__source { margin-bottom: 18px; color: var(--copper-deep); font-size: .76rem; font-weight: 700; }
.devotional-card__reflection { margin-bottom: 21px; color: var(--ink-soft); font-size: 1rem; line-height: 1.62; }
.devotional-card__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.link-action { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; color: var(--blue-deep); background: transparent; font-size: .77rem; font-weight: 700; }
.link-action .material-symbols-rounded { font-size: 18px; }

.agenda-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: visible; }
.agenda-item { position: relative; display: grid; min-height: 205px; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 16px; padding: 22px 20px 20px; border: 1px solid rgba(13,43,57,.05); border-radius: 23px; background: #edf4f3; }
.agenda-item:nth-child(2) { background: #f1e8dc; }
.agenda-item:nth-child(3) { background: #e7f0ed; }
.agenda-item:nth-child(4) { background: #eef2f4; }
.agenda-item__time { display: flex; width: max-content; flex-direction: column; align-items: flex-start; justify-content: center; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.agenda-item__time strong { margin-bottom: 4px; font-size: .82rem; letter-spacing: .1em; }
.agenda-item__time span { font-size: 1.08rem; }
.agenda-item__content { grid-column: 1 / -1; align-self: end; }
.agenda-item__label { display: block; margin-bottom: 9px; color: #65818d; font-size: .68rem; font-weight: 700; letter-spacing: .13em; }
.agenda-item h3 { margin-bottom: 7px; font-size: 1.25rem; line-height: 1.05; }
.agenda-item p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }
.row-button { position: absolute; top: 18px; right: 18px; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: var(--blue-deep); background: rgba(255,255,255,.72); }
.agenda-item--featured { grid-column: 1 / -1; min-height: 202px; grid-template-columns: 73px minmax(0, 1fr) auto; grid-template-rows: 1fr; align-items: center; gap: 18px; overflow: hidden; color: #fff; background: radial-gradient(circle at 95% 0, rgba(57,193,232,.23), transparent 33%), linear-gradient(135deg, #071821, #0f3443); box-shadow: 0 20px 44px rgba(7,25,37,.22); }
.agenda-item--featured::before { position: absolute; top: -88px; right: -62px; width: 235px; height: 235px; border: 1px solid rgba(49,196,243,.3); border-radius: 50%; box-shadow: 0 0 0 34px rgba(49,196,243,.07), 0 0 0 70px rgba(49,196,243,.035); content: ""; }
.agenda-item--featured .agenda-item__time { position: relative; z-index: 1; align-self: start; margin-top: 5px; padding: 11px 9px; border-radius: 12px; color: var(--blue); background: rgba(49,196,243,.1); }
.agenda-item--featured .agenda-item__content { position: relative; z-index: 1; grid-column: auto; align-self: center; }
.agenda-item--featured .agenda-item__label { color: var(--blue); }
.agenda-item--featured h3 { font-size: 1.55rem; }
.agenda-item--featured p { max-width: 255px; color: rgba(255,255,255,.72); font-size: 1rem; }
.agenda-item--featured .row-button { position: relative; top: auto; right: auto; z-index: 1; width: 50px; height: 50px; color: var(--night); background: var(--blue); }

.care-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 13px; margin-top: 0; }
.care-card { min-height: 188px; padding: 22px 18px; border: 1px solid transparent; border-radius: 26px; text-align: left; }
.care-card .material-symbols-rounded { display: grid; width: 39px; height: 39px; margin-bottom: 18px; place-items: center; border-radius: 50%; font-size: 22px; }
.care-card strong, .care-card small { display: block; }
.care-card strong { margin-bottom: 7px; font-size: .92rem; letter-spacing: -.02em; }
.care-card small { font-size: .88rem; line-height: 1.48; }
.care-card--prayer { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, rgba(7,20,30,.42), rgba(7,20,30,.9)), url("fdv-prayer-card.png") center / cover no-repeat; box-shadow: 0 15px 34px rgba(8,31,44,.14); }
.care-card--prayer .material-symbols-rounded { color: var(--blue); background: rgba(49,196,243,.14); }
.care-card--prayer small { color: rgba(255,255,255,.65); }
.care-card--talk { border-color: rgba(199,143,94,.24); color: #4b3528; background: radial-gradient(circle at 100% 0, rgba(199,143,94,.18), transparent 35%), #f3e9dc; }
.care-card--talk .material-symbols-rounded { color: var(--copper-deep); background: rgba(255,255,255,.55); }
.care-card--talk small { color: #765d4d; }

.path { position: relative; padding: 35px 0 31px 24px; border-radius: 30px; overflow: hidden; color: #fff; background: radial-gradient(circle at 91% 10%, rgba(199,143,94,.25), transparent 28%), radial-gradient(circle at 12% 100%, rgba(57,193,232,.12), transparent 31%), linear-gradient(140deg, #071821, #123545); box-shadow: 0 22px 48px rgba(7,25,37,.16); }
.path::after { position: absolute; right: -92px; bottom: -92px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 32px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.015); content: ""; pointer-events: none; }
.path .section-heading { position: relative; z-index: 1; margin: 0 22px 25px 0; }
.path .app-overline { color: var(--blue); }
.path .section-heading h2 { max-width: 305px; margin-bottom: 9px; color: #fff; font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1; }
.path__intro { max-width: 275px; margin: 0; color: rgba(255,255,255,.66); font-size: .94rem; line-height: 1.5; }
.path-steps { position: relative; z-index: 1; display: grid; grid-auto-columns: minmax(224px, 72%); grid-auto-flow: column; gap: 11px; overflow-x: auto; padding: 3px 22px 8px 0; scrollbar-width: none; scroll-snap-type: x proximity; }
.path-steps::-webkit-scrollbar { display: none; }
.path-step { display: grid; min-height: 194px; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; color: #fff; background: rgba(255,255,255,.055); text-align: left; scroll-snap-align: start; }
.path-step span { color: rgba(255,255,255,.5); font-size: .67rem; font-weight: 700; letter-spacing: .12em; }
.path-step strong { align-self: end; margin-bottom: 5px; font-size: 1.08rem; letter-spacing: -.035em; }
.path-step small { grid-column: 1 / -1; color: rgba(255,255,255,.63); font-size: .86rem; line-height: 1.5; }
.path-step i { align-self: start; color: var(--blue); font-size: 20px; font-style: normal; }
.path-step--featured { border-color: transparent; color: #3e2a1d; background: #e8c8a9; box-shadow: 0 15px 34px rgba(0,0,0,.17); }
.path-step--featured span, .path-step--featured small { color: rgba(7,21,35,.63); }
.path-step--featured i { color: var(--night); }

.give { position: relative; padding: 34px 27px; border-radius: 28px; overflow: hidden; color: #fff; background: radial-gradient(circle at 95% 8%, rgba(255,228,196,.22), transparent 32%), linear-gradient(135deg, #6d4934, #9b6848); box-shadow: 0 18px 40px rgba(87,53,34,.18); }
.give::after { position: absolute; right: -42px; bottom: -70px; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.04); content: ""; }
.give > * { position: relative; z-index: 1; }
.give .app-overline { color: #ffe0bf; }
.give h2 { max-width: 340px; margin-bottom: 12px; color: #fff; font-family: var(--display); font-size: 2rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.give p:not(.app-overline) { max-width: 370px; margin-bottom: 20px; color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.58; }
.give .button--blue { color: #4b3122; background: #ffe4c8; box-shadow: none; }

@media (prefers-reduced-motion: no-preference) {
  .welcome { animation: welcomeIn .8s cubic-bezier(.16, 1, .3, 1) both; }
  .live-card { animation: cardIn .8s .12s cubic-bezier(.16, 1, .3, 1) both; }
  .care-card, .path-step, .agenda-item, .more-install, .more-action, .more-discover { transition: transform .24s cubic-bezier(.16, 1, .3, 1), background-color .24s ease, border-color .24s ease; }
  .care-card:hover { transform: translateY(-3px); }
  .path-step:hover, .agenda-item:hover, .more-install:hover, .more-action:hover, .more-discover:hover { transform: translateY(-2px); }
}
@keyframes welcomeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(49,196,243,.1); } 50% { box-shadow: 0 0 0 9px rgba(49,196,243,0); } }

.more { position: relative; padding: 35px 22px 22px; border-radius: 30px; overflow: hidden; color: #fff; background: radial-gradient(circle at 92% 7%, rgba(199,143,94,.22), transparent 30%), linear-gradient(145deg, #081b24, #123a49); box-shadow: 0 20px 44px rgba(7,25,37,.18); }
.more::after { position: absolute; top: -117px; right: -96px; width: 260px; height: 260px; border: 1px solid rgba(232,200,169,.34); border-radius: 50%; box-shadow: 0 0 0 32px rgba(232,200,169,.065), 0 0 0 66px rgba(232,200,169,.03); content: ""; pointer-events: none; }
.more__intro, .more-install, .more__grid, .more-discover { position: relative; z-index: 1; }
.more .app-overline { color: var(--blue); }
.more__intro h2 { max-width: 285px; margin-bottom: 9px; color: #fff; font-family: var(--display); font-size: 2.15rem; font-weight: 700; letter-spacing: -.045em; line-height: .98; }
.more__intro > p:last-child { margin-bottom: 23px; color: rgba(255,255,255,.65); font-size: .96rem; line-height: 1.45; }
.more-install { display: grid; width: 100%; grid-template-columns: 43px 1fr 24px; align-items: center; gap: 12px; padding: 17px 16px; border: 0; border-radius: 20px; color: #3f2c20; background: #e8c8a9; text-align: left; box-shadow: 0 16px 32px rgba(0,0,0,.18); }
.more-install__icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: rgba(255,255,255,.47); font-size: 22px; }
.more-install__copy small, .more-install__copy strong, .more-install__copy em { display: block; }
.more-install__copy small { margin-bottom: 2px; color: rgba(7,21,35,.67); font-size: .54rem; font-weight: 700; letter-spacing: .12em; }
.more-install__copy strong { font-size: .96rem; letter-spacing: -.025em; }
.more-install__copy em { margin-top: 2px; color: rgba(7,21,35,.72); font-size: .82rem; font-style: normal; }
.more-install > .material-symbols-rounded:last-child { font-size: 20px; }
.more__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 11px; }
.more-action { position: relative; min-height: 132px; padding: 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 19px; color: inherit; background: rgba(255,255,255,.065); font: inherit; text-align: left; }
.more-action > .material-symbols-rounded:first-child { display: grid; width: 34px; height: 34px; margin-bottom: 22px; place-items: center; border-radius: 10px; color: var(--blue); background: rgba(49,196,243,.1); font-size: 20px; }
.more-action:nth-child(2) > .material-symbols-rounded:first-child { color: #f1c295; background: rgba(232,200,169,.11); }
.more-action strong, .more-action small { display: block; }
.more-action strong { margin-bottom: 3px; color: #fff; font-size: .82rem; letter-spacing: -.025em; }
.more-action small { color: rgba(255,255,255,.58); font-size: .82rem; line-height: 1.35; }
.more-action i { position: absolute; right: 13px; bottom: 13px; color: var(--blue); font-size: 17px; font-style: normal; }
.more-discover { display: grid; grid-template-columns: 28px 1fr 23px; align-items: center; gap: 10px; min-height: 62px; margin-top: 7px; padding: 0 3px; border-top: 1px solid rgba(255,255,255,.16); color: #fff; }
.more-discover > .material-symbols-rounded:first-child { color: var(--blue); font-size: 20px; }
.more-discover small, .more-discover strong { display: block; }
.more-discover small { margin-bottom: 2px; color: rgba(255,255,255,.48); font-size: .52rem; font-weight: 700; letter-spacing: .12em; }
.more-discover strong { font-size: .94rem; }
.more-discover > .material-symbols-rounded:last-child { justify-self: end; color: var(--blue); font-size: 19px; }

.bottom-nav { position: fixed; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); left: 12px; z-index: 10; display: flex; width: auto; max-width: 596px; margin: 0 auto; justify-content: center; padding: 10px 8px; border: 1px solid rgba(255,255,255,.74); border-radius: 24px; background: rgba(255,253,249,.91); box-shadow: 0 18px 42px rgba(7,25,37,.2), inset 0 1px 0 rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.bottom-nav::before { display: none; }
.bottom-nav__item { position: relative; z-index: 1; display: flex; width: min(20vw, 104px); flex-direction: column; align-items: center; gap: 4px; padding: 3px 2px; border: 0; color: #718087; background: transparent; font-size: .58rem; transition: color .2s ease, transform .2s ease; }
.bottom-nav__item .material-symbols-rounded { font-size: 25.3px; }
.bottom-nav__item.is-active { color: var(--blue-deep); font-weight: 700; }
.bottom-nav__item.is-active::before { position: absolute; top: -10px; width: 23px; height: 3px; border-radius: 0 0 3px 3px; background: var(--copper); content: ""; }
.bottom-nav__pray { color: #fff; }
.bottom-nav__pray .material-symbols-rounded { display: grid; width: 48px; height: 48px; margin-top: -26px; place-items: center; border: 4px solid var(--surface); border-radius: 16px; background: linear-gradient(145deg, #0f7896, #0a5770); box-shadow: 0 9px 20px rgba(17,124,160,.3); }
.bottom-nav__pray span:last-child { color: var(--blue-deep); font-weight: 700; }

.modal { width: min(calc(100% - 24px), 490px); max-height: min(88dvh, 760px); margin: auto; padding: 0; border: 1px solid rgba(255,255,255,.62); border-radius: 26px; color: var(--ink); box-shadow: 0 32px 86px rgba(5,20,29,.38); background: var(--surface); }
.modal::backdrop { background: rgba(7,21,30,.62); backdrop-filter: blur(3px); }
.modal__sheet { position: relative; padding: 30px 23px 25px; overflow: auto; }
.modal__sheet h2 { margin-bottom: 10px; font-family: var(--display); font-size: 2rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.03; }
.modal__intro { margin-bottom: 22px; color: var(--ink-soft); font-size: .96rem; line-height: 1.56; }
.modal__close { position: absolute; top: 13px; right: 13px; display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(13,43,57,.06); border-radius: 13px; color: var(--ink-soft); background: var(--surface-alt); }
.modal--calendar { width: min(calc(100% - 20px), 590px); max-height: min(94dvh, 850px); border-radius: 28px; background: #edf4f6; }
.modal__sheet--calendar { padding: 0; overflow: hidden; }
.modal__sheet--calendar .modal__close { z-index: 2; top: 17px; right: 17px; width: 39px; height: 39px; color: #fff; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.counseling-hero { position: relative; min-height: 208px; padding: 30px 66px 26px 27px; overflow: hidden; color: #fff; background: radial-gradient(circle at 92% 12%, rgba(49,196,243,.3), transparent 31%), linear-gradient(135deg, #071923, #133f54); }
.counseling-hero::after { position: absolute; right: -55px; bottom: -83px; width: 205px; height: 205px; border: 1px solid rgba(49,196,243,.36); border-radius: 50%; box-shadow: 0 0 0 31px rgba(49,196,243,.07), 0 0 0 65px rgba(49,196,243,.035); content: ""; pointer-events: none; }
.counseling-hero__label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; margin-bottom: 15px; color: var(--blue); font-size: .59rem; font-weight: 700; letter-spacing: .15em; }
.counseling-hero__label .material-symbols-rounded { font-size: 17px; }
.counseling-hero h2 { position: relative; z-index: 1; max-width: 340px; margin: 0 0 9px; color: #fff; font-family: var(--display); font-size: clamp(2rem, 7vw, 2.35rem); font-weight: 700; letter-spacing: -.05em; line-height: .96; }
.counseling-hero > p { position: relative; z-index: 1; max-width: 385px; margin: 0; color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.5; }
.counseling-hero__meta { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin-top: 16px; color: rgba(255,255,255,.68); font-size: .64rem; font-weight: 600; letter-spacing: .015em; }
.counseling-hero__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--blue); }
.counseling-booking { position: relative; z-index: 1; margin: -15px 13px 0; padding: 14px; border: 1px solid rgba(220,231,236,.9); border-radius: 19px; background: #fff; box-shadow: 0 15px 34px rgba(8,31,44,.13); }
.counseling-booking__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 3px 11px; color: #59717c; font-size: .56rem; font-weight: 700; letter-spacing: .11em; }
.counseling-booking__heading small { color: #80949d; font-size: .55rem; font-weight: 600; letter-spacing: .01em; text-align: right; }
.counseling-calendar { min-width: 280px; overflow: hidden; border: 1px solid #dce7ec; border-radius: 13px; background: #f4f7f8; }
.counseling-calendar--native { min-height: 394px; padding: 21px 18px 15px; color: var(--night); background: radial-gradient(circle at 88% 10%, rgba(49,196,243,.09), transparent 25%), #fbfdfe; }
.native-calendar__top { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 10px; margin-bottom: 22px; text-align: center; }
.native-calendar__top > button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #dce7ec; border-radius: 12px; color: var(--blue-deep); background: #fff; }
.native-calendar__top > button:active, .native-calendar__day:active, .native-calendar__times button:active { transform: scale(.96); }
.native-calendar__top .material-symbols-rounded { font-size: 19px; }
.native-calendar__top span, .native-calendar__top strong { display: block; }
.native-calendar__top span { margin-bottom: 2px; color: #71909d; font-size: .52rem; font-weight: 700; letter-spacing: .14em; }
.native-calendar__top strong { color: var(--night); font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.035em; text-transform: capitalize; }
.native-calendar__week, .native-calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.native-calendar__week { margin-bottom: 8px; color: #849aa4; font-size: .57rem; font-weight: 700; text-align: center; }
.native-calendar__grid { grid-auto-rows: 39px; }
.native-calendar__blank { min-width: 0; }
.native-calendar__day { position: relative; display: grid; min-width: 0; padding: 0; place-items: center; border: 0; border-radius: 11px; color: #aec0c7; background: transparent; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.native-calendar__day:disabled { cursor: default; }
.native-calendar__day.is-available { color: #126d8e; background: #e3f5fb; box-shadow: inset 0 0 0 1px rgba(49,196,243,.25); }
.native-calendar__day.is-available::after { position: absolute; bottom: 5px; width: 3px; height: 3px; border-radius: 50%; background: var(--blue-deep); content: ""; }
.native-calendar__day.is-selected { color: #fff; background: var(--blue-deep); box-shadow: 0 8px 16px rgba(17,124,160,.22); }
.native-calendar__day.is-selected::after { background: var(--blue); }
.native-calendar__availability { min-height: 72px; margin-top: 19px; padding-top: 15px; border-top: 1px solid #e2ebef; }
.native-calendar__message { margin: 0; color: #728891; font-size: .72rem; line-height: 1.45; text-align: center; }
.native-calendar__times > p { margin: 0 0 11px; color: #637985; font-size: .7rem; text-transform: capitalize; }
.native-calendar__times > p strong { color: var(--night); font-weight: 700; }
.native-calendar__times > div { display: flex; flex-wrap: wrap; gap: 8px; }
.native-calendar__times button { min-width: 82px; border: 1px solid #bfe1ed; border-radius: 10px; padding: 10px 9px; color: #0f6f92; background: #f0fbff; font-family: var(--font); font-size: .72rem; font-weight: 700; }
.counseling-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 20px 17px; }
.counseling-footer p { margin: 0; color: #6d818a; font-size: .63rem; line-height: 1.42; }
.calendar-fallback { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; color: var(--blue-deep); font-size: .68rem; font-weight: 700; white-space: nowrap; }
.calendar-fallback .material-symbols-rounded { font-size: 17px; }
.modal label:not(.consent):not(.preference) { display: block; margin-bottom: 13px; color: var(--ink); font-size: .76rem; font-weight: 600; }
.modal input:not([type="checkbox"]), .modal textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid #c9d8df; border-radius: 10px; padding: 11px 12px; color: var(--ink); outline: none; background: #fff; font-size: .88rem; }
.modal textarea { resize: vertical; }
.modal input:focus, .modal textarea:focus { border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(49,196,243,.16); }
.optional { color: var(--ink-soft); font-weight: 400; }
.consent, .preference { display: flex; align-items: flex-start; gap: 10px; }
.consent { margin: 5px 0 13px; color: var(--ink-soft); font-size: .82rem; line-height: 1.5; }
.consent input, .preference input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--blue-deep); flex: 0 0 auto; }
.form-feedback { min-height: 19px; margin: 0 0 10px; color: #b2433d; font-size: .73rem; }
.form-feedback.is-ok { color: var(--success); }
.modal__note { margin: 15px 0 0; color: #657983; font-size: .8rem; line-height: 1.5; }
.reading-text { margin-bottom: 17px; color: #244857; font-family: var(--display); font-size: 1.18rem; font-weight: 700; line-height: 1.55; }
.preference { margin-bottom: 14px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.preference strong, .preference small { display: block; }
.preference strong { margin-bottom: 2px; font-size: .78rem; }
.preference small { color: var(--ink-soft); font-size: .82rem; line-height: 1.45; }
.bible-versions { display: grid; gap: 10px; margin: 22px 0 18px; }
.bible-version { display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; align-items: center; gap: 12px; min-height: 72px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--surface-alt); transition: transform .18s ease, border-color .18s ease; }
.bible-version:active { transform: scale(.985); }
.bible-version__mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 12px; color: var(--blue-deep); background: #dff4fb; font-size: .72rem; font-weight: 700; letter-spacing: .03em; }
.bible-version strong, .bible-version small { display: block; }
.bible-version strong { margin-bottom: 2px; font-size: .96rem; letter-spacing: -.02em; }
.bible-version small { color: var(--ink-soft); font-size: .78rem; line-height: 1.35; }
.bible-version > .material-symbols-rounded { justify-self: end; color: var(--blue-deep); font-size: 19px; }
.bible-version--featured { border-color: transparent; color: #fff; background: var(--night-raised); box-shadow: 0 12px 26px rgba(8,31,44,.12); }
.bible-version--featured .bible-version__mark { color: var(--night); background: var(--blue); }
.bible-version--featured small { color: rgba(255,255,255,.65); }
.bible-version--featured > .material-symbols-rounded { color: var(--blue); }
.bible-controls { display: grid; grid-template-columns: minmax(0, 1fr) 104px 48px; align-items: end; gap: 10px; margin: 20px 0 27px; padding: 14px; border: 1px solid rgba(199,143,94,.18); border-radius: 20px; background: var(--cream-soft); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 25px rgba(92,61,39,.05); }
.bible-control { display: grid; gap: 6px; min-width: 0; color: #657983; font-size: .59rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bible-control__reading-fields { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 7px; min-width: 0; }
.bible-control select { min-width: 0; width: 100%; height: 46px; appearance: none; border: 1px solid #d8e4e9; border-radius: 12px; padding: 0 28px 0 12px; color: var(--night); background: linear-gradient(45deg, transparent 50%, #52636d 50%) calc(100% - 12px) 50% / 7px 7px no-repeat, linear-gradient(135deg, #52636d 50%, transparent 50%) calc(100% - 7px) 50% / 7px 7px no-repeat, #fff; box-shadow: 0 1px 2px rgba(8,31,44,.025); font-family: var(--font); font-size: .9rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.bible-control select:hover { border-color: #b8d6e1; }
.bible-control select:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px rgba(49,196,243,.16); }
.bible-control--reading select:first-child { font-size: .94rem; }
.bible-text-size, .bible-chapter-nav { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--night); background: #fff; }
.bible-text-size { width: 48px; height: 48px; padding: 0; border-color: #c9e0e9; color: #17485b; background: #fff; box-shadow: 0 5px 13px rgba(8,31,44,.055); font-size: .84rem; font-weight: 700; letter-spacing: -.06em; }
.bible-text-size.is-large { color: var(--blue-deep); border-color: var(--blue); background: #effaff; }
.bible-reading-heading { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 14px; margin-bottom: 15px; text-align: center; }
.bible-reading-heading > div { min-width: 0; }
.bible-reading-heading__label { margin: 0 0 5px; color: #84939a; font-size: .58rem; font-weight: 700; letter-spacing: .16em; }
.bible-chapter-nav { width: 42px; height: 42px; padding: 0; color: #71808a; }
.bible-chapter-nav:active, .bible-text-size:active { transform: scale(.95); }
.bible-status { min-height: 17px; margin: 0 0 10px; color: #71808a; font-size: .7rem; text-align: center; }
.bible-reader { min-height: 330px; padding: 8px 8px 15px; border-radius: 0; color: #1b2730; background: transparent; }
.bible-reader__reference { margin: 0; color: var(--night); font-family: var(--font); font-size: 1.4rem; font-weight: 700; letter-spacing: -.05em; line-height: 1.04; }
.bible-reader__content { max-width: 390px; margin: 0 auto; font-family: var(--font); font-size: 1.18rem; font-weight: 400; letter-spacing: -.018em; line-height: 1.9; }
.bible-reader__content > div { margin-bottom: 7px; }
.bible-reader__content .q1, .bible-reader__content .q2, .bible-reader__content .q3, .bible-reader__content .m, .bible-reader__content .p { min-height: 1.2em; }
.bible-reader__content .q2, .bible-reader__content .q3 { padding-left: 20px; }
.bible-reader__content .s, .bible-reader__content .s1, .bible-reader__content .s2 { margin: 26px 0 10px; color: var(--night); font-size: 1.35rem; font-weight: 700; line-height: 1.25; }
.bible-reader__content .yv-v { display: none; }
.bible-reader__content .yv-vlbl { display: inline-block; min-width: 22px; margin-right: 3px; color: #91a1a8; font-size: .58em; font-weight: 500; line-height: 1; vertical-align: super; }
.bible-reader.is-large .bible-reader__content { font-size: 1.34rem; line-height: 1.88; }
.bible-copyright { margin: 18px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: #72848c; font-size: .62rem; line-height: 1.5; }

@media (min-width: 700px) {
  body { padding: 20px; background: #dfe9ed; }
  .app-shell { border-radius: 28px; box-shadow: 0 24px 70px rgba(8,31,44,.14); }
  .bottom-nav { bottom: 20px; background: transparent; border: 0; pointer-events: none; }
  .bottom-nav::before { display: none; }
  .bottom-nav { padding: 0; }
  .bottom-nav > * { pointer-events: auto; }
  .bottom-nav__item { width: 96px; }
  .bottom-nav { width: 570px; right: auto; left: 50%; padding: 10px; border-radius: 19px; background: rgba(255,255,255,.95); box-shadow: 0 12px 34px rgba(8,31,44,.18); transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
