:root {
  --tan: #ece8e2;
  --orange: #fbc458;
  --white: #ffffff;
  --cyan: #0e3636;
  --forest: #0e3636;
  --clay: #fbc458;
  --ink: #0e3636;
  --muted: rgba(14, 54, 54, 0.7);
  --line: rgba(14, 54, 54, 0.16);
  --quiet: rgba(14, 54, 54, 0.08);
  --curve: cubic-bezier(0.32, 0.72, 0, 1);
  --radius-control: 10px;
  --radius-card: 16px;
  --radius-feature: 22px;
  --shadow: 0 14px 38px rgba(14, 54, 54, 0.08);
  --font: "Nunito Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tan);
  color: var(--cyan);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
button, input, textarea, select, a { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.45; }
a { text-decoration: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.brand,
.brand-button { display: inline-flex; align-items: center; border: 0; background: transparent; padding: 0; }
.brand-logo {
  display: block;
  width: 205px;
  height: 66px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-nav {
  width: min(1440px, calc(100% - 96px));
  height: 112px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.site-nav nav { display: flex; align-items: center; gap: 64px; font-size: 15px; font-weight: 600; }
.site-nav nav a,
.nav-login { transition: opacity 500ms var(--curve); }
.site-nav nav a:hover,
.nav-login:hover { opacity: 0.55; }
.nav-login { justify-self: end; border: 0; background: transparent; padding: 12px 0; font-weight: 600; }

.primary-button,
.secondary-button,
.light-button,
.approve-button,
.ai-button,
.mini-action {
  min-height: 48px;
  border: 0;
  border-radius: var(--radius-control);
  padding: 12px 22px;
  font-weight: 700;
  transition: transform 500ms var(--curve), opacity 500ms var(--curve), background-color 500ms var(--curve);
}
.primary-button { background: var(--cyan); color: var(--white); }
.primary-button:hover { transform: translateY(-2px); }
.primary-button:active,
.secondary-button:active,
.light-button:active,
.approve-button:active,
.ai-button:active { transform: scale(0.98); }
.secondary-button { min-height: 42px; background: var(--tan); color: var(--cyan); padding: 10px 16px; }
.secondary-button:hover { background: rgba(14, 54, 54, 0.12); }
.light-button { background: var(--white); color: var(--cyan); }
.approve-button { background: var(--cyan); color: var(--white); }
.ai-button { background: var(--orange); color: var(--cyan); }
.text-link { border: 0; background: transparent; padding: 8px 0; font-weight: 700; }

.hero {
  position: relative;
  max-width: 1536px;
  min-height: 840px;
  margin: 0 auto;
  padding: 48px 48px 52px;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 4; width: min(580px, 43%); padding-top: 42px; text-align: left; }
.hero h1 { margin: 0; font-size: clamp(64px, 6.3vw, 92px); line-height: 0.98; font-weight: 800; }
.hero-lead { max-width: 550px; margin: 24px 0 28px; font-size: 20px; line-height: 1.5; }
.hero .primary-button { min-width: 310px; }

.journey-map {
  position: absolute;
  inset: 0 48px 34px;
  z-index: 1;
  min-height: 720px;
  isolation: isolate;
}
.hero-landscape {
  --landscape-opacity: 1;
  position: absolute;
  z-index: -1;
  top: -28px;
  right: -104px;
  width: min(980px, 72%);
  max-width: none;
  -webkit-mask-image: radial-gradient(ellipse 92% 90% at 68% 54%, #000 64%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 90% at 68% 54%, #000 64%, transparent 100%);
  pointer-events: none;
}
.source-sermon { position: absolute; z-index: 3; left: 0; bottom: 0; }
.map-label { display: block; margin: 0 0 10px 18px; font-size: 13px; font-weight: 700; }
.source-card {
  width: 214px;
  padding: 8px 8px 14px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(14, 54, 54, 0.13), inset 0 0 0 6px rgba(236, 232, 226, 0.65);
  transform-origin: 50% 90%;
}
.source-art,
.phone-art {
  height: 124px;
  border-radius: 17px;
  background: var(--tan);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.source-art img,
.phone-art img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.14); }
.source-card h2 { margin: 16px 10px 4px; font-size: 21px; line-height: 1.08; }
.source-card p { margin: 0 10px; font-size: 12px; }
.audio-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; margin-top: 18px; }
.audio-line span, .audio-line small { font-size: 10px; font-weight: 700; }
.audio-line i { display: block; height: 4px; background: var(--cyan); border-radius: 4px; }
.week-path { position: absolute; z-index: 2; left: 17%; right: 16%; bottom: 0; height: 330px; }
.day-runway {
  position: absolute;
  left: -3%;
  right: -2%;
  bottom: 5px;
  height: 112px;
  border-radius: 48% 52% 20px 20px;
  background: var(--cyan);
  box-shadow: 0 24px 42px rgba(14, 54, 54, 0.16);
  transform: perspective(540px) rotateX(64deg);
  transform-origin: center bottom;
}
.week-cards { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 0 10px 56px; }
.week-card {
  --lift: 0px;
  --tilt: 0deg;
  flex: 0 1 102px;
  min-width: 76px;
  min-height: 158px;
  padding: 13px 9px 9px;
  border-radius: 22px 22px 15px 15px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 26px rgba(14, 54, 54, 0.12), inset 0 0 0 4px rgba(236, 232, 226, 0.52);
  transform: translate3d(0, var(--lift), 0) rotate(var(--tilt));
  transform-origin: center bottom;
  will-change: transform;
}
.week-card:nth-child(1) { --lift: 0px; --tilt: -2deg; }
.week-card:nth-child(2) { --lift: -13px; --tilt: 1deg; }
.week-card:nth-child(3) { --lift: -27px; --tilt: -1deg; }
.week-card:nth-child(4) { --lift: -39px; --tilt: 1.5deg; }
.week-card:nth-child(5) { --lift: -50px; --tilt: -1deg; }
.week-card:nth-child(6) { --lift: -59px; --tilt: 1deg; }
.week-card:nth-child(7) { --lift: -66px; --tilt: -1.5deg; }
.week-card span { font-size: 10px; font-weight: 800; text-align: center; }
.week-card strong { font-size: 11px; font-weight: 700; text-align: center; }
.week-card b {
  position: relative;
  flex: 1 1 76px;
  min-height: 68px;
  margin-top: 9px;
  border-radius: 15px 15px 11px 11px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--orange);
  font-size: 44px;
}
.week-card b img { width: 92px; height: 92px; max-width: none; object-fit: contain; mix-blend-mode: multiply; }
.day-remember b { background: var(--orange); }
.day-remember b i { display: block; width: 32px; height: 3px; border-radius: 3px; background: var(--cyan); }
.day-reflect b i:first-child { width: 48px; height: 34px; border-radius: 50%; background: var(--cyan); }
.day-reflect b i:nth-child(2),
.day-reflect b i:nth-child(3) { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }
.day-reflect b i:nth-child(2) { left: 21px; bottom: 13px; }
.day-reflect b i:nth-child(3) { left: 13px; bottom: 6px; width: 6px; height: 6px; }
.day-pray b i { position: relative; width: 42px; height: 38px; margin-top: 15px; border-radius: 7px 7px 14px 14px; background: var(--cyan); }
.day-pray b i::before { content: ""; position: absolute; left: 50%; top: -24px; width: 14px; height: 24px; border-radius: 70% 30% 55% 45%; background: var(--orange); transform: translateX(-50%) rotate(5deg); }
.day-share b i { position: absolute; width: 45px; height: 32px; border-radius: 50%; background: var(--cyan); }
.day-share b i:first-child { left: 9px; top: 16px; }
.day-share b i:last-child { right: 8px; bottom: 12px; background: var(--white); box-shadow: 0 0 0 1px rgba(14, 54, 54, 0.12); }
.phone-pedestal {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: -4px;
  width: 252px;
  height: 430px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.phone-pedestal::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 260px;
  height: 76px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 22px 40px rgba(14, 54, 54, 0.12), inset 0 -8px 14px rgba(14, 54, 54, 0.05);
  transform: translateX(-50%);
}
.phone-preview {
  position: relative;
  z-index: 1;
  width: 206px;
  min-height: 360px;
  margin-bottom: 40px;
  padding: 29px 13px 18px;
  border: 7px solid var(--cyan);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 20px 40px rgba(14, 54, 54, 0.18);
  transform: rotate(-1.25deg);
  transition: transform 650ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 650ms cubic-bezier(0.32, 0.72, 0, 1);
  transform-origin: 50% 92%;
}
.phone-pedestal:hover .phone-preview {
  transform: translate3d(0, -8px, 0) rotate(2.5deg);
  box-shadow: -8px 26px 46px rgba(14, 54, 54, 0.2);
}
.phone-speaker { position: absolute; top: 8px; left: 50%; width: 62px; height: 15px; border-radius: 999px; background: var(--cyan); transform: translateX(-50%); }
.phone-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 10px; }
.phone-art { height: 112px; border-radius: 13px; background: var(--tan); }
.phone-preview h3 { margin: 14px 2px 5px; font-size: 20px; }
.phone-preview p { margin: 0 2px; font-size: 11px; }
.phone-lines { display: grid; gap: 6px; margin: 17px 2px 0; }
.phone-lines i { height: 5px; border-radius: 5px; background: rgba(14, 54, 54, 0.13); }
.phone-lines i:nth-child(2) { width: 88%; }
.phone-lines i:nth-child(3) { width: 68%; }

.section { max-width: 1440px; margin: 0 auto; padding: 128px 64px; }
.section-intro { max-width: 620px; }
.eyebrow { display: inline-block; font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: 0.04em; }
.eyebrow.light { color: var(--white); }
.section-intro h2,
.guide-promo h2 { margin: 18px 0 24px; font-size: clamp(50px, 5vw, 64px); }
.section-intro > p { max-width: 560px; font-size: 19px; }

.product-section { max-width: none; padding-left: max(64px, calc((100vw - 1312px) / 2)); padding-right: max(64px, calc((100vw - 1312px) / 2)); display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 96px; align-items: start; min-height: 1050px; background: var(--white); border-radius: 42px 42px 0 0; }
.product-story { position: sticky; top: 104px; }
.illustration-stack { position: relative; width: min(520px, 100%); height: 470px; margin-top: 48px; }
.illustration-card { position: absolute; width: 300px; aspect-ratio: 1; margin: 0; padding: 22px; border-radius: 28px; background: var(--white); box-shadow: 0 18px 46px rgba(14, 54, 54, 0.09); overflow: hidden; will-change: transform; }
.illustration-card img { width: 100%; height: 100%; object-fit: contain; }
.illustration-card-source { left: 0; top: 0; transform: rotate(-4deg); }
.illustration-card-scripture { right: 0; top: 78px; transform: rotate(4deg); }
.illustration-card-gather { left: 62px; bottom: -36px; transform: rotate(-1deg) scale(0.78); }
.illustration-card:hover { z-index: 3; }
@supports (animation-timeline: view()) {
  .illustration-card-source { animation: card-source-shift 1ms cubic-bezier(0.22, 1, 0.36, 1) both; animation-timeline: view(); animation-range: entry 5% cover 70%; }
  .illustration-card-scripture { animation: card-scripture-shift 1ms cubic-bezier(0.22, 1, 0.36, 1) both; animation-timeline: view(); animation-range: entry 10% cover 72%; }
  .illustration-card-gather { animation: card-gather-shift 1ms cubic-bezier(0.22, 1, 0.36, 1) both; animation-timeline: view(); animation-range: entry 15% cover 75%; }
  @keyframes card-source-shift { from { opacity: 0; transform: translate3d(-44px, 90px, 0) rotate(-9deg) scale(0.88); } to { opacity: 1; transform: translate3d(0, -36px, 0) rotate(-4deg) scale(1); } }
  @keyframes card-scripture-shift { from { opacity: 0; transform: translate3d(48px, 130px, 0) rotate(9deg) scale(0.84); } to { opacity: 1; transform: translate3d(0, -18px, 0) rotate(4deg) scale(1); } }
  @keyframes card-gather-shift { from { opacity: 0; transform: translate3d(0, 150px, 0) rotate(-4deg) scale(0.66); } to { opacity: 1; transform: translate3d(0, -16px, 0) rotate(-1deg) scale(0.78); } }
}
.workflow-list { border-top: 1px solid var(--line); }
.workflow-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 600ms var(--curve), background-color 600ms var(--curve);
}
.workflow-list article:hover { transform: translateX(10px); }
.workflow-list article > span { width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.workflow-list h3 { margin: 0 0 8px; font-size: 24px; }
.workflow-list p { margin: 0; max-width: 590px; color: var(--muted); }

.guide-promo {
  max-width: none;
  padding-left: max(64px, calc((100vw - 1312px) / 2));
  padding-right: max(64px, calc((100vw - 1312px) / 2));
  background: var(--cyan);
  color: var(--white);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 96px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.guide-promo-copy,
.guide-promo-days { position: relative; z-index: 2; }
.guide-promo-copy p { max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, 0.8); }
.guide-promo-copy .light-button { margin-top: 20px; }
.guide-promo-days { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.guide-promo-days div { min-height: 170px; padding: 20px; border-radius: var(--radius-card); background: var(--orange); color: var(--cyan); display: grid; grid-template-columns: 1fr auto; align-content: space-between; }
.guide-promo-days span { font-size: 12px; font-weight: 700; }
.guide-promo-days strong { font-size: 16px; }
.guide-promo-days b { grid-column: 2; grid-row: 1 / 3; font-size: 58px; align-self: center; }
.guide-promo-days div:nth-child(2),
.guide-promo-days div:nth-child(4) { background: var(--white); }
.guide-promo-illustration { position: absolute; z-index: 1; width: 420px; right: -54px; bottom: -120px; opacity: 0.32; transform: rotate(-8deg); animation: gentle-drift 9s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate; }
@keyframes gentle-drift { from { transform: translate3d(0, 0, 0) rotate(-8deg); } to { transform: translate3d(-18px, -16px, 0) rotate(-5deg); } }

.gather-section { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 96px; align-items: center; }
.gather-illustration-wrap { min-height: 560px; display: grid; place-items: center; border-radius: 34px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.gather-illustration-wrap img { width: min(600px, 95%); animation: gather-breathe 8s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate; }
@keyframes gather-breathe { from { transform: translate3d(0, 10px, 0) scale(0.96); } to { transform: translate3d(0, -8px, 0) scale(1); } }
.gather-section .primary-button { margin-top: 18px; }

.hero.visible .hero-landscape { animation: landscape-arrive 1100ms var(--curve) both; }
.hero.visible .source-card { animation: source-arrive 900ms var(--curve) both; }
.hero.visible .day-runway { animation: runway-arrive 1100ms 260ms var(--curve) both; }
.hero.visible .week-card { animation: day-resolve 720ms var(--curve) both; }
.hero.visible .week-card:nth-child(1) { animation-delay: 420ms; }
.hero.visible .week-card:nth-child(2) { animation-delay: 500ms; }
.hero.visible .week-card:nth-child(3) { animation-delay: 580ms; }
.hero.visible .week-card:nth-child(4) { animation-delay: 660ms; }
.hero.visible .week-card:nth-child(5) { animation-delay: 740ms; }
.hero.visible .week-card:nth-child(6) { animation-delay: 820ms; }
.hero.visible .week-card:nth-child(7) { animation-delay: 900ms; }
.hero.visible .phone-pedestal { animation: phone-arrive 900ms 960ms var(--curve) both; }
@keyframes landscape-arrive { from { opacity: 0; transform: translate3d(44px, 34px, 0) scale(0.96); } to { opacity: var(--landscape-opacity); transform: translate3d(0, 0, 0) scale(1); } }
@keyframes source-arrive { from { opacity: 0; transform: translate3d(-32px, 24px, 0) rotate(-3deg); } to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); } }
@keyframes runway-arrive { from { opacity: 0; transform: perspective(540px) rotateX(64deg) scaleX(0.5); } to { opacity: 1; transform: perspective(540px) rotateX(64deg) scaleX(1); } }
@keyframes day-resolve { from { opacity: 0; transform: translate3d(0, calc(var(--lift) + 28px), 0) rotate(var(--tilt)) scale(0.92); } to { opacity: 1; transform: translate3d(0, var(--lift), 0) rotate(var(--tilt)) scale(1); } }
@keyframes phone-arrive { from { opacity: 0; transform: translate3d(0, 70px, 0) scale(0.92); } to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); } }

