:root {
  --bg: #e9f7e9;
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --surface-3: #eceef2;
  --text: #111318;
  --text-soft: #3f4654;
  --muted: #6b7280;
  --border: #dfe3ea;
  --border-strong: #c8ced8;
  --accent: #111318;
  --accent-text: #ffffff;
  --accent-soft: #eef0f3;
  --success: #087443;
  --gold: #b28a3f;
  --marian-blue: #2f8ef0;
  --burgundy: #7c2738;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-sm: 0 10px 28px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 18px 48px rgba(16, 24, 40, 0.12);
  --focus-ring: 0 0 0 3px rgba(17, 19, 24, 0.14);
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    var(--bg);
  font-family: var(--font-body);
  line-height: 1.6;
  padding-bottom: calc(6rem + env(safe-area-inset-bottom));
}

body.page-transition-active > header,
body.page-transition-active > main,
body.page-transition-active > footer {
  will-change: transform, opacity;
}

body.page-enter-from-left > header,
body.page-enter-from-left > main,
body.page-enter-from-left > footer {
  animation: pageSwipeInFromLeft 260ms cubic-bezier(0.22, 0.72, 0.18, 1) both;
}

body.page-enter-from-right > header,
body.page-enter-from-right > main,
body.page-enter-from-right > footer {
  animation: pageSwipeInFromRight 260ms cubic-bezier(0.22, 0.72, 0.18, 1) both;
}

body.page-exit-to-left > header,
body.page-exit-to-left > main,
body.page-exit-to-left > footer {
  animation: pageSwipeOutToLeft 260ms cubic-bezier(0.4, 0, 0.9, 1) both;
}

body.page-exit-to-right > header,
body.page-exit-to-right > main,
body.page-exit-to-right > footer {
  animation: pageSwipeOutToRight 260ms cubic-bezier(0.4, 0, 0.9, 1) both;
}

@keyframes pageSwipeInFromLeft {
  from {
    opacity: 0.96;
    transform: translate3d(-100vw, 0, 0);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pageSwipeInFromRight {
  from {
    opacity: 0.96;
    transform: translate3d(100vw, 0, 0);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pageSwipeOutToLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0.96;
    transform: translate3d(-100vw, 0, 0);
  }
}

@keyframes pageSwipeOutToRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0.96;
    transform: translate3d(100vw, 0, 0);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.public-app-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3.25rem, 18vw, 12rem);
  padding: 0.5rem max(1rem, env(safe-area-inset-left)) calc(0.55rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
  background: #d2f7d2;
  box-shadow: 0 -12px 34px rgba(70, 110, 78, 0.2);
  backdrop-filter: blur(12px);
}

.public-app-bar a {
  min-width: 88px;
  min-height: 58px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  padding: 0.34rem 0.75rem;
  color: #183522;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.12;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.public-app-bar a:hover,
.public-app-bar a:focus-visible {
  background: rgba(24, 53, 34, 0.08);
}

.public-app-bar a:hover {
  transform: translateY(-1px);
}

.public-app-bar a[aria-current="page"] {
  color: #102818;
  background: rgba(24, 53, 34, 0.12);
}

.public-app-icon {
  width: 1.28rem;
  height: 1.28rem;
  color: currentColor;
  fill: currentColor;
}

.site-hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: url("assets/hero-monstrance.png");
  background-position: center;
  background-size: cover;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  min-height: 76px;
  padding: 18px max(22px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 34px;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 400;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 18px;
  color: #ffffff;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: transparent;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.18rem;
  height: 1px;
  background: #d2f7d2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.22, 0.72, 0.18, 1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 124px 0 80px;
}

.hero-logo {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  max-width: 650px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.58);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.22rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 400;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button > * {
  position: relative;
  z-index: 1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--accent-text);
  background: var(--accent);
  border-color: var(--accent);
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #d2f7d2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.button-primary::after {
  content: attr(data-button-label);
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  color: var(--accent);
  white-space: nowrap;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 260ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent);
}

.button-primary:hover::before,
.button-primary:focus-visible::before {
  transform: scaleX(1);
}

.button-primary:hover::after,
.button-primary:focus-visible::after {
  clip-path: inset(0 0 0 0);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button:disabled::before {
  transform: scaleX(0);
}

.button:disabled::after {
  clip-path: inset(0 100% 0 0);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--border-strong);
}

