@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  --brand: #2f5d8a;
  --brand-600: #274f77;
  --brand-700: #1f4468;
  --brand-300: #7fa7cf;
  --brand-soft: #e9f0f8;
  --accent: #6d5bd0;
  --accent-2: #0ea5a4;

  --bg: #ffffff;
  --bg-tint: #f6f8fc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #5b6b82;
  --text-faint: #94a3b8;
  --border: #e5e9f0;
  --border-strong: #d3d9e3;
  --live: #15803d;
  --live-soft: #e7f6ec;
  --soon: #8a5a00;
  --soon-soft: #fdf3dc;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.05);
  --shadow: 0 2px 6px rgb(15 23 42 / 0.05), 0 1px 2px rgb(15 23 42 / 0.04);
  --shadow-lg: 0 30px 60px -20px rgb(15 34 64 / 0.28), 0 12px 24px -12px rgb(15 34 64 / 0.18);
  --focus: 0 0 0 3px rgb(47 93 138 / 0.35);

  --container: 1180px;
  --gutter: 24px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-soft: #16263a;
    --bg: #0a0f1c;
    --bg-tint: #0f1626;
    --surface: #121a2c;
    --text: #e8ecf4;
    --text-muted: #9ba7bb;
    --text-faint: #6b768b;
    --border: #212b40;
    --border-strong: #2c3852;
    --live: #4ade80;
    --live-soft: #12301f;
    --soon: #f5c451;
    --soon-soft: #33270c;
    --shadow-sm: none;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 30px 60px -20px rgb(0 0 0 / 0.7);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: var(--brand-300); } }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 0.5em; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.97rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.92rem; }
