/* Pray4me public site — NPQ design */
:root {
  --ground: #F7F4EC;
  --white: #FFFFFF;
  --ink: #14261F;
  --body: #3E5048;
  --muted: #4F6159;
  --brand: #1F5A43;
  --brand-deep: #123A2B;
  --line: #E2DDCF;
  --sage: #DCE4DC;
  --gold: #D7B680;
  --on-deep: #E8EFE9;
  --on-deep-muted: #B9CCC1;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: 16px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }

.banner { background: var(--brand-deep); color: var(--on-deep); font-size: 13px; padding: 8px 16px; text-align: center; }

/* Header */
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo span { display: flex; flex-direction: column; line-height: 1.1; }
.logo strong { font-family: var(--serif); font-size: 23px; font-weight: 600; }
.logo small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--gold); }

.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.mnav-panel { position: absolute; right: 0; top: 54px; z-index: 5; width: min(280px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 18px 40px rgba(18, 58, 43, .14); display: flex; flex-direction: column; }
.mnav-panel a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 12px; border-radius: 10px; font-weight: 500; }
.mnav-panel a:not(.btn):hover { background: var(--ground); }
.mnav-panel .btn { margin-top: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; border-radius: 999px; padding: 12px 20px; min-height: 44px; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-lg { padding: 15px 28px; font-size: 16px; min-height: 52px; }
.btn-block { width: 100%; }
.btn-solid { background: var(--brand); color: var(--white); }
.btn-solid:hover { background: var(--brand-deep); color: var(--white); }
.btn-line { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-line:hover { background: var(--brand); color: var(--white); }

/* Type */
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
h1, .h2, .inspiration h2, .faith h3 { font-family: var(--serif); font-weight: 500; }
h1 { margin: 0; font-size: clamp(40px, 6vw, 66px); line-height: 1.05; letter-spacing: -.01em; }
h1 em { display: block; font-style: italic; color: var(--brand); }
.h2 { margin: 0 0 16px; font-size: clamp(32px, 4.2vw, 46px); line-height: 1.12; max-width: 680px; }
.center .h2 { margin-left: auto; margin-right: auto; }
.lead { margin: 24px 0 0; font-size: 19px; color: var(--body); max-width: 540px; }
.section-intro { margin: 0; color: var(--body); font-size: 17px; max-width: 620px; }
.center .section-intro { margin: 0 auto; }
.note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }

/* Hero */
.hero { padding: 40px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center-actions { justify-content: center; }
.hero-side { display: flex; flex-direction: column; gap: 16px; }
.hero-panel { position: relative; overflow: hidden; min-height: 420px; border-radius: 24px; padding: 32px; display: flex; align-items: flex-end;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(215, 182, 128, .32), transparent 60%),
    radial-gradient(90% 70% at 10% 100%, rgba(31, 90, 67, .55), transparent 70%),
    linear-gradient(160deg, #1F5A43 0%, #123A2B 100%); }
.hero-panel > div { position: relative; max-width: 380px; }
.panel-heading { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; color: var(--on-deep); }
.panel-text { margin: 10px 0 0; color: var(--on-deep-muted); font-size: 16px; }
.star { color: var(--gold); position: absolute; line-height: 1; }
.hero-panel .s1 { top: 34px; right: 46px; font-size: 34px; }
.hero-panel .s2 { top: 96px; right: 120px; font-size: 18px; opacity: .8; }
.hero-panel .s3 { top: 150px; right: 64px; font-size: 14px; opacity: .6; }
.inspiration { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; }
.inspiration .eyebrow { font-size: 12px; margin-bottom: 6px; }
.inspiration h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.2; }
.inspiration p:last-child { margin: 0; color: var(--body); }

.hero-photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--sage); box-shadow: 0 24px 48px -28px rgba(18, 58, 43, .45); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo .words { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 32px; color: #fff; }
.hero-photo .words strong { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; max-width: 440px; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.hero-photo .words span { font-size: 16px; max-width: 420px; color: #EEF3EF; }
.words.place-br { align-items: flex-end; text-align: right; }
.words.place-tl { justify-content: flex-start; }
.words.place-c { justify-content: center; align-items: center; text-align: center; }
.words.shade-light { background: linear-gradient(to top, rgba(10, 30, 24, .5), transparent 55%); }
.words.shade-medium { background: linear-gradient(to top, rgba(10, 30, 24, .78), rgba(10, 30, 24, .08) 70%); }
.words.shade-strong { background: rgba(10, 30, 24, .55); }
.words.place-tl.shade-light, .words.place-tl.shade-medium { background: linear-gradient(to bottom, rgba(10, 30, 24, .75), transparent 65%); }
.credit { position: absolute; right: 12px; bottom: 8px; font-size: 11px; color: rgba(255, 255, 255, .8); }
.words.place-br ~ .credit { left: 12px; right: auto; }
.preview-tag { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--brand-deep); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

/* Notice blocks */
.notices { padding: 0 0 72px; }
.notice-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.notice { --tone: var(--brand); --tone-soft: #E7F0EA; }
.notice.tone-important, .notice-full.tone-important { --tone: #8A5A12; --tone-soft: #F7EBD3; }
.notice.tone-urgent, .notice-full.tone-urgent { --tone: #9B302D; --tone-soft: #F8E3E0; }
.notice-link { height: 100%; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--tone); border-radius: 18px; padding: 22px 24px; transition: transform .15s, box-shadow .15s; }
a.notice-link:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(18, 58, 43, .45); }
.n-label { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tone); background: var(--tone-soft); padding: 3px 10px; border-radius: 999px; }
.notice h2 { margin: 2px 0 0; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.notice p { margin: 0; color: var(--body); font-size: 15px; }
.n-more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--tone); }
@media (prefers-reduced-motion: reduce) { a.notice-link:hover { transform: none; } }
.notice-full { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--tone, var(--brand)); border-radius: 20px; padding: 32px; margin-top: 12px; }
.notice-full h1 { font-size: clamp(32px, 5vw, 46px); margin: 12px 0 18px; }
.notice-full p { color: var(--body); font-size: 17px; margin: 0 0 14px; }
.notice-full .n-label { color: var(--tone, var(--brand)); background: var(--tone-soft, #E7F0EA); }
.back { font-weight: 600; text-decoration: none; }

/* Bands */
.band { padding: 88px 0; }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-deep { background: var(--brand-deep); color: var(--on-deep); }
.band-deep .eyebrow { color: var(--gold); }
.band-deep .section-intro { color: var(--on-deep-muted); }

.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--ground); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 10px; color: var(--brand); }
.step .num { font-size: 13px; font-weight: 700; }
.step h3 { margin: 0; font-size: 21px; font-weight: 600; color: var(--ink); }
.step p { margin: 0; color: var(--body); }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.faiths { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.faith { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; }
.faith h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.2; }
.faith p { margin: 0; color: var(--body); font-size: 15px; }
.faith-feature { background: var(--brand); border-color: var(--brand); color: var(--white); }
.faith-feature p { color: var(--on-deep); }

.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.promises li { border-top: 1px solid rgba(232, 239, 233, .2); padding: 18px 0 22px; }
.promises h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--white); }
.promises p { margin: 0; color: var(--on-deep-muted); font-size: 15px; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 300px)); justify-content: center; gap: 20px; margin-top: 40px; text-align: left; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--brand); }
.p-title { margin: 0; font-weight: 600; }
.p-amount { margin: 8px 0 0; font-family: var(--serif); font-size: 44px; line-height: 1.1; }
.p-pending { font-size: 24px; line-height: 1.25; color: var(--body); }
.p-note { margin: 4px 0 20px; color: var(--muted); font-size: 14px; }
.price-card .btn { margin-top: auto; }
.pricing-note { margin: 28px auto 0; max-width: 560px; color: var(--muted); font-size: 14px; }

