/* Kingdom Comms landing page — no build step. Also styles the legal and
   contact pages (.legal-page).

   Layout follows a clean, product-led SaaS pattern: white header, bold
   left-aligned hero over the admin dashboard, a tool grid, alternating feature rows, facts, role tabs, a
   member-app collage, setup steps, pricing, support, FAQ and a dark footer. */

/* The web fonts load without blocking the first paint. Until they arrive,
   Arial is sized to their metrics so the swap does not move the layout. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 107.45%; ascent-override: 90.16%; descent-override: 22.45%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 104.52%; ascent-override: 99.31%; descent-override: 21.24%; line-gap-override: 0%; }

:root {
  --ink: #0f0d1a;
  --text: #2c2a3a;
  --muted: #5d5a70;
  --line: #e9e5e3;
  --line-strong: #d8d2ce;
  --bg: #ffffff;
  --bg-soft: #f7f5f4;
  --violet: #b7441c;
  /* Kingdom Comms logo orange, for large display text only (3.4:1 on white) */
  --brand-orange: #f15a25;
  --violet-hover: #953817;
  --violet-tint: #fdebe3;
  --gold: #f2b52f;
  --gold-tint: #fff4d8;
  --gold-text: #8a5a00;
  --mint: #1f9d72;
  --mint-tint: #e1f6ee;
  --mint-ink: #12704e;
  --coral: #f2553f;
  --blue-tint: #e7f0ff;
  --footer: #14172b;
  --radius: 10px;
  --radius-lg: 18px;
  --font-display: "Plus Jakarta Sans", "Jakarta Fallback", "Inter", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(15, 13, 26, 0.04), 0 8px 24px rgba(15, 13, 26, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 13, 26, 0.12);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--violet);
  --header-h: 72px;
}

/* Elements marked hidden (such as the email line before an inbox is set)
   stay hidden even when a component sets its own display. */
[hidden] {
  display: none !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p,
dl,
dd {
  margin: 0;
}

a {
  color: var(--violet);
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 8px;
}

main:focus {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--violet);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* ——— Buttons ——— */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: 700 0.875rem/1.2 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 8px 20px rgba(183, 68, 28, 0.25);
}

.button-primary:hover {
  background: var(--violet-hover);
}

