/* ==========================================================================
   Cornerstone Content Co. — site styles
   Two-tone: logo blue (primary) + slate/powder blue (secondary),
   cream (soft contrast), golden yellow (the one bright accent).
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("/assets/fonts/cinzel-latin.woff2") format("woff2");
  font-weight: 500 700; font-style: normal; font-display: swap;
}

:root {
  /* Primary */
  --blue-950: #081C2B;
  --blue-900: #0D2A3F;
  --blue: #143D59;          /* logo blue */
  /* Secondary */
  --slate: #4F6D8F;
  --slate-300: #9DB4CB;
  --powder: #CFE2F0;
  --powder-50: #EEF5FB;
  /* Soft contrast */
  --cream: #FBF6EA;
  --cream-200: #F4EAD2;
  /* Bright accent (use sparingly) */
  --gold: #F4B41A;          /* logo gold */
  --gold-600: #C98E00;
  --gold-50: #FFF5D9;

  --ink: #0F2233;
  --muted: #52677B;
  --line: rgba(20, 61, 89, .10);
  --line-strong: rgba(20, 61, 89, .18);
  --white: #FFFFFF;

  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20,61,89,.06), 0 4px 12px rgba(20,61,89,.05);
  --shadow: 0 1px 2px rgba(20,61,89,.06), 0 12px 32px rgba(20,61,89,.09);
  --shadow-lg: 0 2px 4px rgba(20,61,89,.06), 0 30px 60px rgba(13,42,63,.18);
  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1200px;
  --section: clamp(80px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--blue-900); }

