/* ===========================================================================
   The public site.

   Same palette as the console — neutral greys, one gold — so that a church
   arriving from here does not feel handed off to a different product when they
   sign up. Light and dark both, from the visitor's own setting.

   No framework and no build step. It is four static pages; anything more would
   be a dependency to maintain for no gain.
   =========================================================================== */

:root {
  --gold: #C89143;
  --accent: #8F6520;
  --ink: #1B2027;
  --ground: #FFFFFF;
  --surface: #F4F5F7;
  --ink-2: color-mix(in srgb, var(--ink) 62%, var(--ground));
  --ink-3: color-mix(in srgb, var(--ink) 45%, var(--ground));
  --line: color-mix(in srgb, var(--ink) 12%, var(--ground));
  --display: "Avenir Next", Futura, "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  --ui: ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --wrap: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gold: #DFAB55;
    --accent: #DFAB55;
    --ink: #E6E8EB;
    --ground: #14181D;
    --surface: #1B2027;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }

/* --- header ---------------------------------------------------------------- */
header.top {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(10px);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand .word { font-family: var(--display); font-size: 21px; font-weight: 500; letter-spacing: 3px; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
/* More specific than `.top nav a`, which would otherwise repaint the button's
   label the same grey as the links beside it. */
.top nav a.btn { color: var(--ground); }
.top nav a.btn:hover { color: var(--ground); }
@media (max-width: 680px) { .top nav .hide-sm { display: none; } }

.btn {
  display: inline-block; background: var(--accent); color: var(--ground);
  padding: 11px 20px; border-radius: var(--radius); text-decoration: none;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
}
.btn:hover { filter: brightness(1.08); }
.btn-quiet { background: none; color: var(--ink); border-color: var(--line); }

/* --- hero ------------------------------------------------------------------ */
.hero { padding-block: clamp(56px, 10vw, 108px) clamp(40px, 7vw, 72px); }
.hero .lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink-2); max-width: 46ch; margin-top: 22px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero .note { font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }

/* --- sections -------------------------------------------------------------- */
section { padding-block: clamp(44px, 7vw, 76px); border-top: 1px solid var(--line); }
.section-lede { color: var(--ink-2); max-width: 60ch; margin-top: 14px; }

.grid { display: grid; gap: 22px; margin-top: 38px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card .mark { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 12px; }

/* --- pricing --------------------------------------------------------------- */
.price { font-family: var(--display); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.price span { font-size: 1rem; font-weight: 400; color: var(--ink-3); font-family: var(--ui); }
ul.ticks { list-style: none; padding: 0; margin: 18px 0 0; font-size: 15px; color: var(--ink-2); }
ul.ticks li { padding-left: 24px; position: relative; margin-bottom: 9px; }
ul.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 5px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* --- footer ---------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--line); padding: 40px 0;
  color: var(--ink-3); font-size: 14px;
}
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink-2); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--ink); }

/* --- long-form (privacy, terms) -------------------------------------------- */
.prose { max-width: 68ch; padding: 56px 0 80px; }
.prose h2 { margin: 40px 0 12px; }
.prose h3 { margin: 26px 0 8px; }
.prose ul { color: var(--ink-2); padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--ink-3); font-size: 14px; }