.closing { padding: 80px 0 96px; background: var(--white); border-top: 1px solid var(--line); }
.closing .star { position: static; display: block; font-size: 28px; margin-bottom: 14px; }
.closing .btn { margin-top: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 14px; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-top p { margin: 0 0 4px; }
.f-name { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 8px !important; }
.f-disclaimer { font-style: italic; }
.f-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; }
.f-links a { color: var(--brand); text-underline-offset: 3px; }
.f-bottom { margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.f-bottom span:not(:last-child)::after { content: "·"; margin: 0 10px; }

/* Phone and tablet */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .hero-panel { min-height: 260px; }
  .hero-photo { aspect-ratio: 4 / 4.2; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .mnav { display: block; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 16px 0 56px; }
  .band { padding: 64px 0; }
  .promises { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .lead { font-size: 17px; }
  .step, .price-card { padding: 24px; }
  .hero-photo .words { padding: 22px; }
  .notice-full { padding: 22px; }
}

/* Inner pages */
.nav a[aria-current="page"], .mnav-panel a[aria-current="page"] { border-bottom-color: var(--brand); font-weight: 600; }
.mnav-panel a[aria-current="page"] { background: var(--ground); }
.page-head-band { padding: 40px 0 8px; }
.page-head-band .lead { max-width: 640px; }
.page-h1 { font-size: clamp(36px, 5vw, 54px); }
.band-tight { padding: 32px 0 88px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--brand); transition: transform .2s; }
.faq[open] summary svg { transform: rotate(45deg); }
.faq[open] summary { padding-bottom: 6px; }
.faq-a { padding: 0 24px 20px; color: var(--body); }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin: 0; }
.faq-more { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.faq-more p { margin: 0; font-family: var(--serif); font-size: 24px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.contact-ways { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.way { display: flex; gap: 14px; align-items: flex-start; }
.way svg { flex: none; color: var(--brand); margin-top: 2px; }
.way strong { display: block; }
.way span, .way a { color: var(--body); }
.way a { color: var(--brand); font-weight: 600; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.f-field label { font-weight: 600; font-size: 15px; }
.f-field input, .f-field select, .f-field textarea { font: inherit; color: var(--ink); background: var(--white); border: 1px solid #CFC8B6; border-radius: 12px; padding: 12px 14px; width: 100%; }
.f-field textarea { resize: vertical; min-height: 140px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--brand); }
.f-field [aria-invalid="true"] { border-color: #9B302D; }
.f-error, .form-error { color: #9B302D; font-size: 14px; font-weight: 600; }
.form-error { margin: 0 0 14px; }
.f-note { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { text-align: center; color: var(--brand); padding: 16px 0; }
.sent h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; color: var(--ink); margin: 8px 0; }
.sent p { color: var(--body); margin: 0 0 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } .contact-card { padding: 22px; } .faq summary { padding: 16px 18px; font-size: 17px; } .faq-a { padding: 0 18px 16px; } }

/* FAQ sections and search */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.faq-tools { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.faq-search { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid #CFC8B6; border-radius: 999px; padding: 0 18px; color: var(--muted); }
.faq-search:focus-within { outline: 3px solid var(--gold); outline-offset: 1px; }
.faq-search input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); padding: 14px 0; width: 100%; }
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-jump a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--brand); border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 14px; }
.faq-jump a:hover { border-color: var(--brand); }
.faq-group { margin-top: 36px; scroll-margin-top: 16px; }
.faq-h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 14px; }
.faq { scroll-margin-top: 16px; }
.faq-none { margin-top: 28px; color: var(--body); }

/* Pricing page */
.p-region { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.free-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; background: var(--brand-deep); color: var(--on-deep); border-radius: 22px; padding: 28px 32px; margin-bottom: 56px; }
.free-banner svg { color: var(--gold); flex: none; }
.free-banner div { flex: 1 1 360px; }
.free-banner h2 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--white); }
.free-banner p { margin: 0; color: var(--on-deep-muted); }
.free-banner .btn-solid { background: var(--gold); color: var(--brand-deep); }
.free-banner .btn-solid:hover { background: #E6CB9C; color: var(--brand-deep); }
.regions-head { scroll-margin-top: 16px; margin-bottom: 28px; }
.regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.region { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; }
.region.main { border: 2px solid var(--brand); }
.r-name { margin: 0; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.r-price { margin: 10px 0 0; font-family: var(--serif); font-size: 46px; line-height: 1.05; }
.r-cur { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.r-tax { margin: 12px 0 0; font-weight: 600; font-size: 14px; color: var(--ink); background: var(--ground); border-radius: 999px; padding: 4px 12px; align-self: flex-start; }
.r-note { margin: 12px 0 0; color: var(--body); font-size: 14px; }
.price-notes { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 760px; }
.price-notes li { position: relative; padding-left: 26px; color: var(--body); }
.price-notes li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.pp-disclaimer { margin: 28px 0 0; max-width: 760px; font-style: italic; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .free-banner { padding: 22px; } .free-banner .btn { width: 100%; } }
/* Pricing: free listening button + Community Prayers banner */
.btn-listen { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 8px 6px 6px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px;
  color: var(--brand-deep); background: linear-gradient(135deg, #F3E3C3, var(--gold)); box-shadow: 0 10px 24px -14px rgba(18, 58, 43, .6), inset 0 0 0 1px rgba(18, 58, 43, .12); transition: transform .15s, box-shadow .15s; }
.btn-listen:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(18, 58, 43, .7), inset 0 0 0 1px rgba(18, 58, 43, .2); }
.btn-listen .bl-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-deep); color: var(--gold); display: grid; place-items: center; flex: none; }
.btn-listen .bl-ic svg { width: 20px; height: 20px; }
.btn-listen .bl-tag { font-size: 11px; letter-spacing: .14em; background: var(--brand-deep); color: var(--gold); border-radius: 999px; padding: 5px 10px; }
.comm-free { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px 40px; align-items: stretch;
  background: radial-gradient(120% 90% at 0% 0%, rgba(215, 182, 128, .22), transparent 55%), linear-gradient(150deg, #1F5A43, var(--brand-deep)); color: var(--on-deep);
  border-radius: 26px; padding: 40px; margin-bottom: 28px; }
.cf-stamp { position: absolute; top: 22px; right: -46px; transform: rotate(35deg); background: var(--gold); color: var(--brand-deep); font-weight: 800; letter-spacing: .2em; font-size: 13px; padding: 6px 60px; text-align: center; line-height: 1.1; }
.cf-stamp span { display: block; font-size: 10px; letter-spacing: .12em; }
.cf-eyebrow { margin: 0 0 8px; color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.comm-free h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; color: var(--white); }
.cf-text { margin: 14px 0 0; color: var(--on-deep-muted); max-width: 560px; }
.cf-wave { display: flex; align-items: center; gap: 4px; height: 44px; margin: 22px 0 0; }
.cf-wave i { width: 5px; border-radius: 3px; background: var(--gold); opacity: .85; height: calc(var(--h) * 4px); animation: cfw 1.6s ease-in-out infinite alternate; }
.cf-wave i:nth-child(3n) { animation-delay: -.4s; } .cf-wave i:nth-child(3n+1) { animation-delay: -.9s; } .cf-wave i:nth-child(4n) { opacity: .55; }
@keyframes cfw { to { transform: scaleY(.45); } }
@media (prefers-reduced-motion: reduce) { .cf-wave i { animation: none; } }
.cf-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.cf-btn { background: var(--gold); color: var(--brand-deep); border-color: var(--gold); }
.cf-btn:hover { background: #E6CB9C; color: var(--brand-deep); }
.cf-stat { color: var(--on-deep-muted); font-size: 15px; } .cf-stat b { color: var(--white); }
.cf-split { display: grid; gap: 14px; align-content: center; padding-top: 34px; }
.cf-col { border-radius: 18px; padding: 20px 22px; }
.cf-col.free { background: rgba(255, 255, 255, .08); border: 1px solid rgba(215, 182, 128, .45); }
.cf-col.fee { background: rgba(0, 0, 0, .14); border: 1px solid rgba(255, 255, 255, .1); }
.cf-h { margin: 0 0 8px; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.cf-col.free .cf-h { color: var(--gold); } .cf-col.fee .cf-h { color: var(--on-deep-muted); }
.cf-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.cf-col li { position: relative; padding-left: 24px; color: var(--white); font-size: 15px; }
.cf-col.free li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.cf-col.fee li::before { content: "✦"; position: absolute; left: 0; color: var(--on-deep-muted); }
.cf-why { margin: 12px 0 0; font-size: 14px; color: var(--on-deep-muted); font-style: italic; }
.covers { margin-top: 48px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 34px; }
.covers h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; color: var(--ink); }
.covers-intro { margin: 12px 0 0; color: var(--body); max-width: 720px; }
.covers-grid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.covers-grid li { background: var(--ground); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.covers-grid b { color: var(--ink); font-size: 16px; }
.covers-grid span:not(.cv-ic) { color: var(--body); font-size: 14px; }
.cv-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-deep); color: var(--gold); display: grid; place-items: center; margin-bottom: 6px; }
.cv-ic svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .covers { padding: 24px 20px; } }
@media (max-width: 860px) { .comm-free { grid-template-columns: minmax(0, 1fr); padding: 30px 24px; } .cf-split { padding-top: 0; } }
@media (max-width: 560px) { .btn-listen { width: 100%; justify-content: center; } .cf-btn { width: 100%; } .cf-stamp { right: -54px; top: 16px; font-size: 11px; } }


/* Founder page */
.founder-hero { padding: 40px 0 24px; }
.founder-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: center; }
.portrait { aspect-ratio: 6 / 7; border-radius: 28px; overflow: hidden; background: var(--sage); box-shadow: 0 24px 48px -28px rgba(18, 58, 43, .45); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait.monogram { display: flex; align-items: center; justify-content: center; background: radial-gradient(110% 80% at 80% 10%, rgba(215, 182, 128, .35), transparent 60%), linear-gradient(160deg, #1F5A43, #123A2B); }
.portrait.monogram span { font-family: var(--serif); font-size: 96px; color: var(--gold); letter-spacing: .02em; }
.founder-role { margin: 6px 0 0; font-weight: 600; color: var(--brand); }
.ftabs { display: inline-flex; gap: 6px; margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px; scroll-margin-top: 16px; }
.ftab { text-decoration: none; font-weight: 600; color: var(--body); padding: 10px 22px; border-radius: 999px; }
.ftab[aria-selected="true"] { background: var(--brand); color: var(--white); }
.ftab:hover { color: var(--ink); }
.ftab[aria-selected="true"]:hover { color: var(--white); }
.prose { font-size: 18px; line-height: 1.75; color: var(--body); }
.prose + .prose { margin-top: 64px; }
.prose-title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 40px); color: var(--ink); margin: 0 0 20px; }
.prose h2:not(.prose-title) { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.2; color: var(--ink); margin: 44px 0 14px; }
.prose p { margin: 0 0 18px; }
.signature { margin-top: 36px !important; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.signature span { display: block; font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--ink); line-height: 1.2; }
.prose .actions { margin-top: 32px; }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; gap: 28px; } .portrait { max-width: 260px; } }
@media (max-width: 560px) { .prose { font-size: 17px; } .ftabs { display: flex; } .ftab { flex: 1; text-align: center; padding: 10px 12px; } }