.proof-band {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-inner {
  width: min(1180px, calc(100% - 44px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.proof-inner p {
  max-width: 760px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.06rem;
}

.proof-inner a {
  flex: 0 0 auto;
  color: var(--success);
  font-weight: 400;
}

.section-team {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.team-heading {
  position: sticky;
  top: 96px;
}

.team-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.team-message {
  display: grid;
  gap: 18px;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.team-message p {
  margin: 0;
}

.team-closing {
  margin-top: 8px;
  padding: 18px 20px;
  color: var(--text);
  background: #f4fbf4;
  border: 1px solid rgba(8, 116, 67, 0.22);
  border-radius: 8px;
  font-weight: 400;
}

.section {
  padding: 88px max(22px, calc((100vw - 1180px) / 2));
}

.section-light {
  background: transparent;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2,
.section-copy h2,
.assurance-layout h2,
.story h2,
.demo-copy h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p:last-child,
.section-copy p,
.assurance-layout p,
.story p,
.demo-copy p {
  color: var(--text-soft);
  font-size: 1.06rem;
}

.benefit-grid,
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  min-height: 280px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.benefit-card:hover,
.benefit-card:focus-within {
  border-color: #d2f7d2;
  box-shadow:
    0 0 0 2px #d2f7d2,
    var(--shadow-sm);
  transform: translateY(-2px);
}

.benefit-card h3,
.module-grid h3 {
  margin: 20px 0 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 400;
  line-height: 1.22;
}

.benefit-card p,
.module-grid p {
  margin: 0;
  color: var(--text-soft);
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--success);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-split {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 54px;
  align-items: center;
}

.section-copy p {
  max-width: 540px;
}

.check-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 400;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}

.product-screen {
  overflow: hidden;
  background: #f4fbf4;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.mockup-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
}

.mockup-brand,
.mockup-actions {
  display: flex;
  align-items: center;
}

.mockup-brand {
  gap: 10px;
  font-weight: 400;
}

.mockup-logo {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.mockup-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.mockup-actions span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 400;
}

.mockup-actions .publish {
  color: #ffffff;
  background: var(--success);
  border-color: var(--success);
}

.mockup-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 180px;
  min-height: 404px;
}

.mockup-list,
.mockup-editor,
.mockup-preview {
  min-width: 0;
}

.mockup-list {
  padding: 18px 14px;
  background: #e9f7e9;
  border-right: 1px solid var(--border);
}

.mockup-list p,
.mockup-preview p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup-list h3 {
  margin: 0 0 16px;
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.12;
}

.mockup-sheet {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 12px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.mockup-sheet.active {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.mockup-sheet strong,
.mockup-section strong,
.mockup-public-page h4 {
  font-weight: 400;
  line-height: 1.2;
}

.mockup-sheet span,
.mockup-section small {
  color: var(--muted);
  font-size: 0.72rem;
}

.mockup-editor {
  padding: 18px;
  background: var(--surface);
}

.mockup-editor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 10px;
  margin-bottom: 14px;
}

.mockup-editor-head > div {
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px;
  background: #f7fbf7;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.mockup-editor-head small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: uppercase;
}

.mockup-editor-head strong {
  font-weight: 400;
}

.mockup-swatch {
  width: 32px;
  height: 32px;
  display: block;
  background: var(--success);
  border-radius: 50%;
}

.mockup-sections {
  display: grid;
  gap: 9px;
}

.mockup-section {
  min-height: 58px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: #fbfdfb;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.mockup-section.complete {
  border-color: rgba(8, 116, 67, 0.22);
}

.mockup-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
}

.mockup-check {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #29bf78;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 400;
}

.mockup-preview {
  padding: 18px 14px;
  background: #f4fbf4;
  border-left: 1px solid var(--border);
}

.mockup-public-page {
  min-height: 292px;
  padding: 16px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  text-align: center;
}

.mockup-public-logo {
  width: 44px;
  height: 44px;
  display: block;
  margin: 0 auto 10px;
  object-fit: cover;
  border-radius: 12px;
}

.mockup-public-page h4 {
  margin: 0;
  font-size: 0.96rem;
}

.mockup-public-pill {
  display: inline-flex;
  margin: 9px 0 14px;
  padding: 4px 9px;
  color: var(--success);
  background: #d2f7d2;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 400;
}

.mockup-public-section {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.mockup-public-section strong {
  font-size: 0.78rem;
  font-weight: 400;
}

.mockup-public-section span {
  display: block;
  height: 7px;
  background: var(--surface-3);
  border-radius: 999px;
}

.mockup-public-section span:last-child {
  width: 68%;
}

.section-deep {
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.96) 0%, rgba(17, 19, 24, 0.86) 48%, rgba(17, 19, 24, 0.52) 100%),
    url("assets/features-eucharist.png");
  background-position: center;
  background-size: cover;
  color: var(--accent-text);
}

.section-deep .section-heading h2,
.section-deep .module-grid h3 {
  color: var(--accent-text);
}

.section-deep .eyebrow,
.section-deep .module-number {
  color: #baffbb;
}

.module-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(17, 19, 24, 0.48);
  backdrop-filter: blur(8px);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.module-grid article:hover,
.module-grid article:focus-within {
  border-color: #d2f7d2;
  box-shadow: 0 0 0 2px #d2f7d2;
  transform: translateY(-2px);
}

.module-number {
  font-weight: 400;
}

.module-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.assurance-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.7fr);
  gap: 56px;
  align-items: start;
}

.assurance-list {
  display: grid;
  gap: 12px;
}

.assurance-list div {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
}

.assurance-list strong,
.assurance-list span {
  display: block;
}

.assurance-list strong {
  font-weight: 400;
}

.assurance-list span {
  margin-top: 4px;
  color: var(--muted);
}

.section-stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--border);
}

