/* Public pages share the ChurchApp palette and type with the member experience. */
.landing-body, .account-body { background: #f6f7f4; color: #15364b; }
.landing-container { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.public-skip { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: .8rem 1.2rem; border-radius: 8px; background: #15364b; color: white; }
.public-skip:focus { top: 1rem; }
.landing-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; height: 108px; }
.landing-header nav { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 650; }
.landing-header nav .button { min-height: 43px; padding-inline: 18px; }
.landing-header .brand { font-size: 1.4rem; }
.landing-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding-block: 64px 112px; }
.landing-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid #d9e1db; border-radius: 50px; font-size: .74rem; font-weight: 600; color: #53655f; margin-bottom: 28px; }
.landing-kicker > span { width: 6px; height: 6px; border-radius: 100%; background: #88a78e; }
.landing-hero h1 { margin-bottom: 24px; font-size: clamp(3.8rem, 6.3vw, 5.65rem); line-height: 1.03; letter-spacing: -.064em; font-weight: 650; }
.landing-hero h1 em, .landing-section-heading h2 em, .landing-start h2 em, .account-story-copy h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: #0369a1; letter-spacing: -.065em; }
.landing-hero-copy > p { max-width: 385px; margin-bottom: 28px; font-size: 1.04rem; line-height: 1.75; color: #66747b; }
.landing-hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.landing-hero-actions .button { min-height: 50px; padding-inline: 22px; }
.landing-text-link { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 650; }
.landing-text-link > span { font-size: 1.2rem; }
.landing-hero-note { display: flex; align-items: center; gap: 8px; margin-top: 29px; color: #607268; font-size: .74rem; }
.landing-hero-note .icon { width: 15px; height: 15px; }
.community-illustration { position: relative; min-height: 458px; padding: 30px 19px 52px 32px; isolation: isolate; }
.illustration-halo { position: absolute; z-index: -1; width: 94%; height: 96%; left: 2%; top: -6%; border-radius: 240px 240px 100px 100px; background: #e8efeb; transform: rotate(-7deg); }
.illustration-halo::after { content: ''; position: absolute; border: 1px solid #d6dfd7; inset: -15px 17px 15px -17px; border-radius: inherit; }
.preview-window { position: relative; overflow: hidden; border: 1px solid #e0e7e2; border-radius: 15px; background: #fff; box-shadow: 0 24px 60px -20px #15364b30, 0 3px 10px #15364b06; transform: rotate(-2deg); }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 21px; border-bottom: 1px solid #edf0ed; }
.preview-wordmark { display: flex; align-items: center; gap: 7px; font-size: .77rem; font-weight: 750; }
.preview-logo { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 7px; color: #fff; background: #0369a1; font-size: .8rem; }
.preview-label { font-size: .56rem; font-weight: 500; border: 1px solid #e7ebe6; padding: 4px 7px; border-radius: 20px; color: #607268; }
.preview-body { padding: 23px; }
.preview-heading { display: flex; flex-direction: column; gap: 5px; margin-bottom: 18px; }
.preview-heading .eyebrow { font-size: .51rem; letter-spacing: .12em; }
.preview-heading > strong { font-size: 1.35rem; letter-spacing: -.04em; font-weight: 650; }
.preview-service { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; min-height: 175px; padding: 21px; background: #153f52; border-radius: 10px; color: #fff; }
.preview-service-tag { position: relative; z-index: 1; font-size: .46rem; font-weight: 600; letter-spacing: .16em; color: #c9dfdf; }
.preview-service > strong { position: relative; z-index: 1; font-family: Georgia, 'Times New Roman', serif; font-size: 1.75rem; line-height: 1.15; letter-spacing: -.035em; font-weight: 400; margin-top: 12px; }
.preview-service-note { position: relative; z-index: 1; color: #d6e7e4; font-size: .57rem; margin-top: 13px; }
.preview-arch { position: absolute; right: 16px; bottom: -7px; width: 100px; height: 150px; border-radius: 70px 70px 0 0; background: #487d87; }
.preview-arch::before { content: ''; position: absolute; right: 24px; bottom: 0; width: 75px; height: 115px; border-radius: 55px 55px 0 0; background: #a2b8ac; }
.preview-arch::after { content: ''; position: absolute; left: 35px; bottom: 0; width: 27px; height: 83px; border-radius: 20px 20px 0 0; background: #1d4855; }
.preview-arch i { position: absolute; right: -23px; top: -10px; width: 31px; height: 31px; border-radius: 50%; background: #dfbb76; }
.preview-arch b { position: absolute; top: 61px; left: 46px; width: 2px; height: 18px; background: #d5e1d6; z-index: 1; }
.preview-arch b::after { content: ''; position: absolute; top: 5px; left: -4px; height: 2px; width: 10px; background: inherit; }
.preview-row { display: flex; align-items: center; gap: 11px; margin-top: 19px; }
.preview-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; background: #edf5f8; color: #0369a1; flex-shrink: 0; }
.preview-icon .icon { width: 17px; height: 17px; }
.preview-icon-amber { color: #a9792b; background: #fbf2e1; }
.preview-row > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.preview-row strong { font-size: .7rem; font-weight: 650; }
.preview-row small { font-size: .58rem; color: #607268; }
.preview-row > .icon { margin-left: auto; width: 14px; height: 14px; color: #94a4a0; }
.preview-prayer { position: absolute; right: -9px; bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 17px 22px 17px 16px; border: 1px solid #e0e6dd; border-radius: 12px; background: #fffefb; box-shadow: 0 14px 30px -12px #15364b29; transform: rotate(3deg); }
.preview-prayer-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f8eee4; color: #bd8a58; }
.preview-prayer-icon .icon { width: 18px; height: 18px; }
.preview-prayer > div { display: flex; flex-direction: column; gap: 5px; }
.preview-prayer strong { font-size: .78rem; font-weight: 650; }
.preview-prayer div > span { color: #607268; font-size: .6rem; }
.illustration-caption { position: absolute; left: 39px; bottom: -10px; color: #607268; font-size: .65rem; letter-spacing: .02em; }
.illustration-spark { position: absolute; color: #cfa86b; font-size: 48px; line-height: 1; right: -7px; top: -6px; transform: rotate(15deg); }
.landing-community { padding: 76px 0 80px; background: #fff; border-block: 1px solid #e9ece5; scroll-margin-top: 24px; }
.landing-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.landing-section-heading .eyebrow, .landing-start .eyebrow { display: block; font-size: .63rem; letter-spacing: .14em; color: #607268; margin-bottom: 18px; }
.landing-section-heading h2, .landing-start h2 { font-size: clamp(2.2rem, 3.4vw, 3.1rem); line-height: 1.15; letter-spacing: -.045em; font-weight: 600; margin-bottom: 0; }
.landing-section-heading > p { max-width: 278px; margin: 0 0 4px; font-size: .9rem; line-height: 1.75; color: #607268; }
.landing-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.landing-feature { display: flex; flex-direction: column; align-items: flex-start; position: relative; padding-top: 8px; }
.landing-feature + .landing-feature::before { content: ''; position: absolute; left: -24px; top: 8px; width: 1px; height: calc(100% - 8px); background: #ebeee8; }
.landing-feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #eaf3f7; color: #0369a1; margin-bottom: 23px; }
.landing-feature-icon .icon { width: 22px; height: 22px; }
.feature-amber { background: #fbf3e5; color: #ad813e; }
.feature-sage { background: #edf2eb; color: #698764; }
.landing-feature-number { font-size: .57rem; font-weight: 600; letter-spacing: .14em; color: #607268; margin-bottom: 13px; }
.landing-feature h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.35; letter-spacing: -.035em; margin-bottom: 12px; }
.landing-feature p { color: #607268; font-size: .84rem; line-height: 1.8; margin-bottom: 0; max-width: 280px; }
.landing-start { padding-block: 82px 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.landing-start h2 { margin-bottom: 27px; }
.landing-start .button { min-height: 47px; padding-inline: 19px; }
.landing-steps { padding: 0; margin: 0; list-style: none; }
.landing-steps li { display: flex; align-items: flex-start; gap: 22px; padding-block: 20px; border-bottom: 1px solid #dfe5dd; }
.landing-steps li:first-child { padding-top: 0; }
.landing-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.landing-steps li > span { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid #d7dfd5; border-radius: 50%; color: #68826e; font-size: .66rem; margin-top: 1px; }
.landing-steps h3 { margin-bottom: 6px; font-size: 1rem; letter-spacing: -.02em; font-weight: 650; }
.landing-steps p { margin-bottom: 0; max-width: 330px; color: #607268; font-size: .82rem; line-height: 1.65; }
.landing-footer { border-top: 1px solid #dfe5dd; padding-block: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.landing-footer .brand { font-size: 1.08rem; }
.landing-footer .brand-mark { width: 28px; height: 28px; font-size: .95rem; border-radius: 8px; }
.landing-footer > span { color: #607268; font-size: .72rem; }
.landing-footer > a:last-child { display: inline-flex; align-items: center; gap: 7px; color: #5f7777; font-size: .73rem; }
.landing-footer > a:last-child .icon { width: 14px; height: 14px; }

/* Account pages */
.account-layout { min-height: 100vh; display: grid; grid-template-columns: 44% 56%; }
.account-story { position: relative; min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding: 40px clamp(35px, 5vw, 78px) 32px; isolation: isolate; background: #153e50; color: #fff; }
.account-story > .brand { color: #fff; font-size: 1.4rem; align-self: flex-start; }
.account-story .brand-mark { background: #f2f4ed; color: #153e50; box-shadow: none; }
.account-story-copy { margin-top: clamp(70px, 12vh, 130px); }
.account-story-copy .eyebrow { display: block; color: #b9d0ca; letter-spacing: .17em; font-size: .6rem; margin-bottom: 21px; }
.account-story-copy h2 { font-weight: 500; font-size: clamp(2.7rem, 4.2vw, 4rem); line-height: 1.12; letter-spacing: -.05em; margin-bottom: 23px; }
.account-story-copy h2 em { color: #d5dfce; }
.account-story-copy p { font-size: .87rem; color: #b8cece; line-height: 1.85; }
.account-story-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 32px; color: #9dbab9; font-size: .65rem; letter-spacing: .03em; }
.account-story-footer .icon { width: 20px; height: 20px; color: #d6bb83; }
.account-architecture { position: relative; height: 245px; margin-top: 30px; flex: 1; min-height: 155px; }
.account-arch { position: absolute; bottom: -32px; border-radius: 150px 150px 0 0; }
.arch-back { width: 215px; height: 255px; right: -48px; background: #285769; }
.arch-front { width: 175px; height: 210px; right: 38px; border: 1px solid #8aa498; background: #8aa498; }
.arch-front::before { content: ''; position: absolute; width: 92px; height: 164px; right: 25px; bottom: 0; border-radius: 85px 85px 0 0; background: #153e50; }
.arch-front::after { content: ''; position: absolute; width: 141px; height: 227px; left: -31px; bottom: 0; border-radius: 100px 100px 0 0; border: 1px solid #99b2a36b; }
.arch-front i { position: absolute; width: 2px; height: 33px; right: 69px; top: 73px; background: #d0dbc9; z-index: 1; }
.arch-front i::after { content: ''; position: absolute; height: 2px; width: 15px; top: 10px; left: -6px; background: inherit; }
.account-sun { position: absolute; right: 180px; bottom: 203px; width: 38px; height: 38px; border-radius: 50%; background: #d2b475; }
.account-arch-line { position: absolute; bottom: -33px; right: -100px; width: 470px; height: 1px; background: #8daaa35c; }
.account-content { padding: 42px clamp(36px, 7vw, 110px) 28px; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.account-back { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; color: #607268; font-size: .75rem; }
.account-back .icon { width: 15px; height: 15px; }
.account-form { width: 100%; max-width: 390px; margin-block: auto; padding-block: 58px; }
.account-form .eyebrow { display: block; font-size: .59rem; letter-spacing: .14em; color: #607268; margin-bottom: 16px; }
.account-form h1 { font-size: 2.35rem; line-height: 1.15; letter-spacing: -.045em; font-weight: 600; margin-bottom: 11px; }
.account-intro { color: #607268; font-size: .85rem; line-height: 1.6; margin-bottom: 30px; }
.account-form > .alert { margin-bottom: 20px; }
.account-form .form-stack { gap: 18px; }
.account-form .form-stack label, .account-field > label { color: #49605e; font-size: .75rem; font-weight: 600; gap: 8px; }
.account-form .form-stack input { min-height: 47px; border-radius: 8px; border-color: #d9e0d9; background: #fff; padding: 12px 14px; font-size: .83rem; font-weight: 400; }
.account-form .form-stack input::placeholder { color: #718078; }
.account-form .form-stack input:focus { border-color: #5c9cb6; box-shadow: 0 0 0 3px #0369a112; }
.account-form .form-stack > .button { margin-top: 7px; min-height: 48px; font-size: .83rem; }
.account-field { display: flex; flex-direction: column; gap: 8px; }
.account-password { position: relative; }
.account-form .account-password input { padding-right: 48px; width: 100%; }
.password-toggle { position: absolute; right: 4px; top: 3px; min-width: 41px; height: calc(100% - 6px); border: 0; border-radius: 6px; display: grid; place-items: center; background: transparent; color: #82938a; }
.password-toggle:hover { color: #0369a1; background: #f1f5f2; }
.password-toggle > span { display: flex; }
.password-toggle .icon { width: 17px; height: 17px; }
.account-field-hint { color: #607268; font-size: .67rem; font-weight: 400; margin-top: -1px; }
.account-form .or-line { font-size: .67rem; color: #607268; margin-block: 22px; }
.account-form .or-line::before, .account-form .or-line::after { background: #e1e6de; }
.account-form .google-button { min-height: 47px; background: #fff; border-color: #d9e0d9; color: #52655e; font-size: .8rem; font-weight: 600; gap: 11px; }
.account-form .google-button:hover { background: #fafcf9; border-color: #a8bbb3; }
.google-button > .icon { width: 18px; height: 18px; }
.account-form .auth-foot { font-size: .76rem; margin-top: 27px; color: #607268; }
.account-form .auth-foot a { font-weight: 650; }
.account-bottom { font-size: .64rem; color: #607268; margin: 0; text-align: center; }
.account-form-register { padding-block: 42px; max-width: 420px; }
.account-form-register h1 { font-size: 2.05rem; }
.account-form-register .account-intro { margin-bottom: 25px; }
.account-form-register .form-stack { gap: 15px; }
.account-form-register .form-grid { gap: 14px; }
.account-form-register .form-grid label { position: relative; }
.account-optional { color: #607268; font-weight: 400; font-size: .63rem; position: absolute; right: 0; top: 2px; }
.account-form-register .auth-foot { margin-top: 23px; }

@media (min-width: 1600px) {
    .account-story { padding-left: max(78px, calc((100vw - 1400px) / 2)); }
    .account-content { padding-right: max(110px, calc((100vw - 1300px) / 2)); }
}
@media (max-width: 1100px) {
    .landing-container { width: calc(100% - 72px); }
    .landing-header { height: 88px; }
    .landing-hero { gap: 20px; padding-block: 50px 85px; }
    .landing-hero-actions { gap: 18px; }
    .landing-hero-actions .button { padding-inline: 17px; font-size: .82rem; }
    .landing-text-link { font-size: .82rem; }
    .community-illustration { padding-left: 16px; padding-right: 10px; }
    .preview-body { padding: 18px; }
    .preview-toolbar { padding-inline: 17px; }
    .preview-service { padding: 18px; }
    .preview-service > strong { font-size: 1.6rem; }
    .preview-arch { right: 7px; width: 85px; }
    .preview-prayer { right: -5px; padding-right: 15px; }
    .account-story { padding-inline: 34px; }
    .account-content { padding-inline: 42px; }
    .account-story-copy h2 { font-size: 2.8rem; }
}
@media (max-width: 800px) {
    .landing-header nav { gap: 20px; }
    .landing-nav-feature { display: none; }
    .landing-hero { grid-template-columns: 1fr; gap: 65px; padding-block: 40px 80px; }
    .landing-hero-copy { max-width: 550px; }
    .landing-hero h1 { font-size: clamp(3.8rem, 11vw, 5.4rem); }
    .landing-hero-copy > p { max-width: 400px; }
    .community-illustration { width: min(100%, 480px); margin-inline: auto; min-height: 455px; padding-inline: 26px; }
    .preview-body { padding: 23px; }
    .preview-service { padding: 22px; }
    .preview-service > strong { font-size: 1.75rem; }
    .preview-arch { right: 20px; width: 100px; }
    .preview-prayer { right: 3px; }
    .landing-community { padding-block: 60px; }
    .landing-section-heading { gap: 24px; }
    .landing-section-heading > p { max-width: 220px; }
    .landing-features { gap: 30px; }
    .landing-feature + .landing-feature::before { left: -15px; }
    .landing-feature h3 { font-size: 1.1rem; }
    .landing-feature h3 br { display: none; }
    .landing-feature p { font-size: .8rem; }
    .landing-start { gap: 30px; padding-block: 64px; }
    .account-layout { grid-template-columns: 38% 62%; }
    .account-story { padding-inline: 24px; }
    .account-story-copy h2 { font-size: 2.3rem; }
    .account-story-copy p { font-size: .8rem; }
    .account-story-copy .eyebrow { font-size: .5rem; }
    .account-story .brand { font-size: 1.2rem; }
    .account-story .brand-mark { width: 30px; height: 30px; }
    .account-content { padding-inline: 32px; }
    .account-form h1 { font-size: 2.1rem; }
    .account-form-register h1 { font-size: 1.85rem; }
    .account-story-footer { font-size: .55rem; }
    .arch-front { right: 0; }
    .arch-back { right: -65px; }
    .account-sun { right: 143px; }
}
@media (max-width: 600px) {
    .landing-container { width: calc(100% - 40px); }
    .landing-header { height: 80px; gap: 16px; }
    .landing-header .brand { font-size: 1.16rem; gap: 8px; }
    .landing-header .brand-mark { width: 31px; height: 31px; border-radius: 9px; font-size: 1rem; }
    .landing-header nav { gap: 14px; font-size: .76rem; }
    .landing-header nav .button { min-height: 39px; font-size: .72rem; padding: 9px 12px; }
    .landing-header nav .button .icon { display: none; }
    .landing-hero { padding-top: 30px; gap: 54px; }
    .landing-kicker { margin-bottom: 24px; font-size: .69rem; }
    .landing-hero h1 { font-size: clamp(3.5rem, 13vw, 4.9rem); margin-bottom: 21px; }
    .landing-hero-copy > p { font-size: .96rem; max-width: 350px; }
    .landing-hero-actions { gap: 21px; }
    .landing-hero-note { margin-top: 25px; font-size: .68rem; }
    .community-illustration { padding-inline: 12px; min-height: 430px; }
    .illustration-halo { width: 91%; left: 5%; }
    .preview-window { transform: rotate(-1.5deg); }
    .preview-body { padding: 20px; }
    .preview-toolbar { padding: 14px 20px; }
    .preview-prayer { right: 0; bottom: 18px; padding: 14px; }
    .preview-prayer strong { font-size: .72rem; }
    .preview-prayer div > span { font-size: .56rem; }
    .illustration-caption { left: 19px; bottom: -11px; font-size: .6rem; }
    .illustration-spark { right: 0; font-size: 40px; }
    .landing-section-heading { display: block; margin-bottom: 32px; }
    .landing-section-heading > p { max-width: 315px; margin-top: 22px; font-size: .85rem; }
    .landing-features { grid-template-columns: 1fr; gap: 29px; }
    .landing-feature { display: grid; grid-template-columns: 46px 1fr; column-gap: 20px; padding-top: 0; }
    .landing-feature + .landing-feature::before { width: 100%; height: 1px; left: 0; top: -15px; }
    .landing-feature-icon { grid-row: 1 / 4; margin: 0; }
    .landing-feature-number { margin-bottom: 8px; font-size: .55rem; }
    .landing-feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
    .landing-feature p { max-width: 370px; }
    .landing-start { grid-template-columns: 1fr; gap: 38px; }
    .landing-steps li { padding-block: 18px; }
    .landing-footer { flex-wrap: wrap; row-gap: 18px; padding-bottom: 24px; }
    .landing-footer > span { order: 3; flex-basis: 100%; font-size: .65rem; }
    .landing-footer > a:last-child { font-size: .68rem; }
    .account-layout { display: block; }
    .account-story { min-height: auto; padding: 22px 24px; }
    .account-story > .brand { font-size: 1.24rem; }
    .account-story-copy, .account-architecture, .account-story-footer { display: none; }
    .account-content { padding: 24px 24px 27px; min-height: calc(100svh - 75px); }
    .account-back { font-size: .71rem; }
    .account-form { max-width: 420px; padding-block: 40px; }
    .account-form h1 { font-size: 2.2rem; }
    .account-form-register { padding-block: 32px; }
    .account-form-register h1 { font-size: 1.95rem; }
    .account-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-form .auth-foot { line-height: 1.65; }
    .account-form .form-stack input { font-size: 16px; }
    .account-optional { font-size: .58rem; }
}
@media (max-width: 370px) {
    .landing-container { width: calc(100% - 32px); }
    .illustration-halo { width: 85%; left: 6%; }
    .landing-header nav { gap: 10px; }
    .landing-header .brand { font-size: 1.04rem; }
    .landing-header nav .button { padding-inline: 9px; }
    .preview-body { padding: 16px; }
    .preview-toolbar { padding-inline: 16px; }
    .preview-service { padding: 17px; }
    .preview-service > strong { font-size: 1.6rem; }
    .preview-arch { right: 3px; width: 83px; }
    .preview-row small { font-size: .53rem; }
    .preview-label { font-size: .5rem; }
    .landing-hero-actions { gap: 15px; }
    .landing-hero-actions .button { font-size: .77rem; padding-inline: 13px; }
    .account-content { padding-inline: 20px; }
    .account-form .form-grid { grid-template-columns: 1fr; }
    .account-optional { right: auto; left: 63px; }
}