/* Accounts */
.auth-wrap { padding: 40px 16px 96px; display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 520px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: 0 24px 48px -36px rgba(18, 58, 43, .4); }
.auth-h1 { font-family: var(--serif); font-weight: 500; font-size: 40px; margin: 0 0 8px; }
.auth-lead { color: var(--body); margin: 0 0 22px; }
.f-hint { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; }
.f-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; color: var(--body); font-size: 15px; cursor: pointer; }
.f-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.auth-switch { margin: 20px 0 0; text-align: center; color: var(--body); }
.auth-switch a, .auth-note a { font-weight: 600; }
.auth-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.welcome { background: #E7F0EA; color: var(--brand-deep); border-radius: 12px; padding: 12px 16px; font-weight: 600; margin: 0 0 18px; }
.actions form { display: contents; }
.my-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.my-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; text-decoration: none; color: var(--ink); }
.my-row:hover { border-color: var(--brand); color: var(--ink); }
.my-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.my-main span { color: var(--muted); font-size: 14px; }
.my-main .my-reason { color: #9B302D; }
.state { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--ground); color: var(--body); }
.state-pending { background: #F7EBD3; color: #8A5A12; }
.state-approved { background: #E7F0EA; color: var(--brand); }
.state-rejected, .state-removed { background: #F8E3E0; color: #9B302D; }
.muted { color: var(--muted); }

/* Audio */
.audio-hero { padding: 40px 0 8px; }
.audio-hero-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.audio-hero-cta { display: flex; justify-content: flex-end; }
.locked-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.locked-card svg { color: var(--brand); }
.locked-card p { margin: 0; font-weight: 600; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--brand); border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; }
.tchip span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.tchip:hover { border-color: var(--brand); }
.tchip.on { background: var(--brand); border-color: var(--brand); color: var(--white); }
.tchip.on span { color: var(--on-deep-muted); }
.topic-desc { margin: 16px 0 0; color: var(--body); }
.audio-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.audio-card { height: 100%; display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.audio-card:hover { color: var(--ink); border-color: #CFC8B6; transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(18, 58, 43, .45); }
.ac-top { display: flex; justify-content: space-between; align-items: center; }
.ac-topic { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: #E7F0EA; padding: 3px 10px; border-radius: 999px; }
.ac-len { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.ac-wave { display: flex; align-items: center; gap: 3px; height: 46px; padding: 4px 0; }
.ac-wave i { flex: 1; min-height: 8%; background: linear-gradient(to top, var(--brand), #4E8A6E); border-radius: 2px; opacity: .85; }
.ac-title { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.25; }
.ac-desc { color: var(--body); font-size: 15px; }
.ac-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.ac-by { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.ac-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 15px; flex: none; }
.ac-lock { color: #8A5A12; font-weight: 600; }
.audio-empty { margin-top: 28px; text-align: center; background: var(--white); border: 1px dashed #CFC8B6; border-radius: 20px; padding: 48px 24px; color: var(--body); }
.audio-empty svg { color: var(--brand); }
.audio-empty h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--ink); margin: 10px 0 6px; }
.audio-empty p { margin: 0 0 18px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; color: var(--muted); }
.audio-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); margin: 14px 0 0; }
.review-note { border-radius: 12px; padding: 10px 14px; font-weight: 600; margin: 0 0 14px; }
.player { display: flex; align-items: center; gap: 18px; background: var(--brand-deep); border-radius: 22px; padding: 20px 24px; color: var(--on-deep); }
.pl-btn { flex: none; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--gold); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pl-btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.pl-btn .i-pause, .player.playing .pl-btn .i-play { display: none; }
.player.playing .pl-btn .i-pause { display: block; }
.pl-wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 56px; cursor: pointer; min-width: 0; }
.pl-wave i { flex: 1; min-height: 8%; background: rgba(232, 239, 233, .28); border-radius: 2px; transition: background .1s; }
.pl-wave i.on { background: var(--gold); }
.pl-wave:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.pl-time { flex: none; font-variant-numeric: tabular-nums; font-size: 14px; color: var(--on-deep-muted); }
.player-locked { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; }
.player-locked svg { color: var(--brand); flex: none; }
.player-locked div:first-of-type { flex: 1 1 260px; display: flex; flex-direction: column; }
.player-locked span { color: var(--muted); font-size: 14px; }
.audio-desc { margin-top: 28px; font-size: 18px; color: var(--body); }
.h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 16px; }
.h3 span { font-family: var(--sans); font-size: 15px; color: var(--muted); margin-left: 6px; }
.comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.comment { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment p { margin: 0; color: var(--body); }
.comment .cm-head { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.comment .cm-head strong { color: var(--ink); }
.comment-form { margin-top: 18px; }
.comment-form textarea { min-height: 96px; }
.cf-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.more-audio { margin-top: 48px; }
.more-audio ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.more-audio a { display: flex; justify-content: space-between; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; text-decoration: none; color: var(--ink); }
.more-audio a span { color: var(--muted); font-size: 14px; }
.share-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin-bottom: 18px; }
.share-recorder { max-width: 560px; margin: 0 auto; }
@media (max-width: 860px) { .audio-hero-row { grid-template-columns: 1fr; gap: 20px; } .audio-hero-cta { justify-content: flex-start; } }
@media (max-width: 560px) { .auth-card { padding: 24px; } .player { padding: 16px; gap: 12px; } .pl-btn { width: 50px; height: 50px; } .pl-time { display: none; } .audio-grid { grid-template-columns: 1fr; } }

/* Founder voice message */
.voice-msg { margin: 0 0 40px; }
.voice-msg figcaption { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.voice-msg figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--ink); line-height: 1.25; }
.voice-msg figcaption span { font-size: 16px; color: var(--muted); }
.transcript { margin-top: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.transcript summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--brand); font-size: 16px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::after { content: "+"; font-size: 22px; line-height: 1; transition: transform .2s; }
.transcript[open] summary::after { transform: rotate(45deg); }
.transcript-body { padding: 0 20px 18px; font-size: 16px; line-height: 1.7; }
.prose .transcript-body h2 { font-size: 20px; margin: 18px 0 8px; }
.prose .transcript-body p { margin: 0 0 12px; }
.ac-lang { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A5A12; background: #F7EBD3; border-radius: 999px; padding: 2px 8px; margin-right: 8px; }
.lang-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.lchip { text-decoration: none; font-weight: 600; color: var(--body); border-radius: 999px; padding: 5px 12px; border: 1px dashed #CFC8B6; }
.lchip span { color: var(--muted); font-weight: 500; }
.lchip.on { border-style: solid; border-color: var(--brand); color: var(--brand); background: #E7F0EA; }
.company { font-style: normal; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; color: var(--body); line-height: 1.6; }
.company-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.company-name { font-weight: 700; color: var(--ink); }

/* --- Sign in & Join (NPQ) --- */
.auth-split { max-width: 1120px; margin: 24px auto 80px; padding: 0 16px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 0; }
.auth-side { position: relative; overflow: hidden; border-radius: 28px 0 0 28px; padding: 44px 40px; color: var(--on-deep);
  background: radial-gradient(120% 80% at 90% 0%, rgba(215,182,128,.28), transparent 55%), linear-gradient(160deg, #1F5A43 0%, #123A2B 60%, #0C2A1F 100%); display: flex; flex-direction: column; }
.auth-side .eyebrow { color: var(--gold); }
.auth-side h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.12; margin: 0 0 14px; color: #fff; }
.auth-side p { color: var(--on-deep-muted); margin: 0 0 22px; }
.auth-points { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-deep); }
.auth-points svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(215,182,128,.16); color: var(--gold); }
.auth-points b { display: block; color: #fff; font-weight: 600; }
.auth-points small { color: var(--on-deep-muted); font-size: 14px; }
.auth-verse { margin-top: auto; border-left: 3px solid var(--gold); padding-left: 14px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--on-deep); }
.auth-verse span { display: block; font-style: normal; font-family: var(--sans); font-size: 13px; color: var(--gold); margin-top: 4px; }
.auth-spark { position: absolute; color: var(--gold); opacity: .8; }
.auth-main { background: var(--white); border: 1px solid var(--line); border-left: 0; border-radius: 0 28px 28px 0; padding: 44px 48px; box-shadow: 0 30px 60px -40px rgba(18,58,43,.45); }
.auth-main .auth-h1 { font-size: 38px; margin: 0 0 6px; }
.auth-main .auth-lead { margin-bottom: 22px; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; border-radius: 999px; border: 1px solid #CFC8B6; background: #fff; color: #1f1f1f; font: 600 16px var(--sans); text-decoration: none; transition: background .15s, border-color .15s; }
.btn-google:hover { background: #F7F7F5; border-color: #9fb0a7; color: #1f1f1f; }
.btn-google svg { width: 20px; height: 20px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; text-transform: uppercase; letter-spacing: .12em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--ground); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.seg a { text-align: center; padding: 10px 8px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--body); font-size: 15px; }
.seg a[aria-current="page"] { background: var(--brand); color: #fff; box-shadow: 0 6px 14px -8px rgba(18,58,43,.7); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: var(--ground); color: var(--brand); font: 600 13px var(--sans); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.f-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.f-label-row a { font-size: 14px; font-weight: 600; }
.strength { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.strength i { flex: 1; height: 6px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.strength i::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: 99px; transition: width .2s, background .2s; }
.strength[data-level="1"] i::after { width: 25%; background: #9B302D; } .strength[data-level="2"] i::after { width: 50%; background: #C7922A; }
.strength[data-level="3"] i::after { width: 75%; background: #4C9A6A; } .strength[data-level="4"] i::after { width: 100%; background: #1F5A43; }
.strength span { min-width: 140px; text-align: right; }
.phone-row { display: grid; grid-template-columns: 128px 1fr; gap: 8px; }
.dial { position: relative; }
.dial select { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dial-show { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 100%; border: 1px solid #CFC8B6; border-radius: 12px; padding: 12px; background: var(--white); font-weight: 600; white-space: nowrap; }
.dial-show::after { content: "▾"; color: var(--muted); font-size: 12px; }
.dial select:focus-visible + .dial-show { outline: 3px solid var(--gold); outline-offset: 1px; }
.f-hint { font-weight: 400; color: var(--muted); font-size: 13px; }
.notice-ok { background: #EAF3EC; border: 1px solid #CFE3D4; color: #1F5A43; border-radius: 14px; padding: 12px 14px; margin: 0 0 18px; font-size: 15px; }
.notice-info { background: #FBF6EA; border: 1px solid #EEDFC0; color: #6B4E1B; border-radius: 14px; padding: 12px 14px; margin: 0 0 18px; font-size: 15px; }
.code-boxes { display: grid; grid-template-columns: repeat(3, 1fr) 14px repeat(3, 1fr); gap: 10px; margin: 4px 0 6px; }
.code-boxes .dash { align-self: center; justify-self: center; width: 10px; height: 2px; background: #CFC8B6; }
.code-box, .f-field .code-box { width: 100%; aspect-ratio: 5 / 6; min-height: 54px; text-align: center; font: 700 28px var(--sans); font-variant-numeric: tabular-nums; border: 1.5px solid #CFC8B6; border-radius: 14px; background: #fff; color: var(--ink); padding: 0; transition: border-color .15s, box-shadow .15s; }
.code-box:focus, .f-field .code-box:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31,90,67,.14); }
.code-box.filled { border-color: var(--brand); background: #F3F8F3; }
.code-boxes.error .code-box { border-color: #9B302D; animation: codeshake .35s; }
.code-boxes.busy .code-box { opacity: .6; }
@keyframes codeshake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand); font: 600 15px var(--sans); text-decoration: underline; cursor: pointer; }
.sent-to { display: flex; align-items: center; gap: 12px; background: var(--ground); border-radius: 14px; padding: 12px 14px; margin: 0 0 18px; }
.sent-to svg { flex: none; color: var(--brand); }
.sent-to b { word-break: break-all; }
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; margin-top: 8px; }
  .auth-side { border-radius: 24px 24px 0 0; padding: 26px 24px; }
  .auth-side h2 { font-size: 28px; padding-right: 30px; } .auth-points, .auth-verse, .auth-side p, .auth-spark:nth-of-type(2) { display: none; } .auth-spark { right: 18px !important; top: 18px !important; }
  .auth-main { border-left: 1px solid var(--line); border-top: 0; border-radius: 0 0 24px 24px; padding: 28px 22px; }
  .auth-main .auth-h1 { font-size: 32px; }
}
@media (max-width: 380px) { .code-boxes { gap: 6px; grid-template-columns: repeat(3, 1fr) 10px repeat(3, 1fr); } .phone-row { grid-template-columns: 112px 1fr; } }
.acct-links { margin: -6px 0 18px; font-weight: 600; }
.f-release { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: var(--brand); }
.f-release i { width: 7px; height: 7px; border-radius: 50%; background: #2fa46b; box-shadow: 0 0 0 3px rgba(47,164,107,.15); }
.f-release b { font-weight: 600; color: var(--muted); }

.ro-banner { display: flex; align-items: center; justify-content: center; gap: 8px; background: #FFF3DC; color: #6B4500; border-bottom: 1px solid #F2D9A6; padding: 9px 16px; font-size: 14px; font-weight: 600; text-align: center; }
.ro-banner svg { flex: none; }

/* --- Legal pages --- */
.legal-meta { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.legal-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink); }
.legal-tabs a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 48px; justify-content: center; }
.legal-toc { position: sticky; top: 20px; align-self: start; font-size: 14px; }
.legal-toc p { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--brand); margin: 0 0 8px; }
.legal-toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.legal-toc a { color: var(--body); text-decoration: none; } .legal-toc a:hover { color: var(--brand); text-decoration: underline; }
.legal { font-size: 16.5px; line-height: 1.7; color: var(--body); }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--ink); margin: 34px 0 10px; scroll-margin-top: 16px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; color: var(--ink); margin: 20px 0 6px; }
.legal ul { padding-left: 20px; } .legal li { margin: 4px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--white); color: var(--ink); }
.legal .callout { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 14px 16px; margin: 14px 0; }
.f-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.f-legal a { font-size: 14px; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; gap: 16px; } .legal-toc { position: static; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; } .legal table { display: block; overflow-x: auto; } }
.p4m-mark { display: block; flex: none; border-radius: 23%; box-shadow: 0 6px 14px -8px rgba(13,48,41,.55); }

/* Super Admin Log-As */
.logas-banner { position: sticky; top: 0; z-index: 30; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; background: #9B302D; color: #fff; font-size: 14px; padding: 9px 16px; text-align: center; }
.logas-banner form { margin: 0; }
.logas-banner button { font: inherit; font-weight: 700; background: #fff; color: #9B302D; border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }

/* Donate */
.give-btn { margin-top: 10px; }
.give-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.give-via { margin: 8px 0 0; font-size: 14px; color: var(--brand); font-weight: 600; }
.give-via.off { color: #8A5A12; }
.give-amounts { border: 0; padding: 0; margin: 0 0 16px; }
.give-amounts:disabled { opacity: .55; }
.give-amounts legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.give-verse { font-family: var(--serif); font-size: 18px; color: var(--body); border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; margin: 16px 0 0; }
.give-verse span { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 4px; }
.give-quip { margin: 8px 2px 0; font-size: 14px; color: #6E4F18; min-height: 2.6em; }
.give-other input:disabled { cursor: not-allowed; }
.give-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.give-chips button { font: inherit; font-weight: 700; font-size: 16px; padding: 12px 6px; border-radius: 14px; border: 1px solid #CFC8B6; background: #fff; color: var(--ink); cursor: pointer; }
.give-chips button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.give-other { display: flex; align-items: center; gap: 8px; border: 1px solid #CFC8B6; border-radius: 12px; padding: 0 14px; background: #fff; }
.give-other span { font-weight: 700; color: var(--muted); }
.give-other input { border: 0 !important; outline: none; padding: 12px 0 !important; font: inherit; font-size: 17px; width: 100%; background: transparent; }
.give-note { color: var(--muted); font-size: 13.5px; margin: 12px 0 0; text-align: center; }
@media (max-width: 560px) { .give-card { padding: 18px; } .give-chips { grid-template-columns: repeat(2, 1fr); } }
.give-other:focus-within { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--brand); }
.give-other input:focus, .give-other input:focus-visible { outline: none !important; }
/* Words (transcript) and search tags on audio prayers */
.ac-words { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green, #1F5A43); background: #E4F0EA; border-radius: 6px; padding: 2px 7px; margin-right: 8px; vertical-align: 1px; }
.ac-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ac-tags span { font-size: 12px; color: #6B5B3E; }
.audio-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line, #E3DDD0); border-radius: 12px; padding: 0 14px; margin: 0 0 16px; max-width: 640px; }
.audio-search svg { color: var(--muted); flex: none; }
.audio-search input { flex: 1; border: 0; background: none; font: inherit; padding: 13px 0; outline: none; min-width: 0; }
.audio-search:focus-within { border-color: var(--green, #1F5A43); box-shadow: 0 0 0 3px rgba(31, 90, 67, .12); }
.audio-search-clear { font-size: 14px; color: var(--muted); }
.tag-on { margin: -4px 0 14px; color: var(--muted); }
.audio-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.audio-tags a { font-size: 14px; color: #6B5B3E; background: #F7EBD3; border-radius: 8px; padding: 4px 10px; text-decoration: none; }
.audio-tags a:hover { background: #F0DDB7; }
.prayer-words { margin: 28px 0 8px; padding: 22px 24px; background: #fff; border: 1px solid var(--line, #E3DDD0); border-radius: 16px; }
.prayer-words h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.prayer-words h2 svg { color: var(--green, #1F5A43); }
.pw-text { font-family: var(--serif, Georgia, serif); font-size: 18px; line-height: 1.7; color: var(--ink, #1E2A24); }
.pw-text p { margin: 0 0 12px; }
.pw-teaser { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.pw-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.pw-tr { margin-top: 18px; border: 1px solid #e3d6b8; background: #fbf6ec; border-radius: 14px; padding: 4px 16px; }
.pw-tr > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: #8a6430; }
.pw-tr > summary::-webkit-details-marker { display: none; }
.pw-tr > summary::after { content: "Show"; margin-left: auto; font-size: 13px; font-weight: 600; text-decoration: underline; }
.pw-tr[open] > summary::after { content: "Hide"; }
.pw-tr-lang { font-weight: 500; font-size: 13px; color: var(--muted); }
.pw-tr[open] { padding-bottom: 14px; }
.ac-tr { color: #8a6430; }
/* Support this voice */
.support-voice { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0 4px; padding: 14px 16px; background: #FBF4E6; border: 1px solid #EED9AE; border-radius: 14px; }
.support-voice .sv-av { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--green, #1F5A43); color: #F3D9A4; font-family: var(--serif, Georgia, serif); font-size: 20px; flex: none; }
.support-voice div { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.support-voice div span { color: var(--muted); font-size: 14px; }

/* Audio page: listens · comments · rating, last played, rate (29 Oct 2026) */
.audio-no { color: #8A968F; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.audio-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 0; }
.audio-stats .as-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; text-align: center; }
.audio-stats a.as-cell:hover { border-color: var(--gold); }
.audio-stats svg { color: var(--brand); }
.audio-stats strong { font-family: var(--serif); font-size: 26px; line-height: 1.1; font-weight: 500; }
.audio-stats span { color: var(--muted); font-size: 14px; }
.as-stars { font-size: 18px; letter-spacing: 1px; }
.as-stars i { font-style: normal; color: #D8D2C2; }
.as-stars i.st-full { color: #C99A45; }
.as-stars i.st-half { background: linear-gradient(90deg, #C99A45 50%, #D8D2C2 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.last-played { margin: 10px 2px 0; color: var(--muted); font-size: 15px; }
.last-played span { font-size: 18px; margin-right: 2px; }
.rate-box { margin: 14px 0 0; padding: 12px 16px; background: #FBF4E6; border: 1px solid #EED9AE; border-radius: 14px; }
.rate-box p { margin: 0; }
.rate-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rf-label { font-weight: 600; color: var(--ink); }
.rf-stars { display: inline-flex; gap: 2px; }
.rf-stars button { width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; color: #D8D2C2; cursor: pointer; border-radius: 10px; }
.rf-stars button.on { color: #C99A45; }
.rf-stars:hover button { color: #C99A45; }
.rf-stars button:hover ~ button { color: #D8D2C2; }
.rf-stars button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.rf-thanks { color: var(--brand); font-weight: 600; }
@media (max-width: 420px) { .audio-stats strong { font-size: 22px; } .rf-stars button { width: 40px; font-size: 28px; } }

/* Header: Search, Sign in, Join free always visible (29 Oct 2026) */
.header-row .nav { margin-left: auto; }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.hdr-search { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.hdr-search svg { color: var(--brand); }
.hdr-search:hover { border-color: var(--brand); }
.hdr-search:focus-visible, .cat-open:focus-visible { outline: 3px solid rgba(31, 90, 67, .35); outline-offset: 2px; }
.hdr-btn { height: 46px; padding: 0 18px; display: inline-flex; align-items: center; white-space: nowrap; }
@media (max-width: 1080px) { .hdr-actions { margin-left: auto; } }
@media (max-width: 640px) {
  .hdr-search { width: 46px; padding: 0; justify-content: center; }
  .hdr-search span { display: none; }
  .hdr-actions { gap: 8px; }
  .hdr-btn { height: 42px; padding: 0 14px; font-size: 14px; }
  .header-row .logo small { display: none; }
}
@media (max-width: 460px) { .hdr-signin { display: none; } .header-row .logo strong { font-size: 19px; } }

/* Search window */
.search-dlg, .cat-dlg { border: 0; padding: 0; border-radius: 22px; width: min(620px, calc(100vw - 28px)); max-height: calc(100vh - 40px); background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(10, 42, 32, .35); }
.search-dlg::backdrop, .cat-dlg::backdrop { background: rgba(10, 42, 32, .55); backdrop-filter: blur(3px); }
.search-dlg[open], .cat-dlg[open] { animation: dlg-in .18s ease-out; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .search-dlg[open], .cat-dlg[open] { animation: none; } }
.sd-form { padding: 22px; }
.sd-head, .cd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sd-head h2, .cd-head h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0; }
.sd-x { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; flex: none; }
.sd-x:hover { border-color: var(--brand); color: var(--ink); }
.sd-box { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 0 16px; border: 2px solid var(--brand); border-radius: 14px; }
.sd-box svg { color: var(--brand); flex: none; }
.sd-box input { flex: 1; border: 0; outline: none; font: inherit; font-size: 19px; padding: 15px 0; min-width: 0; background: none; color: var(--ink); }
.sd-hint { margin: 16px 0 8px; color: var(--muted); font-size: 14px; }
.sd-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sd-ways li { padding: 10px 12px; background: var(--ground); border-radius: 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.sd-ways b { color: var(--brand); }
.sd-ways span { color: var(--muted); }
.sd-ways em { font-style: normal; color: var(--ink); }
.sd-go { width: 100%; margin-top: 16px; height: 50px; justify-content: center; }
@media (max-width: 520px) { .sd-ways { grid-template-columns: 1fr; } .search-dlg, .cat-dlg { width: calc(100vw - 16px); } }

/* Audio page: search + one "Audio Categories" button, and the categories window */
.audio-tools { display: flex; align-items: stretch; gap: 10px; margin: 0 0 14px; max-width: 860px; }
.audio-tools .audio-search { flex: 1; margin: 0; max-width: none; }
.cat-open { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; min-height: 50px; border: 1px solid var(--brand); border-radius: 12px; background: var(--brand); color: var(--white); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; }
.cat-open:hover { background: var(--brand-deep); }
.filter-on { margin: 0 0 16px; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fpill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--brand); color: var(--white); text-decoration: none; font-weight: 600; font-size: 14px; }
.fpill span { opacity: .8; font-size: 16px; line-height: 1; }
@media (max-width: 560px) { .audio-tools { flex-direction: column; } .cat-open { justify-content: center; width: 100%; } }
.cat-dlg { width: min(860px, calc(100vw - 28px)); padding: 22px; }
.cd-head .eyebrow { margin: 0 0 4px; }
.cd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 18px; }
.cd-card { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--ink); text-decoration: none; transition: transform .12s ease, border-color .12s ease; }
.cd-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.cd-card strong { font-size: 16px; }
.cd-card span:last-child { color: var(--muted); font-size: 14px; }
.cd-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, #EBD29A, #D9B46A); color: var(--brand-deep); font-family: var(--serif); font-size: 19px; margin-bottom: 6px; }
.cd-card.on { background: var(--brand); border-color: var(--brand); color: var(--white); }
.cd-card.on span:last-child { color: var(--on-deep-muted); }
.cd-card.empty { opacity: .62; }
.cd-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.cd-langs > span { font-weight: 600; margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { .cd-card { transition: none; } .cd-card:hover { transform: none; } }
.audio-hero-cta { flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.audio-hero-cta .give-btn { margin-top: 0; align-self: center; height: auto; min-height: 50px; white-space: nowrap; }
@media (max-width: 560px) { .audio-hero-cta { flex-direction: column; align-items: stretch; } .audio-hero-cta .give-btn { align-self: stretch; justify-content: center; } }
@media (max-width: 460px) { .hdr-signin { display: inline-flex; } .hdr-btn { padding: 0 12px; } }
@media (max-width: 420px) { .header-row .logo > span { display: none; } }

/* Get the app */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.center .stores, .stores.center { justify-content: center; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: 12px; background: #0E2219; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.18); line-height: 1.1; transition: transform .15s, background .15s; }
.store-btn:hover { background: #000; color: #fff; transform: translateY(-1px); }
.store-btn small { display: block; font-size: 11px; letter-spacing: .02em; opacity: .85; }
.store-btn b { display: block; font-size: 18px; font-weight: 600; }
.store-btn .sb-ic { flex: none; color: var(--gold); }
.store-btn.soon { background: transparent; color: var(--muted); border: 1px dashed var(--line); cursor: default; }
.store-btn.soon .sb-ic { color: var(--muted); }
.band-deep .store-btn { background: #fff; color: var(--brand-deep); border-color: #fff; }
.band-deep .store-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--brand-deep); }
.band-deep .store-btn .sb-ic { color: var(--brand); }
.band-deep .store-btn.soon { background: transparent; color: var(--on-deep-muted); border-color: rgba(255,255,255,.35); }
.band-deep .store-btn.soon .sb-ic { color: var(--on-deep-muted); }
.ga-grid { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; max-width: 860px; }
.ga-mark svg, .app-mark svg { border-radius: 22%; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); display: block; }
.app-mark { display: flex; justify-content: center; margin-bottom: 18px; }
.app-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.app-points li { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; gap: 2px; }
.app-points b { color: var(--ink); }
.muted-note { margin-top: 26px; color: var(--muted); font-size: 14px; }
.f-apps { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.f-apps > span { font-weight: 600; color: var(--ink); }
.stores-sm { margin-top: 0; gap: 10px; }
.stores-sm .store-btn { min-height: 42px; padding: 5px 14px 5px 10px; border-radius: 10px; }
.stores-sm .store-btn b { font-size: 15px; }
.stores-sm .store-btn small { font-size: 10px; }
@media (max-width: 560px) {
  .ga-grid { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .ga-mark svg { width: 72px; height: 72px; }
}

/* Intensity meter (4 square bars) — set by staff when approving */
.imeter { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; color: var(--im, #2E7D5B); white-space: nowrap; }
.imeter svg rect.on { fill: var(--im, #2E7D5B); }
.imeter svg rect.off { fill: currentColor; opacity: .18; }
.imeter-name { font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.imeter-none { color: inherit; opacity: .6; font-size: 12px; }
/* pBasket: add button on the prayer page + toast (basket.js) */
.bk-line { display: flex; align-items: center; gap: 14px; margin: 12px 0 0; flex-wrap: wrap; }
.bk-add { display: inline-flex; align-items: center; gap: 8px; }
.bk-add .ic { width: 18px; height: 18px; }
.bk-add.in-basket { background: #E7F0EA; border-color: #C5D9CC; color: var(--brand); }
.bk-open { font-weight: 600; font-size: 14.5px; }
.bk-open b { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; background: var(--gold); color: var(--brand-deep); font-size: 12px; text-align: center; }
.bk-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 60; background: var(--brand-deep); color: #fff; padding: 12px 16px; font-size: 14.5px; font-weight: 500; display: flex; gap: 14px; align-items: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.bk-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.bk-toast a { color: var(--gold); font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) { .bk-toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }
.ac-lock.ac-free { color: #fff; background: var(--brand, #1F5A43); padding: 2px 8px; }
.free-note { margin-top: 12px; padding: 10px 14px; background: #E7F0EA; border-left: 3px solid var(--brand, #1F5A43); }

/* Official store badges (Apple and Google artwork, unchanged) */
.store-badge { display: inline-block; line-height: 0; border-radius: 9px; transition: transform .15s, box-shadow .15s; }
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.store-badge img { display: block; height: 52px; width: auto; }
.stores-sm .store-badge img { height: 40px; }
@media (max-width: 560px) { .store-badge img { height: 48px; } }

/* App strip (Founder) and Contact badges */
.app-strip { padding: 28px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.app-strip-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.app-strip-icon { border-radius: 22%; box-shadow: 0 10px 24px -14px rgba(18,58,43,.55); flex: none; }
.app-strip-text { display: grid; gap: 2px; flex: 1 1 260px; }
.app-strip-text strong { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); }
.app-strip-text span { color: var(--muted); font-size: 15px; }
.contact-apps { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 18px; }
.contact-apps > span { font-weight: 600; color: var(--ink); }

/* Report a prayer */
.report-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 26px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.report-line .welcome, .report-line .form-error { flex-basis: 100%; margin: 0 0 6px; }
.report-open { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 6px; cursor: pointer; }
.report-open:hover { border-color: #b4553f; color: #8f3424; }
.report-dlg { border: 0; border-radius: 10px; padding: 0; width: min(520px, calc(100vw - 32px)); box-shadow: 0 30px 70px -30px rgba(18,58,43,.55); }
.report-dlg::backdrop { background: rgba(14,34,25,.45); }
.rp-form { padding: 22px 22px 18px; display: grid; gap: 12px; }
.rp-head { display: flex; align-items: center; justify-content: space-between; }
.rp-head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; }
.rp-sub { margin: 0; font-size: 14px; }
.rp-reasons { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.rp-opt { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 6px; cursor: pointer; }
.rp-opt:has(input:checked) { border-color: var(--brand); background: #eef4ef; }
.rp-opt input { accent-color: var(--brand); width: 18px; height: 18px; }
.rp-note { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.rp-note em { font-weight: 400; color: var(--muted); font-style: normal; }
.rp-note textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 6px; resize: vertical; }
.rp-foot { display: flex; justify-content: flex-end; gap: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Audio page cards, 1 Nov 2026: topic colours, play on the card, plays + listener flags, New / Popular, featured card. */
.audio-card { position: relative; --tone: var(--brand); --tone-soft: #E7F0EA; }
.audio-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--tone); opacity: .85; }
.audio-card:hover { color: var(--ink); border-color: #CFC8B6; transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(18, 58, 43, .45); }
.ac-chips { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ac-topic { color: var(--tone); background: var(--tone-soft); }
.ac-badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; padding: 2px 7px; }
.ac-new { color: #fff; background: #2B5C8A; }
.ac-pop { color: #8A3B12; background: #FBE3D2; }
.ac-player { display: flex; align-items: center; gap: 12px; }
.ac-play { position: relative; z-index: 2; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--tone); color: #fff; cursor: pointer; box-shadow: 0 6px 14px -8px var(--tone); transition: transform .12s; }
.ac-play:hover { transform: scale(1.06); color: #fff; }
.ac-play:focus-visible { outline: 3px solid var(--gold, #C9A34E); outline-offset: 2px; }
.ac-play .i-pause, .playing .ac-play .i-play { display: none; }
.playing .ac-play .i-pause { display: block; }
.ac-play-lock { background: var(--tone-soft); color: var(--tone); box-shadow: none; }
.ac-play-lock:hover { color: var(--tone); }
.ac-player .ac-wave { flex: 1; min-width: 0; }
.ac-wave i { background: var(--tone); opacity: .35; transition: opacity .2s; }
.ac-wave i.on, .audio-card:hover .ac-wave i.on { opacity: 1; }
.audio-card:hover .ac-wave i { opacity: .5; }
.ac-title { color: var(--ink); text-decoration: none; }
.ac-title::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }   /* the whole card opens the prayer */
.ac-title:hover { color: var(--ink); }
.ac-stats { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.ac-plays { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ac-flags { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 2px; cursor: default; }
.ac-flag { font-size: 18px; line-height: 1; }
.ac-flag-more { margin-left: 4px; font-size: 12px; font-weight: 700; color: var(--muted); background: #F1ECE0; border-radius: 999px; padding: 1px 7px; }
.ac-feat-label { font-size: 13px; font-weight: 700; color: var(--tone); }
.ac-more { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--muted); }
.ac-more p { margin: 0; }
@media (min-width: 700px) {
  .audio-grid > li.ac-feat { grid-column: span 2; }
  .ac-feat .audio-card { background: linear-gradient(135deg, var(--tone-soft), var(--white) 62%); border-color: var(--tone-soft); }
  .ac-feat .ac-title { font-size: 30px; }
  .ac-feat .ac-play { width: 58px; height: 58px; }
  .ac-feat .ac-wave { height: 62px; }
}
.audio-card .ac-top { flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.audio-card .ac-len { margin-left: auto; white-space: nowrap; display: inline-flex; align-items: center; }
.audio-card .ac-len .ac-lang, .audio-card .ac-len .ac-words { margin-right: 6px; }
.audio-card .ac-lock { white-space: nowrap; }
.audio-card .ac-foot { flex-wrap: wrap; }
.ac-free-b { color: #fff; background: var(--brand, #1F5A43); }
.ac-open { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--tone); background: var(--tone-soft); padding: 6px 10px; border-radius: 8px; white-space: nowrap; transition: background .15s, color .15s; }
.ac-open-go { margin-left: 4px; }
.audio-card:hover .ac-open { background: var(--tone); color: #fff; }
.audio-card:hover .ac-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
/* 9 per load: on wide screens the featured card is 2 × 2, so 1 + 8 fill three rows exactly. */
.audio-grid { grid-auto-flow: row dense; }
@media (min-width: 1100px) {
  .audio-grid > li.ac-feat { grid-row: span 2; }
  .ac-feat .audio-card { gap: 14px; }
  .ac-feat .ac-player { flex: 1; }
  .ac-feat .ac-wave { height: 140px; }
  .ac-feat .ac-play { width: 72px; height: 72px; }
  .ac-feat .ac-title { font-size: 34px; }
}
.confirm-email-box { margin: 6px 0 16px; padding: 16px 18px; border: 1px dashed #CFC8B6; border-radius: 12px; background: var(--white); font-size: 18px; text-align: center; word-break: break-all; }

/* Author name on a card: "See all their prayers?" (4 Nov 2026) */
.ac-by-menu { position: relative; z-index: 3; }
.ac-by-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 32px; border-radius: 999px; padding-right: 8px; }
.ac-by-menu > summary::-webkit-details-marker { display: none; }
.ac-by-menu .ac-by-name { color: var(--green, #1f5a43); text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.ac-by-menu > summary:hover .ac-by-name, .ac-by-menu[open] .ac-by-name { text-decoration-style: solid; }
.ac-by-more { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--green, #1f5a43); background: #e8f1ec; border-radius: 999px; padding: 3px 7px 3px 9px; white-space: nowrap; }
.ac-by-menu > summary:hover .ac-by-more, .ac-by-menu[open] .ac-by-more { background: var(--green, #1f5a43); color: #fff; }
.ac-by-menu > summary:focus-visible { outline: 2px solid var(--green, #1f5a43); outline-offset: 2px; }
.ac-by-pop { position: absolute; left: 0; bottom: calc(100% + 8px); width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 30px rgba(20, 40, 30, .18); padding: 14px; font-weight: 400; color: var(--ink); z-index: 5; }
.ac-by-pop p { margin: 0 0 10px; font-size: 14px; line-height: 1.4; }
.ac-by-pop .btn { width: 100%; justify-content: center; }
.author-head { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.author-av { width: 64px; height: 64px; font-size: 26px; flex-shrink: 0; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 28px 0 6px; flex-wrap: wrap; }
.pager .is-off { opacity: .4; pointer-events: none; }
.pager-nums { display: inline-flex; gap: 4px; }
.pager-n { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.pager-n:hover { background: var(--line); }
.pager-n.on { background: var(--green, #1f5a43); color: #fff; }
.pager-gap { padding: 0 4px; color: var(--muted); align-self: center; }
.pager-note { text-align: center; color: var(--muted); font-size: 13px; margin: 0; }
.ac-by-inline { display: inline-block; vertical-align: middle; }
.ac-by-pop-down { bottom: auto; top: calc(100% + 8px); }

/* A voice's page: share link + card download (4 Nov 2026) */
.audio-hero-row:has(.voice-share) { align-items: start; }
.voice-share { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; width: 400px; max-width: 100%; justify-self: end; }
.share-h { margin: 0 0 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #8a6430; }
.share-link { display: flex; align-items: center; gap: 10px; justify-content: space-between; background: #f7f4ec; border-radius: 10px; padding: 8px 8px 8px 12px; }
.share-link a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-all; }
.share-sub { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.share-cards { display: flex; gap: 10px; }
.share-dl { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; min-height: 96px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.share-dl:hover { border-color: var(--green, #1f5a43); background: #f1f6f2; }
.sc-shape { display: block; background: linear-gradient(#1f5a43 0 12%, #f7f4ec 12% 92%, #d7b680 92%); border: 1px solid #d9d2bf; border-radius: 3px; }
.sc-h { width: 56px; height: 32px; }
.sc-v { width: 32px; height: 56px; }
@media (max-width: 860px) { .voice-share { max-width: none; width: 100%; justify-self: stretch; } }

/* Voice page share box: QR + real card thumbnails (4 Nov 2026) */
.share-qr { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.share-qr-code { flex: none; width: 104px; height: 104px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.share-qr-code svg { display: block; width: 100%; height: 100%; }
.share-qr p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.share-qr strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.share-thumbs { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 10px; align-items: end; }
.share-thumb { display: grid; gap: 6px; justify-items: center; text-decoration: none; color: var(--green, #1f5a43); font-weight: 600; font-size: 13px; }
.share-thumb img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(20, 50, 40, .10); transition: transform .15s ease, box-shadow .15s ease; background: #f7f4ec; }
.share-thumb:hover img { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 50, 40, .16); }
.share-thumb:hover span { text-decoration: underline; }

/* Home: the prayer player in notice block 1 (4 Nov 2026) — compact, same height as the cards beside it */
.notice-grid.has-player { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.notice-player { --tone: #1f5a43; }
.hp { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 18px; color: #fff;
  background: radial-gradient(120% 90% at 85% 0%, #2f6b52 0%, #174a37 45%, #0e3123 100%); box-shadow: 0 18px 40px -24px rgba(14, 49, 35, .7); }
.hp-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hp-label { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #0e3123; background: #d7b680; padding: 3px 10px; border-radius: 999px; }
.hp-by { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; color: #e6efe9; text-decoration: none; font-size: 13px; font-weight: 600; }
.hp-by-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.hp-by:hover .hp-by-name { text-decoration: underline; }
.hp-av { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-family: var(--serif); font-size: 12px; flex: none; }
.hp-all { flex: none; font-size: 11.5px; font-weight: 700; color: #d7b680; white-space: nowrap; }
.hp-other { flex: none; margin-left: auto; font-size: 12.5px; font-weight: 600; color: #e6efe9; text-decoration: none; opacity: .85; white-space: nowrap; }
.hp-other:hover { opacity: 1; color: #fff; text-decoration: underline; }
.hp-player { flex: 1; }
.hp-player.p4p { display: flex; flex-direction: column; justify-content: center; }
.hp-player.p4p, .hp-player > .p4p { box-shadow: none !important; padding: 14px 16px 16px !important; border-radius: 16px; }
.hp-player .p4p-head { margin-bottom: 10px; }
.hp-player .p4p-bar { display: none; }                   /* skip / speed / loop / volume: on the prayer page and in the account */
.hp-player .p4p-play { width: 52px; height: 52px; }
.hp-locked { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 2px 2px 0; }
.hp-locked h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; color: #fff; }
.notice .hp-topic { margin: 0; font-size: 12.5px; color: #b9cfc4; }
.notice .hp-lock-msg { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 0; color: #e6efe9; font-size: 14px; }
.hp-lock-msg svg { flex: none; margin-top: 2px; color: #d7b680; }
.hp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.hp-actions .btn { padding-top: 9px; padding-bottom: 9px; }
.hp-actions .btn-gold { background: #d7b680; color: #0e3123; border: 1px solid #d7b680; }
.hp-actions .btn-gold:hover { background: #e4c792; color: #0e3123; }
.hp-btn-line { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.hp-btn-line:hover { border-color: #fff; color: #fff; }
@media (max-width: 1000px) { .notice-grid.has-player { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .notice-grid.has-player .notice-player { grid-column: 1 / -1; } }
@media (max-width: 640px) { .notice-grid.has-player { grid-template-columns: minmax(0, 1fr); } .hp { padding: 12px; } .hp-all { display: none; } }

/* Voice page share box: QR code and cards slide out on tap (4 Nov 2026) */
.share-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.share-tg { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--green, #1f5a43); font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.share-tg:hover { border-color: var(--green, #1f5a43); background: #f1f6f2; }
.share-tg[aria-expanded="true"] { background: var(--green, #1f5a43); border-color: var(--green, #1f5a43); color: #fff; }
.share-chev { margin-left: auto; transition: transform .2s ease; font-size: 16px; line-height: 1; }
.share-tg[aria-expanded="true"] .share-chev { transform: rotate(90deg); }
.share-slide { overflow: hidden; max-height: 0; transition: max-height .25s ease; }
.share-slide > * { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .share-slide, .share-chev { transition: none; } }

/* Voice page: filter by language and dialect, with counts (4 Nov 2026) */
.lang-filter { margin: 14px 0 4px; display: grid; gap: 10px; }
.lf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lf-ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e8f1ec; color: var(--green, #1f5a43); }
.lf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: background .15s, border-color .15s; }
.lf-chip b { font-weight: 700; font-size: 12px; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: #f1ede2; color: #6b5a3a; text-align: center; }
.lf-chip:hover { border-color: var(--green, #1f5a43); color: var(--green, #1f5a43); }
.lf-chip.on { background: var(--green, #1f5a43); border-color: var(--green, #1f5a43); color: #fff; }
.lf-chip.on b { background: rgba(255, 255, 255, .2); color: #fff; }
.lf-more { font-size: 11.5px; font-weight: 700; color: #8a6430; }
.lf-chip.on .lf-more { color: #d7b680; }
.lf-sub { padding: 10px 12px; margin-left: 40px; border-radius: 14px; background: #f1f6f2; border: 1px solid #d6e8d8; }
.lf-sub-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1f5a43; margin-right: 4px; }
.lf-small { padding: 5px 11px; font-size: 13px; }
@media (max-width: 640px) { .lf-sub { margin-left: 0; } .lf-ico { display: none; } }