.story {
  min-height: 360px;
  padding: 54px 32px;
  background: var(--surface);
}

.story:nth-child(2) {
  background: #f7fbf7;
}

.story:nth-child(3) {
  background: var(--surface-2);
}

.story h2 {
  font-size: clamp(1.8rem, 3vw, 2.25rem);
}

.section-faq {
  background: transparent;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 850px;
}

.faq-list details {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: var(--shadow-xs);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.faq-list details[open] {
  border-color: rgba(8, 116, 67, 0.24);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.08);
}

.faq-list summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.25;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  flex: 0 0 auto;
  border-right: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(45deg);
  transition: transform 240ms cubic-bezier(0.22, 0.72, 0.18, 1);
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
}

.faq-list details.is-closing summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--text-soft);
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.faq-list details[open] p {
  opacity: 1;
  transform: translateY(0);
}

.faq-list details.is-closing p {
  opacity: 0;
  transform: translateY(-4px);
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: 52px;
  align-items: start;
  background: var(--accent);
  color: var(--accent-text);
}

.demo-copy h2 {
  color: var(--accent-text);
}

.demo-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.demo-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.demo-form label {
  display: grid;
  gap: 7px;
  font-weight: 400;
}

.form-honeypot {
  display: none;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 13px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.demo-form textarea {
  min-height: 132px;
  padding: 12px 13px;
  resize: vertical;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus,
.button:focus-visible,
.nav-links a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--success);
  font-weight: 400;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.site-footer {
  min-height: 120px;
  padding: 28px max(22px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer .brand {
  color: var(--text);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-content {
    padding-top: 160px;
  }

  .benefit-grid,
  .module-grid,
  .section-stories,
  .team-layout,
  .section-split,
  .assurance-layout,
  .demo-section {
    grid-template-columns: 1fr;
  }

  .team-heading {
    position: static;
  }

  .product-screen {
    min-height: auto;
  }

  .mockup-grid {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .mockup-preview {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-hero {
    min-height: 78svh;
    background: url("assets/hero-monstrance.png");
    background-position: center right 38%;
    background-size: cover;
  }

  .topbar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
    font-size: 0.9rem;
  }

  .public-app-bar {
    gap: clamp(2.25rem, 18vw, 5.5rem);
    min-height: 72px;
  }

  .public-app-bar a {
    min-width: 76px;
    min-height: 54px;
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 150px 0 42px;
  }

  .hero-logo {
    width: 88px;
    height: 88px;
    border-radius: 14px;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .proof-inner {
    min-height: auto;
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .story {
    min-height: auto;
    padding: 42px 24px;
  }

  .mockup-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .mockup-actions {
    justify-content: flex-start;
  }

  .mockup-grid {
    grid-template-columns: 1fr;
  }

  .mockup-list {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .mockup-editor {
    padding: 14px;
  }

  .mockup-editor-head {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .button-primary::before,
  .button-primary::after,
  .benefit-card,
  .module-grid article,
  .faq-list details,
  .faq-list summary::after,
  .faq-list p {
    transition: none;
  }

  .button:hover,
  .button:focus-visible,
  .benefit-card:hover,
  .benefit-card:focus-within,
  .module-grid article:hover,
  .module-grid article:focus-within {
    transform: none;
  }

  .faq-list p {
    transform: none;
  }

  body.page-transition-active > header,
  body.page-transition-active > main,
  body.page-transition-active > footer {
    animation: none;
    transform: none;
  }
}

@media print {
  body {
    padding-bottom: 0;
  }

  .public-app-bar {
    display: none;
  }
}