.source-sermon:hover .source-card { animation: sermon-jiggle 620ms cubic-bezier(0.32, 0.72, 0, 1) both; }
.week-card:hover { animation: day-hop 560ms cubic-bezier(0.32, 0.72, 0, 1) both !important; }
@keyframes sermon-jiggle {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  30% { transform: translate3d(-2px, -3px, 0) rotate(-1.8deg); }
  62% { transform: translate3d(2px, -1px, 0) rotate(1.3deg); }
}
@keyframes day-hop {
  0%, 100% { transform: translate3d(0, var(--lift), 0) rotate(var(--tilt)); }
  46% { transform: translate3d(0, calc(var(--lift) - 14px), 0) rotate(var(--tilt)); }
}

.pricing { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 96px; align-items: center; }
.pricing-card { padding: 48px; border-radius: var(--radius-feature); background: var(--white); box-shadow: var(--shadow); }
.price-copy > span { font-size: 13px; font-weight: 700; }
.price-copy strong { display: block; margin: 18px 0 8px; font-size: 64px; line-height: 1; }
.price-copy small { font-size: 14px; font-weight: 600; }
.price-copy p { color: var(--muted); }
.pricing-card ul { margin: 32px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pricing-card li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.pricing-card li::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 12px; border-radius: 50%; background: var(--orange); font-size: 12px; font-weight: 700; }

