/* Orafide marketing site - plain CSS, no build. Tokens mirror brand/colors.json (B2 Marian blue + gold on ivory). */
:root {
  --bg: #F6F3EA;
  --bg-alt: #EFEADB;
  --surface: #FFFFFF;
  --text: #222B3A;
  --muted: #55607A;
  --primary: #1F3A6B;
  --primary-ink: #FFFFFF;
  --accent: #C9A24B;
  --accent-ink: #5E4710;
  --cardinal: #8E1F2F;
  --line: rgba(31, 58, 107, .16);
  --shadow: 0 1px 2px rgba(20, 40, 79, .06), 0 12px 32px -12px rgba(20, 40, 79, .22);
  --hero-from: #14284F;
  --hero-to: #2C4F94;
  --radius: 18px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1626;
    --bg-alt: #131C31;
    --surface: #18223A;
    --text: #EDE8DA;
    --muted: #A9B3C9;
    --primary: #7C9BD0;
    --primary-ink: #0F1626;
    --accent: #D9B45F;
    --accent-ink: #F0D58A;
    --cardinal: #C0586A;
    --line: rgba(237, 232, 218, .14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -14px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--primary-ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.eyebrow { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font: 700 1.45rem/1 var(--serif); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--text); padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--bg-alt); color: var(--text); }
.nav .btn { margin-left: 6px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--text); cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 20px; font: 600 1rem/1 var(--sans); cursor: pointer; text-decoration: none; background: var(--primary); color: var(--primary-ink); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--primary-ink); }
.btn.gold { background: linear-gradient(180deg, #F0D58A, #C9A24B); color: #3A2B07; }
.btn.gold:hover { color: #3A2B07; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--bg-alt); color: var(--text); box-shadow: none; }
.btn[aria-disabled="true"] { opacity: .78; cursor: default; pointer-events: none; }

/* hero */
.hero { position: relative; overflow: hidden; color: #F6F3EA; background: radial-gradient(120% 90% at 20% 0%, var(--hero-to), var(--hero-from) 62%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero h1 { color: #FFFFFF; }
.hero h1 em { font-style: normal; color: #F0D58A; }
.hero .lead { color: #D8DEEE; }
.hero .eyebrow { color: #F0D58A; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #0B0F1A; color: #fff; border: 1px solid rgba(255, 255, 255, .28); border-radius: 14px; padding: 10px 18px 10px 14px; text-decoration: none; min-width: 190px; }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: .7rem; letter-spacing: .04em; opacity: .85; line-height: 1.1; }
.store strong { display: block; font: 600 1.15rem/1.15 var(--sans); }
.store[aria-disabled="true"] { opacity: .85; cursor: default; }
.soon { font-size: .88rem; color: #BFC9E2; }
.art { position: relative; justify-self: center; width: min(360px, 78vw); }
.art::before { content: ""; position: absolute; inset: -22%; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(240, 213, 138, .55) 0 .7deg, transparent .7deg 7.5deg); -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%, transparent 72%); mask: radial-gradient(circle, transparent 38%, #000 40%, transparent 72%); }
.art figure { position: relative; margin: 0; padding: 8px; border-radius: 10px; background: linear-gradient(180deg, #F0D58A, #C9A24B); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.art img { width: 100%; height: auto; border-radius: 4px; aspect-ratio: 671 / 1000; object-fit: cover; }
.art figcaption { font-size: .72rem; color: #3A2B07; text-align: center; padding: 6px 4px 0; letter-spacing: .02em; }

/* sections */
section { padding-block: clamp(56px, 8vw, 96px); }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 46em; margin-bottom: 40px; }
.grid { display: grid; gap: 20px; }
.grid.features { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(160deg, var(--hero-to), var(--hero-from)); color: #F0D58A; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* day-at-a-glance phone illustration */
.glance { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.phone { justify-self: center; width: min(310px, 82vw); border-radius: 42px; padding: 12px; background: #0B0F1A; box-shadow: 0 40px 70px -28px rgba(20, 40, 79, .6); }
.screen { border-radius: 32px; background: var(--bg); overflow: hidden; padding: 22px 18px 18px; min-height: 520px; display: flex; flex-direction: column; gap: 12px; font-size: .88rem; }
.screen .top { display: flex; justify-content: space-between; color: var(--muted); font-size: .74rem; }
.screen h4 { font: 700 1.3rem/1.2 var(--serif); margin: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: .72rem; font-weight: 600; border-radius: 99px; padding: 4px 10px; background: var(--bg-alt); border: 1px solid var(--line); }
.chip.green { background: #1F6B3A; border-color: #1F6B3A; color: #fff; }
.chip.gold { background: #F0D58A; border-color: #C9A24B; color: #3A2B07; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.mini .k { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); font-weight: 700; margin-bottom: 4px; }
.mini .verse { font: italic 1rem/1.4 var(--serif); }
.mini .ref { font-size: .74rem; color: var(--muted); margin-top: 4px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.list li { display: flex; gap: 12px; align-items: flex-start; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #3A2B07; display: grid; place-items: center; margin-top: 3px; }
.tick svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 3; fill: none; }

/* pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.plan.pop { border: 2px solid var(--accent); }
.plan .tag { position: absolute; top: -13px; left: 24px; background: linear-gradient(180deg, #F0D58A, #C9A24B); color: #3A2B07; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.price { font: 700 2.6rem/1 var(--serif); margin: 6px 0 2px; }
.price small { font: 500 .95rem var(--sans); color: var(--muted); }
.plan .yr { color: var(--muted); font-size: .88rem; margin-bottom: 18px; min-height: 1.4em; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .96rem; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A2B07' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.note { color: var(--muted); font-size: .92rem; margin-top: 22px; }
.parish-band { margin-top: 36px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); color: #F6F3EA; border-radius: var(--radius); padding: 30px 32px; }
.parish-band h3 { color: #fff; margin-bottom: .3em; }
.parish-band p { margin: 0; color: #D8DEEE; }

/* faq */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--accent-ink); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); padding-bottom: 8px; }

/* prose pages */
.page-head { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); padding-block: 56px 28px; border-bottom: 1px solid var(--line); }
.draft { background: #FFF3CD; color: #5C4400; border: 1px solid #E8C55B; border-radius: 12px; padding: 14px 18px; font-size: .95rem; margin: 0 0 28px; }
@media (prefers-color-scheme: dark) { .draft { background: #3A2F0C; color: #F3DFA0; border-color: #7A6320; } }
.prose { padding-block: 40px 80px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0 1.5em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-alt); }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; margin: 1.2em 0; }

/* forms */
form.card { display: grid; gap: 16px; }
label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; }
input, select, textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
textarea { min-height: 120px; resize: vertical; }
.form-status { min-height: 1.4em; font-size: .95rem; }
.hp { position: absolute; left: -9999px; }

/* footer */
.site-footer { background: #0B1424; color: #C8D0E4; padding-block: 56px 36px; }
.site-footer a { color: #E3E8F5; text-decoration: none; }
.site-footer a:hover { color: #F0D58A; text-decoration: underline; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { color: #F0D58A; font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.fine { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 22px; font-size: .85rem; color: #98A3BF; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .hero .wrap, .glance { grid-template-columns: 1fr; gap: 40px; }
  .art { order: -1; width: min(250px, 62vw); }
  .parish-band { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; }
  .nav .btn { margin: 8px 0 0; }
  body { font-size: 16.5px; }
}
@media (max-width: 480px) { .foot { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