h1, h2, h3, h4 { color: var(--blue); margin: 0 0 .5em; line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.mark { position: relative; white-space: nowrap; color: var(--blue); }
.mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1;
  background: var(--gold); opacity: .85; border-radius: 4px; transform: skewX(-8deg);
}
.on-dark .mark { color: #fff; }
.on-dark .mark::after { opacity: .9; height: .14em; bottom: -.04em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.section { padding: var(--section) 0; position: relative; }
.bg-powder { background: linear-gradient(180deg, var(--powder-50), #fff); }
.bg-cream { background: var(--cream); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { max-width: 20ch; }
.section-head.center h2 { margin-left: auto; margin-right: auto; }

/* Icons */
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico-lg { width: 28px; height: 28px; }
.ico-tile {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(145deg, var(--powder-50), var(--powder)); color: var(--blue);
  border: 1px solid var(--line); margin-bottom: 18px;
}
.ico-tile.gold { background: linear-gradient(145deg, var(--gold-50), #FFE7A3); color: var(--blue); }

/* Buttons */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .98rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-gold { --bg: var(--gold); --fg: var(--blue-900); box-shadow: 0 8px 24px rgba(244,180,26,.35), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-gold:hover { box-shadow: 0 14px 34px rgba(244,180,26,.45), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-blue:hover { box-shadow: var(--shadow); }
.btn-ghost { --bg: transparent; --fg: var(--blue); border-color: var(--line-strong); }
.btn-ghost:hover { --bg: #fff; box-shadow: var(--shadow-sm); }
.on-dark .btn-ghost { --fg: #fff; border-color: rgba(255,255,255,.3); }
.on-dark .btn-ghost:hover { --bg: rgba(255,255,255,.08); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); text-decoration: none; }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .2s var(--ease); width: 1em; height: 1em; }

/* Pill */
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .86rem; font-weight: 600; color: var(--blue); text-decoration: none; margin-bottom: 26px;
}
.pill-dot { display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .74rem; font-weight: 700; }
.pill-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(244,180,26,.3); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 14px 0 auto; z-index: 100; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto; max-width: var(--container); margin: 0 auto; height: 66px;
  display: flex; align-items: center; gap: 20px; padding: 0 10px 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.scrolled .nav, .nav-open .nav {
  background: rgba(255,255,255,.82); border-color: var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand img { width: 30px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 1.12rem; color: var(--blue); letter-spacing: .03em; }
.brand-sub { font-family: Cinzel, Georgia, serif; font-weight: 600; font-size: .6rem; letter-spacing: .36em; color: var(--gold-600); margin-top: 4px; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: .93rem; font-weight: 600; color: var(--muted); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--blue); background: var(--powder-50); }
.nav-links a[aria-current="page"] { color: var(--blue); background: var(--powder-50); }
.nav-cta { flex: none; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); cursor: pointer; place-items: center; }
.menu-btn .ico { width: 22px; height: 22px; }
.menu-btn .ico-i-close { display: none; }
.nav-open .menu-btn .ico-i-open { display: none; }
.nav-open .menu-btn .ico-i-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 168px 0 110px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--powder-50) 0%, var(--cream) 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; will-change: transform; }
.blob-1 { width: 560px; height: 560px; background: var(--powder); top: -160px; left: -140px; }
.blob-2 { width: 420px; height: 420px; background: #FFE29A; top: -60px; right: -80px; opacity: .6; }
.blob-3 { width: 520px; height: 520px; background: #BFD5E8; bottom: -260px; right: 18%; opacity: .55; }
.grain {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .92rem; font-weight: 500; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .ico { color: var(--gold-600); }

/* Page hero (inner pages) */
.page-hero { padding: 160px 0 80px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 18ch; }
.page-hero.center h1 { margin-left: auto; margin-right: auto; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0 0 20px; list-style: none; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--slate); text-decoration: none; font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--slate-300); }
.center .crumbs { justify-content: center; }

/* Phone mockup */
.stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; aspect-ratio: 9 / 18.6; border-radius: 44px; padding: 11px;
  background: linear-gradient(160deg, #1E4C6C, var(--blue-950)); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 999px; background: var(--blue-950); z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--blue-900); }
.screen-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(170px 210px at 50% 40%, rgba(255,214,140,.55), transparent 70%),
    linear-gradient(180deg, #5E7FA3 0%, #2A4F6E 55%, var(--blue-900) 100%);
}
.speaker { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 160px; height: 250px; }
.speaker::before { content: ""; position: absolute; left: 50%; top: 40px; transform: translateX(-50%); width: 72px; height: 72px; border-radius: 50%; background: #0A2133; }
.speaker::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 160px; height: 130px; border-radius: 80px 80px 0 0; background: #0A2133; }
.clip-title {
  position: absolute; top: 56px; left: 18px; right: 18px; z-index: 2; text-align: center;
  background: var(--gold); color: var(--blue-900); font-weight: 800; font-size: .86rem; line-height: 1.25;
  padding: 9px 12px; border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.clip-words { position: absolute; left: 16px; right: 16px; top: 54%; z-index: 2; text-align: center; color: #fff; font-weight: 800; font-size: 1.2rem; line-height: 1.25; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.55); }
.clip-words .w { display: inline-block; margin: 0 .07em; transition: color .2s, transform .2s; }
.clip-words .w.hot { color: var(--gold); transform: scale(1.08); }
.clip-ui { position: absolute; right: 12px; bottom: 90px; z-index: 2; display: grid; gap: 14px; color: #fff; }
.clip-ui span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.clip-ui .ico { width: 18px; height: 18px; }
.clip-foot { position: absolute; left: 16px; right: 16px; bottom: 22px; z-index: 2; color: #fff; font-size: .8rem; font-weight: 700; }
.progress { height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); margin-top: 9px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 38%; background: #fff; border-radius: 3px; }

.float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow);
  font-size: .85rem; color: var(--muted); white-space: nowrap; line-height: 1.25;
}
.float strong { display: block; color: var(--blue); font-size: 1rem; }
.float .ico-tile { width: 38px; height: 38px; border-radius: 11px; margin: 0; }
.float .ico-tile .ico { width: 20px; height: 20px; }
.f-1 { top: 12%; left: -6%; }
.f-2 { top: 46%; right: -10%; }
.f-3 { bottom: 8%; left: -2%; }

/* ---------- Marquee ---------- */
.marquee-wrap { padding: 34px 0; border-block: 1px solid var(--line); background: #fff; }
.marquee-label { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 32s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; margin-right: 56px; flex-shrink: 0; color: var(--blue); font-weight: 700; font-size: 1.05rem; opacity: .8; }
.marquee-item .ico { width: 26px; height: 26px; color: var(--slate); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / bento ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(244,180,26,.14), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.fig { font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--slate-300); margin-bottom: 14px; font-variant-numeric: tabular-nums; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(200px, auto); gap: 22px; }
.bento > * { grid-column: span 2; }
.bento .b-wide { grid-column: span 4; }
.bento .b-tall { grid-row: span 2; }
.bento .b-half { grid-column: span 3; }
.tile-dark { background: linear-gradient(155deg, var(--blue) 0%, var(--blue-900) 100%); border-color: transparent; color: #fff; }
.tile-dark h3 { color: #fff; }
.tile-dark p { color: var(--powder); }
.tile-dark .ico-tile { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: var(--gold); }
.tile-powder { background: linear-gradient(160deg, var(--powder-50), var(--powder)); }
.tile-cream { background: linear-gradient(160deg, #fff, var(--cream)); }

/* mini platform posts inside a tile */
.post-row { display: flex; gap: 10px; margin-top: 22px; max-width: 420px; }
.post-chip { flex: 1; aspect-ratio: 9/14; border-radius: 12px; position: relative; overflow: hidden; background: linear-gradient(180deg, #5E7FA3, var(--blue-900)); }
.post-chip::after { content: ""; position: absolute; left: 10%; right: 10%; top: 12%; height: 14%; border-radius: 4px; background: var(--gold); opacity: .9; }
.post-chip:nth-child(2) { background: linear-gradient(180deg, #8AA9C6, var(--blue)); }
.post-chip:nth-child(3) { background: linear-gradient(180deg, #4F6D8F, var(--blue-950)); }
.post-chip span { position: absolute; left: 8px; bottom: 8px; color: #fff; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.18); }
.post-chip .ico { width: 14px; height: 14px; }

/* week calendar inside a tile */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 20px; }
.week div { text-align: center; font-size: .72rem; font-weight: 700; color: var(--slate); }
.week i { display: block; height: 34px; border-radius: 8px; margin-top: 6px; background: rgba(20,61,89,.06); }
.week i.on { background: var(--blue); }
.week i.on.g { background: var(--gold); }

/* ---------- Before / after ---------- */
.compare { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow-lg); user-select: none; background: var(--blue-900); }
.compare-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cmp-before { background: linear-gradient(180deg, #2A3A4A, #12202C); }
.cmp-before .tv { width: 72%; aspect-ratio: 16/9; border-radius: 12px; background: linear-gradient(180deg, #3D4E5F, #1C2A37); position: relative; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.cmp-before .tv::before { content: "1:12:48"; position: absolute; right: 12px; bottom: 10px; color: rgba(255,255,255,.55); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cmp-before .tv::after { content: ""; position: absolute; left: 12px; right: 90px; bottom: 16px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #E25555 4%, rgba(255,255,255,.2) 4%); }
.cmp-before .tv-play { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.5); }
.cmp-before .tv-play .ico { width: 56px; height: 56px; }
.cmp-after { background: radial-gradient(500px 300px at 50% 0%, rgba(244,180,26,.25), transparent 70%), linear-gradient(160deg, var(--slate), var(--blue-900)); clip-path: inset(0 0 0 50%); }
.mini-phones { display: flex; gap: 16px; }
.mini-phone { width: clamp(70px, 11vw, 120px); aspect-ratio: 9/16; border-radius: 16px; background: linear-gradient(180deg, #6C8DB0, var(--blue-900)); position: relative; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.mini-phone::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10%; height: 13%; border-radius: 5px; background: var(--gold); }
.mini-phone::after { content: ""; position: absolute; left: 14%; right: 14%; top: 56%; height: 6%; border-radius: 3px; background: rgba(255,255,255,.85); }
.mini-phone:nth-child(2) { transform: translateY(-14px); }
.cmp-label { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(0,0,0,.35); color: #fff; backdrop-filter: blur(6px); }
.cmp-before .cmp-label { left: 16px; }
.cmp-after .cmp-label { right: 16px; background: var(--gold); color: var(--blue-900); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Steps (sticky story) ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story-visual { position: sticky; top: 120px; }
.story-steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s, background .3s; }
.step.active { border-color: rgba(244,180,26,.6); box-shadow: 0 12px 30px rgba(244,180,26,.14); }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--powder-50); color: var(--blue); font-weight: 800; font-size: 1.1rem; border: 1px solid var(--line); }
.step.active .step-n { background: var(--gold); border-color: var(--gold); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
.story-panel { border-radius: var(--r-lg); padding: 34px; min-height: 420px; position: relative; overflow: hidden; background: linear-gradient(155deg, var(--blue), var(--blue-900)); color: #fff; box-shadow: var(--shadow-lg); }
.story-panel::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -120px; background: radial-gradient(circle, rgba(244,180,26,.35), transparent 65%); }
.panel-item { position: absolute; inset: 34px; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.panel-item.show { opacity: 1; transform: none; }
.panel-item h4 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.panel-item p { color: var(--powder); max-width: 34ch; }
.panel-big { font-size: 4.5rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 14px; letter-spacing: -0.04em; }
.panel-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.panel-list li { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 10px 14px; font-size: .93rem; }
.panel-list .ico { color: var(--gold); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.stat-num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--blue); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num .u { color: var(--gold-600); }
.stat p { margin: 10px 0 0; color: var(--muted); font-size: .93rem; }

/* ---------- Pricing ---------- */
.billing { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0 0 48px; }
.seg[data-mode="ministry"] .seg-thumb { transform: translateX(100%); }
.tiers[data-content="sermon"] .v-ministry, .tiers[data-content="ministry"] .v-sermon { display: none; }
.content-note { display: none; max-width: 640px; margin: -28px auto 40px; text-align: center; color: var(--muted); font-size: .95rem; }
.content-note[data-content="ministry"] { display: block; }
.seg {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.seg-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--blue); transition: transform .35s var(--ease); }
.seg[data-mode="monthly"] .seg-thumb { transform: translateX(100%); }
.seg button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 11px 24px;
  border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px;
  transition: color .3s;
}
.seg button[aria-pressed="true"] { color: #fff; }
.save-pill { white-space: nowrap; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--blue-900); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 34px 30px; }
.tier-name { font-size: 1.25rem; margin-bottom: 4px; }
.tier-for { color: var(--muted); font-size: .93rem; margin-bottom: 22px; min-height: 2.8em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 0; color: var(--blue); }
.price .amt { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); font-weight: 600; }
.billed { font-size: .85rem; color: var(--muted); margin: 8px 0 24px; min-height: 1.3em; }
.feature-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; flex: 1; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; line-height: 1.5; }
.feature-list .ico { color: var(--slate); margin-top: 2px; width: 20px; height: 20px; }
.tier.featured { border: 1.5px solid var(--gold); box-shadow: 0 24px 50px rgba(244,180,26,.18); transform: translateY(-10px); }
.tier.featured:hover { transform: translateY(-14px); }
.tier.featured .feature-list .ico { color: var(--gold-600); }
.badge { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--blue-900); }
.tier.dark { background: linear-gradient(160deg, var(--blue), var(--blue-900)); color: #fff; border-color: transparent; }
.tier.dark .tier-name, .tier.dark .price { color: #fff; }
.tier.dark .tier-for, .tier.dark .billed, .tier.dark .price .per, .tier.dark p { color: var(--powder); }
.tier.dark .feature-list .ico { color: var(--gold); }

.offer {
  margin-top: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 28px 32px; border-radius: var(--r); background: linear-gradient(120deg, var(--gold-50), var(--cream));
  border: 1px solid rgba(244,180,26,.45);
}
.offer h3 { margin-bottom: 4px; }
.offer p { margin: 0; color: var(--muted); }
.offer .ico-tile { margin: 0; }

/* comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
table.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); background: var(--powder-50); }
.compare-table tbody th { color: var(--blue); font-weight: 700; }
.compare-table td.us { background: rgba(244,180,26,.08); font-weight: 600; color: var(--blue); }
.compare-table thead th.us { background: var(--gold); color: var(--blue-900); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: var(--gold-600); margin-top: 3px; }
.checks strong { color: var(--blue); }

/* browser mockup */
.browser { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--powder-50); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #E2E8EE; }
.browser-bar span { margin-left: 12px; flex: 1; background: #fff; border-radius: 8px; padding: 5px 12px; font-size: .78rem; color: var(--muted); border: 1px solid var(--line); }
.browser img { width: 100%; height: auto; }

/* ---------- Work ---------- */
.work-feature { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; padding: 0; text-decoration: none; color: inherit; }
.work-feature .browser { border-radius: 0; box-shadow: none; border: 0; border-right: 1px solid var(--line); }
.work-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.slot { border-style: dashed; background: transparent; box-shadow: none; }

/* ---------- Quote / values ---------- */
.verse { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; color: var(--blue); line-height: 1.35; letter-spacing: -0.015em; max-width: 30ch; }
.verse cite { display: block; margin-top: 14px; font-size: .9rem; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--slate); transition: transform .3s var(--ease); width: 22px; height: 22px; }
.faq details[open] summary .ico { transform: rotate(45deg); color: var(--gold-600); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 18px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(48px, 7vw, 84px);
  background: linear-gradient(150deg, var(--slate) 0%, var(--blue) 45%, var(--blue-900) 100%); color: #fff; isolation: isolate;
}
.cta::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(244,180,26,.45), transparent 65%); }
.cta::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(207,226,240,.35), transparent 65%); }
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: var(--powder); max-width: 54ch; }
.cta .hero-cta { margin-bottom: 0; }
.cta-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cta-points li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-weight: 600; }
.cta-points .ico { color: var(--gold); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 4px rgba(79,109,143,.15); }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.contact-card .ico-tile { margin: 0; width: 44px; height: 44px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 0; }
.post-cover { aspect-ratio: 16/9; background: linear-gradient(150deg, var(--powder), var(--slate)); position: relative; display: grid; place-items: center; color: #fff; }
.post-cover.gold { background: linear-gradient(150deg, #FFE7A3, var(--gold)); color: var(--blue); }
.post-cover.dark { background: linear-gradient(150deg, var(--slate), var(--blue-900)); }
.post-cover .ico { width: 64px; height: 64px; opacity: .9; }
.post-card .post-body { padding: 26px; }
.post-meta { font-size: .82rem; color: var(--slate); font-weight: 600; margin-bottom: 8px; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #2A3E50; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--blue); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { color: var(--blue); background: var(--powder-50); }
.callout { padding: 22px 24px; border-radius: 16px; background: var(--cream); border-left: 4px solid var(--gold); margin: 0 0 1.4em; }
.callout p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-950); color: var(--slate-300); padding: 80px 0 34px; margin-top: var(--section); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; left: 50%; top: -420px; transform: translateX(-50%); background: radial-gradient(circle, rgba(79,109,143,.45), transparent 65%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: #fff; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--slate-300); transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.footer-about { margin-top: 18px; font-size: .95rem; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); color: #fff; }
.socials a:hover { border-color: var(--gold); }
.socials .ico { width: 18px; height: 18px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.footer-bottom p { margin: 0; }
main > .section:last-child { padding-bottom: 0; }

/* ---------- Motion (only when JS is on and motion is allowed) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; }
  .nav-open .nav { border-radius: 26px; height: auto; flex-wrap: wrap; padding: 10px 10px 18px 20px; }
  .nav-open .nav-links { display: flex; flex-direction: column; width: 100%; order: 3; margin: 6px 0 0; }
  .nav-open .nav-links a { padding: 12px 14px; font-size: 1.02rem; }
  .nav-open .nav-cta { display: inline-flex; order: 4; width: calc(100% - 10px); margin-top: 6px; }
  .hero-grid, .split, .story, .cta-grid, .work-feature { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .story-visual { position: relative; top: 0; order: -1; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .tier.featured { transform: none; }
  .tier.featured:hover { transform: translateY(-4px); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento .b-wide, .bento .b-half { grid-column: span 2; }
  .bento .b-tall { grid-row: auto; }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work-feature .browser { border-right: 0; border-bottom: 1px solid var(--line); }
  .offer { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .site-header { inset: 10px 0 auto; padding: 0 10px; }
  .hero { padding: 130px 0 80px; }
  .page-hero { padding: 130px 0 56px; }
  .grid-2, .grid-3, .grid-4, .stats, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .phone { width: 250px; }
  .f-1 { left: -2%; } .f-2 { right: -2%; } .f-3 { left: 0; }
  .float { font-size: .78rem; padding: 10px 12px; }
  .card { padding: 24px; }
  .seg button { padding: 10px 16px; }
  .story-panel { min-height: 380px; padding: 26px; }
  .panel-item { inset: 26px; }
  .brand-name { font-size: 1rem; }
}
@media (max-width: 640px) { .hide-sm { display: none; } }