.btn-lg { padding: 14px 26px; font-size: 1.03rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgb(47 93 138 / .6); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 10px 22px -8px rgb(47 93 138 / .7); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text-faint); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { background: #f1f5fb; }
.btn-outline-light { color: #fff; border-color: rgb(255 255 255 / .45); background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgb(255 255 255 / .08); }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-strong { font-weight: 650; font-size: 1.1rem; word-break: break-all; }

/* ---------- Badges ---------- */

.badge {
  display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 650; letter-spacing: 0.01em; vertical-align: middle; white-space: nowrap;
}
.badge-live { background: var(--live-soft); color: var(--live); }
.badge-soon { background: var(--soon-soft); color: var(--soon); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
/* The wordmark: "Enarchē Church" drawn as shapes, so it looks the same everywhere. Text follows the
   link colour; the line over the e is the brand colour. */
.wordmark { display: block; height: 26px; width: auto; }
.wm-accent { fill: var(--brand); }
@media (prefers-color-scheme: dark) { .wm-accent { fill: var(--brand-300); } }
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-weight: 550; font-size: 0.97rem; padding: 8px 12px; border-radius: 8px; }
.nav-link:hover, .nav-link.is-current { color: var(--text); }
.nav-link.is-current { background: var(--bg-tint); }
.site-nav .btn { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; border-radius: 8px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .btn { margin: 6px 0 0; }
  .nav-link { padding: 12px; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 50% at 15% 20%, rgb(109 91 208 / .16), transparent 70%),
    radial-gradient(45% 55% at 85% 10%, rgb(47 93 138 / .22), transparent 70%),
    radial-gradient(35% 40% at 60% 70%, rgb(14 165 164 / .12), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 14px 6px 12px; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
  color: var(--brand); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--brand-300); } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgb(14 165 164 / .18); }
.grad {
  background: linear-gradient(100deg, var(--brand) 0%, var(--accent) 55%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (prefers-color-scheme: dark) {
  .grad { background-image: linear-gradient(100deg, #8fb6de 0%, #a99cf0 55%, #5fd4d3 100%); }
}
.lede { font-size: 1.2rem; color: var(--text-muted); max-width: 40em; }
.center .lede { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.center-actions { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before, .ticks li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--live-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero-visual { position: relative; padding-bottom: 40px; }
.browser {
  margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  transform: perspective(2400px) rotateY(-4deg); transform-origin: left center;
}
.browser-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-tint); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.phone {
  position: absolute; right: -14px; bottom: 0; width: 30%; margin: 0;
  border-radius: 26px; overflow: hidden; border: 6px solid #0f172a; background: #0f172a;
  box-shadow: var(--shadow-lg);
}
.phone img { border-radius: 19px; aspect-ratio: 600 / 1000; object-fit: cover; object-position: top; }

@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .browser { transform: none; }
  .phone { right: 4px; width: 32%; }
}

/* ---------- Strip ---------- */

.strip { padding: 28px 0; border-block: 1px solid var(--border); background: var(--bg-tint); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.strip p { margin: 0; font-size: 0.9rem; color: var(--text-muted); font-weight: 550; }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; }
.strip li { font-weight: 650; color: var(--text); opacity: .8; letter-spacing: -0.01em; }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-pt0 { padding-top: 0; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p:last-child { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  color: var(--brand); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) { .kicker { color: var(--brand-300); } }
.kicker .badge { text-transform: none; letter-spacing: 0; }

.page-hero { padding: 80px 0 64px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 520px; z-index: -1;
  background: radial-gradient(40% 60% at 30% 30%, rgb(109 91 208 / .12), transparent 70%), radial-gradient(40% 60% at 75% 20%, rgb(47 93 138 / .16), transparent 70%);
}
.page-hero-tall { padding: 140px 0; }

/* ---------- Why cards ---------- */

.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-card {
  padding: 30px; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.why-card p { color: var(--text-muted); margin: 0; }
.why-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 8px 18px -8px rgb(47 93 138 / .7);
}
.why-icon svg { width: 24px; height: 24px; }
@media (max-width: 960px) { .why-grid, .why-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .why-grid, .why-grid-4 { grid-template-columns: 1fr; } }

/* ---------- Feature rows ---------- */

.feature-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 112px; }
.feature-row-flip .feature-copy { order: 2; }
.feature-copy > p { color: var(--text-muted); font-size: 1.08rem; }
.feature-copy strong { color: var(--text); }
.shot {
  margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); background: var(--surface);
}
.shot-phone {
  justify-self: center; width: 100%; max-width: 300px; margin: 0;
  border-radius: 32px; overflow: hidden; border: 7px solid #0f172a; background: #0f172a;
  box-shadow: var(--shadow-lg);
}
.shot-phone img { border-radius: 25px; aspect-ratio: 600 / 1000; object-fit: cover; object-position: top; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { margin-top: 4px; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row-flip .feature-copy { order: 0; }
  .feature-row + .feature-row { margin-top: 80px; }
}

/* ---------- Modules ---------- */

.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.module-card {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.module-card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); transform: translateY(-2px); box-shadow: var(--shadow); }
.module-card-base { grid-column: 1 / -1; background: linear-gradient(120deg, var(--brand-soft), var(--surface) 70%); }
.module-icon {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
}
@media (prefers-color-scheme: dark) { .module-icon { color: var(--brand-300); } }
.module-icon .icon { width: 23px; height: 23px; }
.module-body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.module-name { font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.module-summary { color: var(--text-muted); font-size: 0.95rem; }
.module-price { font-weight: 750; font-size: 1.2rem; white-space: nowrap; letter-spacing: -0.02em; }
.module-price small { font-weight: 500; font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0; }
@media (max-width: 760px) {
  .module-grid { grid-template-columns: 1fr; }
  .module-card { flex-wrap: wrap; }
  .module-price { margin-left: 64px; }
}

.chip-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.chip-nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.chip-nav a:hover { border-color: var(--brand); color: var(--brand); }
.module-section { scroll-margin-top: 80px; }
[id] { scroll-margin-top: 90px; }

.roadmap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.roadmap-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.roadmap-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.roadmap-head h3 { margin: 0 0 2px; }
.roadmap-head > div { flex: 1; }
.roadmap-price { font-weight: 750; font-size: 1.25rem; letter-spacing: -0.02em; }
.roadmap-price small { font-weight: 500; font-size: 0.8rem; color: var(--text-muted); }
.roadmap-card .ticks { margin: 0; color: var(--text-muted); }
@media (max-width: 760px) { .roadmap-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.plan h2 { font-size: 1.35rem; margin-bottom: 4px; }
.plan-sub { color: var(--text-muted); font-size: 0.95rem; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 4px; }
.plan-price .amount { font-size: 3rem; font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .per { color: var(--text-muted); font-weight: 500; }
.plan-note { min-height: 1.6em; color: var(--live); font-size: 0.9rem; font-weight: 600; margin-bottom: 18px; }
.plan .ticks { margin: 4px 0 28px; flex: 1; }
.plan-builder { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-lg); }
.plan-featured {
  color: #fff; border: 0;
  background: linear-gradient(150deg, #24496f 0%, #2f5d8a 45%, #5a4cb8 100%);
  box-shadow: var(--shadow-lg);
}
.plan-featured .plan-sub, .plan-featured .per { color: rgb(255 255 255 / .78); }
.plan-featured .plan-note { color: #a7f3d0; }
.plan-featured .ticks li::before { background-color: rgb(255 255 255 / .18); background-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
.plan-flag {
  position: absolute; top: 18px; right: 18px; padding: 4px 11px; border-radius: 999px;
  background: rgb(255 255 255 / .16); font-size: 0.78rem; font-weight: 700;
}
.price-note { margin-top: 28px; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.calc { border: 0; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.calc-row {
  position: relative;
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--border); cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.calc-row:hover { border-color: var(--border-strong); }
.calc-row input { position: absolute; inset: 0; opacity: 0; margin: 0; pointer-events: none; }
.calc-check {
  width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1.5px solid var(--border-strong);
  display: grid; place-items: center; transition: background-color .15s ease, border-color .15s ease;
}
.calc-row input:checked ~ .calc-check {
  background: var(--brand) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--brand);
}
.calc-row:has(input:checked) { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); background: var(--brand-soft); }
.calc-row input:focus-visible ~ .calc-check { box-shadow: var(--focus); }
.calc-name { flex: 1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; font-size: 0.95rem; }
.calc-name .badge { font-size: 0.66rem; }
.calc-price { font-weight: 650; font-variant-numeric: tabular-nums; color: var(--text-muted); }

.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.price-table th, .price-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.price-table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); background: var(--bg-tint); }
.price-table tbody th { font-weight: 650; white-space: nowrap; }
.price-table td { color: var(--text-muted); }
.price-table .num { text-align: right; white-space: nowrap; font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; }
.price-table tr:last-child > * { border-bottom: 0; }
.row-total > * { background: var(--brand-soft); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: box-shadow .15s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 650; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--text-muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--text-muted); }

/* ---------- CTA ---------- */

.cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 56px; border-radius: 28px; color: #fff;
  background: radial-gradient(60% 120% at 100% 0%, rgb(14 165 164 / .35), transparent 60%), linear-gradient(135deg, #1f4468 0%, #2f5d8a 50%, #5a4cb8 100%);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { margin-bottom: 10px; max-width: 18em; }
.cta-band p { margin: 0; color: rgb(255 255 255 / .82); max-width: 34em; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 620px) { .cta-band { padding: 36px 26px; } }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-form { padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg); display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend { font-weight: 600; font-size: 0.93rem; padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field em { font-style: normal; color: var(--text-muted); font-weight: 500; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; }
.chip span {
  display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border-strong);
  font-weight: 600; font-size: 0.92rem; cursor: pointer; transition: all .15s ease;
}
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { box-shadow: var(--focus); }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 600; min-height: 1.2em; }
.form-status.is-ok { color: var(--live); }
.form-status.is-error { color: #dc2626; }
.contact-aside { display: grid; gap: 20px; }
.aside-card { padding: 28px; border-radius: var(--radius-lg); background: var(--bg-tint); border: 1px solid var(--border); }
.aside-card h2 { font-size: 1.15rem; }
.aside-card p:last-child { margin: 0; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; color: var(--text-muted); }
.steps li strong { color: var(--text); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; color: #fff; background: var(--brand);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .contact-form { padding: 24px; } }

/* ---------- Prose ---------- */

.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-muted); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); background: var(--bg-tint); padding: 56px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 340px; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; margin-top: 14px; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links div { display: grid; gap: 10px; align-content: start; }
.footer-links h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin: 0 0 4px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--text); }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; }
.social-icon { flex: none; }
.footer-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-legal p { color: var(--text-faint); font-size: 0.85rem; margin: 0; }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .why-card:hover, .module-card:hover { transform: none; }
}