.site-footer { max-width: 1312px; margin: 0 auto; padding: 48px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.footer-logo { width: 170px; mix-blend-mode: multiply; }
.site-footer p { margin: 0; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 800ms var(--curve), transform 800ms var(--curve); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 40; max-width: 380px; padding: 14px 18px; border-radius: var(--radius-control); background: var(--cyan); color: var(--white); box-shadow: var(--shadow); opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity 500ms var(--curve), transform 500ms var(--curve); }
.toast.show { opacity: 1; transform: translateY(0); }

/* Application shell */
.studio-layout { min-height: 100dvh; display: grid; grid-template-columns: 284px minmax(0, 1fr); background: var(--white); }
.studio-sidebar { position: sticky; top: 0; height: 100dvh; padding: 32px 18px 24px; background: var(--tan); display: flex; flex-direction: column; }
.studio-sidebar .brand { padding: 0 14px 38px; }
.studio-sidebar .brand-logo { width: 204px; }
.church-switcher { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; margin-bottom: 24px; padding: 10px 12px; border: 0; border-radius: var(--radius-control); background: rgba(255, 255, 255, 0.7); text-align: left; }
.church-switcher > span:nth-child(2),
.profile-row > span:nth-child(2) { display: flex; flex-direction: column; }
.church-switcher small,
.profile-row small,
.usage-card small { font-size: 12px; color: var(--muted); }
.church-avatar,
.profile-avatar { width: 40px; height: 40px; border-radius: 10px; background: var(--orange); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.studio-nav { display: flex; flex-direction: column; gap: 6px; }
.studio-nav button { min-height: 48px; display: flex; align-items: center; gap: 14px; border: 0; border-radius: var(--radius-control); background: transparent; padding: 10px 14px; text-align: left; font-weight: 500; }
.studio-nav button span { width: 24px; font-size: 21px; text-align: center; font-weight: 400; }
.studio-nav button:hover,
.studio-nav button.active { background: rgba(255, 255, 255, 0.7); }
.studio-nav button.active { font-weight: 700; }
.usage-card { margin-top: auto; padding: 18px 14px 8px; border-top: 1px solid var(--line); }
.usage-card > div:first-child { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.usage-track { height: 7px; margin: 14px 0 10px; border-radius: 7px; background: rgba(14, 54, 54, 0.1); overflow: hidden; }
.usage-track i { display: block; width: 40%; height: 100%; background: var(--orange); border-radius: inherit; transition: width 700ms var(--curve); }
.profile-row { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; margin-top: 16px; padding: 14px; border: 0; border-radius: var(--radius-control); background: transparent; text-align: left; }
.profile-row:hover { background: rgba(255, 255, 255, 0.6); }
.signout-button { width: 100%; min-height: 38px; margin-top: 2px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; }
.signout-button:hover { background: rgba(255, 255, 255, 0.6); color: var(--cyan); }
.signout-button:disabled { opacity: .55; cursor: wait; }
.billing-panel { max-width: 760px; padding-top: 30px; }
.legal-view { min-height: 100vh; background: var(--paper); }
.legal-view > header { max-width: 1120px; margin: 0 auto; padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; }
.legal-view main { max-width: 760px; margin: 0 auto; padding: 72px 32px 120px; }
.legal-view h1 { margin: 14px 0 10px; font-size: clamp(42px, 6vw, 72px); line-height: .96; letter-spacing: -.055em; }
.legal-view section { margin-top: 46px; }
.legal-view section h2 { margin-bottom: 12px; font-size: 23px; }
.legal-view section p { color: var(--muted); line-height: 1.72; }
.legal-updated { color: var(--muted); font-size: 14px; }
.billing-card { display: grid; gap: 24px; }
.billing-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.billing-card-head h3 { margin-top: 8px; }
.billing-card dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; border-block: 1px solid var(--line); }
.billing-card dl div { display: grid; gap: 7px; padding: 20px 0; }
.billing-card dl div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.billing-card dt { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.billing-card dd { margin: 0; font-size: 18px; font-weight: 700; }
.billing-card .primary-button { justify-self: start; }
.billing-status { min-height: 20px; margin: -12px 0 0; color: var(--muted); font-size: 13px; }
.profile-avatar { border-radius: 50%; background: var(--white); }

.studio-main { min-width: 0; padding: 48px 40px 80px; }
.studio-header { max-width: 1280px; margin: 0 auto 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.studio-header h1 { margin: 0 0 5px; font-size: clamp(36px, 4vw, 52px); }
.studio-header p { margin: 0; font-size: 18px; }
.studio-header .primary-button { min-width: 148px; }
.mobile-menu { display: none; }
#studio-panel { max-width: 1280px; margin: 0 auto; }
.panel-stack { display: flex; flex-direction: column; gap: 24px; }
.current-run,
.recent-section,
.metric-card,
.content-card,
.day-nav,
.editor-card,
.review-card,
.setup-review { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow); }
.current-run,
.recent-section { padding: 28px; }
.panel-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.panel-title h2 { margin: 10px 0 8px; font-size: clamp(32px, 4vw, 46px); }
.panel-title p { margin: 0; color: var(--muted); }
.status-chip { display: inline-flex; align-items: center; min-height: 28px; border-radius: 999px; padding: 5px 10px; background: var(--tan); font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-chip.review { background: var(--orange); }
.status-chip.approved { background: var(--cyan); color: var(--white); }
.status-chip.published { background: var(--cyan); color: var(--white); }
.status-chip.draft { background: var(--tan); }
.run-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin: 38px 0 30px; }
.run-progress button { position: relative; min-height: 70px; border: 0; border-top: 2px solid var(--line); background: transparent; padding: 24px 8px 0 0; text-align: left; color: var(--muted); }
.run-progress button span { position: absolute; top: -15px; left: 0; width: 30px; height: 30px; border: 2px solid var(--line); border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.run-progress button small,
.run-progress button strong { display: block; }
.run-progress button small { margin-bottom: 2px; font-size: 11px; }
.run-progress button.complete,
.run-progress button.current { border-color: var(--orange); color: var(--cyan); }
.run-progress button.complete span,
.run-progress button.current span { border-color: var(--orange); background: var(--orange); }
.run-actions { display: flex; gap: 12px; }
.run-actions .pill-button { display: inline-flex; align-items: center; gap: 12px; }

.dashboard-feature { padding: 28px; }
.feature-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; margin-top: 18px; }
.sermon-thumbnail { min-height: 238px; padding: 24px; border-radius: var(--radius-card); background: var(--orange) url('/illustration-sermon-journey.png') center / 92% auto no-repeat; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.sermon-thumbnail b { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: var(--white); font-size: 13px; line-height: 1; }
.sermon-thumbnail span { align-self: flex-start; padding: 5px 8px; border-radius: 999px; background: var(--white); font-size: 11px; font-weight: 700; }
.feature-content { min-width: 0; padding: 2px 0; }
.feature-content .panel-title h2 { margin-top: 0; }
.dashboard-lower { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 24px; }
.dashboard-lower h3 { margin: 8px 0 0; font-size: 25px; }
.weekly-preview { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow); }
.preview-waiting { color: var(--muted); font-size: 12px; }
.mini-days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 30px; }
.mini-day { min-width: 0; height: 154px; padding: 12px 8px; border-radius: var(--radius-control); background: var(--orange); display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.mini-day.active { box-shadow: inset 0 0 0 3px var(--cyan); }
.mini-day span { font-size: 10px; font-weight: 700; }
.mini-day b { font-size: 28px; }
.sermon-list.compact .sermon-row { grid-template-columns: 44px minmax(0, 1fr) auto; min-height: 68px; }
.sermon-list.compact .sermon-row > div:nth-child(3),
.sermon-list.compact .sermon-row > div:nth-child(4) { display: none; }
.sermon-list.compact .sermon-date { width: 42px; height: 42px; border-radius: 8px; background: var(--orange); display: grid; place-items: center; font-size: 15px; }
.sermon-list.compact .sermon-date small { display: none; }

.dashboard-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 24px; }
.metric-card { min-height: 150px; padding: 24px; background: var(--tan); box-shadow: none; }
.metric-card.large { background: var(--white); }
.metric-card.clay { background: var(--orange); }
.metric-card > strong { display: block; margin-top: 22px; font-size: 38px; }
.metric-card p { margin: 6px 0 0; color: var(--muted); }
.metric-status { font-size: 22px !important; }
.week-dots { display: flex; gap: 8px; margin-top: 16px; }
.week-dots i { flex: 1; height: 5px; border-radius: 5px; background: var(--quiet); }
.week-dots i.done { background: var(--orange); }
.sermon-list { margin-top: 22px; }
.sermon-row { display: grid; grid-template-columns: 54px 1.5fr 1fr 0.8fr auto; align-items: center; gap: 16px; min-height: 78px; border-top: 1px solid var(--line); }
.sermon-row:hover { background: rgba(236, 232, 226, 0.5); }
.sermon-date { text-align: center; font-size: 22px; font-weight: 700; }
.sermon-date small,
.sermon-row small { display: block; font-size: 12px; color: var(--muted); }
.row-actions { display: flex; align-items: center; gap: 8px; }
.row-open,
.sermon-delete { border: 0; background: transparent; padding: 9px; }
.sermon-delete { font-size: 12px; text-decoration: underline; }
.empty-state { padding: 44px 0 20px; }
.empty-state h3 { font-size: 28px; }

/* Sermon workspace */
.workspace-view { margin-top: -4px; }
.workspace-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; }
.workspace-bar > div { display: flex; align-items: center; gap: 14px; }
.workspace-bar h2 { margin: 0 0 5px; font-size: clamp(32px, 4vw, 48px); }
.workspace-bar p { margin: 0; font-size: 18px; }
.back-button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--tan); }
.save-status { padding: 10px 14px; border-radius: 999px; background: var(--tan); color: var(--muted); font-size: 12px; white-space: nowrap; }
.workspace-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.workspace-tabs button { position: relative; min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-weight: 500; }
.workspace-tabs button span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.workspace-tabs button.active { border-bottom-color: var(--cyan); color: var(--cyan); font-weight: 700; }
.workspace-tabs button.active span { border-color: var(--cyan); background: var(--cyan); color: var(--white); }
.workspace-tabs button.locked { opacity: .48; cursor: not-allowed; }
.workspace-tabs button.locked span { background: var(--tan); }
.workspace-content { padding-top: 0; }
.journey-editor { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
.day-nav,
.editor-card,
.review-card { padding: 16px; box-shadow: none; }
.day-nav { grid-column: 1 / -1; }
.day-nav > .eyebrow { display: block; margin: 2px 6px 12px; }
.day-nav-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.day-nav button { width: 100%; min-height: 68px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 8px; border: 0; border-radius: var(--radius-control); padding: 8px; background: transparent; text-align: left; }
.day-nav button:hover { background: var(--tan); }
.day-nav button.active { background: var(--orange); }
.day-nav button i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: var(--tan); font-style: normal; font-size: 12px; font-weight: 700; }
.day-nav button.active i { background: var(--white); }
.day-nav button span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; }
.day-nav button small { font-size: 11px; font-weight: 700; }
.day-nav button b { min-width: 16px; color: var(--cyan); font-size: 16px; text-align: center; }
.editor-card { padding: 26px; }
.editor-head { display: flex; justify-content: space-between; gap: 20px; }
.editor-head h3 { margin: 8px 0 18px; font-size: clamp(30px, 4vw, 44px); }
.editor-field { margin: 14px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-control); }
.editor-field label,
.review-card h4,
.map-item label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.editor-field input,
.editor-field textarea { width: 100%; border: 0; outline: 0; background: transparent; padding: 0; resize: vertical; }
.editor-field textarea { min-height: 110px; }
.editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.save-guidance { max-width: 330px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.evidence-tag { display: inline-flex; margin-bottom: 4px; padding: 6px 9px; border-radius: 999px; background: var(--tan); font-size: 12px; }
.review-card { padding: 24px; }
.review-card p { color: var(--muted); }
.review-card .approve-button { width: 100%; margin-top: 18px; }
.review-note { margin-bottom: 12px; padding: 14px; border-radius: var(--radius-control); background: var(--tan); }
.review-note.evidence-quote { display: grid; gap: 6px; }
.review-note.evidence-quote strong { color: var(--cyan); font-size: 12px; }
.review-note.evidence-quote span { font-size: 13px; line-height: 1.5; }
.evidence-caption { font-size: 12px; line-height: 1.5; }

.source-layout,
.map-layout,
.distribution-layout,
.publish-layout { display: grid; grid-template-columns: 1.45fr 0.8fr; gap: 18px; }
.content-card { padding: 28px; box-shadow: none; }
.content-card h3 { margin: 10px 0 22px; font-size: 34px; }
.upload-zone { padding: 44px 24px; border: 1px dashed rgba(14, 54, 54, 0.35); border-radius: var(--radius-card); background: var(--tan); text-align: center; }
.upload-zone input { display: none; }
.upload-zone label { display: inline-flex; margin-top: 12px; }
.audio-file { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px; border-radius: var(--radius-control); background: var(--tan); }
.audio-file i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--white); font-style: normal; }
.map-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.map-item:last-child { border-bottom: 0; }
.map-item textarea { width: 100%; min-height: 80px; border: 0; outline: 0; background: transparent; resize: vertical; }
.evidence-list button { width: 100%; margin: 5px 0; padding: 14px; border: 0; border-radius: var(--radius-control); background: var(--tan); text-align: left; }
.evidence-source { margin: 8px 0; padding: 15px; border-radius: var(--radius-control); background: var(--tan); }
.evidence-source strong { color: var(--cyan); font-size: 12px; }
.evidence-source p { margin: 7px 0 0; font-size: 14px; line-height: 1.5; }
.evidence-source span { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.evidence-list-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.evidence-list-heading h3 { margin-bottom: 12px; }
.empty-evidence { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-control); color: var(--muted); }
.source-page { display: grid; gap: 18px; }
.process-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.process-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.process-summary h3 { margin: 9px 0 7px; font-size: clamp(26px, 3vw, 36px); }
.process-summary p { max-width: 720px; margin: 0; color: var(--muted); }
.process-summary > strong { flex: 0 0 auto; font-size: 30px; letter-spacing: -0.04em; }
.process-track { height: 8px; margin-top: 22px; overflow: hidden; border-radius: 999px; background: var(--quiet); }
.process-track i { display: block; height: 100%; border-radius: inherit; background: var(--orange); transition: width 600ms var(--curve); }
.process-jobs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.process-job { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: var(--radius-control); }
.process-job i { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--quiet); font-style: normal; font-size: 12px; font-weight: 800; }
.process-job.complete i { background: var(--cyan); color: var(--white); }
.process-job.failed { border-color: rgba(171, 65, 40, 0.34); }
.process-job.failed i { background: #ab4128; color: var(--white); }
.process-job span { min-width: 0; display: grid; }
.process-job strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.process-job small { color: var(--muted); font-size: 12px; text-transform: capitalize; }
.process-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.process-reassurance { display: block; max-width: 820px; margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.transcript-workbench { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr); gap: 18px; align-items: start; }
.transcript-main,
.evidence-browser { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.transcript-toolbar { display: flex; justify-content: space-between; gap: 28px; align-items: end; }
.transcript-toolbar h3,
.evidence-browser h3 { margin: 9px 0 0; font-size: clamp(25px, 3vw, 34px); }
.transcript-toolbar label { width: min(320px, 42%); display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.transcript-toolbar input { width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--tan); outline: none; }
.transcript-toolbar input:focus { border-color: var(--cyan); background: var(--white); }
.transcript-main audio { width: 100%; margin: 22px 0 14px; accent-color: var(--cyan); }
.transcript-results { max-height: 690px; margin-top: 16px; padding-right: 8px; overflow: auto; scrollbar-width: thin; }
.transcript-segment { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 17px 10px; border-top: 1px solid var(--line); transition: background-color 350ms var(--curve), padding 350ms var(--curve); }
.transcript-segment:first-child { border-top: 0; }
.transcript-segment > button { min-height: 32px; padding: 6px 9px; border: 0; border-radius: 999px; background: var(--tan); font-size: 12px; font-weight: 800; }
.transcript-segment > button:hover { background: var(--orange); }
.transcript-segment p { margin: 2px 0 0; font-size: 15px; line-height: 1.68; }
.transcript-segment > span { margin-top: 4px; padding: 4px 7px; border-radius: 999px; background: rgba(251,196,88,.28); font-size: 11px; font-weight: 800; }
.transcript-segment.has-evidence { border-left: 3px solid var(--orange); }
.transcript-segment.focused { padding-left: 16px; border-radius: var(--radius-control); background: rgba(251,196,88,.2); }
.transcript-segment mark { padding: 1px 2px; border-radius: 3px; background: var(--orange); color: var(--cyan); }
.evidence-browser { position: sticky; top: 24px; }
.evidence-browser > p { color: var(--muted); font-size: 14px; }
.evidence-jump { width: 100%; display: grid; gap: 5px; margin-top: 8px; padding: 14px; border: 1px solid transparent; border-radius: var(--radius-control); background: var(--tan); text-align: left; transition: border-color 300ms var(--curve), transform 300ms var(--curve); }
.evidence-jump:hover { border-color: var(--cyan); transform: translateY(-1px); }
.evidence-jump span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.evidence-jump strong { font-size: 14px; }
.evidence-jump small { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.asset-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.asset-card { padding: 18px; border-radius: var(--radius-card); background: var(--tan); }
.asset-card h4 { margin: 12px 0 6px; font-size: 20px; }
.asset-card p { color: var(--muted); font-size: 13px; }
.asset-card button { border: 0; border-radius: var(--radius-control); background: var(--white); padding: 8px 12px; font-weight: 700; }
.content-pack { display: grid; gap: 16px; }
.content-pack-header { display: flex; justify-content: space-between; gap: 32px; align-items: end; padding: 12px 4px 4px; }
.content-pack-header h3 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 44px); }
.content-pack-header p { max-width: 390px; margin: 0; color: var(--muted); text-align: right; }
.output-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; padding: 7px; border-radius: var(--radius-card); background: var(--tan); overflow-x: auto; }
.output-tabs button { min-width: 128px; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.output-tabs button.active { background: var(--white); color: var(--cyan); box-shadow: 0 7px 18px rgba(14,54,54,.07); }
.output-tabs button span { width: 15px; color: var(--cyan); }
.output-editor { padding: 32px; }
.output-heading { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.output-heading h3 { margin-bottom: 8px; }
.output-heading p { max-width: 660px; margin-bottom: 0; color: var(--muted); }
.pdf-action-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.pdf-ready-note { display: flex; align-items: center; gap: 14px; margin: -8px 0 22px; padding: 14px 16px; border-radius: var(--radius-control); background: rgba(251,196,88,.24); }
.pdf-ready-note span { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: var(--orange); font-size: 12px; font-weight: 800; }
.pdf-ready-note p { margin: 0; color: var(--muted); font-size: 13px; }
.output-actions { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 25px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.output-actions > div { display: flex; gap: 8px; }
.output-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.output-field { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--white); }
.output-field.wide { grid-column: 1 / -1; }
.output-field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; }
.output-field input,
.output-field textarea { width: 100%; border: 0; outline: 0; padding: 0; background: transparent; resize: vertical; line-height: 1.6; }
.output-field textarea { min-height: 96px; }
.output-field[data-long] textarea,
.output-field.wide textarea[data-output-path$="article_markdown"],
.output-field.wide textarea[data-output-path$="manual_guide_markdown"],
.output-field.wide textarea[data-output-path$="participant_handout_markdown"] { min-height: 390px; }
.output-field small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.output-divider { display: flex; align-items: center; gap: 12px; margin: 32px 0 18px; font-size: 13px; font-weight: 800; }
.output-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.faq-list { margin-top: 28px; }
.faq-list h4 { font-size: 20px; }
.faq-list details { padding: 16px 0; border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list details p { max-width: 760px; margin: 12px 0 0; color: var(--muted); }
.output-upgrade { max-width: 760px; margin: 24px auto; padding: 48px; text-align: center; }
.output-upgrade p { color: var(--muted); }
.output-upgrade .primary-button { margin-top: 10px; }
.social-workbench { display: grid; grid-template-columns: 220px minmax(320px, .75fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
.social-controls { display: grid; gap: 12px; }
.social-controls > label { margin-top: 4px; font-size: 13px; font-weight: 800; }
.social-controls > small { color: var(--muted); font-size: 12px; }
.segmented { display: flex; padding: 4px; border-radius: var(--radius-control); background: var(--tan); }
.segmented button { flex: 1; min-height: 36px; border: 0; border-radius: 7px; background: transparent; font-size: 12px; font-weight: 700; }
.segmented button.active { background: var(--white); box-shadow: 0 4px 10px rgba(14,54,54,.08); }
.template-list { display: grid; gap: 7px; }
.template-list button { min-height: 42px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--white); padding: 8px 10px; text-align: left; font-size: 13px; font-weight: 700; }
.template-list button.active { border-color: var(--cyan); background: var(--tan); }
.template-list i { width: 24px; height: 24px; border-radius: 6px; background: var(--tan); box-shadow: inset 5px 0 0 var(--brand-accent); }
.template-list button:nth-child(2) i { background: var(--brand-primary); box-shadow: inset 0 -8px 0 var(--brand-accent); }
.template-list button:nth-child(3) i { background: var(--white); box-shadow: inset 0 3px 0 var(--brand-accent); }
.background-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.background-options button { min-height: 36px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); font-size: 11px; font-weight: 700; }
.background-options button.active { border-color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }
.colour-control { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-control); }
.colour-control input { width: 44px; height: 30px; border: 0; background: transparent; padding: 0; }
.quote-preview-wrap { min-height: 520px; display: grid; place-items: center; padding: 24px; border-radius: var(--radius-card); background: var(--tan); overflow: hidden; }
.quote-preview { position: relative; width: min(100%, 360px); aspect-ratio: 4 / 5; padding: 9%; display: flex; flex-direction: column; overflow: hidden; background: var(--tan); color: var(--brand-primary); box-shadow: 0 18px 42px rgba(14,54,54,.15); }
.quote-preview.ratio-1x1 { aspect-ratio: 1; }
.quote-preview.ratio-9x16 { width: min(100%, 292px); aspect-ratio: 9 / 16; }
.quote-preview > span { position: relative; z-index: 2; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.quote-preview blockquote { position: relative; z-index: 2; margin: auto 0; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.05; font-weight: 800; letter-spacing: -.04em; }
.quote-preview footer { position: relative; z-index: 2; display: flex; flex-direction: column; padding-top: 14px; border-top: 4px solid var(--brand-accent); }
.quote-preview footer strong { font-size: 13px; }
.quote-preview footer small { font-size: 11px; }
.quote-preview .quote-motif { position: absolute; inset: 0; pointer-events: none; }
.quote-preview .quote-motif i:first-child { position: absolute; top: 5%; right: 6%; width: 24%; aspect-ratio: 1; border-radius: 50%; background: var(--brand-accent); }
.quote-preview .quote-motif i:last-child { position: absolute; right: -12%; bottom: -9%; width: 55%; aspect-ratio: 1; border-radius: 48% 52% 0 0; background: var(--brand-primary); }
.quote-preview.template-sunrise { background: var(--brand-primary); color: var(--white); }
.quote-preview.template-sunrise .quote-motif i:first-child { width: 34%; right: 12%; }
.quote-preview.template-sunrise .quote-motif i:last-child { width: 120%; height: 34%; right: -20%; bottom: -12%; border-radius: 50% 50% 0 0; background: var(--tan); opacity: .2; }
.quote-preview.template-minimal { background: var(--white); }
.quote-preview.template-minimal::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--brand-accent); }
.quote-preview.template-minimal .quote-motif i:last-child { width: 23%; right: 7%; bottom: 6%; border-radius: 50%; background: var(--brand-accent); }
.quote-editor { min-width: 0; }
.quote-editor .output-field { margin-top: 12px; }
.evidence-strip { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--radius-control); background: var(--tan); font-size: 12px; }
.evidence-strip span { text-transform: capitalize; }
.output-note { padding: 16px; border-radius: var(--radius-control); background: var(--tan); color: var(--muted); }
.channel-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.channel-columns > section { min-width: 0; }
.channel-columns h4 { margin: 0 0 16px; font-size: 25px; }
.channel-columns .output-field { margin-bottom: 12px; }
.channel-columns textarea { min-height: 100px; }
.pastoral-flags { margin-top: 18px; padding: 20px; border-radius: var(--radius-control); background: rgba(251,196,88,.25); }
.pastoral-flags p { margin: 8px 0 0; }
.clip-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.clip-list article { padding: 20px; border-radius: var(--radius-card); background: var(--tan); }
.clip-list header { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.clip-list h4 { margin: 24px 0 10px; font-size: 23px; }
.clip-list p { font-style: italic; }
.clip-list small { display: block; color: var(--muted); }
.clip-list button { margin-top: 18px; background: var(--white); }
.integrity-card { margin-top: 18px; padding: 24px; border-radius: var(--radius-card); background: var(--cyan); color: var(--white); }
.integrity-card h4 { max-width: 760px; margin: 10px 0 16px; font-size: 24px; }
.integrity-card li { margin: 7px 0; color: rgba(255,255,255,.82); }
.publish-check { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.check-ready { color: var(--cyan); font-weight: 700; }
.check-needed { color: #8a4d18; font-weight: 700; }
.publish-blocker { margin: 18px 0; padding: 18px; border-radius: var(--radius-control); background: rgba(251,196,88,.22); }
.publish-blocker p { margin: 6px 0 14px; color: var(--muted); font-size: 14px; }
.public-url { display: flex; gap: 8px; margin: 18px 0; }
.public-url input { flex: 1; min-width: 0; border: 0; border-radius: var(--radius-control); background: var(--tan); padding: 12px; }
.public-url-pending { display: grid; gap: 5px; margin: 18px 0; padding: 14px; border-radius: var(--radius-control); background: var(--tan); color: var(--muted); }
.public-url-pending span { font-size: 12px; font-weight: 700; }
.public-url-pending code { overflow: hidden; color: var(--cyan); font: 13px/1.4 inherit; text-overflow: ellipsis; white-space: nowrap; }
.publish-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.media-linker > p { color: var(--muted); }
.media-linker > .secondary-button { width: 100%; justify-content: center; margin: 8px 0 12px; }
.attached-media { display: grid; gap: 8px; margin: 16px 0; }
.attached-media article { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px; border-radius: var(--radius-control); background: var(--tan); }
.attached-media span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.attached-media strong { grid-column: 1; font-size: 14px; }
.attached-media button { grid-column: 2; grid-row: 1 / 3; }
.media-empty { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-control); font-size: 13px; }
.candidate-group { margin: 18px 0; }
.candidate-group h4 { margin: 0 0 8px; font-size: 16px; }
.media-candidate { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; margin: 7px 0; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--white); color: var(--cyan); text-align: left; }
.media-candidate:hover { border-color: var(--cyan); background: var(--tan); }
.media-candidate span { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.media-candidate strong { font-size: 13px; }
.media-candidate small { font-weight: 800; }
.manual-media { margin: 18px 0; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-control); }
.manual-media summary { cursor: pointer; font-size: 13px; font-weight: 800; }
.manual-media label { display: grid; gap: 5px; margin-top: 12px; font-size: 12px; font-weight: 700; }
.manual-media input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.manual-media button { margin-top: 12px; }
.publish-success { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; margin-bottom: 18px; padding: 28px; border-radius: var(--radius-card); background: var(--cyan); color: var(--white); }
.publish-success h3 { margin: 8px 0; color: var(--white); font-size: 34px; }
.publish-success p { margin: 0; color: rgba(255,255,255,.75); }
.share-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.share-links button { display: grid; gap: 7px; min-width: 0; padding: 14px; border: 0; border-radius: var(--radius-control); background: rgba(255,255,255,.1); color: var(--white); text-align: left; }
.share-links button:hover { background: rgba(255,255,255,.18); }
.share-links span { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.share-links strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.share-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.share-actions .secondary-button { border-color: rgba(255,255,255,.35); background: transparent; color: var(--white); }
.brand-swatches { display: flex; gap: 10px; margin: 22px 0; }
.brand-swatches label { width: 56px; height: 56px; border-radius: var(--radius-control); }
.brand-colours { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.brand-colours label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; }
.brand-colours input { width: 48px; height: 40px; border: 0; border-radius: 8px; background: transparent; }
.connection-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.connection-result { display: grid; gap: 7px; margin-top: 14px; }
.connection-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 13px; border-radius: var(--radius-control); background: var(--tan); font-size: 12px; }
.connection-row.connected strong { color: var(--cyan); }
.connection-row.connection-warning strong { color: #8a4d18; }
.connection-row span { color: var(--muted); text-align: right; }
.hub-address { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; align-items: center; margin-top: 18px; padding: 14px; border-radius: var(--radius-control); background: var(--tan); }
.hub-address span { font-size: 12px; font-weight: 700; }
.hub-address code { grid-column: 1; overflow: hidden; color: var(--muted); font: 12px/1.4 inherit; text-overflow: ellipsis; white-space: nowrap; }
.hub-address button { grid-column: 2; grid-row: 1 / 3; }
.danger-link { margin-top: 28px; border: 0; background: transparent; padding: 0; text-decoration: underline; }

/* Public Weekly Guide */
.guide-view { min-height: 100dvh; background: var(--tan); }
.church-hub-view { min-height: 100dvh; background: var(--tan); }
.hub-nav { max-width: 1440px; height: 92px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.hub-nav nav { display: flex; align-items: center; gap: 34px; }
.hub-nav > .secondary-button { justify-self: end; }
.hub-church-name { justify-self: start; font-size: 26px; font-weight: 800; }
.church-hub-view main { max-width: 1440px; margin: 0 auto; padding: 0 40px 72px; }
.hub-loading,.hub-empty { min-height: 520px; display: grid; place-content: center; text-align: center; }
.hub-loading h1,.hub-empty h1 { max-width: 760px; margin: 12px auto; font-size: clamp(44px,6vw,78px); }
.hub-hero { position: relative; min-height: 540px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border-radius: var(--radius-feature); background: var(--cyan); color: var(--white); }
.hub-hero > div { position: relative; z-index: 2; align-self: center; padding: 64px; }
.hub-hero p { margin: 24px 0 8px; color: rgba(255,255,255,.74); font-weight: 700; }
.hub-hero h1 { max-width: 760px; margin: 0; color: var(--white); font-size: clamp(56px,7vw,96px); line-height: .96; }
.hub-hero img { position: absolute; width: 620px; right: -90px; bottom: -185px; opacity: .82; }
.hub-meta { display: flex; gap: 20px; margin: 24px 0; color: rgba(255,255,255,.8); }
.hub-media { margin-top: 20px; padding: 40px; border-radius: var(--radius-feature); background: var(--white); }
.hub-archive { padding: 72px 0 0; }
.hub-archive > div:first-child { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.hub-archive h2 { margin: 8px 0 24px; font-size: clamp(40px,5vw,64px); }
.hub-message-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.hub-message-card { min-height: 190px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); color: var(--cyan); text-align: left; }
.hub-message-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hub-message-card.latest { background: var(--orange); }
.hub-message-card span,.hub-message-card small { font-size: 12px; }
.hub-message-card strong { font-size: 23px; line-height: 1.08; }
.guide-nav { max-width: 1440px; height: 92px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.guide-church { justify-self: start; font-size: 26px; font-weight: 700; }
.guide-nav nav { display: flex; gap: 42px; align-items: center; }
.guide-nav nav button { border: 0; background: transparent; padding: 8px 0; }
.guide-nav > .secondary-button { justify-self: end; }
.guide-view main { max-width: 1440px; margin: 0 auto; padding: 0 40px 64px; }
.guide-media { margin-top: 20px; padding: 36px 44px; border-radius: var(--radius-feature); background: var(--white); }
.public-media-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.public-media-heading h2 { margin: 7px 0 18px; font-size: clamp(36px,4vw,54px); }
.public-media-tabs { width: fit-content; display: flex; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 999px; background: var(--tan); }
.public-media-tabs button { min-width: 90px; border: 0; border-radius: 999px; padding: 9px 16px; background: transparent; color: var(--cyan); font-weight: 800; }
.public-media-tabs button.active { background: var(--cyan); color: var(--white); }
.public-media-panel { display: none; grid-template-columns: minmax(0,1.2fr) minmax(240px,.8fr); gap: 28px; align-items: center; }
.public-media-panel.active { display: grid; }
.public-media-panel h3 { margin: 8px 0 16px; font-size: clamp(25px,3vw,38px); }
.public-media-panel audio { width: 100%; }
.public-media-panel > .secondary-button { justify-self: start; margin-top: 14px; }
.podcast-player { display: grid; gap: 12px; }
.podcast-player .secondary-button { justify-self: start; }
.video-poster,.public-media-panel iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-card); overflow: hidden; }
.video-poster { position: relative; padding: 0; background: var(--cyan); }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .88; }
.video-poster span { position: absolute; inset: 50% auto auto 50%; width: 58px; height: 58px; display: grid; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; background: var(--orange); color: var(--cyan); font-size: 20px; }
.guide-shell { display: grid; grid-template-columns: 0.94fr 1.06fr; min-height: 650px; overflow: hidden; border-radius: var(--radius-feature); box-shadow: var(--shadow); }
.guide-hero { position: relative; overflow: hidden; padding: 48px 56px; background: var(--cyan); color: var(--white); }
.guide-hero .series-label { margin: 28px 0 18px; font-size: 16px; }
.guide-hero h1 { position: relative; z-index: 2; margin: 0; font-size: clamp(56px, 6vw, 82px); line-height: 1.02; color: var(--white); }
.guide-divider { width: 44px; height: 3px; margin: 24px 0; background: var(--white); }
.guide-meta { display: flex; flex-direction: column; gap: 5px; font-weight: 600; }
.guide-hero blockquote { max-width: 390px; margin: 16px 0 0; font-size: 17px; font-style: italic; }
.guide-art-img { position: absolute; z-index: 1; width: 460px; right: -70px; bottom: -125px; opacity: 0.72; animation: guide-art-rise 8s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate; }
@keyframes guide-art-rise { from { transform: translate3d(0, 12px, 0) scale(0.96); } to { transform: translate3d(-8px, -6px, 0) scale(1); } }
.today-section { padding: 48px 56px; background: var(--white); }
.today-section article { max-width: 640px; }
.today-label { display: block; margin-bottom: 16px; font-size: 15px; font-weight: 600; }
.today-section h2 { margin: 0 0 24px; font-size: clamp(42px, 4vw, 56px); }
.today-section article > p { max-width: 610px; margin-bottom: 22px; font-size: 17px; line-height: 1.7; }
.scripture-card { margin-top: 28px; padding: 20px 0; border-top: 2px solid var(--cyan); border-bottom: 1px solid var(--line); }
.scripture-card span,
.daily-response span { display: block; font-size: 14px; font-weight: 700; }
.scripture-card strong { display: block; margin-top: 4px; font-size: 18px; }
.daily-response { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.daily-response > div { padding: 24px 24px 0 0; }
.daily-response > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.daily-response p { margin: 8px 0 0; }
.six-days { padding: 24px 0 0; }
.guide-days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.guide-day { min-height: 92px; padding: 14px; border: 0; border-radius: var(--radius-card); background: var(--white); color: var(--cyan); font: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; align-items: center; column-gap: 12px; transition: transform 500ms var(--curve), background-color 500ms var(--curve), box-shadow 500ms var(--curve); }
.guide-day:hover { transform: translateY(-3px); }
.guide-day.current { background: var(--orange); }
.guide-day.today:not(.current) { box-shadow: inset 0 0 0 2px rgba(14, 54, 54, 0.22); }
.guide-day:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.guide-day small { font-size: 11px; font-weight: 700; }
.guide-day strong { grid-row: 1 / 3; font-size: 26px; }
.guide-day span { font-size: 13px; font-weight: 600; }
.guide-together { margin-top: 64px; padding: 56px; border-radius: var(--radius-feature); background: var(--cyan); color: var(--white); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
.guide-together h2 { margin: 14px 0 16px; font-size: 44px; }
.guide-together p { color: rgba(255, 255, 255, 0.8); }
.guide-together ol { margin: 0; padding-left: 26px; }
.guide-together li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.guide-footer { max-width: 1440px; margin: 0 auto; padding: 0 40px 32px; display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.guide-footer span { font-size: 14px; }
.guide-footer img { width: 150px; mix-blend-mode: multiply; }

/* Onboarding and dialogs */
.onboarding-shell { min-height: 100dvh; display: grid; grid-template-columns: 0.85fr 1.15fr; background: var(--white); }
.onboarding-story { padding: 48px clamp(40px, 6vw, 88px); background: var(--tan); display: flex; flex-direction: column; justify-content: space-between; }
.onboarding-story h1 { max-width: 620px; margin: 22px 0; font-size: clamp(54px, 7vw, 86px); }
.onboarding-story p { max-width: 560px; font-size: 20px; }
.onboarding-story small { color: var(--muted); }
.onboarding-card { width: min(700px, calc(100% - 64px)); margin: auto; padding: 64px 0; }
.onboarding-card h1,
.onboarding-card h2 { margin: 12px 0 18px; font-size: clamp(44px, 5vw, 64px); }
.onboarding-card > p { max-width: 540px; font-size: 18px; color: var(--muted); }
.onboarding-primary { margin-top: 20px; }
.existing-workspaces { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.existing-workspaces > span { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 700; }
.existing-workspaces button { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; grid-template-rows: 1fr 1fr; gap: 0 12px; align-items: center; margin-top: 8px; padding: 12px; border: 0; border-radius: var(--radius-control); background: var(--tan); text-align: left; }
.existing-workspaces button i { grid-row: 1 / 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--orange) !important; color: var(--cyan) !important; font-style: normal; font-size: 12px; }
.existing-workspaces button strong { align-self: end; }
.existing-workspaces button small { align-self: start; color: var(--muted); }
.existing-workspaces button b { grid-column: 3; grid-row: 1 / 3; }
.onboarding-form-shell { min-height: 100dvh; background: var(--white); padding-bottom: 80px; }
.onboarding-top { height: 96px; padding: 0 max(32px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.onboarding-top > span { font-size: 13px; font-weight: 700; }
.onboarding-progress { max-width: 860px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.onboarding-progress i { display: flex; align-items: center; gap: 9px; padding-top: 16px; border-top: 2px solid var(--line); color: var(--muted); font-style: normal; font-size: 13px; }
.onboarding-progress i.active { border-color: var(--orange); color: var(--cyan); }
.onboarding-progress b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--tan); }
.onboarding-progress i.active b { background: var(--orange); }
.onboarding-step { max-width: 760px; margin: 60px auto 0; padding: 0 24px; }
.onboarding-step > h1 { margin: 14px 0; font-size: clamp(44px, 6vw, 68px); }
.onboarding-step > p { margin-bottom: 34px; font-size: 17px; color: var(--muted); }
.onboarding-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.onboarding-fields .full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.form-field small { display: block; margin-top: 7px; color: var(--muted); }
.form-field input,
.form-field textarea,
.form-field select { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--white); padding: 13px 14px; }
.form-field textarea { min-height: 118px; resize: vertical; }
.onboarding-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.setup-review { padding: 28px; }
.setup-review > section { display: flex; gap: 16px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.setup-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--radius-card); background: var(--orange) !important; color: var(--cyan) !important; font-weight: 700; }
.setup-review h3 { margin: 0; font-size: 30px; }
.setup-review p { margin: 4px 0; color: var(--muted); }
.setup-review dl { margin: 0; }
.setup-review dl div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.setup-review dt { font-size: 12px; font-weight: 700; }
.setup-review dd { margin: 6px 0 0; }
.setup-checklist { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.setup-checklist span { padding: 14px; border-radius: var(--radius-control); background: var(--tan); color: var(--muted); }
.setup-checklist span.done { background: var(--orange); color: var(--cyan); }
.empty-onboarding { padding: 48px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 30; padding: 24px; background: rgba(14, 54, 54, 0.72); display: grid; place-items: center; opacity: 0; transition: opacity 500ms var(--curve); }
.modal-backdrop.open { opacity: 1; }
.modal { width: min(720px, 100%); max-height: calc(100dvh - 48px); overflow: auto; padding: 32px; border-radius: var(--radius-feature); background: var(--white); transform: translateY(24px); transition: transform 500ms var(--curve); }
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; gap: 24px; }
.modal-header h2 { margin: 10px 0 24px; font-size: 42px; }
.modal-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tan); font-size: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }

.pill-button { min-height: 48px; display: inline-flex; align-items: center; gap: 14px; border: 0; border-radius: var(--radius-control); padding: 11px 16px 11px 20px; font-weight: 700; }
.pill-button-dark { background: var(--cyan); color: var(--white); }
.pill-button-clay { background: var(--orange); color: var(--cyan); }
.pill-button-cream { background: var(--white); color: var(--cyan); }
.button-icon { font-size: 18px; }

@media (max-width: 1180px) {
  .site-nav { width: calc(100% - 48px); }
  .hero { min-height: 790px; padding-left: 32px; padding-right: 32px; }
  .journey-map { left: 32px; right: 32px; }
  .hero-copy { width: 48%; }
  .hero h1 { font-size: clamp(58px, 7vw, 78px); }
  .hero-landscape { right: -126px; width: 76%; }
  .source-card { width: 184px; }
  .source-art { height: 102px; }
  .week-path { left: 15%; right: 18%; }
  .week-card { flex-basis: 86px; min-width: 68px; }
  .phone-pedestal { width: 218px; }
  .phone-pedestal::before { width: 230px; }
  .phone-preview { width: 184px; min-height: 338px; }
  .product-section,
  .pricing { gap: 56px; }
  .journey-editor { grid-template-columns: 180px minmax(0, 1fr); }
  .review-card { grid-column: 2; }
  .social-workbench { grid-template-columns: 190px minmax(280px, .8fr) minmax(300px, 1fr); gap: 16px; }
  .clip-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-nav { height: 88px; grid-template-columns: 1fr auto; }
  .site-nav nav { display: none; }
  .brand-logo { width: 165px; }
  .hero { min-height: auto; padding: 56px 24px 72px; overflow: hidden; }
  .hero-copy { width: 100%; max-width: 650px; padding-top: 0; }
  .journey-map { position: relative; inset: auto; min-height: auto; margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; align-items: end; }
  .hero-landscape { --landscape-opacity: 0.42; top: -60px; right: -100px; width: 88%; }
  .source-sermon { position: relative; left: auto; bottom: auto; grid-column: 1; grid-row: 1; width: 220px; }
  .source-card { width: 100%; max-width: 220px; }
  .week-path { position: relative; left: auto; right: auto; bottom: auto; grid-column: 1 / -1; grid-row: 2; width: 100%; height: 258px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
  .week-cards { position: relative; min-width: 820px; height: 245px; padding: 70px 22px 50px; }
  .week-cards .week-card { --lift: 0px; --tilt: 0deg; }
  .day-runway { left: 0; right: 0; bottom: 4px; }
  .week-card { flex: 0 0 96px; min-width: 96px; }
  .phone-pedestal { position: relative; right: auto; bottom: auto; grid-column: 2; grid-row: 1; width: 210px; height: 390px; }
  .phone-pedestal::before { width: 220px; }
  .phone-preview { width: 182px; min-height: 330px; margin-bottom: 36px; }
  .section { padding: 96px 32px; }
  .product-section,
  .pricing,
  .guide-promo,
  .gather-section { grid-template-columns: 1fr; gap: 52px; }
  .product-section { min-height: auto; }
  .product-story { position: static; }
  .illustration-stack { height: 420px; }
  .guide-promo { padding-left: 32px; padding-right: 32px; }
  .site-footer { margin: 0 32px; }
  .studio-layout { grid-template-columns: 1fr; }
  .studio-sidebar { position: fixed; z-index: 25; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform 600ms var(--curve); box-shadow: var(--shadow); }
  .studio-sidebar.open { transform: translateX(0); }
  .studio-main { padding: 28px 24px 64px; }
  .mobile-menu { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-control); background: var(--tan); }
  .studio-header { align-items: flex-start; }
  .studio-header > div { flex: 1; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .metric-card.large { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: 180px minmax(0, 1fr); }
  .dashboard-lower { grid-template-columns: 1fr; }
  .workspace-tabs { overflow-x: auto; grid-template-columns: repeat(5, minmax(150px, 1fr)); }
  .journey-editor { grid-template-columns: 1fr; }
  .day-nav-tabs { grid-template-columns: repeat(6, minmax(110px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .day-nav > .eyebrow { display: block; }
  .day-nav button { min-width: 92px; display: flex; flex-direction: column; align-items: flex-start; }
  .review-card { grid-column: 1; }
  .source-layout,
  .map-layout,
  .distribution-layout,
  .publish-layout { grid-template-columns: 1fr; }
  .process-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .transcript-workbench { grid-template-columns: 1fr; }
  .evidence-browser { position: static; }
  .content-pack-header { align-items: start; }
  .output-tabs { grid-template-columns: repeat(6, 150px); }
  .social-workbench { grid-template-columns: 210px 1fr; }
  .quote-editor { grid-column: 1 / -1; }
  .channel-columns { grid-template-columns: 1fr; }
  .guide-nav,
  .hub-nav { grid-template-columns: 1fr auto; padding-left: 20px; padding-right: 20px; }
  .guide-nav nav,
  .hub-nav nav { display: none; }
  .church-hub-view main,
  .guide-view main { padding-left: 20px; padding-right: 20px; }
  .hub-hero { grid-template-columns: 1fr; min-height: 500px; }
  .hub-hero > div { padding: 42px; }
  .hub-hero img { width: 480px; right: -150px; opacity: .42; }
  .hub-message-grid { grid-template-columns: repeat(2,1fr); }
  .publish-success { grid-template-columns: 1fr; }
  .share-links { grid-template-columns: 1fr; }
  .share-actions { grid-column: 1; }
  .public-media-panel { grid-template-columns: 1fr; }
  .guide-shell { grid-template-columns: 1fr; }
  .guide-hero { min-height: 520px; }
  .guide-days { overflow-x: auto; grid-template-columns: repeat(6, minmax(150px, 1fr)); padding-bottom: 12px; }
  .guide-together { grid-template-columns: 1fr; gap: 28px; }
  .onboarding-shell { grid-template-columns: 1fr; }
  .onboarding-story { min-height: 480px; }
}

@media (max-width: 640px) {
  .process-card,
  .transcript-main,
  .evidence-browser { padding: 20px; }
  .process-summary,
  .transcript-toolbar { display: grid; gap: 14px; }
  .transcript-toolbar label { width: 100%; }
  .process-jobs { grid-template-columns: 1fr; }
  .transcript-segment { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding-left: 0; padding-right: 0; }
  .transcript-segment > span { grid-column: 2; justify-self: start; }
  .hub-nav,.guide-nav { height: 76px; }
  .hub-church-name,.guide-church { max-width: 180px; overflow: hidden; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
  .hub-nav > .secondary-button,.guide-nav > .secondary-button { padding: 9px 11px; font-size: 12px; }
  .church-hub-view main,.guide-view main { padding-left: 12px; padding-right: 12px; }
  .hub-hero { min-height: 520px; border-radius: 24px; }
  .hub-hero > div { padding: 30px 24px; }
  .hub-hero h1 { font-size: 50px; }
  .hub-hero img { width: 420px; right: -180px; bottom: -120px; opacity: .3; }
  .hub-meta { flex-direction: column; gap: 4px; }
  .hub-media,.guide-media { padding: 26px 20px; border-radius: 24px; }
  .hub-message-grid { grid-template-columns: 1fr; }
  .public-media-heading { display: block; }
  .publish-success { padding: 22px; }
  .connection-row { display: grid; }
  .connection-row span { text-align: left; }
  .brand-colours { grid-template-columns: 1fr; }
  .site-nav { width: calc(100% - 32px); }
  .brand-logo { width: 140px; height: 52px; }
  .hero { padding: 44px 16px 64px; }
  .hero-copy { text-align: left; }
  .hero h1 { font-size: clamp(44px, 14vw, 58px); }
  .hero-lead { margin-left: 0; font-size: 17px; }
  .hero .primary-button { width: 100%; min-width: 0; }
  .journey-map { margin-top: 42px; grid-template-columns: 1fr; gap: 34px; }
  .hero-landscape { --landscape-opacity: 0.3; top: 160px; right: -72px; width: 125%; }
  .source-sermon { grid-column: 1; grid-row: 1; width: 192px; }
  .map-label { margin-left: 12px; }
  .source-card { max-width: none; }
  .week-path { grid-column: 1; grid-row: 2; margin-right: -16px; width: calc(100% + 16px); }
  .week-cards { margin-right: 0; }
  .phone-pedestal { grid-column: 1; grid-row: 3; justify-self: center; }
  .section { padding: 80px 20px; }
  .section-intro h2,
  .guide-promo h2 { font-size: 40px; }
  .workflow-list article { grid-template-columns: 44px 1fr; }
  .guide-promo-days { grid-template-columns: 1fr; }
  .guide-promo-illustration { width: 280px; right: -80px; bottom: -80px; opacity: 0.22; }
  .illustration-stack { height: 360px; margin-top: 30px; }
  .illustration-card { width: 220px; padding: 14px; border-radius: 22px; }
  .illustration-card-scripture { top: 65px; }
  .illustration-card-gather { left: 36px; }
  .gather-illustration-wrap { min-height: 380px; }
  .pricing-card { padding: 28px 20px; }
  .site-footer { margin: 0 20px; padding: 36px 0; flex-direction: column; align-items: flex-start; }
  .studio-main { padding: 20px 16px 56px; }
  .studio-header { display: grid; grid-template-columns: auto 1fr; }
  .studio-header .primary-button { grid-column: 1 / -1; width: 100%; }
  .studio-header h1 { font-size: 32px; }
  .studio-header p { font-size: 15px; }
  .current-run,
  .recent-section,
  .content-card,
  .editor-card,
  .review-card { padding: 20px; }
  .billing-card-head { flex-direction: column; }
  .billing-card dl { grid-template-columns: 1fr; }
  .billing-card dl div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .panel-title { flex-direction: column; }
  .run-progress { grid-template-columns: 1fr; gap: 16px; }
  .run-progress button { min-height: auto; border-top: 0; border-left: 2px solid var(--line); padding: 0 0 20px 44px; }
  .run-progress button span { top: 0; left: -16px; }
  .run-actions { flex-direction: column; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .metric-card.large { grid-column: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .sermon-thumbnail { min-height: 140px; }
  .mini-days { overflow-x: auto; grid-template-columns: repeat(6, 82px); padding-bottom: 10px; }
  .mini-day { height: 120px; }
  .sermon-row { grid-template-columns: 46px 1fr auto; padding: 14px 0; }
  .sermon-row > div:nth-child(3),
  .sermon-row > div:nth-child(4) { display: none; }
  .workspace-bar { align-items: flex-start; }
  .workspace-bar > div:last-child { flex-direction: column; align-items: flex-end; }
  .save-status { display: none; }
  .editor-actions,
  .public-url { flex-direction: column; }
  .asset-grid { grid-template-columns: 1fr; }
  .content-pack-header,
  .output-heading,
  .output-actions { flex-direction: column; align-items: stretch; }
  .pdf-action-row { justify-content: stretch; }
  .pdf-action-row button { flex: 1 1 180px; }
  .pdf-ready-note { align-items: flex-start; }
  .content-pack-header p { text-align: left; }
  .output-actions > div { width: 100%; }
  .output-actions button { flex: 1; }
  .output-editor { padding: 20px; }
  .output-form-grid { grid-template-columns: 1fr; }
  .output-field.wide { grid-column: 1; }
  .social-workbench { grid-template-columns: 1fr; }
  .quote-preview-wrap { min-height: 420px; }
  .quote-editor { grid-column: auto; }
  .clip-list { grid-template-columns: 1fr; }
  .evidence-strip { flex-direction: column; }
  .guide-nav { height: 76px; padding: 0 20px; }
  .guide-nav > .secondary-button { display: none; }
  .guide-view main { padding: 0 12px 44px; }
  .guide-hero,
  .today-section { padding: 34px 24px; }
  .guide-hero { min-height: 500px; }
  .guide-hero h1 { font-size: 50px; }
  .today-section h2 { font-size: 38px; }
  .daily-response { grid-template-columns: 1fr; }
  .daily-response > div { padding: 20px 0; }
  .daily-response > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .guide-together { margin-top: 44px; padding: 32px 24px; }
  .guide-together h2 { font-size: 34px; }
  .guide-footer { padding: 0 20px 28px; }
  .onboarding-story { min-height: 420px; padding: 32px 24px; }
  .onboarding-story h1 { font-size: 50px; }
  .onboarding-card { width: calc(100% - 40px); padding: 48px 0; }
  .onboarding-progress { margin: 32px 16px 0; }
  .onboarding-progress i { justify-content: center; }
  .onboarding-progress i span { display: none; }
  .onboarding-fields,
  .form-grid { grid-template-columns: 1fr; }
  .onboarding-fields .full,
  .form-grid .full { grid-column: 1; }
  .setup-checklist { grid-template-columns: 1fr; }
  .modal { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

.team-panel { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr); gap:24px; margin-top:30px; }
.team-list,.pending-invites { display:grid; gap:10px; margin-top:22px; }
.team-row { display:grid; grid-template-columns:44px minmax(0,1fr) auto auto; align-items:center; gap:12px; padding:13px 0; border-bottom:1px solid rgba(14,54,54,.12); }
.team-row:last-child { border-bottom:0; }
.team-row > div { display:grid; gap:2px; }
.team-row small { color:rgba(14,54,54,.62); }
.team-avatar { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--tan); color:var(--forest); font-weight:800; font-size:.8rem; }
.invite-form { display:grid; grid-template-columns:minmax(0,1fr) 150px; gap:14px; margin-top:20px; }
.invite-form label { display:grid; gap:7px; font-size:.82rem; font-weight:700; }
.invite-form input,.invite-form select,.invite-ready input { min-height:46px; width:100%; border:1px solid rgba(14,54,54,.2); border-radius:10px; background:#fff; color:var(--forest); padding:0 12px; font:inherit; }
.invite-form button,.invite-form .commercial-status { grid-column:1/-1; }
.invite-ready { margin-top:20px; padding:18px; border-radius:14px; background:var(--tan); }
.invite-ready p { margin:7px 0 12px; }
.invite-ready > div { display:flex; gap:8px; }
.pending-invites h4 { margin:10px 0 0; }
.role-explainer { display:grid; gap:7px; margin-top:22px; padding-top:18px; border-top:1px solid rgba(14,54,54,.12); }
.role-explainer p { margin:0; font-size:.9rem; }

@media (max-width: 900px) {
  .team-panel { grid-template-columns:1fr; }
}

@media (max-width: 600px) {
  .team-row { grid-template-columns:40px minmax(0,1fr) auto; }
  .team-row > button,.team-row > small:last-child { grid-column:2/-1; justify-self:start; }
  .invite-form { grid-template-columns:1fr; }
  .invite-ready > div { flex-direction:column; }
}

/* Approved Option 4 hero: live copy over one coherent sculptural scene. */
.home-active { background: var(--tan); }
.home-active .site-nav { display: grid; }
.hero.hero-composite {
  position: relative;
  max-width: 1536px;
  min-height: 0;
  aspect-ratio: 1586 / 1060;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  background: var(--tan);
}
.hero-composite .hero-copy {
  position: absolute;
  z-index: 2;
  left: 6%;
  top: 8%;
  width: min(680px, 48%);
  padding: 0;
}
.hero-composite h1 {
  margin: 0;
  font-size: clamp(64px, 6.3vw, 92px);
  line-height: 0.98;
}
.hero-composite .hero-lead {
  max-width: 550px;
  margin: 24px 0 28px;
  font-size: 20px;
  line-height: 1.5;
}
.hero-composite .primary-button { min-width: 310px; }
.hero-composite-art {
  position: absolute;
  z-index: 1;
  left: 0;
  right: auto;
  top: auto;
  bottom: 0;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero.hero-composite {
    min-height: 0;
    aspect-ratio: auto;
    padding: 48px 24px 0;
    background: var(--tan);
  }
  .hero-composite .hero-copy {
    position: relative;
    z-index: 2;
    left: auto;
    top: auto;
    width: auto;
    max-width: 680px;
    margin: 0;
    padding: 0;
  }
  .hero-composite h1 {
    font-size: clamp(50px, 12vw, 78px);
  }
  .hero-composite .hero-lead {
    font-size: 18px;
  }
  .hero-composite-art {
    position: relative;
    inset: auto;
    width: 120%;
    height: auto;
    margin: 56px 0 0 -10%;
    object-fit: contain;
  }
}

@media (max-width: 640px) {
  .hero.hero-composite { padding: 34px 16px 0; }
  .hero-composite h1 { font-size: clamp(46px, 14vw, 62px); }
  .hero-composite .hero-lead { font-size: 17px; }
  .hero-composite .primary-button { width: 100%; min-width: 0; }
  .hero-composite-art { width: 128%; margin: 48px 0 0 -14%; }
}

/* Homepage Stage 1: outcomes first, then mechanism and conversion. */
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.nav-start {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-control);
  padding: 9px 16px;
  background: var(--cyan);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: transform 500ms var(--curve);
}
.nav-start:hover { transform: translateY(-2px); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .015em;
}
.hero-actions { display: flex; align-items: center; gap: 12px; }
.hero-secondary {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 11px 18px;
  background: rgba(255,255,255,.72);
  font-weight: 700;
  transition: transform 500ms var(--curve), background-color 500ms var(--curve);
}
.hero-secondary:hover { transform: translateY(-2px); background: var(--white); }
.hero-support { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.hero-support small { color: var(--muted); font-size: 11px; }
.hero-support .text-link { font-size: 13px; }
.hero-support .text-link span,
.card-link span,
.final-cta .text-link span { display: inline-block; margin-left: 4px; transition: transform 500ms var(--curve); }
.hero-support .text-link:hover span,
.card-link:hover span,
.final-cta .text-link:hover span { transform: translate(2px,-2px); }
.hero-composite .hero-copy { top: 5.5%; }
.hero-composite h1 { font-size: clamp(60px, 5.8vw, 86px); }
.hero-composite .hero-lead { max-width: 590px; margin: 18px 0 22px; font-size: 18px; }
.hero-composite .primary-button { min-width: 220px; }

.outcomes-section {
  max-width: none;
  padding-left: max(64px, calc((100vw - 1312px) / 2));
  padding-right: max(64px, calc((100vw - 1312px) / 2));
  background: var(--white);
  border-radius: 42px 42px 0 0;
}
.outcomes-heading { max-width: 900px; margin-bottom: 58px; }
.outcomes-heading h2 { max-width: 900px; }
.outcome-grid { display: grid; grid-template-columns: 1.35fr .9fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.outcome-card {
  position: relative;
  min-height: 290px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-feature);
  overflow: hidden;
}
.outcome-card::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(14,54,54,.06);
  border-radius: calc(var(--radius-feature) - 5px);
  pointer-events: none;
}
.outcome-copy { position: relative; z-index: 2; display: grid; grid-template-columns: 40px 1fr; gap: 18px; max-width: 620px; }
.outcome-number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); font-size: 11px; font-weight: 800; }
.outcome-copy h3 { margin: 2px 0 10px; font-size: 28px; }
.outcome-copy p { margin: 0; color: var(--muted); }
.outcome-guide { grid-row: 1 / 3; min-height: 670px; background: var(--tan); }
.outcome-guide .outcome-copy { max-width: 700px; }
.outcome-guide-visual { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(210px,.75fr); gap: 18px; align-items: center; margin: 28px 0 22px; }
.outcome-card-art { display: block; object-fit: contain; filter: drop-shadow(0 24px 34px rgba(14,54,54,.12)); transition: transform 800ms var(--curve); }
.outcome-guide-art { width: 100%; }
.outcome-guide:hover .outcome-guide-art { transform: translateY(-7px) rotate(-1deg); }
.outcome-days { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 0; }
.outcome-days span { min-height: 92px; padding: 15px; border-radius: 14px; background: var(--white); display: flex; flex-direction: column; justify-content: space-between; transition: transform 500ms var(--curve); }
.outcome-days span:hover { transform: translateY(-5px); }
.outcome-days span:nth-child(2),
.outcome-days span:nth-child(5) { background: var(--orange); }
.outcome-days b { font-size: 10px; }
.outcome-days strong { font-size: 14px; }
.card-link { position: relative; z-index: 2; border: 0; background: transparent; padding: 8px 0; font-weight: 800; }
.outcome-groups { background: var(--orange); }
.outcome-groups .outcome-number { background: var(--white); }
.outcome-group-art {
  position: absolute;
  right: -10px;
  bottom: -44px;
  width: min(285px,60%);
  transform: rotate(-3deg);
}
.outcome-groups:hover .outcome-group-art { transform: translate(-8px,-10px) rotate(0); }
.outcome-content { background: var(--cyan); color: var(--white); }
.outcome-content .outcome-number { background: var(--orange); color: var(--cyan); }
.outcome-content .outcome-copy p { color: rgba(255,255,255,.72); }
.outcome-content-art { position: absolute; right: -8px; bottom: -48px; width: min(270px,58%); transform: rotate(2deg); }
.outcome-content:hover .outcome-content-art { transform: translate(-8px,-10px) rotate(0); }
.content-preview { position: absolute; left: 36px; bottom: 32px; z-index: 3; width: min(190px,42%); display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
.content-preview span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.9); font-size: 11px; font-weight: 700; transition: background-color 500ms var(--curve), color 500ms var(--curve); }
.outcome-content:hover .content-preview span:nth-child(2n+1) { background: var(--orange); color: var(--cyan); border-color: var(--orange); }

.workflow-section { background: var(--tan); }
.workflow-heading { max-width: 760px; margin-bottom: 58px; }
.workflow-steps { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.workflow-steps article { min-height: 260px; padding: 34px 40px 20px 0; border-bottom: 1px solid var(--line); }
.workflow-steps article + article { padding-left: 40px; border-left: 1px solid var(--line); }
.workflow-steps span { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 48px; border-radius: 50%; background: var(--white); font-size: 11px; font-weight: 800; }
.workflow-steps h3 { margin-bottom: 12px; font-size: 25px; }
.workflow-steps p { margin: 0; color: var(--muted); }

.difference-section {
  max-width: none;
  padding-left: max(64px, calc((100vw - 1312px) / 2));
  padding-right: max(64px, calc((100vw - 1312px) / 2));
  background: var(--cyan);
  color: var(--white);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 96px;
  align-items: center;
}
.difference-copy h2 { max-width: 650px; margin: 18px 0 24px; font-size: clamp(48px,5vw,66px); }
.difference-copy p { max-width: 590px; color: rgba(255,255,255,.72); font-size: 18px; }
.difference-copy .light-button { margin-top: 20px; }
.difference-proof { border-top: 1px solid rgba(255,255,255,.22); }
.difference-proof div { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.difference-proof span { color: var(--orange); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.difference-proof strong { font-size: 18px; }

.pricing { padding-top: 112px; padding-bottom: 112px; }
.pricing-heading > p { margin-top: 20px; }
.regional-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 22px 0 8px; }
.regional-price { padding: 6px 30px 6px 0; }
.regional-price + .regional-price { padding-left: 30px; border-left: 1px solid var(--line); }
.regional-price > span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.regional-prices strong { margin: 14px 0 12px; font-size: clamp(42px,4.2vw,60px); }
.regional-prices strong small { display: inline; margin: 0 0 0 6px; font-size: 13px; }
.regional-price p { margin: 0; font-weight: 800; }
.regional-price p { color: var(--cyan); }
.regional-price p small { display: inline; margin-left: 6px; padding: 4px 7px; border-radius: 999px; background: var(--orange); color: var(--cyan); font-size: 9px; }
.pricing-card .primary-button { width: 100%; }
.pricing-note { display: block; margin-top: 14px; color: var(--muted); font-size: 11px; text-align: center; }

.final-cta {
  margin-bottom: 112px;
  padding: 72px;
  border-radius: 34px;
  background: var(--orange);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: end;
}
.final-cta h2 { margin: 16px 0 0; font-size: clamp(46px,5vw,68px); }
.final-cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 290px; }
.final-cta .hero-secondary { background: var(--white); }
.final-cta .text-link { text-align: center; }

.site-footer > div p { margin-top: 10px; }
.site-footer nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 700; }
.site-footer nav button { border: 0; background: transparent; padding: 0; font-weight: 700; }
.site-footer a:hover,
.site-footer button:hover { opacity: .58; }

@media (max-width: 1180px) {
  .site-nav { grid-template-columns: 1fr auto; }
  .site-nav nav { display: none; }
  .hero-composite .hero-copy { width: 52%; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-secondary { min-height: 42px; }
  .hero-support { align-items: flex-start; flex-direction: column; gap: 2px; }
  .outcome-grid { grid-template-columns: 1.18fr .82fr; }
  .difference-section { gap: 56px; }
}

@media (max-width: 900px) {
  .nav-actions { gap: 0; }
  .hero.hero-composite { padding-top: 42px; }
  .hero-composite .hero-copy { width: auto; }
  .hero-actions { flex-direction: row; }
  .hero-support { flex-direction: row; align-items: center; gap: 18px; }
  .outcomes-section { padding-left: 32px; padding-right: 32px; }
  .outcome-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .outcome-guide { grid-row: auto; min-height: 650px; }
  .outcome-card { min-height: 300px; }
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-steps article { min-height: 0; padding: 28px 0; display: grid; grid-template-columns: 54px 1fr; gap: 0 18px; }
  .workflow-steps article + article { padding-left: 0; border-left: 0; }
  .workflow-steps span { grid-row: 1 / 3; margin: 0; }
  .workflow-steps h3 { margin-top: 5px; }
  .difference-section { padding-left: 32px; padding-right: 32px; grid-template-columns: 1fr; }
  .regional-prices { max-width: 620px; }
  .final-cta { margin-left: 32px; margin-right: 32px; padding: 56px 44px; grid-template-columns: 1fr; align-items: start; }
  .final-cta-actions { width: min(100%,420px); }
  .site-footer { align-items: flex-start; }
  .site-footer nav { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 640px) {
  .site-nav .brand-logo { width: 112px; }
  .nav-actions { gap: 10px; }
  .nav-login { font-size: 12px; }
  .nav-start { min-height: 38px; padding: 8px 10px; font-size: 12px; }
  .hero.hero-composite { padding-top: 28px; }
  .hero-eyebrow { max-width: 290px; font-size: 10px; }
  .hero-composite .hero-lead { margin-top: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-composite .hero-secondary { width: 100%; }
  .hero-support { align-items: flex-start; flex-direction: column; gap: 0; }
  .hero-composite-art { margin-top: 48px; }
  .outcomes-section { padding-left: 20px; padding-right: 20px; border-radius: 28px 28px 0 0; }
  .outcomes-heading { margin-bottom: 38px; }
  .outcome-card { min-height: 330px; padding: 26px 22px; }
  .outcome-copy { grid-template-columns: 36px 1fr; gap: 13px; }
  .outcome-number { width: 36px; height: 36px; }
  .outcome-copy h3 { font-size: 23px; }
  .outcome-guide { min-height: 780px; }
  .outcome-guide-visual { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .outcome-guide-art { width: 118%; margin-left: -9%; }
  .outcome-days { grid-template-columns: repeat(2,1fr); }
  .outcome-days span { min-height: 82px; }
  .outcome-group-art { right: -34px; width: 78%; }
  .outcome-content-art { right: -34px; width: 76%; }
  .content-preview { left: 22px; width: 46%; }
  .difference-section { padding-left: 20px; padding-right: 20px; gap: 48px; }
  .difference-copy h2 { font-size: 40px; }
  .difference-proof div { grid-template-columns: 74px 1fr; gap: 14px; }
  .difference-proof strong { font-size: 15px; }
  .regional-prices { grid-template-columns: 1fr; gap: 18px; }
  .regional-price { padding: 8px 0 20px; }
  .regional-price + .regional-price { padding: 22px 0 8px; border-left: 0; border-top: 1px solid var(--line); }
  .final-cta { margin: 0 20px 80px; padding: 40px 24px; border-radius: 24px; }
  .final-cta-actions { min-width: 0; }
  .site-footer nav { justify-content: flex-start; gap: 18px; }
}

/* Homepage Stage 2: real product proof. */
.proof-section { background: var(--tan); }
.proof-intro { display: flex; justify-content: space-between; align-items: end; gap: 64px; margin-bottom: 54px; }
.proof-intro .section-intro { max-width: 790px; }
.proof-intro h2 { max-width: 760px; }
.proof-context { flex: 0 0 270px; padding: 0 0 8px 22px; border-left: 2px solid var(--orange); display: flex; flex-direction: column; }
.proof-context span { margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.proof-context strong { font-size: 18px; }
.proof-context small { margin-top: 2px; color: var(--muted); font-size: 12px; }

.proof-window {
  padding: 8px;
  border: 1px solid rgba(14,54,54,.1);
  border-radius: 30px;
  background: rgba(14,54,54,.055);
}
.proof-window-inner {
  min-height: 690px;
  border-radius: 23px;
  background: var(--white);
  box-shadow: inset 0 1px rgba(255,255,255,.75), 0 26px 70px rgba(14,54,54,.09);
  overflow: hidden;
}
.proof-window-bar { min-height: 76px; padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.proof-window-bar > div { display: flex; align-items: center; gap: 11px; }
.proof-window-bar > div > i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--cyan); color: var(--white); font-size: 11px; font-style: normal; font-weight: 800; }
.proof-window-bar > div > span { display: flex; flex-direction: column; }
.proof-window-bar strong { font-size: 13px; }
.proof-window-bar small { color: var(--muted); font-size: 10px; }
.proof-status { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: var(--tan); font-size: 11px; font-weight: 800; }
.proof-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.proof-tab-prompt { padding: 20px 22px 10px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.proof-tab-prompt strong { font-size: 14px; }
.proof-tab-prompt span { color: var(--muted); font-size: 11px; font-weight: 700; }
.proof-tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 0 22px 18px; border-bottom: 1px solid var(--line); }
.proof-tabs button { position: relative; min-height: 58px; border: 1px solid rgba(14,54,54,.1); border-radius: 12px; padding: 0 14px; background: var(--tan); color: var(--muted); font-weight: 800; text-align: left; transition: transform 520ms var(--curve), background-color 520ms var(--curve), color 520ms var(--curve), border-color 520ms var(--curve); }
.proof-tabs button span { margin-right: 9px; font-size: 11px; opacity: .68; }
.proof-tabs button::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); opacity: 0; transform: translate(-8px,-50%); transition: opacity 520ms var(--curve), transform 520ms var(--curve); }
.proof-tabs button:hover,
.proof-tabs button.active { border-color: var(--orange); background: var(--orange); color: var(--cyan); transform: translateY(-2px); }
.proof-tabs button:hover { border-color: rgba(14,54,54,.24); color: var(--cyan); transform: translateY(-2px); }
.proof-tabs button.active::after { opacity: 1; transform: translate(0,-50%); }

.proof-panel { min-height: 540px; animation: proof-panel-in 680ms var(--curve) both; }
@keyframes proof-panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.proof-panel-heading { max-width: 660px; }
.proof-panel-heading h3 { margin: 11px 0 14px; font-size: clamp(30px,3vw,43px); line-height: 1.03; }
.proof-panel-heading p { margin: 0; color: var(--muted); font-size: 16px; }
.proof-kicker { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

#proof-source { grid-template-columns: 1.3fr .7fr; }
#proof-source.active,
#proof-guide.active,
#proof-groups.active,
#proof-content.active { display: grid; }
.source-proof-main { padding: 52px; }
.proof-audio { height: 64px; margin: 34px 0 18px; padding: 10px 14px; border-radius: 14px; background: var(--tan); display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; }
.proof-play { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cyan); color: var(--white); font-size: 11px; }
.proof-audio > span:nth-child(2) { position: relative; height: 5px; border-radius: 5px; background: rgba(14,54,54,.14); overflow: hidden; }
.proof-audio > span:nth-child(2) i { position: absolute; inset: 0 42% 0 0; border-radius: inherit; background: var(--orange); }
.proof-audio strong { font-size: 11px; }
.proof-transcript { border-top: 1px solid var(--line); }
.proof-transcript > div { position: relative; display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; padding: 17px 8px; border-bottom: 1px solid var(--line); }
.proof-transcript > div.selected { margin: 0 -10px; padding-left: 18px; padding-right: 18px; border-bottom: 0; border-radius: 12px; background: rgba(251,196,88,.36); }
.proof-transcript span { padding-top: 2px; color: var(--muted); font-size: 11px; font-weight: 800; }
.proof-transcript p { margin: 0; font-size: 13px; line-height: 1.45; }
.proof-transcript b { align-self: start; padding: 4px 7px; border-radius: 999px; background: var(--white); font-size: 9px; }
.message-map-proof { padding: 52px 42px; background: var(--cyan); color: var(--white); }
.message-map-proof h4 { margin: 56px 0 14px; font-size: 14px; }
.message-map-proof blockquote { margin: 0 0 38px; font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.message-map-proof dl { margin: 0; border-top: 1px solid rgba(255,255,255,.2); }
.message-map-proof dl div { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.message-map-proof dt { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.message-map-proof dd { margin: 5px 0 0; font-size: 13px; }
.approval-mark { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; font-size: 11px; font-weight: 800; }
.approval-mark b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: var(--cyan); }

#proof-guide { grid-template-columns: .42fr 1fr; background: var(--tan); }
.guide-proof-phone { align-self: center; justify-self: center; position: relative; width: 244px; min-height: 464px; margin: 38px; padding: 32px 15px 22px; border: 7px solid var(--cyan); border-radius: 38px; background: var(--white); box-shadow: 0 24px 46px rgba(14,54,54,.15); transform: rotate(-1.6deg); transition: transform 700ms var(--curve); }
.guide-proof-phone:hover { transform: translateY(-7px) rotate(1deg); }
.guide-proof-speaker { position: absolute; top: 9px; left: 50%; width: 64px; height: 15px; border-radius: 999px; background: var(--cyan); transform: translateX(-50%); }
.guide-proof-phone header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 10px; }
.guide-proof-phone header strong { font-size: 11px; }
.guide-proof-art { height: 128px; margin-bottom: 16px; border-radius: 14px; background: var(--tan); overflow: hidden; }
.guide-proof-art img { width: 100%; height: 100%; object-fit: contain; }
.guide-proof-phone h3 { margin: 8px 0 4px; font-size: 23px; }
.guide-proof-phone > small { font-size: 10px; font-weight: 700; }
.guide-proof-phone p { margin: 18px 0 0; font-size: 12px; line-height: 1.5; }
.guide-proof-main { padding: 52px 52px 42px 8px; }
.guide-proof-days { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 30px; }
.guide-proof-days > div { min-height: 94px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.guide-proof-days > div.active { border-color: var(--orange); background: var(--orange); }
.guide-proof-days span { font-size: 9px; font-weight: 800; }
.guide-proof-days strong { margin: 10px 0 3px; font-size: 12px; }
.guide-proof-days small { color: var(--muted); font-size: 9px; line-height: 1.3; }
.guide-proof-actions { display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-proof-actions div { padding: 17px 20px 17px 0; }
.guide-proof-actions div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.guide-proof-actions span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.guide-proof-actions p { margin: 5px 0 0; font-size: 12px; }

#proof-groups { grid-template-columns: 1fr .85fr; background: var(--orange); }
.group-proof-copy { padding: 52px; }
.group-proof-copy .proof-panel-heading p { color: rgba(14,54,54,.72); }
.group-proof-copy ol { margin: 32px 0 24px; padding: 0; list-style: none; border-top: 1px solid rgba(14,54,54,.18); }
.group-proof-copy li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(14,54,54,.18); }
.group-proof-copy li span { font-size: 10px; font-weight: 800; }
.group-proof-copy li strong { font-size: 13px; }
.group-proof-buttons { display: flex; gap: 9px; }
.group-proof-buttons span { padding: 8px 11px; border-radius: 999px; background: var(--white); font-size: 10px; font-weight: 800; }
.group-proof-buttons b { margin-left: 9px; }
.group-proof-pages { position: relative; min-height: 540px; overflow: hidden; }
.group-proof-pages article { position: absolute; width: 310px; height: 420px; padding: 34px; border-radius: 6px; background: var(--white); box-shadow: 0 28px 60px rgba(14,54,54,.14); }
.group-proof-pages article:first-child { top: 62px; left: 24px; z-index: 2; transform: rotate(-3deg); }
.group-proof-pages article:last-child { top: 96px; left: 152px; transform: rotate(5deg); background: var(--tan); }
.group-proof-pages article > span { display: block; margin-bottom: 70px; font-size: 10px; font-weight: 800; }
.group-proof-pages article > strong { display: block; color: var(--orange); font-size: 12px; text-transform: uppercase; }
.group-proof-pages article h4 { margin: 10px 0; font-size: 32px; }
.group-proof-pages article small { color: var(--muted); font-size: 10px; }
.group-proof-pages article i { display: block; width: 100%; height: 6px; margin-top: 12px; border-radius: 6px; background: var(--quiet); }
.group-proof-pages article i:nth-of-type(2) { width: 82%; }
.group-proof-pages article i:nth-of-type(3) { width: 58%; }
.group-proof-pages article:last-child span { margin-bottom: 42px; color: var(--muted); }
.group-proof-pages article:last-child p { margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; line-height: 1.35; }
.group-proof-pages article:last-child b { position: absolute; right: 30px; bottom: 26px; color: var(--muted); font-size: 11px; }

#proof-content { grid-template-columns: 1.12fr .88fr; background: var(--cyan); color: var(--white); }
.content-proof-copy { padding: 52px; }
.content-proof-copy .proof-panel-heading p { color: rgba(255,255,255,.7); }
.content-proof-list { display: grid; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.2); }
.content-proof-list span { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 700; }
.content-proof-list b { display: inline-block; width: 38px; color: var(--orange); font-size: 9px; }
.social-proof-card { position: relative; align-self: center; justify-self: center; width: min(360px,calc(100% - 60px)); aspect-ratio: 4 / 5; padding: 40px 34px; border-radius: 10px; background: var(--tan); color: var(--cyan); display: flex; flex-direction: column; overflow: hidden; transform: rotate(2deg); box-shadow: 0 26px 60px rgba(0,0,0,.18); transition: transform 700ms var(--curve); }
.social-proof-card:hover { transform: translateY(-7px) rotate(-1deg); }
.social-proof-card > span { position: relative; z-index: 2; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.social-proof-card blockquote { position: relative; z-index: 2; margin: auto 0; font-size: clamp(26px,2.5vw,37px); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.social-proof-card footer { position: relative; z-index: 2; display: flex; flex-direction: column; padding-top: 16px; border-top: 4px solid var(--orange); }
.social-proof-card footer strong { font-size: 12px; }
.social-proof-card footer small { font-size: 10px; }
.social-proof-sun { position: absolute; right: -65px; top: -58px; width: 180px; height: 180px; border-radius: 50%; background: var(--orange); }
.proof-disclaimer { max-width: 760px; margin: 18px auto 0; color: var(--muted); font-size: 11px; text-align: center; }

@media (max-width: 1100px) {
  .proof-window-inner { min-height: 0; }
  #proof-source { grid-template-columns: 1fr .8fr; }
  .source-proof-main,
  .message-map-proof,
  .guide-proof-main,
  .group-proof-copy,
  .content-proof-copy { padding: 38px; }
  .guide-proof-main { padding-left: 0; }
  .group-proof-pages article { width: 260px; }
  .group-proof-pages article:last-child { left: 116px; }
}

@media (max-width: 900px) {
  .proof-intro { align-items: flex-start; flex-direction: column; gap: 28px; }
  .proof-context { flex-basis: auto; width: min(100%,420px); }
  .proof-tabs { grid-template-columns: repeat(4,minmax(150px,1fr)); overflow-x: auto; padding-bottom: 16px; }
  .proof-tabs button { min-width: 150px; }
  #proof-source.active,
  #proof-guide.active,
  #proof-groups.active,
  #proof-content.active { grid-template-columns: 1fr; }
  .message-map-proof { min-height: 480px; }
  .guide-proof-phone { margin: 46px auto; }
  .guide-proof-main { padding: 0 38px 46px; }
  .group-proof-pages { min-height: 520px; }
  .group-proof-pages article:first-child { left: calc(50% - 230px); }
  .group-proof-pages article:last-child { left: calc(50% - 20px); }
  .social-proof-card { margin: 46px auto; }
}

@media (max-width: 640px) {
  .proof-intro { margin-bottom: 36px; }
  .proof-window { margin: 0 -12px; padding: 5px; border-radius: 24px; }
  .proof-window-inner { border-radius: 19px; }
  .proof-window-bar { min-height: 66px; padding: 12px 14px; }
  .proof-status { padding: 6px 8px; }
  .proof-tab-prompt { padding: 16px 14px 9px; align-items: flex-start; flex-direction: column; gap: 2px; }
  .proof-tabs { padding: 0 14px 14px; }
  .proof-tabs button { min-height: 62px; }
  .source-proof-main,
  .message-map-proof,
  .group-proof-copy,
  .content-proof-copy { padding: 30px 22px; }
  .proof-panel-heading h3 { font-size: 32px; }
  .proof-transcript > div { grid-template-columns: 44px 1fr; }
  .proof-transcript b { grid-column: 2; justify-self: start; }
  .message-map-proof { min-height: 0; }
  .message-map-proof h4 { margin-top: 42px; }
  .message-map-proof blockquote { font-size: 21px; }
  .guide-proof-phone { width: 226px; min-height: 440px; margin: 38px auto; }
  .guide-proof-main { padding: 0 22px 34px; }
  .guide-proof-days { grid-template-columns: repeat(2,1fr); }
  .guide-proof-actions { grid-template-columns: 1fr; }
  .guide-proof-actions div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .group-proof-buttons { flex-direction: column; align-items: flex-start; }
  .group-proof-pages { min-height: 430px; }
  .group-proof-pages article { width: 220px; height: 330px; padding: 24px; }
  .group-proof-pages article:first-child { top: 48px; left: calc(50% - 172px); }
  .group-proof-pages article:last-child { top: 78px; left: calc(50% - 48px); }
  .group-proof-pages article > span { margin-bottom: 42px; }
  .group-proof-pages article h4 { font-size: 25px; }
  .group-proof-pages article:last-child p { font-size: 12px; }
  .social-proof-card { width: calc(100% - 44px); margin: 34px auto; padding: 32px 26px; }
  .social-proof-card blockquote { font-size: 28px; }
  .proof-disclaimer { margin-top: 14px; text-align: left; }
}

@media (max-width: 480px) {
  .site-nav { height: auto; min-height: 126px; padding: 14px 0 16px; grid-template-columns: 1fr; gap: 8px; }
  .site-nav .brand { justify-self: center; }
  .site-nav .brand-logo { width: 128px; height: 42px; }
  .nav-actions { width: 100%; justify-self: stretch; justify-content: center; gap: 12px; }
  .nav-login { min-height: 40px; padding: 8px 14px; border-radius: var(--radius-control); background: rgba(255,255,255,.64); }
  .nav-start { min-height: 40px; padding: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .proof-panel { animation: none; }
}

/* Commercial conversion and passwordless account entry */
.commercial-view {
  min-height: 100vh;
  background: var(--tan);
}
.commercial-nav {
  width: min(1380px,calc(100% - 80px));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.commercial-back {
  border: 0;
  padding: 12px 0;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 400ms var(--curve);
}
.commercial-back:hover { opacity: .58; }
.signup-layout,
.walkthrough-layout,
.signin-layout {
  width: min(1380px,calc(100% - 80px));
  min-height: calc(100vh - 144px);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: minmax(0,1.04fr) minmax(480px,.96fr);
  border: 6px solid rgba(255,255,255,.54);
  border-radius: 30px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 28px 72px rgba(14,54,54,.1), inset 0 0 0 1px rgba(14,54,54,.08);
}
.signup-story,
.walkthrough-story,
.signin-story {
  position: relative;
  padding: clamp(60px,7vw,112px);
  background: var(--cyan);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.signup-story::after,
.walkthrough-story::after,
.signin-story::after {
  content: '';
  position: absolute;
  right: clamp(38px,5vw,76px);
  top: clamp(38px,5vw,76px);
  width: 70px;
  height: 70px;
  border: 16px solid var(--orange);
  border-radius: 50%;
}
.signup-story .eyebrow,
.walkthrough-story .eyebrow,
.signin-story .eyebrow { color: var(--orange); }
.signup-story h1,
.walkthrough-story h1,
.signin-story h1 {
  max-width: 650px;
  margin: 18px 0 24px;
  font-size: clamp(48px,5vw,76px);
  line-height: .98;
}
.signup-story > p,
.walkthrough-story > p,
.signin-story > p {
  max-width: 610px;
  margin-bottom: 38px;
  color: rgba(255,255,255,.76);
  font-size: 18px;
  line-height: 1.55;
}
.trial-timeline {
  max-width: 620px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.trial-timeline > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 3px 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.trial-timeline span {
  grid-row: 1 / 3;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trial-timeline strong { font-size: 15px; }
.trial-timeline small { color: rgba(255,255,255,.62); }
.signup-story .trial-cancel-note {
  margin: 22px 0 0;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}
.signup-card,
.enquiry-card,
.signin-card {
  padding: clamp(52px,6vw,92px);
  background: var(--white);
  align-self: center;
}
.signup-card-heading { margin-bottom: 34px; }
.signup-card h2,
.enquiry-card h2,
.signin-card h2 {
  margin: 12px 0 10px;
  font-size: clamp(34px,3.6vw,50px);
}
.signup-card-heading p,
.enquiry-card > p { color: var(--muted); }
.choice-group { margin-bottom: 25px; }
.choice-group > span,
.commercial-fields label > span,
.signin-card label > span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.commercial-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 13px;
  background: var(--quiet);
}
.commercial-segmented button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}
.commercial-segmented button.active {
  background: var(--white);
  box-shadow: 0 5px 16px rgba(14,54,54,.08);
}
.commercial-segmented small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}
.trial-price {
  margin: 30px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trial-price > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.trial-price > div > span { font-size: 13px; font-weight: 800; }
.trial-price strong { font-size: 34px; line-height: 1; }
.trial-price strong small { margin-left: 4px; color: var(--muted); font-size: 12px; letter-spacing: 0; }
.trial-price p { margin: 9px 0 0; color: var(--muted); font-size: 12px; text-align: right; }
.commercial-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.commercial-fields .full { grid-column: 1 / -1; }
.commercial-fields input,
.commercial-fields textarea,
.signin-card input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  background: var(--white);
  resize: vertical;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.commercial-fields textarea { min-height: 128px; }
.commercial-fields input:focus,
.commercial-fields textarea:focus,
.signin-card input:focus {
  border-color: var(--cyan);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(251,196,88,.34);
}
.commercial-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.trial-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  align-items: start;
  margin: 22px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.trial-consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--cyan); }
.commercial-submit {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.commercial-submit b { color: var(--orange); font-size: 18px; }
.commercial-status {
  min-height: 22px;
  margin: 13px 0 0;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}
.checkout-progress,
.checkout-recovery {
  margin-top: 14px;
  border-radius: 14px;
  padding: 16px;
}
.checkout-progress {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(14,54,54,.12);
  background: var(--quiet);
}
.checkout-progress[hidden],
.checkout-recovery[hidden] { display: none; }
.checkout-progress strong,
.checkout-progress small,
.checkout-recovery strong { display: block; }
.checkout-progress strong,
.checkout-recovery strong { font-size: 12px; }
.checkout-progress small,
.checkout-recovery p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.checkout-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(14,54,54,.17);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: checkout-spin 750ms linear infinite;
}
.checkout-recovery {
  border: 1px solid rgba(14,54,54,.14);
  background: rgba(251,196,88,.18);
}
.checkout-recovery .secondary-button {
  width: 100%;
  margin-top: 12px;
}
@keyframes checkout-spin { to { transform: rotate(360deg); } }
.commercial-fineprint {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.walkthrough-story ul {
  max-width: 560px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.22);
}
.walkthrough-story li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
  font-size: 14px;
  font-weight: 700;
}
.walkthrough-story li::before { content: '✓'; margin-right: 12px; color: var(--orange); }
.walkthrough-booking {
  max-width: 560px;
  padding: 22px;
  border-radius: 16px;
  background: var(--white);
  color: var(--cyan);
}
.walkthrough-booking > span { display: block; margin-bottom: 13px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.walkthrough-booking button { width: 100%; }
.walkthrough-booking small { display: block; margin-top: 11px; color: var(--muted); font-size: 10px; }
.enquiry-card form { margin-top: 28px; }
.signin-layout { grid-template-columns: minmax(0,1.15fr) minmax(420px,.85fr); }
.signin-note {
  max-width: 540px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.signin-note span { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.signin-note p { margin: 7px 0 0; color: rgba(255,255,255,.74); }
.signin-card form { margin-top: 28px; }
.signin-card .commercial-submit { margin-top: 18px; }
.auth-route-switch {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.auth-route-switch button,
.auth-text-button {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--cyan);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(14,54,54,.28);
  text-underline-offset: 4px;
}
.auth-route-switch button:hover,
.auth-text-button:hover { text-decoration-color: currentColor; }
.signin-recovery {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.signin-recovery[hidden] { display: none; }
.signin-recovery .secondary-button { min-height: 42px; }
.callback-view {
  display: grid;
  place-items: center;
  padding: 28px;
}
.callback-view main {
  width: min(650px,100%);
  padding: clamp(48px,7vw,86px);
  border: 6px solid rgba(255,255,255,.58);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 28px 72px rgba(14,54,54,.1), inset 0 0 0 1px rgba(14,54,54,.08);
  text-align: center;
}
.callback-view h1 { margin: 15px 0 18px; font-size: clamp(42px,6vw,66px); }
.callback-view p { color: var(--muted); }

@media (max-width: 980px) {
  .signup-layout,
  .walkthrough-layout,
  .signin-layout { grid-template-columns: 1fr; }
  .signup-story,
  .walkthrough-story,
  .signin-story { min-height: 620px; }
  .signup-card,
  .enquiry-card,
  .signin-card { width: 100%; }
}

@media (max-width: 640px) {
  .commercial-nav { width: calc(100% - 36px); min-height: 84px; }
  .commercial-nav .brand-logo { width: 150px; height: 48px; }
  .commercial-back { font-size: 12px; }
  .signup-layout,
  .walkthrough-layout,
  .signin-layout { width: calc(100% - 24px); margin-bottom: 12px; border-width: 4px; border-radius: 22px; }
  .signup-story,
  .walkthrough-story,
  .signin-story { min-height: 0; padding: 74px 26px 44px; }
  .signup-story::after,
  .walkthrough-story::after,
  .signin-story::after { top: 24px; right: 24px; width: 34px; height: 34px; border-width: 8px; }
  .signup-story h1,
  .walkthrough-story h1,
  .signin-story h1 { font-size: 44px; }
  .signup-story > p,
  .walkthrough-story > p,
  .signin-story > p { font-size: 16px; }
  .signup-card,
  .enquiry-card,
  .signin-card { padding: 38px 22px; }
  .auth-route-switch { align-items: flex-start; flex-direction: column; gap: 8px; }
  .signin-recovery { align-items: stretch; flex-direction: column; }
  .commercial-fields { grid-template-columns: 1fr; }
  .commercial-fields .full { grid-column: auto; }
  .trial-price > div { align-items: flex-start; flex-direction: column; }
  .trial-price p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .commercial-view *,
  .commercial-view *::before,
  .commercial-view *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .checkout-spinner { animation-duration: 1600ms; }
}
