/* Warm editorial canvas with navy contrast and restrained color accents. */
:root { --cv-paper:#FAF9F6; --cv-silver-gradient:linear-gradient(#FFFFFF,#FAF9F6); --cv-accent:#216B70; --cv-gold:#216B70; }
@media screen {
 html:not(.homepage-embed),html:not(.homepage-embed) body {min-height:100%;background:#FAF9F6;color:#0F172A;}
 #scan.silver-canvas {background:#FFFFFF;}
 .registry-hero {background:#EAF2F2;border-bottom:1px solid #CCDDE0;}
 body [class*="bg-amber"],body [class*="bg-gold"] {background-color:#E4F0EE;}
 body [class*="text-amber"],body [class*="text-gold"] {color:#216B70;}
 body [class*="border-amber"],body [class*="border-gold"] {border-color:#B9D6D3;}
 #problem article:last-child {background:#FFFFFF;color:#475569;border:1px solid #E2E8F0;}
 #problem article:last-child [class*="text-amber"] {color:#A17B36;}
 #problem article:last-child [class*="bg-amber"] {background:#FAF9F6;}
 #what-you-get {background:#EEF3F6;}
 #what-you-get article {border-top:3px solid #216B70;}
 #what-you-get article:nth-child(2) {border-top-color:#426C96;}
 body.welcome-page>header {background:#0F172A;color:#FFFFFF;}
 body.welcome-page>main>div {background:#FFFFFF;color:#0F172A;}
 body.welcome-page>main>div :is(.text-white,.text-slate-200,.text-slate-300) {color:#334155;}
 body.welcome-page>main>div .bg-slate-950\/90 {background:#EAF2F2;}
 body.welcome-page>main>div .bg-slate-950 {background:#FFFFFF;}
 body.welcome-page>footer {color:#475569;border-color:#CBD5E1;}
 #direct-portal-btn,#church-portal-search-btn {background:#216B70;color:#FFFFFF;}
 #direct-portal-btn span {color:#FFFFFF;}
}
#pricing h2 {font-size:clamp(2rem,4vw,3rem);font-weight:800;letter-spacing:-.035em;}
.founding-notice {font-weight:700;margin:1.25rem 0;padding:1rem 1.25rem;border:1px solid #CBD5E1;border-radius:.75rem;background:#FFFFFF;}
.founding-grid,.activation-benefits {display:grid;grid-template-columns:1fr;gap:1.5rem;}
.founding-card {background:#FFFFFF;border:1px solid #CBD5E1;border-radius:1.25rem;padding:2rem;}
.founding-card h3,.activation-benefits h3 {font-size:1.35rem;font-weight:750;margin-bottom:.75rem;}
.founding-card p {margin:.75rem 0;}
.founding-price {font-size:3rem;font-weight:800;letter-spacing:-.04em;}
.founding-price span {font-size:1rem;font-weight:500;letter-spacing:0;}
#pricing .scan-link {display:block;width:100%;max-width:32rem;padding:1rem;margin:1.5rem auto 0;border-radius:.75rem;background:#0F172A;color:#FFFFFF;font-weight:700;cursor:pointer;}
#pricing .scan-link:hover {background:#334155;}
#pricing .scan-link:focus-visible {outline:3px solid #64748B;outline-offset:3px;}
#pricing .scan-link:disabled {opacity:.6;cursor:wait;}
.activation-benefits {margin-top:2.5rem;line-height:1.8;}
.activation-benefits ul {list-style:disc;padding-left:1.25rem;margin-bottom:1rem;}
.welcome-content {display:block;}
@media(min-width:768px) {.founding-grid,.activation-benefits {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(min-width:1024px) {body>main>section>div.mx-auto,.site-container,body .profile-page,body.welcome-page>header>div,body.welcome-page>main {max-width:1280px;}}
@media screen {
 #grader-report-panel {background:#FAF9F6;color:#0F172A;}
 #grader-report-panel .report-identity,#grader-report-panel .report-contact {background:#0F172A;color:#F8FAFC;border-color:#426C96;}
 #grader-report-panel .report-identity :is(h2,p,a,span),#grader-report-panel .report-contact :is(h3,p,a,address) {color:#F8FAFC;}
 #grader-report-panel .report-contact a {color:#A5D8D2;}
}
#pricing {background:#EEF3F6;border-top:1px solid #D7E1E8;}
.founding-notice {display:inline-block;color:#17565B;background:#E4F0EE;border-color:#B9D6D3;font-size:.9rem;}
.founding-card {border-top:4px solid #216B70;box-shadow:0 8px 24px #0F172A06;}
.founding-card:nth-child(2) {border-top-color:#426C96;}
.founding-card h3 {font-size:1rem;color:#475569;}
.founding-card .founding-price {color:#0F172A;margin:1rem 0;}
#pricing .scan-link {background:#216B70;transition:background .15s;}
#pricing .scan-link:hover {background:#17565B;}
.pricing-terms {margin-top:1.25rem;color:#17565B;font-size:.9rem;font-weight:700;text-align:center;}
.activation-benefits {padding-top:2rem;border-top:1px solid #CBD5E1;font-size:.95rem;}
.activation-benefits h3 {color:#17565B;font-size:1.1rem;}
.optional-bonus {margin-top:1.5rem;color:#475569;font-size:.9rem;line-height:1.7;}

.site-button.gold {background:#216B70;color:#FFFFFF;}
.site-button.gold:hover {background:#17565B;}

/* Full-width cinematic hero with readable text and an instant poster fallback. */
.cinematic-hero {position:relative;isolation:isolate;display:flex;align-items:center;min-height:540px;min-height:clamp(440px,65vh,720px);overflow:hidden;background:radial-gradient(ellipse at 85% 20%,#23555E 0%,#142C40 38%,#0F172A 76%);color:#FFFFFF;}
.cinematic-hero::after {content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at center,#0F172A80 0%,#0F172A33 70%);}
.hero-content {width:100%;padding:clamp(1.5rem,4vw,3.5rem) 1.5rem;box-sizing:border-box;text-align:center;}
.cinematic-hero h1 {max-width:none;margin:0;color:#FFFFFF;font-size:clamp(1.3rem,4.7vw,4.6rem);line-height:1.15;letter-spacing:-.035em;font-weight:750;text-wrap:balance;}
.cinematic-hero h1 span {color:#A5D8D2;}
@media(max-width:1024px) {.cinematic-hero {min-height:clamp(220px,32.5vh,360px);}}
@media(max-width:767px) {.hero-content {padding:1.5rem 1rem;}.cinematic-hero {min-height:240px;}}

.hero-video {position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.85;transition:opacity 1.3s ease;}
@media(max-width:767px) {.hero-video {object-position:60% center;}}


/* Let the headline lead as the footage moves into the computer screen. */
.cinematic-hero.is-video-subdued .hero-video {opacity:.28;}
@media(prefers-reduced-motion:reduce) {.hero-video {transition:none;}}

/* Comfortable reading sizes for body copy and supporting text across the site. */
html {font-size:18px;}
body .text-sm {font-size:1rem;line-height:1.65;}
body .text-xs {font-size:.875rem;line-height:1.6;}
.pricing-terms,.founding-notice,.optional-bonus,.activation-benefits {font-size:1rem;line-height:1.7;}
.founding-card h3,.founding-price span {font-size:1.125rem;}

/* Let long addresses wrap without widening the pricing grid. */
.activation-benefits {grid-template-columns:minmax(0,1fr);overflow-wrap:anywhere;}
.founding-grid>*,.activation-benefits>* {min-width:0;}
@media(min-width:768px) {.activation-benefits {grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Keep the logo, scan action, and menu within narrow phone screens. */
@media(max-width:639px) {
 .site-header>div>a:first-child {min-width:0;flex:0 1 128px;}
 .site-header>div>a:first-child img {width:100%;max-width:128px;}
 .site-header .header-cta {min-width:0;white-space:normal;line-height:1.35;}
 .site-header .mobile-menu {flex-shrink:0;}
}

/* Center the pricing introduction and use artwork only for the footer badge benefit. */
.pricing-intro {text-align:center;}
.activation-benefits .footer-badge-benefit img {display:block;width:167px;max-width:100%;height:auto;margin-top:.5rem;border-radius:999px;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none;}

/* Keep scan navigation below the sticky header. */
#scan { scroll-margin-top: 80px; }
#pricing .scan-link { box-sizing: border-box; text-align: center; text-decoration: none; }

/* A quiet founder introduction above the shared footer. */
.founder-note-section { padding: 0 0 3rem; background: #FAF9F6; color: #0F172A; }
.founder-note { display: flex; align-items: flex-start; gap: 1.5rem; padding: 2rem; background: #FFFFFF; border: 1px solid #E7E5E4; border-radius: 1rem; }
.founder-avatar { flex: 0 0 72px; width: 72px; height: 72px; object-fit: cover; border-radius: 50%; background: #FAF9F6; border: 2px solid #E7E5E4; }
.founder-note h2 { margin: 0 0 .75rem; font-size: 1.4rem; line-height: 1.3; }
.founder-note p { margin: 0; color: #475569; line-height: 1.75; font-size: 1rem; }
.founder-note .founder-signoff { margin-top: 1rem; color: #0F172A; font-size: .875rem; font-weight: 600; }
@media(max-width:639px) { .founder-note { gap: 1rem; padding: 1.25rem; flex-direction: column; } }

/* Keep the registry benefits close to the listing form. */
.registry-site .directory-body {padding-bottom:0;}
.registry-site .registry-intake {margin-bottom:0;}
.registry-site .registry-benefits {padding-block:1rem 2rem;}
.registry-site .registry-benefits .activation-benefits {margin-top:0;padding-top:1rem;}

/* Compact pricing for pastors browsing the registry. */
.registry-site .registry-pricing {padding-block:1.5rem 2rem;}
.registry-pricing-heading {text-align:center;}
#pricing.registry-pricing h2 {margin:0;font-size:clamp(1.4rem,3vw,1.8rem);line-height:1.25;}
.registry-pricing-heading p {margin:.5rem 0 0;color:#475569;font-size:.95rem;}
.registry-pricing .founding-grid {gap:1rem;margin-top:1rem;}
.registry-pricing .founding-card {padding:1rem 1.25rem;}
.registry-pricing .founding-card h3 {margin:0;font-size:.95rem;}
.registry-pricing .founding-card .founding-price {margin:.5rem 0 0;font-size:2rem;line-height:1.2;}
#pricing.registry-pricing .scan-link {max-width:24rem;padding:.8rem 1rem;margin-top:1rem;}
.registry-pricing .pricing-terms {margin:.65rem 0 1rem;font-size:.875rem;}