.button-secondary {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button-secondary:hover {
  background: var(--ink);
  color: #fff;
}

.button-white {
  background: #fff;
  color: var(--ink);
}

.button-white:hover {
  background: var(--violet-tint);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.button-small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.8125rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 22px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.text-link .icon {
  transition: transform 0.18s ease;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(15, 13, 26, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark img {
  border-radius: 8px;
}

.wordmark-light {
  color: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  gap: 24px;
  margin-left: 32px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.nav-link-strong {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-link-strong:hover {
  color: var(--violet);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-actions .button {
  margin-left: 8px;
}

@media (min-width: 961px) {
  .nav-actions > [data-whatsapp-link] {
    display: none;
  }
}

/* ——— Hero ——— */

.hero {
  padding: 72px 0 0;
  background:
    radial-gradient(900px 420px at 80% 100%, rgba(183, 68, 28, 0.1), transparent 70%),
    var(--bg);
}

.hero-copy {
  max-width: 860px;
}

.hero h1 {
  font-size: clamp(2.75rem, 6.4vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero h1 span {
  color: var(--brand-orange);
}

.lede {
  margin-top: 24px;
  max-width: 640px;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.m-pill {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--gold);
  color: #2b1d00;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.illustration-note {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ——— Hero stage (js/hero-stage.js) ———
   Desktop arranges the dashboard and four feature devices around a center;
   mobile cycles those same five screens through a carousel. Everything is
   drawn in a design space (--design-w × --design-h) that the script scales
   to the stage's width (--k). Devices are
   drawn at their real proportions: a 14-inch MacBook Pro (3024 × 1964
   screen), an iPhone 15 Pro (393 × 852 pt) and a Galaxy S22 (360 × 780 dp). */

.hero-centered .hero-copy {
  margin: 0 auto;
  text-align: center;
}

.hero-centered .lede {
  margin-left: auto;
  margin-right: auto;
}

.hero-centered .hero-actions {
  justify-content: center;
}

.hero-stage {
  --design-w: 1120px;
  --design-h: 620px;
  --k: 1;
  position: relative;
  max-width: 1120px;
  height: calc(var(--design-h) * var(--k));
  margin: 56px auto 0;
  padding-bottom: 48px;
  box-sizing: content-box;
}

.stage-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--design-w);
  height: var(--design-h);
  transform: scale(var(--k));
  transform-origin: 0 0;
}

.stage-item {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform-origin: 0 0;
  transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s));
  transition: transform 720ms cubic-bezier(0.2, 0.75, 0.15, 1);
  cursor: pointer;
  outline: none;
}

.stage-item.is-center {
  z-index: 3;
  cursor: default;
}

.stage-item:not(.is-center):hover,
.stage-item:not(.is-center):focus-visible {
  z-index: 2;
}

.stage-item:focus-visible .mbp-lid,
.stage-item:focus-visible .iphone,
.stage-item:focus-visible .galaxy {
  outline: calc(4px / var(--s)) solid var(--violet);
  outline-offset: calc(6px / var(--s));
}

/* A name under each device around the edge, the same size whatever its scale. */
.stage-label {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: calc(12px / var(--s));
  padding: calc(5px / var(--s)) calc(11px / var(--s));
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 calc(2px / var(--s)) calc(10px / var(--s)) rgba(15, 13, 26, 0.1);
  color: var(--ink);
  font-size: calc(12.5px / var(--s));
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: opacity 300ms;
}

.stage-item.is-center .stage-label {
  opacity: 0;
}

/* MacBook Pro 14": black bezel and notch, silver base. */
.mbp {
  position: relative;
  width: 1040px;
}

.mbp-lid {
  width: 960px;
  height: 639px;
  margin: 0 auto;
  padding: 14px 14px 20px;
  box-sizing: border-box;
  border-radius: 26px 26px 6px 6px;
  background: #0d0d0f;
  box-shadow: inset 0 0 0 1.5px #3a3a3e, 0 0 0 2px #1e1e21;
}

.mbp-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 12px 12px 2px 2px;
  background: #fff;
}

.mbp-notch {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 150px;
  height: 22px;
  margin-left: -75px;
  border-radius: 0 0 10px 10px;
  background: #0d0d0f;
}

.mbp-screen .clip {
  position: absolute;
  inset: 0;
}

.mbp-screen .shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mbp-screen img.shot {
  display: block;
}

.mbp-base {
  position: relative;
  height: 24px;
  margin-top: -2px;
  border-radius: 3px 3px 22px 22px / 3px 3px 16px 16px;
  background: linear-gradient(180deg, #e4e5e8 0%, #cbccd0 45%, #9fa0a5 100%);
  box-shadow: 0 30px 60px rgba(15, 13, 26, 0.18), 0 10px 20px rgba(15, 13, 26, 0.08);
}

.mbp-groove {
  position: absolute;
  top: 0;
  left: 50%;
  width: 160px;
  height: 8px;
  margin-left: -80px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #a6a7ab, #d2d3d6);
}

/* iPhone 15 Pro: 426 × 885 pt body, titanium edge, Dynamic Island. */
.iphone {
  position: relative;
  width: 426px;
  height: 885px;
  border-radius: 71.5px;
  background: #0b0b0d;
  box-shadow: inset 0 0 0 3px #8d8a85, inset 0 0 0 4.5px #c9c5be, inset 0 0 0 6px #4a4844, 0 30px 60px rgba(20, 23, 43, 0.22);
}

.iphone-button { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #77736d, #bdb8b0); }
.iphone-action { left: -2px; top: 168px; height: 34px; }
.iphone-volume-up { left: -2px; top: 236px; height: 62px; }
.iphone-volume-down { left: -2px; top: 314px; height: 62px; }
.iphone-power { right: -2px; top: 268px; height: 100px; background: linear-gradient(270deg, #77736d, #bdb8b0); }

.iphone-screen {
  --ios-wall: #f15a25;
  --ios-wall-deep: #14172b;
  position: absolute;
  inset: 16.5px;
  overflow: hidden;
  border-radius: 55px;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(70% 40% at 18% 8%, color-mix(in srgb, var(--ios-wall) 55%, #fff) 0%, transparent 70%), radial-gradient(80% 50% at 92% 45%, color-mix(in srgb, var(--ios-wall) 80%, #000) 0%, transparent 72%), linear-gradient(180deg, var(--ios-wall) 0%, var(--ios-wall-deep) 100%);
}

.iphone-island { position: absolute; top: 11px; left: 50%; width: 126px; height: 37.33px; margin-left: -63px; border-radius: 19px; background: #000; }
.ios-status { position: absolute; top: 20px; right: 30px; display: flex; align-items: center; gap: 6px; }
.ios-status svg { display: block; fill: currentColor; }
.ios-lock { position: absolute; top: 64px; left: 50%; margin-left: -6px; fill: currentColor; color: rgba(255, 255, 255, 0.92); }
.ios-date { position: absolute; top: 90px; left: 0; right: 0; margin: 0; text-align: center; font-size: 21px; font-weight: 600; color: rgba(255, 255, 255, 0.88); }
.ios-clock { position: absolute; top: 112px; left: 0; right: 0; margin: 0; text-align: center; font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif; font-size: 104px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.94); }
.ios-notes { position: absolute; top: 268px; left: 8px; right: 8px; display: flex; flex-direction: column; gap: 8px; }
.ios-note { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 10px; padding: 14px 14px 14px 12px; border-radius: 23px; color: #000; background: rgba(246, 246, 248, 0.86); -webkit-backdrop-filter: blur(28px) saturate(1.8); backdrop-filter: blur(28px) saturate(1.8); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); overflow: hidden; }
.ios-note-icon { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; background: #fff; margin-top: 1px; }
.ios-note-text { min-width: 0; }
.ios-note-head { display: flex; align-items: baseline; gap: 8px; }
.ios-note-head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; line-height: 20px; font-weight: 600; color: #000; }
.ios-note-head time { flex: none; font-size: 13px; line-height: 20px; color: rgba(60, 60, 67, 0.6); }
.ios-note p { margin: 1px 0 0; font-size: 15px; line-height: 20px; color: #000; }
.ios-shortcut { position: absolute; bottom: 42px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(20, 20, 24, 0.32); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; }
.ios-torch { left: 46px; }
.ios-camera { right: 46px; }
.iphone-home { position: absolute; bottom: 8px; left: 50%; width: 139px; height: 5px; margin-left: -69.5px; border-radius: 3px; background: #fff; }

/* The new notification drops in at the top every few seconds, pushing the older one down. */
.motion .ios-note-new {
  animation: note-arrive 7s cubic-bezier(0.2, 0.8, 0.2, 1) 1.2s infinite both;
}

@keyframes note-arrive {
  0%, 6% { max-height: 0; margin-bottom: -8px; padding-top: 0; padding-bottom: 0; opacity: 0; transform: translateY(-24px) scale(0.94); }
  16% { max-height: 120px; margin-bottom: 0; padding-top: 14px; padding-bottom: 14px; opacity: 1; transform: none; }
  88% { max-height: 120px; margin-bottom: 0; padding-top: 14px; padding-bottom: 14px; opacity: 1; transform: none; }
  100% { max-height: 120px; margin-bottom: 0; padding-top: 14px; padding-bottom: 14px; opacity: 0; transform: none; }
}

/* Samsung Galaxy S22: 380 × 806 body, flat edges, centred punch-hole camera. */
.galaxy {
  position: relative;
  width: 380px;
  height: 806px;
  border-radius: 46px;
  background: #141416;
  box-shadow: inset 0 0 0 2px #45454b, inset 0 0 0 4px #1c1c1f, 0 30px 60px rgba(20, 23, 43, 0.22);
}

.galaxy-button { position: absolute; right: -2px; width: 3.5px; border-radius: 2px; background: linear-gradient(270deg, #2c2c31, #55555c); }
.galaxy-volume { top: 150px; height: 92px; }
.galaxy-power { top: 262px; height: 56px; }

.galaxy-screen {
  --ma-primary: #b7441c;
  --ma-deep: #5a1f0b;
  --ma-gold: #f2b52f;
  --ma-ink: #1b1630;
  --ma-muted: #736e80;
  position: absolute;
  inset: 10px;
  overflow: hidden;
  border-radius: 38px;
  background: #f6f5f9;
  color: var(--ma-ink);
  font-family: Roboto, "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.galaxy-camera { position: absolute; top: 12px; left: 50%; z-index: 2; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: #050507; box-shadow: 0 0 0 2px #1b1b20; }
.and-status { display: flex; justify-content: space-between; align-items: center; height: 38px; padding: 0 24px; font-size: 13px; font-weight: 500; }
.and-icons { display: flex; align-items: center; gap: 6px; }
.and-icons svg { fill: currentColor; }
.ma-header { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; justify-items: center; height: 54px; padding: 0 18px; }
.ma-header img { width: 36px; height: 36px; border-radius: 10px; }
.ma-bell { color: var(--ma-ink); }
.ma-hero { margin: 2px 14px 0; padding: 20px 18px 18px; border-radius: 26px; background: linear-gradient(150deg, var(--ma-primary), var(--ma-deep)); color: #fff; box-shadow: 0 14px 30px rgba(90, 31, 11, 0.25); }
.ma-hero small { display: block; font-size: 13.5px; font-weight: 500; color: color-mix(in srgb, #fff 72%, var(--ma-gold)); }
.ma-hero h3 { margin: 3px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.ma-player { margin-top: 16px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.13); }
.ma-player-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.ma-live { padding: 3px 7px; border-radius: 6px; background: var(--ma-gold); color: var(--ma-deep); font-size: 10px; font-weight: 800; letter-spacing: 0.05em; }
.ma-player-main b { display: block; font-size: 14.5px; font-weight: 600; color: #fff; }
.ma-player-main small { display: block; margin-top: 1px; font-size: 11.5px; color: rgba(255, 255, 255, 0.72); }
.ma-pause { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ma-gold); color: var(--ma-deep); }
.ma-pause svg { fill: currentColor; }
.ma-seek { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; margin-top: 12px; font-size: 11px; color: rgba(255, 255, 255, 0.74); font-variant-numeric: tabular-nums; }
.ma-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.24); overflow: hidden; }
.ma-track span { display: block; width: 26%; height: 100%; border-radius: 4px; background: var(--ma-gold); }
.motion .ma-track span { animation: recording-plays 30s linear infinite alternate; }
@keyframes recording-plays { from { width: 26%; } to { width: 34%; } }
.ma-section { margin: 18px 14px 0; }
.ma-section-head { display: block; margin: 0 4px 8px; font-size: 14.5px; font-weight: 600; }
.ma-card { display: grid; gap: 3px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(27, 22, 48, 0.04), 0 4px 14px rgba(27, 22, 48, 0.05); }
.ma-card small { font-size: 12px; color: var(--ma-primary); font-weight: 600; }
.ma-card b { font-size: 15px; font-weight: 600; }
.ma-card span { font-size: 12.5px; color: var(--ma-muted); }
.ma-event { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(27, 22, 48, 0.04), 0 4px 14px rgba(27, 22, 48, 0.05); }
.ma-event-icon img { display: block; width: 44px; height: 44px; border-radius: 12px; }
.ma-event b { display: block; font-size: 14px; font-weight: 600; }
.ma-event small { display: block; margin-top: 2px; font-size: 12px; color: var(--ma-muted); }
.ma-nav { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 12px 8px 28px; border-top: 1px solid #ebe6de; background: #fff; font-size: 11.5px; color: var(--ma-muted); }
.ma-nav .active { color: var(--ma-primary); font-weight: 700; }
.galaxy-gesture { position: absolute; bottom: 9px; left: 50%; width: 110px; height: 4px; margin-left: -55px; border-radius: 3px; background: rgba(27, 22, 48, 0.7); }

@media (max-width: 760px) {
  .hero-stage {
    --design-w: 600px;
    --design-h: 790px;
    margin-top: 40px;
    padding-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-item { transition: none; }
}

/* HERO STAGE POSITIONS: each device at rest, and in the middle when chosen (x, y, rotation, scale; design space above). */
.stage-item[data-item="dashboard"] { --x: 248px; --y: 112px; --r: 0deg; --s: 0.6; }
.stage-item[data-item="events"] { --x: 0px; --y: 54px; --r: -4deg; --s: 0.26; }
.stage-item[data-item="steward"] { --x: 34px; --y: 392px; --r: 3deg; --s: 0.26; }
.stage-item[data-item="push"] { --x: 962px; --y: 26px; --r: 5deg; --s: 0.3; }
.stage-item[data-item="recording"] { --x: 952px; --y: 340px; --r: -4deg; --s: 0.32; }
.hero-stage[data-focus="events"] .stage-item[data-item="events"] { --x: 248px; --y: 112px; --r: 0deg; --s: 0.6; }
.hero-stage[data-focus="events"] .stage-item[data-item="dashboard"] { --x: 0px; --y: 54px; --r: -4deg; --s: 0.26; }
.hero-stage[data-focus="push"] .stage-item[data-item="push"] { --x: 428px; --y: 24px; --r: 0deg; --s: 0.64; }
.hero-stage[data-focus="push"] .stage-item[data-item="dashboard"] { --x: 842px; --y: 60px; --r: 5deg; --s: 0.26; }
.hero-stage[data-focus="steward"] .stage-item[data-item="steward"] { --x: 248px; --y: 112px; --r: 0deg; --s: 0.6; }
.hero-stage[data-focus="steward"] .stage-item[data-item="dashboard"] { --x: 34px; --y: 392px; --r: 3deg; --s: 0.26; }
.hero-stage[data-focus="recording"] .stage-item[data-item="recording"] { --x: 430px; --y: 26px; --r: 0deg; --s: 0.7; }
.hero-stage[data-focus="recording"] .stage-item[data-item="dashboard"] { --x: 832px; --y: 392px; --r: -4deg; --s: 0.26; }
@media (max-width: 760px) {
  .stage-item[data-item="dashboard"] { --x: 9px; --y: 120px; --r: 0deg; --s: 0.56; }
  .stage-item[data-item="events"] { --x: 7.4px; --y: 597.0px; --r: 0deg; --s: 0.13; }
  .stage-item[data-item="push"] { --x: 193.1px; --y: 573.6px; --r: 0deg; --s: 0.15; }
  .stage-item[data-item="steward"] { --x: 307.4px; --y: 597.0px; --r: 0deg; --s: 0.13; }
  .stage-item[data-item="recording"] { --x: 493.6px; --y: 573.5px; --r: 0deg; --s: 0.165; }
  .hero-stage[data-focus="events"] .stage-item[data-item="events"] { --x: 9px; --y: 120px; --r: 0deg; --s: 0.56; }
  .hero-stage[data-focus="events"] .stage-item[data-item="dashboard"] { --x: 7.4px; --y: 597.0px; --r: 0deg; --s: 0.13; }
  .hero-stage[data-focus="push"] .stage-item[data-item="push"] { --x: 165px; --y: 0px; --r: 0deg; --s: 0.62; }
  .hero-stage[data-focus="push"] .stage-item[data-item="dashboard"] { --x: 157.4px; --y: 597.0px; --r: 0deg; --s: 0.13; }
  .hero-stage[data-focus="steward"] .stage-item[data-item="steward"] { --x: 9px; --y: 120px; --r: 0deg; --s: 0.56; }
  .hero-stage[data-focus="steward"] .stage-item[data-item="dashboard"] { --x: 307.4px; --y: 597.0px; --r: 0deg; --s: 0.13; }
  .hero-stage[data-focus="recording"] .stage-item[data-item="recording"] { --x: 164px; --y: 0px; --r: 0deg; --s: 0.7; }
  .hero-stage[data-focus="recording"] .stage-item[data-item="dashboard"] { --x: 457.4px; --y: 597.0px; --r: 0deg; --s: 0.13; }
}
/* END HERO STAGE POSITIONS */

/* Mobile feature carousel: bring one real product screen into focus and let
   the adjacent two peek in from either side. The JS cycles all five screens. */
@media (max-width: 760px) {
  .hero-stage { touch-action: pan-y; }
  .hero-stage.is-mobile-carousel { overflow: hidden; }
  .hero-stage.is-mobile-carousel .stage-item {
    opacity: 0;
    filter: blur(4px);
    pointer-events: none;
    visibility: hidden;
    transition: transform 720ms cubic-bezier(0.2, 0.75, 0.15, 1), opacity 420ms ease, filter 420ms ease;
  }
  .hero-stage.is-mobile-carousel .stage-item.is-center {
    --x: 9px; --y: 200px; --r: 0deg; --s: 0.56;
    z-index: 4;
    opacity: 1;
    filter: none;
    pointer-events: auto;
    visibility: visible;
  }
  .hero-stage.is-mobile-carousel .stage-item.is-center[data-kind="iphone"],
  .hero-stage.is-mobile-carousel .stage-item.is-center[data-kind="galaxy"] { --x: 134px; --y: 0px; --s: 0.88; }
  .hero-stage.is-mobile-carousel .stage-item.is-carousel-prev,
  .hero-stage.is-mobile-carousel .stage-item.is-carousel-next { z-index: 2; opacity: 0.48; filter: blur(0.5px); pointer-events: auto; visibility: visible; }
  .hero-stage.is-mobile-carousel .stage-item.is-carousel-prev { --x: -245px; --y: 205px; --r: -2deg; --s: 0.28; }
  .hero-stage.is-mobile-carousel .stage-item.is-carousel-next { --x: 554px; --y: 205px; --r: 2deg; --s: 0.28; }
  .hero-stage.is-mobile-carousel .stage-item.is-carousel-prev[data-kind="iphone"],
  .hero-stage.is-mobile-carousel .stage-item.is-carousel-prev[data-kind="galaxy"] { --x: -90px; --y: 175px; --s: 0.48; }
  .hero-stage.is-mobile-carousel .stage-item.is-carousel-next[data-kind="iphone"],
  .hero-stage.is-mobile-carousel .stage-item.is-carousel-next[data-kind="galaxy"] { --x: 545px; --y: 175px; --s: 0.48; }
  .hero-stage.is-mobile-carousel .stage-item.is-carousel-prev .stage-label,
  .hero-stage.is-mobile-carousel .stage-item.is-carousel-next .stage-label { opacity: 0; }
}

/* ——— Product UI illustrations ——— */

.ui-window {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  font-size: 0.8125rem;
  color: var(--text);
}

.ui-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: #fafafc;
}

.ui-dots {
  display: inline-flex;
  gap: 6px;
}

.ui-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.ui-url {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.ui-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.ui-dashboard {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}

.ui-sidebar {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 16px 10px;
  border-right: 1px solid var(--line);
  background: #fafafc;
}

.ui-sidebar span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 500;
}

.ui-sidebar .is-active {
  background: var(--violet-tint);
  color: var(--violet);
  font-weight: 700;
}

.ui-church {
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 700 !important;
}

.ui-church b,
.ui-avatar {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 7px;
  background: var(--violet);
  color: #fff;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 700;
}

.ui-avatar-2 { background: var(--gold); color: #2b1d00; }
.ui-avatar-3 { background: var(--mint); }

.ui-main {
  display: grid;
  gap: 14px;
  padding: 20px 22px 26px;
}

.ui-page-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.ui-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--gold-tint);
  color: #3d2c00;
}

.ui-alert span {
  display: grid;
  flex: 1;
}

.ui-alert small {
  color: #6b5524;
}

.ui-alert em {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

.ui-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ui-stats span {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.ui-stats small {
  color: var(--muted);
  font-size: 0.75rem;
}

.ui-stats b {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.ui-stats em {
  color: var(--mint-ink);
  font-size: 0.75rem;
  font-style: normal;
}

.ui-stats-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(420px, 100%);
}

.ui-list {
  display: grid;
  gap: 6px;
}

.ui-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fafafc;
  color: var(--ink);
  font-weight: 500;
}

.ui-list span em {
  margin-left: auto;
  color: var(--muted);
  font-style: normal;
}

.ui-list .ui-list-head {
  padding: 0;
  background: none;
  font-weight: 700;
}

.ui-toolbar {
  display: flex;
  gap: 10px;
}

.ui-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}

.ui-btn-primary {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.ui-btn-wide {
  width: 100%;
}

.ui-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.ui-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}

.ui-row span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

.ui-row-head {
  border-top: 0;
  background: #fafafc;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.ui-row-head span:first-child {
  color: var(--muted);
}

.ui-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--violet-tint);
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.ui-tag-mint { background: var(--mint-tint); color: var(--mint-ink); }
.ui-tag-gold { background: var(--gold-tint); color: var(--gold-text); }

.ui-card,
.art-push,
.art-card,
.art-player {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem;
}

.ui-card b,
.art-push b {
  color: var(--ink);
  font-size: 0.9375rem;
}

.ui-card-head,
.art-push-app {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.art-push-app img {
  border-radius: 4px;
}

.art-push small {
  color: var(--muted);
}

.art-push-gold {
  background: linear-gradient(135deg, #fff9e9, #ffefc4);
}

.ui-card .ui-tag {
  justify-self: start;
}

.ui-actions {
  display: flex;
  gap: 8px;
}

.ui-option {
  display: grid;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.ui-option.is-selected {
  border-color: var(--violet);
  background: var(--violet-tint);
}

.ui-option small {
  color: var(--muted);
}

.ui-field {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.ui-field small {
  color: var(--muted);
  font-size: 0.75rem;
}

.ui-field b {
  color: var(--ink);
  font-size: 0.875rem;
}

.ui-field-row {
  grid-template-columns: 1fr 1fr;
}

.ui-field-row > span {
  display: grid;
  gap: 4px;
}

.ui-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ui-chips i {
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-style: normal;
  font-weight: 500;
}

.ui-chips .is-on {
  border-color: var(--violet);
  background: var(--violet);
  color: #fff;
}

.ui-push-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ui-push-actions i {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--violet-tint);
  color: var(--violet);
  font-style: normal;
  font-weight: 700;
}

.ui-push-actions i:first-child {
  background: var(--violet);
  color: #fff;
}

.ui-bars {
  display: grid;
  gap: 10px;
}

.ui-bars span {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 10px;
}

.ui-bars i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint) var(--w), var(--mint-tint) var(--w));
}

.ui-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-check i {
  width: 16px;
  height: 16px;
  border: 2px solid var(--line-strong);
  border-radius: 4px;
}

.ui-check.is-on i {
  border-color: var(--violet);
  background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.ui-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 56px;
  margin-top: 6px;
}

.ui-wave i {
  width: 5px;
  height: 40%;
  border-radius: 3px;
  background: var(--gold);
}

.ui-wave i:nth-child(3n) { height: 85%; }
.ui-wave i:nth-child(4n) { height: 60%; }
.ui-wave i:nth-child(5n) { height: 25%; }
.ui-wave i:nth-child(7n) { height: 100%; }
.ui-wave i:nth-child(n + 9) { background: rgba(242, 181, 47, 0.35); }

.ui-seek {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  font-size: 0.6875rem;
}

.ui-seek i {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold) 24%, rgba(255, 255, 255, 0.2) 24%);
}

/* ——— Sections ——— */

.section {
  padding: 104px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-head > p {
  margin-top: 16px;
  font-size: 1.1875rem;
  color: var(--muted);
}

.section-head a {
  font-weight: 600;
}

.eyebrow {
  color: var(--violet);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Tool grid */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tool {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tool:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.tool-art {
  display: grid;
  place-items: center;
  height: 220px;
  padding: 24px;
}

.tool-art > * {
  width: min(280px, 100%);
}

.tool-art-violet { background: var(--violet-tint); }
.tool-art-gold { background: var(--gold-tint); }
.tool-art-blue { background: var(--blue-tint); }
.tool-art-mint { background: var(--mint-tint); }
.tool-art-dark { background: #14172b; }

.art-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.art-row b {
  flex: 1;
  color: var(--ink);
}

.art-title {
  color: var(--ink);
  font-size: 0.9375rem;
}

.art-player {
  align-content: center;
  justify-items: center;
  text-align: center;
  background: linear-gradient(180deg, #232842, #14172b);
  border-color: transparent;
  color: #d7d9e6;
}

.art-player b {
  color: #fff;
  font-size: 1rem;
}

.tool h3 {
  margin: 24px 24px 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.tool p {
  margin: 10px 24px 0;
  flex: 1;
  color: var(--muted);
}

.tool > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 12px 24px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Feature rows */

.rows {
  padding-top: 24px;
  background: var(--bg);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.row:first-child {
  border-top: 0;
}

.row-reverse .row-copy {
  order: 2;
}

.row h2 {
  margin-top: 14px;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.row-copy > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 1.125rem;
  color: var(--muted);
}

.bullets {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.bullets li {
  position: relative;
  padding-left: 30px;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--violet-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7441c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.row-visual {
  position: relative;
  padding: 0 48px 56px 0;
}

.row-visual-center {
  padding: 0;
}

.ui-float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(270px, 62%);
}

.rows-note {
  padding-bottom: 8px;
  text-align: center;
}

/* Facts */

.facts {
  padding: 72px 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  text-align: center;
}

.fact-grid dt {
  color: var(--brand-orange);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.fact-grid dd {
  margin-top: 8px;
  color: var(--muted);
}

/* Role tabs */

.role-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.js .role-tabs {
  display: flex;
}

.role-tabs {
  display: none;
}

.role-tabs button {
  flex: none;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--muted);
  font: 700 0.8125rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.role-tabs button:hover {
  color: var(--ink);
}

.role-tabs button[aria-selected="true"] {
  color: var(--violet);
  border-bottom-color: var(--violet);
}

.role-panels {
  display: grid;
  gap: 24px;
}

.role-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.js .role-panel[hidden] {
  display: none;
}

.role-panel h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 800;
  line-height: 1.15;
}

.role-visual {
  display: flex;
  justify-content: center;
}

.role-visual > * {
  width: min(380px, 100%);
}

/* Engage collage */

.engage {
  background: var(--bg-soft);
}

.engage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.engage h2 {
  font-size: clamp(3rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.engage h2 span {
  color: var(--brand-orange);
}

.engage-copy > p {
  margin-top: 22px;
  font-size: 1.125rem;
  color: var(--muted);
}

.engage-copy .button {
  margin-top: 30px;
}

.collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(70px, auto);
  gap: 16px;
}

.collage > * {
  box-shadow: var(--shadow-lg);
}

.c-1 { grid-column: 1 / 5; grid-row: 1; }
.c-2 { grid-column: 3 / 7; grid-row: 2; }
.c-3 { grid-column: 1 / 5; grid-row: 3; }
.c-4 { grid-column: 4 / 7; grid-row: 4; }
.c-5 { grid-column: 1 / 4; grid-row: 4 / 6; }

/* Setup */

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-grid li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}

.step-grid h3 {
  margin-top: 18px;
  font-size: 1.125rem;
  font-weight: 800;
}

.step-grid p {
  margin-top: 6px;
  color: var(--muted);
}

/* Pricing */

.pricing {
  background: var(--bg-soft);
}

.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.pricing-facts {
  display: grid;
  gap: 28px;
  padding: 44px;
}

.pricing-facts dt {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 800;
}

.pricing-facts dd {
  margin-top: 6px;
  color: var(--muted);
}

.pricing-cta {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 44px;
  background: var(--violet);
  color: #fde3d7;
}

.pricing-cta h3 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
}

.pricing-cta .button {
  justify-self: start;
  margin-top: 8px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.plan {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.plan.is-featured {
  border-color: var(--violet);
  box-shadow: var(--shadow-lg);
}

.plan h3 {
  font-size: 1.375rem;
}

.plan-price {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.plan ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.plan-note {
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
}

.plan-grid + .pricing-panel {
  margin-top: 28px;
}

.plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.plan > .button {
  white-space: nowrap;
  justify-self: start;
  margin-top: 4px;
}

.plan .plan-price {
  font-size: 1.5rem;
}

.plan ul.plan-features {
  font-size: 0.9375rem;
  line-height: 1.45;
}

.plan .feature-planned {
  color: var(--muted);
}

.plan-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--soft, #f3efe9);
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.plan ul.plan-notes {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
}

/* Support */

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.support h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.support-grid > div > p {
  margin-top: 18px;
  font-size: 1.0625rem;
  color: var(--muted);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.support-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.support-list .icon {
  width: 28px;
  height: 28px;
  color: var(--violet);
}

.support-list h3 {
  font-size: 1.0625rem;
  font-weight: 800;
}

.support-list p {
  margin-top: 4px;
  color: var(--muted);
}

.support-list a {
  font-weight: 600;
}

/* FAQ */

.faq {
  background: var(--bg-soft);
}

.faq-inner {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 16px 60px 16px 22px;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
}

/* Closing */

.closing {
  padding: 96px 0;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(242, 181, 47, 0.3), transparent 70%),
    var(--violet);
  color: #fde3d7;
}

.closing-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.closing h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.closing p {
  margin-top: 16px;
  max-width: 600px;
  font-size: 1.1875rem;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* Footer */

.site-footer {
  padding-top: 64px;
  background: var(--footer);
  color: #c9cad6;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 320px;
}

.footer-contact {
  display: grid;
  gap: 4px;
}

.footer-contact a,
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #fff;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h2 {
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  line-height: 1.35;
  color: #c9cad6;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a6a8b8;
  font-size: 0.8125rem;
}

/* ——— Legal and contact pages ——— */

.legal-page {
  max-width: 780px;
  margin-inline: auto;
  padding: 56px 24px 96px;
}

.legal-page > a:first-child {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.legal-page > a:first-child:hover {
  color: var(--violet);
}

.legal-page .eyebrow {
  display: block;
  margin-top: 28px;
}

.legal-page h1 {
  margin-top: 8px;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.legal-page h2 {
  margin-top: 36px;
  font-size: 1.375rem;
  font-weight: 800;
}

.legal-page p {
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-page .legal-draft {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 0.875rem;
}

.legal-page p a {
  color: var(--violet);
  font-weight: 600;
  text-underline-offset: 3px;
}

.legal-page .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* ——— Scripture ——— */

.verse {
  max-width: 520px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.verse blockquote {
  margin: 0;
}

.verse p {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

.verse figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verse-center {
  margin: 56px auto 0;
  padding-left: 0;
  border-left: 0;
  text-align: center;
}

.verse-center::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 0 auto 18px;
  border-radius: 2px;
  background: var(--gold);
}

.verse-center p {
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ——— Interaction and motion ———
   html.motion is set in the page head unless the visitor prefers reduced
   motion. Scroll reveals hide content only once js/main.js has marked it
   with data-reveal, so the page stays readable without JavaScript. */

@property --w {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--violet);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-primary:hover {
  box-shadow: 0 12px 28px rgba(183, 68, 28, 0.32);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current]::after {
  transform: scaleX(1);
}

.nav-links a[aria-current] {
  color: var(--violet);
}

.tool-art > * {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tool:hover .tool-art > *,
.tool:focus-within .tool-art > * {
  transform: translateY(-4px) scale(1.03);
}

.tool:focus-within {
  box-shadow: var(--shadow-lg);
}

.tool > a .icon,
.button .icon {
  transition: transform 0.18s ease;
}

.tool > a:hover .icon {
  transform: translateX(3px);
}

.step-grid li,
.support-list li {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.step-grid li:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.step-num {
  transition: transform 0.25s ease;
}

.step-grid li:hover .step-num {
  transform: rotate(-6deg) scale(1.06);
}

.faq-item {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-item[open] {
  box-shadow: var(--shadow);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* The hero starts partly visible, not transparent: the browser counts the
   first paint (and the dashboard as the largest one) on the first frame. */
@keyframes hero-rise {
  from {
    opacity: 0.35;
    transform: translateY(14px);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes grow {
  from {
    --w: 0%;
  }
}

@keyframes wave {
  50% {
    transform: scaleY(0.55);
  }
}

/* Hero entrance */

.motion .hero-copy > *,
.motion .hero h1 span {
  animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.motion .hero h1 span {
  display: inline-block;
  animation-delay: 0.12s;
}

.motion .hero .lede { animation-delay: 0.22s; }
.motion .hero-actions { animation-delay: 0.32s; }

.motion .hero-stage {
  animation: hero-rise 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}





.motion .ui-alert {
  animation: pop-in 0.5s 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Scroll reveals */

.motion [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0s),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0s);
}

.motion [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Revealed cards keep their own hover transitions. */
.motion .tool[data-reveal].is-visible,
.motion .step-grid li[data-reveal].is-visible {
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0s),
    transform 0.25s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.motion .tool[data-reveal].is-visible:hover {
  transform: translateY(-3px);
}

.motion .step-grid li[data-reveal].is-visible:hover {
  transform: translateY(-2px);
}

.motion .row-visual .ui-float {
  opacity: 0;
  transform: translate(16px, 16px);
  transition: opacity 0.6s ease 0.35s, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s;
}

.motion .row-visual.is-visible .ui-float,
.motion .row-visual:not([data-reveal]) .ui-float {
  opacity: 1;
  transform: none;
}

.motion .is-visible .ui-bars i {
  animation: grow 1.1s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.motion .is-visible .ui-bars span:nth-child(2) i { animation-delay: 0.45s; }
.motion .is-visible .ui-bars span:nth-child(3) i { animation-delay: 0.6s; }

.motion .is-visible .ui-wave i,
.motion .tool:hover .ui-wave i {
  transform-origin: center;
  animation: wave 1.4s ease-in-out infinite;
}

.motion .ui-wave i:nth-child(2n) { animation-delay: -0.3s; }
.motion .ui-wave i:nth-child(3n) { animation-delay: -0.7s; }
.motion .ui-wave i:nth-child(5n) { animation-delay: -1s; }

.motion .role-panel.is-active {
  animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.motion .faq-item[open] .faq-answer {
  animation: fade-in 0.3s ease both;
}

@media (max-width: 960px) {


  .nav-links a::after {
    display: none;
  }
}

/* ——— Real product screenshots ———
   Admin console screens are captured from the product with sample data. */

.shot {
  display: block;
  width: 100%;
  height: auto;
}

.shot-window {
  margin: 0;
  overflow: hidden;
}

.shot-window .shot {
  border-top: 1px solid var(--line);
}

/* Short admin clips play over their still: same frame, so nothing shifts.
   js/main.js turns them on (only when motion is welcome) and loads each one
   when it scrolls into view. */
.clip {
  position: relative;
}

.clip-video {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  border-top: 0;
}

.clips-on .clip-video {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .clip-video {
    display: none !important;
  }
}

.shot-float {
  height: auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.tool-art-shot {
  align-items: end;
  padding: 24px 24px 0;
  overflow: hidden;
}

.tool-art-shot > .shot {
  width: 100%;
  height: 196px;
  object-fit: cover;
  object-position: top left;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 10px 30px rgba(15, 13, 26, 0.12);
}

.role-visual-shot .shot {
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

/* ——— Horizontal planes (phones; see js/scroll-plane.js) ———
   A card row holds the middle of the screen while the page fades out, and
   scrolling slides it sideways. Only active when html.planes-on is set. */

.plane {
  position: relative;
}

.plane-sticky {
  position: sticky;
  margin: 0 -16px;
  padding: 8px 16px;
  overflow: hidden;
  overflow: clip;
  transform: scale(0.95);
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.plane.is-focused .plane-sticky {
  transform: none;
}

.plane-track {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 14px;
  margin: 0;
  will-change: transform;
}

.plane-track > * {
  flex: 0 0 82vw;
  min-width: 0;
  margin: 0;
}

.step-grid.plane-track > * {
  flex-basis: 72vw;
}

.plane-steps {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 12px;
}

.plane-steps i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: width 260ms ease, background-color 260ms ease;
}

.plane-steps i.active {
  width: 18px;
  background: var(--ink);
}

/* While a row holds the stage, everything else fades away. */
.planes-on main > *,
.planes-on .section > .container > *,
.planes-on .site-footer {
  transition: opacity 320ms ease, visibility 0s linear 0s;
}

.planes-on main:has(.plane.is-focused) > :not(:has(.plane.is-focused)),
.planes-on .container:has(> .plane.is-focused) > :not(.plane),
.planes-on body:has(.plane.is-focused) .site-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 320ms ease, visibility 0s linear 320ms;
}

/* Roles: on phones every role is a card in the row, so the tabs step aside. */
.planes-on .role-tabs {
  display: none !important;
}

.planes-on .role-panels .role-panel[hidden] {
  display: grid !important;
}

.planes-on .role-panels .role-panel {
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 22px 18px;
}

/* Feature rows on phones: one row at a time, cross-fading as the page
   scrolls (js/scroll-plane.js, fade stage). */

.row-stack {
  display: contents;
}

.fade-stage {
  position: sticky;
  transform-origin: top center;
}

.fade-track {
  display: grid !important;
}

.fade-track > .row {
  grid-area: 1 / 1;
  align-self: start;
  gap: 16px;
  padding: 0;
  border-top: 0;
  background: var(--bg);
  transition: opacity 120ms linear;
}

.fade-track > .row:not(.is-shown) {
  pointer-events: none;
}

.fade-track .row h2 {
  margin-top: 8px;
  font-size: 1.625rem;
}

.fade-track .row-copy > p:not(.eyebrow) {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.fade-track .bullets {
  gap: 8px;
  margin-top: 12px;
  font-size: 0.875rem;
}

.fade-track .row .text-link {
  display: none;
}

.fade-track .verse {
  margin-top: 14px;
}

.fade-track .verse p {
  font-size: 0.9375rem;
}

.fade-track .shot-window .shot {
  max-height: 230px;
  object-fit: cover;
  object-position: top left;
}

/* ——— Motion preferences ——— */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .button:hover,
  .button:active,
  .tool:hover,
  .step-grid li:hover,
  .step-grid li:hover .step-num,
  .tool:hover .tool-art > *,
  .tool:focus-within .tool-art > * {
    transform: none;
  }
}

/* ——— Responsive ——— */

@media (max-width: 1100px) {
  .ui-dashboard {
    grid-template-columns: 1fr;
  }

  .ui-sidebar {
    display: none;
  }

  .ui-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-link-strong:not(.nav-login) {
    display: none;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .nav-login {
    padding-inline: 10px;
  }

  .site-nav {
    gap: 0;
  }

  .wordmark,
  .nav-actions .button {
    white-space: nowrap;
  }

  .row,
  .role-panel,
  .engage-grid,
  .support-grid,
  .pricing-panel {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .row-reverse .row-copy {
    order: 0;
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-tabs {
    justify-content: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Small phones: the wordmark, Try for Free and Login share one row. */
@media (max-width: 480px) {
  .site-nav {
    margin-left: 8px;
  }

  .wordmark {
    gap: 8px;
    font-size: 1.0625rem;
  }

  .wordmark img {
    width: 30px;
    height: 30px;
  }

  .nav-actions .button {
    margin-left: 0;
    padding: 9px 8px;
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
  }

  .nav-login {
    min-height: 36px;
    padding-inline: 7px;
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
  }
}

/* Narrow phones: the logo mark alone (the link keeps its aria-label). */
@media (max-width: 380px) {
  .site-header .wordmark span {
    display: none;
  }

  .site-header .site-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .site-header .wordmark {
    gap: 0;
  }

  .site-header .wordmark span {
    display: none;
  }

  .site-header .wordmark img {
    width: 44px;
    height: 44px;
  }

  .container {
    width: min(1200px, 100% - 32px);
  }

  .hero {
    padding-top: 48px;
  }

  .lede {
    font-size: 1.0625rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .ui-main {
    padding: 14px;
  }

  .section {
    padding: 72px 0;
  }

  .row {
    padding: 56px 0;
  }

  .row-visual {
    padding: 0;
  }

  .ui-float {
    position: relative;
    inset: auto;
    width: auto;
    margin: -24px 0 0 28px;
  }

  .tool-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .role-panel,
  .pricing-facts,
  .pricing-cta {
    padding: 26px 20px;
  }

  /* Keep the desktop's staggered arrangement, with smaller cards. */
  .collage {
    gap: 10px;
    grid-auto-rows: minmax(52px, auto);
  }

  .collage > * {
    gap: 5px;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.75rem;
  }

  .collage b {
    font-size: 0.8125rem;
  }

  .collage .art-push-app,
  .collage .ui-card-head {
    font-size: 0.6875rem;
  }

  .collage .ui-push-actions i {
    padding: 4px 7px;
    font-size: 0.6875rem;
  }

  .ui-row {
    grid-template-columns: 1.4fr auto;
  }

  .ui-row span:nth-child(2) {
    display: none;
  }

  .ui-field-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .closing-actions,
  .closing-actions .button {
    width: 100%;
  }
}

/* Small phones: the wordmark and Get started share the header. */
@media (max-width: 400px) {
  .header-inner .wordmark span {
    font-size: 1rem;
  }
}

/* ——— Booking calendar dialog ——— */

.booking-dialog {
  width: min(980px, 100% - 32px);
  height: min(760px, 100% - 48px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.booking-dialog[open] {
  display: flex;
  flex-direction: column;
}

.booking-dialog::backdrop {
  background: rgba(15, 13, 26, 0.55);
}

.booking-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 24px;
  border-bottom: 1px solid var(--line);
}

.booking-head h2 {
  flex: 1;
  margin: 0;
  font-size: 1.125rem;
}

.booking-open {
  color: var(--violet);
  font-size: 0.875rem;
  font-weight: 600;
}

.booking-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.booking-dialog iframe {
  flex: 1;
  width: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .booking-dialog {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .booking-head {
    padding-left: 16px;
  }
}

.early-access-dialog {
  width: min(600px, calc(100% - 32px));
  max-width: none;
  max-height: min(90vh, 820px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(30, 27, 42, 0.08);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.early-access-dialog[open] {
  animation: early-access-enter 180ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.early-access-dialog::backdrop {
  background: rgba(15, 13, 26, 0.62);
  backdrop-filter: blur(3px);
}

.early-access-dialog [hidden] {
  display: none !important;
}

@keyframes early-access-enter {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.early-access-modal-head {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 30px 20px;
  border-bottom: 1px solid var(--line);
}

.early-access-modal-head > div { flex: 1; }
.early-access-modal-head .eyebrow { margin: 0 0 10px; color: var(--violet); }
.early-access-modal-head h2 { margin: 0; font-size: clamp(1.55rem, 4vw, 2rem); line-height: 1.12; }
.early-access-modal-head > div > p:last-child { margin: 10px 0 0; color: var(--ink-soft); font-size: 0.9375rem; }
.early-access-modal-head .booking-close { flex: 0 0 40px; }

.early-access-form { padding: 24px 30px 30px; }
.early-access-fields,
.early-access-optional-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px 16px; }
.early-access-field { display: grid; grid-template-rows: minmax(1.2em, auto) 46px; align-content: start; gap: 7px; min-width: 0; color: var(--ink); font-size: 0.8125rem; font-weight: 700; }
.early-access-required { color: #b23c1a; font-size: 1rem; font-weight: 800; }
.early-access-field input,
.early-access-field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line-strong, #d9d7e2);
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font: 500 0.9375rem var(--font-body);
}
.early-access-field input:focus,
.early-access-field select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(75, 32, 181, 0.12); }
.early-access-field input::placeholder { color: var(--ink-soft); opacity: 0.75; }

.early-access-optional { margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.early-access-optional summary { display: flex; align-items: center; gap: 8px; min-height: 50px; color: var(--ink); font-size: 0.875rem; font-weight: 700; cursor: pointer; list-style: none; }
.early-access-optional summary::-webkit-details-marker { display: none; }
.early-access-optional summary > span { margin-left: auto; color: var(--ink-soft); font-size: 0.75rem; font-weight: 500; }
.early-access-optional summary::after { content: ""; width: 8px; height: 8px; margin: -4px 3px 0 2px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: rotate(45deg); transition: transform 160ms ease; }
.early-access-optional[open] summary::after { margin-top: 4px; transform: rotate(225deg); }
.early-access-optional-fields { padding: 2px 0 18px; }
.early-access-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.early-access-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 0; color: var(--ink-soft); font-size: 0.8125rem; line-height: 1.55; }
.early-access-consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--violet); }
.early-access-consent-optional { grid-column: 1 / -1; }
.early-access-privacy-note { margin: 17px 0 0; color: var(--ink-soft); font-size: 0.75rem; line-height: 1.5; }
.early-access-privacy-note a { color: var(--violet); font-weight: 700; }
.early-access-form-status { min-height: 1.25em; margin: 12px 0 8px; color: var(--ink-soft); font-size: 0.8125rem; }
.early-access-form-status.is-error { color: #a12825; }
.early-access-submit { width: 100%; justify-content: center; }
.early-access-success { padding: 38px 34px 34px; text-align: center; }
.early-access-success-mark { display: grid; width: 48px; height: 48px; margin: 0 auto 16px; place-items: center; border-radius: 50%; color: #176a4c; background: #e6f4ed; font-size: 1.5rem; font-weight: 800; }
.early-access-success h3 { margin: 0; font-size: 1.5rem; }
.early-access-success p { max-width: 390px; margin: 10px auto 22px; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 600px) {
  .early-access-dialog { width: 100%; max-height: 100vh; border: 0; border-radius: 0; }
  .early-access-modal-head { gap: 12px; padding: 22px 18px 17px; }
  .early-access-form { padding: 18px; }
  .early-access-fields,
  .early-access-optional-fields { grid-template-columns: 1fr; gap: 14px; }
  .early-access-consent-optional { grid-column: auto; }
}

/* Asymmetrical church tools bento */
.tools .tool-grid {
  grid-template-columns: repeat(20, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(230px, auto));
  gap: 18px;
  padding: 18px;
  border-radius: 32px;
  background: #fff;
}

.tools .tool {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(22px, 3vw, 38px);
  border: 0;
  border-radius: 26px;
  box-shadow: none;
}

.tools .tool:hover,
.tools .tool:focus-within { box-shadow: 0 14px 34px rgb(37 29 52 / 10%); }
.tools .tool-members { grid-column: 1 / span 8; grid-row: 1 / span 2; flex-direction: column; align-items: stretch; justify-content: flex-start; background: #f0ebfa; }
.tools .tool-events { grid-column: 9 / span 12; grid-row: 1; background: #fbe2ea; }
.tools .tool-announcements { grid-column: 9 / span 6; grid-row: 2; flex-direction: column; align-items: stretch; justify-content: space-between; background: #fff6d9; }
.tools .tool-reminders { grid-column: 15 / span 6; grid-row: 2; flex-direction: column; align-items: stretch; justify-content: space-between; background: #eff3e5; }
.tools .tool-attendance { grid-column: 1 / span 12; grid-row: 3; background: #fce8dd; }
.tools .tool-recordings { grid-column: 13 / span 8; grid-row: 3; background: #edf2f5; }

.tools .tool-copy { position: relative; z-index: 1; min-width: 0; max-width: 58%; }
.tools .tool-members .tool-copy { max-width: 100%; }
.tools .tool-announcements .tool-copy,
.tools .tool-reminders .tool-copy { max-width: 100%; }
.tools .tool h3 { margin: 0; font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.12; letter-spacing: -0.035em; }
.tools .tool p { margin: 12px 0 0; flex: none; color: #4e4a53; font-size: .98rem; line-height: 1.6; }
.tools .tool > a { min-height: 40px; margin: 12px 0 0; font-size: .72rem; letter-spacing: .09em; }
.tools .tool-art {
  display: grid;
  place-items: center;
  flex: 0 1 48%;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0;
  background: transparent;
}
.tools .tool-illustration { display: block; width: min(100%, 320px); height: auto; overflow: visible; }
.tools .tool-members .tool-art { flex: 1; width: 100%; margin-top: 22px; align-items: center; }
.tools .tool-members .tool-illustration { width: min(100%, 370px); }
.tools .tool-announcements .tool-art,
.tools .tool-reminders .tool-art { flex: 0 0 auto; width: 100%; margin-top: 14px; }
.tools .tool-announcements .tool-illustration,
.tools .tool-reminders .tool-illustration { width: min(100%, 270px); }
.tools .tool:hover .tool-art > *,
.tools .tool:focus-within .tool-art > * { transform: translateY(-3px) scale(1.015); }

@media (max-width: 1100px) {
  .tools .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(250px, auto); }
  .tools .tool-members { grid-column: 1; grid-row: span 2; }
  .tools .tool-events { grid-column: 2; grid-row: span 1; }
  .tools .tool-announcements { grid-column: 2; grid-row: span 1; }
  .tools .tool-reminders { grid-column: 1; grid-row: span 1; }
  .tools .tool-attendance { grid-column: 1 / -1; grid-row: span 1; }
  .tools .tool-recordings { grid-column: 1 / -1; grid-row: span 1; }
}

@media (max-width: 760px) {
  .tools .tool-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 14px; padding: 12px; border-radius: 25px; }
  .tools .tool,
  .tools .tool-members,
  .tools .tool-events,
  .tools .tool-announcements,
  .tools .tool-reminders,
  .tools .tool-attendance,
  .tools .tool-recordings { grid-column: 1; grid-row: auto; min-height: 230px; flex-direction: row; align-items: center; padding: 24px; }
  .tools .tool-copy,
  .tools .tool-members .tool-copy,
  .tools .tool-announcements .tool-copy,
  .tools .tool-reminders .tool-copy { max-width: 62%; }
  .tools .tool h3 { font-size: 1.45rem; }
  .tools .tool p { font-size: .9rem; }
  .tools .tool-art,
  .tools .tool-members .tool-art,
  .tools .tool-announcements .tool-art,
  .tools .tool-reminders .tool-art { flex: 0 1 42%; width: auto; margin: 0 0 0 10px; }
  .tools .tool-illustration,
  .tools .tool-members .tool-illustration,
  .tools .tool-announcements .tool-illustration,
  .tools .tool-reminders .tool-illustration { width: 100%; }
}

@media (max-width: 480px) {
  .tools .tool-grid { padding: 9px; gap: 10px; }
  .tools .tool,
  .tools .tool-members,
  .tools .tool-events,
  .tools .tool-announcements,
  .tools .tool-reminders,
  .tools .tool-attendance,
  .tools .tool-recordings { min-height: 215px; padding: 20px; }
  .tools .tool-copy,
  .tools .tool-members .tool-copy,
  .tools .tool-announcements .tool-copy,
  .tools .tool-reminders .tool-copy { max-width: 64%; }
  .tools .tool h3 { font-size: 1.25rem; }
  .tools .tool p { margin-top: 8px; font-size: .84rem; line-height: 1.5; }
  .tools .tool > a { margin-top: 8px; font-size: .66rem; }
  .tools .tool-art,
  .tools .tool-members .tool-art,
  .tools .tool-announcements .tool-art,
  .tools .tool-reminders .tool-art { flex-basis: 38%; margin-left: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .tools .tool,
  .tools .tool-art > * { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .early-access-dialog[open] { animation: none; }
}

/* Six-step onboarding journey */
.setup {
  position: relative;
  overflow: hidden;
  background: #eae7f2;
  isolation: isolate;
}
.setup::before,
.setup::after {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 38px;
  content: "";
  pointer-events: none;
}
.setup::before { top: 8%; left: -115px; width: 210px; height: 380px; background: #fce9dc; }
.setup::after { right: -105px; bottom: 10%; width: 200px; height: 300px; background: #f5f1fc; }
.setup .container { position: relative; }
.setup .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  align-items: end;
  gap: 36px;
  max-width: none;
  margin: 0 0 44px;
  text-align: left;
}
.setup .section-head h2 { max-width: 620px; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.setup .section-head > p { max-width: 530px; margin: 0 0 4px; font-size: 1.05rem; line-height: 1.7; }
.setup .step-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(245px, auto));
  gap: 20px;
}
.setup .step-card {
  min-width: 0;
  padding: clamp(26px, 3vw, 42px);
  border: 0;
  border-radius: 34px;
  background: linear-gradient(130deg, #fff9f3 0%, #fffdfb 100%);
  box-shadow: 0 10px 34px rgb(44 38 61 / 5%);
  transition: transform .25s ease, box-shadow .25s ease;
}
.setup .step-card-1 { grid-column: 1 / span 6; grid-row: 1; background: linear-gradient(125deg, #fff2e6, #fffdfb 92%); }
.setup .step-card-2 { grid-column: 7 / span 6; grid-row: 1; background: linear-gradient(125deg, #fff9f3, #f8f4ff); }
.setup .step-card-3 { grid-column: 5 / span 8; grid-row: 2; background: linear-gradient(145deg, #f1ecfa, #fffaf5); }
.setup .step-card-4 { grid-column: 1 / span 4; grid-row: 2 / span 2; background: linear-gradient(125deg, #fff6df, #fffdf8); }
.setup .step-card-5 { grid-column: 5 / span 5; grid-row: 3; background: linear-gradient(125deg, #fce9dc, #fffaf6); }
.setup .step-card-6 { grid-column: 10 / span 3; grid-row: 3; background: linear-gradient(145deg, #f8e9ed, #fffaf8); }
.setup .step-card:hover,
.setup .step-card:focus-within { transform: translateY(-3px); box-shadow: 0 18px 42px rgb(44 38 61 / 10%); }
.setup .step-num {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: #ffe0ca;
  color: #f4511e;
  font-size: clamp(3.25rem, 6vw, 5rem);
  line-height: 1;
}
.setup .step-grid h3 { max-width: 440px; margin: 22px 0 0; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -.025em; }
.setup .step-grid p { max-width: 480px; margin: 12px 0 0; color: #55515b; font-size: 1rem; line-height: 1.7; }
.setup .step-card-4 .step-num { margin-bottom: auto; }
.setup .step-card-4 h3 { margin-top: auto; }
.setup .step-card-6 { padding-inline: clamp(22px, 2.4vw, 34px); }
.setup .step-card-6 .step-num { width: 68px; height: 68px; font-size: 3.8rem; }
.setup .step-card-6 h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
.motion .setup .step-card[data-reveal].is-visible { transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0s), transform .25s ease, box-shadow .25s ease; }
.motion .setup .step-card[data-reveal].is-visible:hover { transform: translateY(-3px); }
.setup .verse-center { position: relative; z-index: 2; }

@media (max-width: 960px) {
  .setup .section-head { grid-template-columns: minmax(0, 1fr) minmax(240px, .85fr); gap: 24px; }
  .setup .step-grid { grid-template-rows: repeat(4, minmax(230px, auto)); gap: 16px; }
  .setup .step-card-1 { grid-column: 1 / span 6; grid-row: 1; }
  .setup .step-card-2 { grid-column: 7 / span 6; grid-row: 1; }
  .setup .step-card-3 { grid-column: 7 / span 6; grid-row: 2; }
  .setup .step-card-4 { grid-column: 1 / span 6; grid-row: 2 / span 2; }
  .setup .step-card-5 { grid-column: 7 / span 6; grid-row: 3; }
  .setup .step-card-6 { grid-column: 1 / -1; grid-row: 4; }
}

@media (max-width: 640px) {
  .setup { padding-block: 72px; }
  .setup .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .setup .section-head h2 { max-width: 560px; font-size: clamp(2.15rem, 10vw, 3.25rem); }
  .setup .section-head > p { font-size: .98rem; }
  .setup .step-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 14px; padding-left: 27px; }
  .setup .step-card,
  .setup .step-card-1,
  .setup .step-card-2,
  .setup .step-card-3,
  .setup .step-card-4,
  .setup .step-card-5,
  .setup .step-card-6 { grid-column: 1; grid-row: auto; min-height: 210px; padding: 24px; border-radius: 28px; }
  .setup .step-card-4 .step-num,
  .setup .step-card-4 h3 { margin: 0; }
  .setup .step-num,
  .setup .step-card-6 .step-num { width: 62px; height: 62px; border-radius: 17px; font-size: 3.6rem; }
  .setup .step-grid h3,
  .setup .step-card-6 h3 { max-width: 500px; margin: 16px 0 0; font-size: 1.35rem; }
  .setup .step-grid p { margin-top: 8px; font-size: .94rem; line-height: 1.6; }
  .setup .verse-center { margin-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .setup .step-card { transition: none; }
}

/* Oversized Kingdom Comms brand footer */
.site-footer {
  padding: clamp(24px, 5vw, 72px) 0;
  background: #f4511e;
  color: #171820;
}
.site-footer .footer-panel {
  width: min(1480px, 92vw);
  overflow: hidden;
  padding: clamp(32px, 5.5vw, 82px) clamp(26px, 6vw, 92px) 22px;
  border-radius: 22px;
  background: #f7f5f2;
}
.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(160px, .55fr);
  gap: clamp(32px, 6vw, 96px);
  padding: 0;
}
.footer-contact-block { max-width: 540px; }
.footer-kicker { color: #a74725; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-contact-block h2 { margin-top: 12px; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.06em; }
.footer-intro { max-width: 390px; margin-top: 18px; color: #5a5657; font-size: 1rem; line-height: 1.7; }
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  margin-top: 24px;
  padding: 0 25px;
  border-radius: 999px;
  background: #182a2b;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.footer-cta:hover { transform: translateY(-2px); background: #304849; box-shadow: 0 8px 20px rgb(24 42 43 / 16%); }
.footer-cta:active { transform: translateY(0); }
.footer-cta .icon { transition: transform .2s ease; }
.footer-cta:hover .icon { transform: translateX(3px); }
.site-footer .footer-email { display: flex; width: fit-content; margin-top: 16px; color: #5a5657; font-size: .85rem; }
.site-footer .footer-email a { color: #a74725; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-column { gap: 2px; }
.site-footer .footer-column h2 { margin: 4px 0 14px; color: #22242a; font-size: .76rem; letter-spacing: .1em; }
.site-footer .footer-column a { min-height: 38px; padding: 5px 0; color: #55545a; font-size: .91rem; text-decoration: none; transition: color .18s ease, transform .18s ease; }
.site-footer .footer-column a:hover { transform: translateX(3px); color: #c24820; text-decoration: none; }
.footer-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: clamp(45px, 7vw, 104px) auto 0;
  color: #e64d24;
  font-family: var(--font-display);
  font-size: clamp(52px, 12.6vw, 190px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.085em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease;
}
.footer-wordmark:hover { color: #c83e1a; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: clamp(42px, 6vw, 76px);
  padding: 18px 0 0;
  border-top: 1px solid rgb(30 30 35 / 13%);
  color: #777276;
  font-size: .77rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-bottom nav a { color: inherit; text-decoration: none; transition: color .18s ease; }
.footer-bottom nav a:hover { color: #b64220; text-decoration: underline; text-underline-offset: 3px; }
.footer-wordmark:focus-visible,
.footer-cta:focus-visible,
.site-footer a:focus-visible { outline: 3px solid #b64220; outline-offset: 4px; }

@media (min-width: 761px) and (max-width: 960px) {
  .footer-wordmark { font-size: clamp(78px, 11.4vw, 112px); }
}

@media (max-width: 760px) {
  .site-footer { padding: 24px 0; }
  .site-footer .footer-panel { width: calc(100% - 28px); padding: 34px 26px 20px; border-radius: 18px; }
  .site-footer .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 22px; }
  .footer-contact-block { grid-column: 1 / -1; }
  .site-footer .footer-column { grid-column: 1 / -1; }
  .footer-wordmark { margin-top: 62px; font-size: clamp(48px, 12.6vw, 92px); }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 42px; }
}

@media (max-width: 420px) {
  .site-footer .footer-panel { width: calc(100% - 20px); padding: 30px 20px 18px; }
  .site-footer .footer-main { gap: 30px 16px; }
  .site-footer .footer-column a { font-size: .84rem; }
  .footer-wordmark { font-size: clamp(38px, 10.8vw, 52px); letter-spacing: -.1em; }
  .footer-bottom nav { gap: 8px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-cta,
  .footer-cta .icon,
  .site-footer .footer-column a,
  .footer-wordmark { transition: none; }
}
