@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/assistant-hebrew-400-normal.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/assistant-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/assistant-hebrew-600-normal.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/assistant-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/assistant-hebrew-700-normal.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/assistant-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/assistant-hebrew-800-normal.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/assistant-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --parchment: #f2eadc;
  --paper: #faf6ed;
  --limestone: #d8cbb8;
  --limestone-deep: #b9aa95;
  --ink: #24322b;
  --muted: #657068;
  --forest: #174936;
  --forest-dark: #103426;
  --line: rgba(36, 50, 43, .2);
  --line-strong: rgba(36, 50, 43, .38);
  --danger: #9a3d30;
  --visited: #76432f;
  --shadow: 0 30px 90px rgba(74, 61, 42, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --page: min(1420px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.courtyard-site {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(36, 50, 43, .035) 50%, transparent calc(50% + .5px)),
    var(--parchment);
  font-family: "Assistant", "Arial Hebrew", sans-serif;
  font-size: clamp(1rem, .97rem + .15vw, 1.08rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.courtyard-site::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body.courtyard-site h1,
body.courtyard-site h2,
body.courtyard-site h3 { font-family: Georgia, "Times New Roman", serif; }

body.courtyard-site button,
body.courtyard-site input,
body.courtyard-site a { font: inherit; }

body.courtyard-site button,
body.courtyard-site a { -webkit-tap-highlight-color: transparent; }

body.courtyard-site a { color: inherit; }

body.courtyard-site a:visited:not(.button):not(.secondary-button):not(.courtyard-brand):not(.text-link) {
  color: var(--visited);
}

body.courtyard-site button { color: inherit; }

body.courtyard-site :focus-visible {
  outline: 3px solid #0f6245;
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: var(--paper);
  background: var(--forest-dark);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: var(--page);
  margin-inline: auto;
}

.courtyard-header {
  position: relative;
  z-index: 10;
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.courtyard-brand,
.flow-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.015em;
  text-decoration: none;
}

.brand-arch {
  position: relative;
  width: 29px;
  height: 37px;
  border: 2px solid var(--forest);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
}

.brand-arch::after {
  position: absolute;
  inset: 8px 7px 0;
  content: "";
  background: var(--forest);
  border-radius: 8px 8px 0 0;
}

.courtyard-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.courtyard-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}

.courtyard-header nav a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.courtyard-header > .button { justify-self: end; }

body.courtyard-site .courtyard-header > .button {
  color: var(--forest);
  background: transparent;
}

body.courtyard-site .courtyard-header > .button:hover {
  color: var(--paper);
  background: var(--forest-dark);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid var(--forest);
  border-radius: 3px;
  color: var(--paper);
  background: var(--forest);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s ease, color .18s ease;
}

body.courtyard-site .button { color: var(--paper); }

.button:hover {
  transform: translateY(-2px);
  background: var(--forest-dark);
}

.button:active { transform: translateY(1px); }
.button:disabled { opacity: .55; cursor: wait; }
.button-small { min-height: 44px; padding: 9px 17px; font-size: 14px; }

.courtyard-hero {
  min-height: calc(100dvh - 83px);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "copy";
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 24%, rgba(23, 73, 54, .07), transparent 29%),
    linear-gradient(135deg, rgba(250, 246, 237, .62), rgba(242, 234, 220, .12));
}

.hero-copy {
  position: relative;
  grid-area: copy;
  width: min(820px, 68%);
  min-height: calc(100dvh - 83px);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(76px, 9vw, 148px) clamp(24px, 5vw, 76px) 72px 0;
}

.hero-copy::after { display: none; }

.section-kicker {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.section-kicker::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.courtyard-hero h1 {
  max-width: 10.7ch;
  margin: 0;
  font-size: clamp(3.25rem, 5.8vw, 6.7rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.045em;
}

.hero-lead {
  max-width: 48ch;
  margin: 30px 0 0;
  color: #4f5b54;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--forest);
  font-weight: 650;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.threshold-card {
  display: none;
}

.threshold-grid {
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image:
    linear-gradient(rgba(36, 50, 43, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 50, 43, .14) 1px, transparent 1px);
  background-size: 58px 58px;
}

.threshold-arch {
  position: absolute;
  inset: 11% 17% 0;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border: 2px solid rgba(36, 50, 43, .52);
  border-bottom: 0;
  border-radius: 48% 48% 0 0 / 31% 31% 0 0;
  background: linear-gradient(180deg, #244f3f 0%, #174132 52%, #102f24 100%);
  box-shadow: inset 0 0 0 18px rgba(239, 228, 211, .12), 0 44px 80px rgba(40, 47, 38, .24);
}

.threshold-arch::before {
  position: absolute;
  inset: 8%;
  content: "";
  border: 1px solid rgba(250, 246, 237, .18);
  border-bottom: 0;
  border-radius: inherit;
}

.threshold-arch span {
  width: 70%;
  height: 45%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(250, 246, 237, .2) 49%, rgba(250, 246, 237, .2) 51%, transparent 52%),
    linear-gradient(180deg, rgba(250, 246, 237, .06), rgba(250, 246, 237, .12));
  border: 1px solid rgba(250, 246, 237, .12);
}

.threshold-plant {
  position: absolute;
  z-index: 3;
  inset-inline-start: 11%;
  inset-block-end: 11%;
  width: 160px;
  height: 210px;
}

.threshold-plant::after {
  position: absolute;
  inset-inline-start: 36px;
  inset-block-end: 0;
  width: 88px;
  height: 86px;
  content: "";
  border-radius: 4px 4px 36px 36px;
  background: #ad7357;
  box-shadow: inset 0 -15px 0 rgba(93, 46, 31, .16);
}

.threshold-plant i {
  position: absolute;
  z-index: 2;
  inset-block-end: 65px;
  inset-inline-start: 78px;
  width: 4px;
  height: 120px;
  transform-origin: bottom;
  background: #315d45;
}

.threshold-plant i::before {
  position: absolute;
  top: 5px;
  left: -24px;
  width: 47px;
  height: 75px;
  content: "";
  border-radius: 100% 0 100% 0;
  background: #3e7254;
}

.threshold-plant i:nth-child(2) { transform: rotate(30deg); }
.threshold-plant i:nth-child(3) { transform: rotate(-34deg); }
.threshold-plant i:nth-child(4) { height: 92px; transform: rotate(62deg); }

.threshold-caption {
  position: absolute;
  z-index: 4;
  inset-inline-end: 0;
  inset-block-end: 0;
  width: min(330px, 58%);
  padding: 25px 28px;
  border-top: 1px solid var(--line-strong);
  border-inline-start: 1px solid var(--line-strong);
  background: rgba(242, 234, 220, .92);
  backdrop-filter: blur(8px);
}

.threshold-caption strong,
.threshold-caption small { display: block; }
.threshold-caption strong { margin-bottom: 5px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.threshold-caption small { color: var(--muted); line-height: 1.55; }

.process-band {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 246, 237, .36);
}

.process-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.process-inner > div {
  min-height: 188px;
  padding: 38px clamp(20px, 4vw, 54px);
  display: grid;
  align-content: center;
  border-inline-start: 1px solid var(--line);
}

.process-inner > div:last-child { border-inline-end: 1px solid var(--line); }
.process-inner span { color: var(--forest); font: 600 14px/1 Georgia, "Times New Roman", serif; }
.process-inner strong { margin: 13px 0 4px; font: 600 clamp(1.35rem, 2vw, 1.7rem)/1.2 Georgia, "Times New Roman", serif; }
.process-inner small { color: var(--muted); }

.guides-section,
.faq-section {
  padding-block: clamp(82px, 10vw, 150px);
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(50px, 9vw, 140px);
}

.guides-section h2,
.faq-section h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
}

.guides-section p:not(.section-kicker) { max-width: 40ch; color: var(--muted); }

.guide-links {
  border-top: 1px solid var(--line-strong);
}

.guide-links a {
  min-height: 75px;
  padding: 17px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  font: 600 clamp(1.2rem, 2vw, 1.55rem)/1.3 Georgia, "Times New Roman", serif;
  text-decoration: none;
}

.guide-links a::after { content: "←"; color: var(--forest); transition: transform .18s var(--ease); }
.guide-links a:hover::after { transform: translateX(-7px); }

.faq-section { border-top: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 72px; padding: 19px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--forest); font-size: 27px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { max-width: 60ch; margin: 0 0 24px; color: var(--muted); }

.final-cta {
  padding-block: clamp(85px, 11vw, 165px);
  color: var(--paper);
  background: var(--forest-dark);
}

.final-cta .section-kicker { color: #c8d9cb; }
.final-copy { text-align: center; }
.final-copy .section-kicker { justify-content: center; }
.final-copy .button,
body.courtyard-site .final-copy .button { margin-top: 34px; color: var(--forest-dark); background: var(--paper); border-color: var(--paper); }

.courtyard-footer {
  min-height: 132px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-size: 13px;
}

.courtyard-footer strong { color: var(--ink); font: 700 19px/1 Georgia, "Times New Roman", serif; }
.courtyard-footer nav { display: flex; gap: 18px; }
.courtyard-footer nav a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
#lead-flow {
  width: min(760px, calc(100% - 32px));
  max-height: min(860px, calc(100dvh - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 50, 43, .38);
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

#lead-flow::backdrop {
  background: rgba(16, 34, 26, .72);
  backdrop-filter: blur(6px);
}

.flow-stage {
  min-height: min(760px, calc(100dvh - 34px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  background: var(--paper);
}

.flow-header {
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.flow-brand { font-size: 18px; }
.flow-brand .brand-arch { width: 24px; height: 31px; }

.close-flow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.close-flow:hover { color: var(--ink); background: rgba(36, 50, 43, .06); }

.progress-wrap { padding: 22px clamp(24px, 7vw, 70px) 0; }
.progress-meta { margin-bottom: 10px; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.progress-meta strong { color: var(--forest); }
.progress-line { height: 3px; overflow: hidden; background: rgba(23, 73, 54, .13); }
.progress-fill { width: 16.666%; height: 100%; background: var(--forest); transition: width .32s var(--ease); }

.flow-body {
  min-height: 0;
  padding: clamp(32px, 7vh, 68px) clamp(24px, 8vw, 78px) 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.flow-step { display: none; animation: reveal-step .34s var(--ease) both; }
.flow-step.is-active { display: block; }
.flow-step h2,
.success-view h2,
.failure-view h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.step-label { margin: 0 0 10px; color: var(--forest); font-size: 13px; font-weight: 700; }
.step-help { margin: 12px 0 28px; color: var(--muted); }

.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; }
.input {
  width: 100%;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--ink);
  background: #fffdf7;
  font-size: 18px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.input:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(23, 73, 54, .1); outline: 0; }

.answer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.answer {
  min-height: 61px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  background: #fffdf7;
  text-align: right;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s var(--ease);
}
.answer:hover { transform: translateY(-1px); border-color: var(--forest); }
.answer[aria-pressed="true"] { border-color: var(--forest); color: var(--paper); background: var(--forest); }

.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consents { margin-top: 20px; display: grid; gap: 12px; }
.check { min-height: 44px; display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; align-content: center; color: var(--muted); font-size: 13px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--forest); }
.check a { color: var(--forest); text-underline-offset: 3px; }
.storage-truth { margin: 17px 0 0; color: var(--muted); font-size: 12px; }
.inline-error { display: none; margin: 13px 0 0; color: var(--danger); font-size: 13px; font-weight: 700; }
.flow-step.has-error .inline-error { display: block; }
.flow-step.has-error .input { border-color: var(--danger); }

.flow-footer {
  min-height: 88px;
  padding: 14px clamp(24px, 7vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  background: rgba(250, 246, 237, .95);
}
.next-button { min-width: 180px; margin-inline-start: auto; }
.back-button,
.text-button {
  min-width: 44px;
  min-height: 44px;
  padding: 7px 3px;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.back-button:hover,
.text-button:hover { color: var(--ink); border-color: currentColor; }

.submitting-view,
.success-view,
.failure-view { max-width: 520px; margin: 0 auto; text-align: center; }
.submitting-view { padding-top: 80px; color: var(--muted); }
.skeleton-line { width: 82%; height: 16px; margin: 0 auto 14px; border-radius: 2px; background: linear-gradient(90deg, #e1d7c7 25%, #efe6d8 50%, #e1d7c7 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
.skeleton-line.short { width: 55%; }
.success-view p,
.failure-view p { max-width: 42ch; margin: 18px auto 26px; color: var(--muted); }
.success-view .button,
.failure-view .button { width: min(310px, 100%); }
.success-view .text-button { display: block; margin: 14px auto 0; }
.failure-view .text-link { margin: 15px auto 0; display: flex; justify-content: center; }
.success-door { width: 76px; height: 94px; margin: 0 auto 24px; border: 2px solid var(--forest); border-bottom: 0; border-radius: 40px 40px 0 0; background: linear-gradient(90deg, transparent 48%, var(--forest) 49%, var(--forest) 51%, transparent 52%); }

@keyframes reveal-step {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

@media (max-width: 980px) {
  .courtyard-header { grid-template-columns: 1fr auto; }
  .courtyard-header nav { display: none; }
  .courtyard-hero { min-height: auto; grid-template-columns: 1fr; grid-template-areas: "copy"; }
  .hero-copy { width: 100%; min-height: 650px; padding: 80px 0; }
  .hero-copy::after { display: none; }
  .threshold-card { min-height: 580px; }
  .guides-section,
  .faq-section { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 680px) {
  :root { --page: calc(100% - 32px); }
  .courtyard-header {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand action"
      "nav nav";
    column-gap: 16px;
  }
  .courtyard-brand { grid-area: brand; }
  .courtyard-header > .button { grid-area: action; display: inline-flex; }
  .courtyard-header nav {
    grid-area: nav;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--line);
  }
  .courtyard-header nav a { min-width: 44px; min-height: 48px; }
  .courtyard-brand { font-size: 18px; }
  .brand-arch { width: 25px; height: 32px; }
  .hero-copy { min-height: auto; padding: 66px 0 55px; }
  .courtyard-hero h1 { max-width: 11ch; font-size: clamp(3rem, 15vw, 4.75rem); }
  .hero-lead { margin-top: 24px; font-size: 1.04rem; }
  .hero-actions { align-items: stretch; flex-direction: column; margin-top: 30px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .threshold-card { min-height: 450px; width: calc(100% + 32px); margin-inline: -16px; }
  .threshold-arch { inset: 9% 14% 0; }
  .threshold-caption { width: 72%; padding: 18px; }
  .threshold-plant { transform: scale(.75); transform-origin: bottom left; }
  .process-inner { grid-template-columns: 1fr; }
  .process-inner > div { min-height: 130px; padding: 26px 0; border-inline: 0; border-bottom: 1px solid var(--line); }
  .process-inner > div:last-child { border-inline: 0; border-bottom: 0; }
  .guides-section,
  .faq-section { padding-block: 76px; gap: 34px; }
  .guides-section h2,
  .faq-section h2,
  .final-cta h2 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .courtyard-footer { min-height: 190px; padding-block: 38px; grid-template-columns: 1fr; gap: 14px; }
  .courtyard-footer nav { flex-wrap: wrap; }
  #lead-flow {
    inset: 0;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  #lead-flow::backdrop { background: var(--paper); backdrop-filter: none; }
  .flow-stage { width: 100%; min-height: 100dvh; height: 100dvh; }
  .flow-header { min-height: 63px; padding-inline: 16px; }
  .flow-brand { font-size: 16px; }
  .progress-wrap { padding: 16px 20px 0; }
  .flow-body { padding: 28px 20px 20px; }
  .flow-step h2,
  .success-view h2,
  .failure-view h2 { font-size: clamp(2.15rem, 11.5vw, 3.25rem); }
  .step-help { margin-bottom: 22px; }
  .answer-list { grid-template-columns: 1fr; gap: 8px; }
  .answer { min-height: 54px; }
  .details-grid { grid-template-columns: 1fr; gap: 12px; }
  .input { min-height: 54px; font-size: 16px; }
  .flow-footer { min-height: 76px; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); }
  .next-button { flex: 1; min-width: 0; }
}

@media (max-width: 380px) {
  .flow-body { padding-inline: 16px; }
  .flow-footer { padding-inline: 16px; }
  .answer { min-height: 52px; padding: 11px 13px; font-size: 14px; }
  .check { font-size: 12px; }
}

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