/* ChurchHost marketing site. Light, warm, plain. Colors and type: BRAND.md. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #1B2A41;
  --navy: #1E3A5F;
  --navy-2: #2B5283;
  --gold: #C9973A;
  --gold-ink: #8A6420;
  --gold-soft: #F5E9CF;
  --paper: #FBF8F2;
  --sand: #F3EDE1;
  --line: #E6DECF;
  --mute: #5A6476;
  --white: #FFFFFF;
  --ok: #2F6B4F;
  --bad: #A23B2A;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 42, 65, .06), 0 8px 24px rgba(27, 42, 65, .07);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(251, 248, 242, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; display: block; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 15.5px; }
.nav a:hover { background: var(--sand); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--sand); }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); background: var(--navy); }
.nav a.btn-primary:hover { background: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: 600 15px var(--sans); color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 12px 20px; border-radius: 10px; font: 600 16px/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-2); color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #B8862C; color: var(--ink); }
.btn-small { padding: 9px 14px; font-size: 15px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 360px at 85% 20%, rgba(201, 151, 58, .16), transparent 70%),
  radial-gradient(500px 300px at 10% 0%, rgba(43, 82, 131, .08), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; }
.lede { font-size: 1.2rem; color: #3A4558; max-width: 38em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.fine { font-size: 14.5px; color: var(--mute); }
.page-hero { padding: 64px 0 40px; }
.page-hero .lede { max-width: 42em; }

/* Sections */
section { padding: 64px 0; }
.band { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: #3A4558; font-size: 1.08rem; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.band .card { background: var(--paper); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; }
.card a.more { font-weight: 600; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); font: 600 18px/44px var(--serif); text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.plans + .fine { margin-top: 22px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin: 0 0 10px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--navy); box-shadow: var(--shadow); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--gold); color: var(--ink); font: 600 12.5px/1 var(--sans); letter-spacing: .04em; padding: 7px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; }
.price { font: 600 3rem/1 var(--serif); color: var(--navy); margin: 8px 0 4px; }
.price small { font: 500 16px var(--sans); color: var(--mute); }
.plan .yearly { font-size: 14.5px; color: var(--mute); margin-bottom: 18px; }
.plan .ticks { flex: 1; font-size: 15.5px; }
.plan .btn { width: 100%; margin-top: 12px; }
.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.addon { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.addon strong { display: block; }
.addon span { color: var(--mute); font-size: 15px; }
.addon .p { font: 600 1.25rem var(--serif); color: var(--navy); white-space: nowrap; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--gold-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: #3A4558; }

/* CTA card: the one strong color block */
.cta { background: var(--navy); color: var(--white); border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 151, 58, .35), transparent 65%); }
.cta h2 { color: var(--white); }
.cta p { color: #DCE3EE; margin: 0; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.cta .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.cta .btn-ghost:hover { border-color: var(--white); color: var(--white); }

/* Sample site */
.sample { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; background: var(--white); }
.shot img { display: block; width: 100%; }

/* Forms */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15.5px; }
.field .hint { font-weight: 400; color: var(--mute); font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid #D9CFBC; border-radius: 10px; padding: 12px 14px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(43, 82, 131, .18); background: var(--white); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #D9CFBC; border-radius: 10px; padding: 12px 14px; background: var(--paper); cursor: pointer; font-weight: 500; }
.choice input { width: auto; margin-top: 4px; accent-color: var(--navy); }
.choice small { display: block; color: var(--mute); font-weight: 400; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; }
.notice.bad { background: #FBEAE6; color: var(--bad); border: 1px solid #F0C9C0; }
.notice.good { background: #E7F2EC; color: var(--ok); border: 1px solid #C5E0D1; }
.hidden { display: none !important; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--sand); padding: 48px 0 32px; margin-top: 64px; font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; color: var(--mute); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot img { height: 34px; width: auto; margin-bottom: 12px; }

/* Article (privacy etc.) */
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* Small screens */
@media (max-width: 980px) {
  .hero .wrap, .split, .sample, .cta { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3, .plans { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .hero { padding: 44px 0 40px; }
  .g2, .g4, .addons, .row2, .choices { grid-template-columns: 1fr; }
  .cta { padding: 32px 24px; }
  .form { padding: 22px; }
  .foot .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
