@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
}

:root {
  --green: #004643;
  --green-deep: #003533;
  --green-soft: #1f625e;
  --gold: #ffbd59;
  --gold-deep: #dfa040;
  --cream: #f8f5ef;
  --paper: #fffdf9;
  --sage: #dce9e3;
  --ink: #102724;
  --muted: #4c625e;
  --error: #aa2b2b;
  --shadow: 14px 16px 0 rgba(50, 105, 99, 0.5);
  --page: min(1180px, calc(100vw - 40px));
  --header-height: 80px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--green-deep);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:not(.legal-body) {
  -webkit-user-select: none;
  user-select: none;
}

body:not(.legal-body) :is(input, textarea, select) {
  -webkit-user-select: text;
  user-select: text;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size-adjust: 0.5;
  font-weight: 650;
  font-stretch: 82%;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

h2 {
  margin-bottom: 48px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-150%);
  transition: transform 160ms var(--ease);
}

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

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

.compact-shell {
  max-width: 940px;
}

.section {
  padding-block: clamp(88px, 10vw, 160px);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 190ms var(--ease), box-shadow 190ms var(--ease), background-color 190ms var(--ease);
}

.button:hover {
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(0);
}

.button--gold {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 0 0 rgba(255, 189, 89, 0);
}

.button--gold:hover {
  background: #ffc66f;
  box-shadow: 0 8px 24px rgba(255, 189, 89, 0.18);
}

.button--green {
  color: #fff;
  background: var(--green);
}

.button--green:hover {
  background: var(--green-soft);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  color: #fff;
  background: rgba(0, 70, 67, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: var(--page);
  min-height: var(--header-height);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 188px 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  width: 174px;
}

.brand img {
  width: 100%;
  height: auto;
}

.review-route {
  --route-index: 0;
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 112px repeat(4, minmax(82px, 1fr));
  grid-template-rows: 28px 30px;
  align-items: center;
  column-gap: 12px;
}

.review-route__title {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-route__track {
  position: relative;
  grid-column: 2 / -1;
  grid-row: 1;
  width: calc(100% - 18px);
  height: 1px;
  margin-inline: 9px;
  background: rgba(255, 255, 255, 0.28);
}

.review-route__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--route-index) * 33.333%);
  background: var(--gold);
  transition: width 300ms var(--ease);
}

.review-route__marker {
  position: absolute;
  top: 50%;
  left: calc(var(--route-index) * 33.333%);
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left 300ms var(--ease);
}

.review-route a {
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 170ms ease;
}

.review-route a:nth-of-type(1) { grid-column: 2; }
.review-route a:nth-of-type(2) { grid-column: 3; }
.review-route a:nth-of-type(3) { grid-column: 4; }
.review-route a:nth-of-type(4) { grid-column: 5; }

.route-node {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color 170ms ease, border-color 170ms ease, transform 170ms var(--ease);
}

.review-route a:hover,
.review-route a[aria-current="location"] {
  color: #fff;
}

.review-route a[aria-current="location"] .route-node {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  min-height: 46px;
  padding-inline: 18px;
  font-size: 0.88rem;
}

.header-cta__mobile {
  display: none;
}

.menu-trigger {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
}

.menu-trigger__icon {
  width: 22px;
  display: grid;
  gap: 5px;
}

.menu-trigger__icon span {
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width 180ms var(--ease), transform 180ms var(--ease);
}

.menu-trigger__icon span:nth-child(2) {
  width: 72%;
  justify-self: end;
}

.menu-trigger:hover .menu-trigger__icon span:nth-child(2) {
  width: 100%;
}

.mobile-menu {
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  margin: 12px 12px 12px auto;
  padding: 24px;
  color: #fff;
  background: var(--green-deep);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
}

.mobile-menu::backdrop {
  background: rgba(5, 25, 23, 0.68);
  backdrop-filter: blur(4px);
}

.mobile-menu[open] {
  animation: menu-in 260ms var(--ease) both;
}

@keyframes menu-in {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mobile-menu__head p {
  margin: 0;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size-adjust: 0.5;
  font-size: 1.65rem;
  font-stretch: 84%;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.route-sheet__kicker {
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-sheet__intro {
  margin: -8px 0 24px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
}

.mobile-menu__head button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.mobile-menu__head button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.mobile-menu nav {
  display: grid;
  margin-bottom: 28px;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  padding: 15px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.16rem;
  font-weight: 620;
  text-decoration: none;
}

.mobile-menu .button {
  width: 100%;
}

/* Hero */
.hero {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: start;
  overflow: hidden;
  color: #fff;
  background: var(--green);
}

.hero-inner {
  max-width: 1120px;
  padding-block: 72px 82px;
  text-align: center;
}

.hero h1 {
  max-width: 1080px;
  margin: 0 auto 24px;
  font-size: clamp(3.2rem, 7vw, 6.9rem);
  line-height: 0.88;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-lede {
  max-width: none;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  line-height: 1.34;
  white-space: nowrap;
}

.hero-cta {
  min-height: 58px;
  padding-inline: 30px;
}

.hero-trust {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.hero-trust span {
  color: var(--gold);
  font-weight: 700;
}

.hero-trust strong {
  color: #fff;
}

.hero-visual {
  width: min(100%, 980px);
  margin: 46px auto 0;
  overflow: hidden;
  background: var(--cream);
  border: 6px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px 34px 6px 34px;
  box-shadow: 0 24px 64px rgba(0, 31, 29, 0.32);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.js .hero h1,
.js .hero-lede,
.js .hero-cta,
.js .hero-trust,
.js .hero-visual {
  opacity: 0;
  animation: hero-arrive 640ms var(--ease) forwards;
}

.js .hero-lede { animation-delay: 90ms; }
.js .hero-cta { animation-delay: 160ms; }
.js .hero-trust { animation-delay: 220ms; }
.js .hero-visual { animation-delay: 280ms; }

@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Provider partners */
.partners {
  padding-block: clamp(54px, 6vw, 82px);
  background: var(--paper);
  border-bottom: 1px solid rgba(0, 70, 67, 0.12);
}

.partners-inner {
  max-width: 980px;
}

.partners h2 {
  margin-bottom: 34px;
  color: var(--green);
  font-size: clamp(2.3rem, 4.8vw, 4.4rem);
  text-align: center;
}

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

.partner-logo {
  min-height: 132px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(0, 70, 67, 0.14);
  border-radius: 14px;
}

.partner-logo img {
  width: auto;
  max-height: 72px;
  object-fit: contain;
}

.partner-logo--booster img {
  width: min(100%, 210px);
}

.partner-logo--generate img {
  width: min(100%, 190px);
}

.partner-logo--milford img {
  max-height: 84px;
}

/* Review situations */
.why-review {
  background: var(--cream);
}

.why-review h2,
.faq-inner h2,
.testimonials-inner h2 {
  text-align: center;
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.situation {
  min-height: 190px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 22px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid rgba(0, 70, 67, 0.15);
  border-radius: 4px 26px 4px 26px;
  transition: transform 220ms var(--ease), background-color 220ms ease, border-color 220ms ease;
}

.situation:nth-child(even) {
  border-radius: 26px 4px 26px 4px;
}

.situation:hover,
.situation:focus-within {
  background: #fff;
  border-color: rgba(0, 70, 67, 0.38);
  transform: translateY(-5px);
}

.situation svg {
  width: 52px;
  height: 52px;
  padding: 12px;
  color: var(--green);
  background: var(--gold);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 260ms var(--ease);
}

.situation:hover svg {
  transform: rotate(-7deg) scale(1.05);
}

.situation p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 650;
  line-height: 1.35;
}

.resources-link {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.resources-link a {
  color: var(--green);
  font-weight: 720;
  text-underline-offset: 4px;
}

.js .situation {
  opacity: 0;
  transform: translateY(28px);
}

.js .situation.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 520ms var(--ease), background-color 220ms ease, border-color 220ms ease;
}

/* Why it matters */
.why-it-matters {
  color: var(--ink);
  background: #f2ecdf;
}

.why-it-matters__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: end;
  gap: clamp(64px, 9vw, 130px);
}

.why-it-matters h2 {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--green);
}

.why-it-matters__copy > p {
  max-width: 610px;
  margin-bottom: 0;
  color: #304743;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

.why-it-matters__evidence {
  max-width: 470px;
  justify-self: end;
  padding-bottom: 6px;
}

.why-it-matters__stat {
  margin-bottom: 22px;
  color: #9b6100;
  font-size: clamp(3.4rem, 7.6vw, 7rem);
  font-weight: 650;
  font-stretch: 82%;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.why-it-matters__stat strong {
  display: block;
  font-size: 1.38em;
  font-weight: 700;
}

.why-it-matters__evidence > p:not(.why-it-matters__stat) {
  max-width: 460px;
  margin-bottom: 18px;
  color: #304743;
  font-size: 0.98rem;
  line-height: 1.65;
}

.why-it-matters__evidence a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--green);
  font-weight: 720;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.why-it-matters__evidence a:hover {
  color: #9b6100;
}

/* Four steps */
.process-section {
  color: #fff;
  background: var(--green-deep);
}

.process-shell {
  max-width: 900px;
}

.process-section h2 {
  margin-bottom: 24px;
  text-align: center;
}

.process-steps {
  display: grid;
}

.process-step {
  min-height: clamp(440px, 72svh, 680px);
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 40px clamp(20px, 7vw, 90px);
  text-align: center;
  opacity: 0.32;
  transform: scale(0.96);
  transition: opacity 300ms ease, transform 420ms var(--ease);
}

.process-step.is-active {
  opacity: 1;
  transform: scale(1);
}

.process-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  color: var(--gold);
  background: rgba(255, 189, 89, 0.09);
  border: 1px solid rgba(255, 189, 89, 0.32);
  border-radius: 50%;
  transform: rotate(-8deg);
  transition: transform 430ms var(--ease), background-color 300ms ease;
}

.process-step.is-active .process-mark {
  background: rgba(255, 189, 89, 0.16);
  transform: rotate(0deg) scale(1.08);
}

.process-mark svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.process-step h3 {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  text-wrap: balance;
}

.process-step p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.step-next {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-top: 34px;
  color: var(--gold);
  background: rgba(255, 189, 89, 0.08);
  border: 1px solid rgba(255, 189, 89, 0.38);
  border-radius: 50%;
  transition: color 180ms ease, background-color 180ms ease, transform 220ms var(--ease);
}

.step-next:hover {
  color: var(--ink);
  background: var(--gold);
  transform: translateY(5px);
}

.step-next svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.process-step {
  scroll-margin-top: 0;
}

/* Ryan */
.ryan-section {
  background: var(--paper);
}

.ryan-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.portrait-frame {
  position: relative;
  width: min(100%, 410px);
  justify-self: end;
  overflow: hidden;
  background: var(--sage);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 900ms var(--ease), filter 500ms ease;
}

.portrait-frame:hover img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.02);
}

.portrait-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.ryan-copy {
  max-width: 510px;
}

.ryan-copy h2 {
  margin-bottom: 28px;
}

.ryan-copy p {
  color: var(--muted);
}

.ryan-copy .ryan-lede {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  font-weight: 600;
}

.ryan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.ryan-copy .ryan-actions .button {
  margin-top: 0;
}

/* Reviews */
.testimonials {
  overflow: hidden;
  padding-top: clamp(72px, 6vw, 96px);
  padding-bottom: clamp(104px, 9vw, 144px);
  color: #fff;
  background: var(--green);
}

.testimonials-inner {
  max-width: 880px;
}

.testimonials h2 {
  margin-bottom: 24px;
}

.proof-stage {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.proof-stage::before,
.proof-stage::after {
  position: absolute;
  width: min(720px, calc(100% - 24px));
  height: calc(100% - 40px);
  border-radius: 24px;
  content: "";
}

.proof-stage::before {
  background: rgba(255, 189, 89, 0.22);
  transform: rotate(-2deg) translate(-7px, 9px);
}

.proof-stage::after {
  background: rgba(220, 233, 227, 0.3);
  transform: rotate(2deg) translate(8px, 10px);
}

.proof-card {
  position: absolute;
  z-index: 2;
  width: min(720px, 100%);
  min-height: 440px;
  display: grid;
  align-content: space-between;
  margin: 0;
  padding: clamp(32px, 6vw, 62px);
  color: var(--ink);
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 20px 65px rgba(0, 22, 20, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateX(46px) scale(0.97);
  transition: opacity 240ms ease, transform 360ms var(--ease), box-shadow 240ms ease;
}

.proof-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.proof-card.is-exiting-left {
  opacity: 0;
  transform: translateX(-46px) scale(0.97);
}

.proof-card.is-exiting-right {
  opacity: 0;
  transform: translateX(46px) scale(0.97);
}

.proof-card.is-from-left {
  transform: translateX(-46px) scale(0.97);
}

.proof-card.is-active:hover {
  transform: translateY(-7px) scale(1.018);
  box-shadow: 0 30px 78px rgba(0, 22, 20, 0.29);
}

.proof-card p {
  margin-bottom: 32px;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size-adjust: 0.5;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-stretch: 90%;
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.proof-card footer {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}

.testimonial-controls button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms var(--ease);
}

.testimonial-controls button:hover {
  color: var(--ink);
  background: var(--gold);
  transform: scale(1.08);
}

.testimonial-controls svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.testimonial-controls p {
  min-width: 46px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  text-align: center;
}

/* Industry recognition */
.recognition {
  padding-block: clamp(68px, 8vw, 112px);
  background: var(--paper);
  overflow: clip;
}

.recognition-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(56px, 9vw, 132px);
}

.recognition-copy {
  max-width: 430px;
}

.recognition-copy h2 {
  margin-bottom: 18px;
}

.recognition-copy p {
  max-width: 31ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.recognition-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(28px, 5vw, 64px);
}

.recognition-badge-frame {
  width: clamp(170px, 17vw, 220px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: visible;
}

.recognition-badge {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.recognition-badge--finalist {
  width: 130.5%;
}

/* FAQ */
.faq-section {
  background: var(--cream);
}

.faq-inner {
  max-width: 880px;
}

.faq-list {
  border-top: 1px solid rgba(0, 70, 67, 0.22);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 70, 67, 0.22);
}

.faq-item h3 {
  margin: 0;
  font-family: inherit;
  letter-spacing: normal;
  line-height: 1.4;
}

.faq-item button {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-weight: 650;
  text-align: left;
}

.faq-item button:hover {
  color: var(--green-soft);
}

.faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 70, 67, 0.55);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item button[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--muted);
  transition: grid-template-rows 260ms var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 720px;
  margin: 0;
  padding: 0 52px 24px 0;
}

.faq-answer a,
.privacy-line a,
.footer-legal a {
  text-underline-offset: 4px;
}

.faq-item:has(button[aria-expanded="true"]) .faq-answer {
  grid-template-rows: 1fr;
}

/* Request */
.request-section {
  color: #fff;
  background: var(--green-deep);
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.28fr);
  align-items: start;
  gap: clamp(44px, 7vw, 92px);
}

.request-intro {
  position: sticky;
  top: calc(var(--header-height) + 46px);
}

.request-intro h2 {
  margin-bottom: 36px;
}

.request-contact {
  display: grid;
  gap: 12px;
}

.request-contact a {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  font-weight: 650;
  text-underline-offset: 4px;
}

.request-contact svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  flex: 0 0 auto;
  color: var(--gold);
  background: rgba(255, 189, 89, 0.1);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.review-form {
  padding: clamp(24px, 5vw, 46px);
  color: var(--ink);
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.form-error-summary {
  margin-bottom: 24px;
  padding: 13px 16px;
  color: #7b1717;
  background: #fff0ef;
  border: 1px solid #d76868;
  border-radius: 8px;
  font-weight: 650;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 18px;
}

.field {
  min-width: 0;
  display: grid;
  align-content: start;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.field .optional {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 70, 67, 0.38);
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input,
.field select {
  height: 52px;
  padding-inline: 14px;
}

.field textarea {
  min-height: 132px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 70, 67, 0.14);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  min-height: 20px;
  padding-top: 4px;
  color: var(--error);
  font-size: 0.76rem;
  line-height: 1.3;
}

.field-hint {
  padding-top: 6px;
  color: var(--muted);
  font-size: 0.74rem;
}

.contact-choice {
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-choice > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-choice label {
  min-height: 50px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 70, 67, 0.35);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-choice label:has(input:checked) {
  background: var(--sage);
  border-color: var(--green);
  box-shadow: inset 0 -3px var(--gold);
}

.contact-choice label:has(input:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.review-ticket {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0 20px;
}

.review-ticket > span {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px 16px;
  background: #edf4f0;
  border-radius: 10px;
}

.review-ticket small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-ticket strong {
  overflow: hidden;
  color: var(--green);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-submit {
  width: 100%;
}

.form-submit.is-valid-sweep {
  animation: ready-pulse 520ms var(--ease);
}

@keyframes ready-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); box-shadow: 0 0 0 7px rgba(255, 189, 89, 0.18); }
}

.form-demo-message {
  margin: 14px 0 0;
  color: var(--green);
  font-weight: 700;
  text-align: center;
}

.privacy-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

/* Footer */
.site-footer {
  color: #fff;
  background: #002c2a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr 0.8fr;
  gap: 46px;
  padding-block: 58px;
}

.footer-brand img {
  width: 184px;
  height: auto;
}

.footer-brand p,
.footer-contact p,
.footer-links p,
.footer-socials p {
  margin: 14px 0 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-contact,
.footer-links {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-contact a,
.footer-links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  text-underline-offset: 4px;
}

.footer-socials > div {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms var(--ease);
}

.footer-socials a:hover {
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-3px);
}

.footer-socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.footer-socials a:nth-child(2) svg,
.footer-socials a:nth-child(3) svg {
  fill: none;
}

.footer-legal {
  min-height: 74px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  color: rgba(255, 255, 255, 0.64);
  background: #002321;
  font-size: 0.76rem;
  text-align: center;
}

.footer-legal a {
  color: #fff;
}

/* About page */
.about-hero {
  min-height: min(820px, calc(100svh - var(--header-height)));
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--green);
}

.about-hero__inner {
  max-width: 1000px;
  padding-block: 80px;
  text-align: center;
}

.about-hero h1 {
  margin: 0 auto 30px;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  text-wrap: balance;
}

.about-hero p {
  max-width: 680px;
  margin: 0 auto 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.about-hero .button {
  margin-top: 24px;
}

.about-copy-shell {
  max-width: 980px;
  text-align: center;
}

.about-copy-shell h2 {
  max-width: 860px;
  margin-inline: auto;
}

.about-origin {
  background: var(--paper);
}

.about-copy-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.about-copy-columns p {
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
  color: var(--muted);
  background: var(--cream);
  border-radius: 4px 24px;
}

.about-copy-columns p:nth-child(even) {
  border-radius: 24px 4px;
}

.growth-statements {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.growth-statements strong {
  padding: 12px 18px;
  color: var(--green);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-ryan {
  color: #fff;
  background: var(--green-deep);
}

.about-ryan-layout {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
}

.about-portrait {
  overflow: hidden;
  border-radius: 24px 4px 24px 4px;
  box-shadow: 14px 16px 0 rgba(255, 189, 89, 0.24);
}

.about-portrait img {
  width: 100%;
  height: auto;
}

.about-ryan-copy h2 {
  margin-bottom: 30px;
}

.about-ryan-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.about-ryan-copy .button {
  margin-top: 14px;
  color: var(--ink);
  background: var(--gold);
}

.about-matters {
  background: var(--gold);
}

.about-matters h2 {
  margin-bottom: 28px;
}

.about-lede,
.about-close {
  max-width: 720px;
  margin-inline: auto;
}

.matters-list {
  max-width: 780px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px auto;
  padding: 0;
  list-style: none;
}

.matters-list li {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(16, 39, 36, 0.18);
  border-radius: 4px 20px;
  font-weight: 650;
}

.about-matters .button {
  margin-top: 18px;
  color: #fff;
  background: var(--green);
}

.about-difference {
  color: #fff;
  background: var(--green);
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 38px;
  text-align: left;
}

.difference-grid article {
  min-height: 230px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px 22px;
}

.difference-grid article:nth-child(even) {
  border-radius: 22px 4px;
}

.difference-grid h3 {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1;
}

.difference-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-sticky-cta {
  position: fixed;
  right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 14px;
  z-index: 70;
  min-height: 52px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 35, 32, 0.28);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.mobile-sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Privacy and disclosure */
.legal-body {
  background: var(--cream);
}

.legal-header {
  color: #fff;
  background: var(--green);
}

.legal-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-header .brand {
  width: 174px;
}

.legal-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-back {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding-inline: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-cta {
  min-height: 46px;
  padding-inline: 17px;
  font-size: 0.82rem;
}

.legal-main {
  padding-block: clamp(54px, 7vw, 96px);
}

.legal-intro {
  max-width: 920px;
  margin: 0 auto clamp(34px, 5vw, 56px);
}

.legal-intro h1 {
  max-width: 800px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.96;
}

.legal-intro p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.65;
}

.legal-intro .content-kicker {
  margin-bottom: 14px;
  color: var(--green-soft);
  font-size: 0.75rem;
  line-height: 1.2;
}

.legal-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.legal-jump-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  color: var(--green);
  background: var(--paper);
  border: 1px solid rgba(0, 70, 67, 0.22);
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-jump-links a:hover,
.legal-jump-links a:focus-visible {
  background: var(--sage);
}

.legal-copy {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 64px);
  overflow: visible;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(0, 70, 67, 0.16);
  border-radius: 20px;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.72;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 18px 50px rgba(0, 49, 46, 0.08);
}

.legal-copy[hidden] {
  display: none;
}

.legal-document {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-document__chapter {
  padding: clamp(28px, 5vw, 58px);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(0, 70, 67, 0.13);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 49, 46, 0.065);
  scroll-margin-top: 28px;
}

.legal-document__chapter + .legal-document__chapter {
  margin-top: 28px;
}

.legal-document h2,
.legal-document h3,
.legal-document h4 {
  max-width: 720px;
  color: var(--green);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.legal-document h2 {
  margin-bottom: 38px;
  font-size: clamp(2.25rem, 4.6vw, 3.8rem);
  line-height: 1;
}

.legal-document h3 {
  margin: 46px 0 15px;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  line-height: 1.12;
}

.legal-document h2 + h3 {
  margin-top: 0;
}

.legal-document h4 {
  margin: 30px 0 10px;
  color: var(--green-soft);
  font-size: 1.04rem;
  font-stretch: 92%;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.legal-document h4.legal-document__lead-in {
  margin-top: 24px;
}

.legal-document p,
.legal-document li {
  max-width: 74ch;
  font-size: clamp(0.98rem, 1.25vw, 1.06rem);
  line-height: 1.78;
}

.legal-document p {
  margin-bottom: 16px;
}

.legal-document ul {
  display: grid;
  gap: 2px;
  margin: 8px 0 20px;
  padding-left: 1.3em;
}

.legal-document li {
  line-height: 1.55;
}

.legal-document li::marker {
  color: var(--gold-deep);
}

.legal-contact-card {
  max-width: 74ch;
  display: grid;
  gap: 5px;
  margin: 10px 0 24px;
  padding: 16px 18px;
  color: var(--green-deep);
  background: rgba(206, 226, 218, 0.52);
  border-left: 3px solid var(--gold-deep);
  border-radius: 10px;
  font-style: normal;
}

.legal-contact-card p {
  margin: 0;
  color: inherit;
  line-height: 1.55;
}

.legal-contact-card p:first-child {
  color: var(--green);
  font-weight: 700;
}

.legal-footer {
  padding: 26px 20px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--green-deep);
  font-size: 0.78rem;
  text-align: center;
}

/* Progressive enhancement fallbacks */
html:not(.js) .mobile-menu,
html:not(.js) .menu-trigger,
html:not(.js) .mobile-sticky-cta {
  display: none;
}

html:not(.js) .faq-answer {
  grid-template-rows: 1fr;
}

html:not(.js) .faq-icon {
  display: none;
}

html:not(.js) .situation {
  opacity: 1;
  transform: none;
}

html:not(.js) .process-step {
  opacity: 1;
  transform: none;
}

html:not(.js) .proof-card {
  position: static;
  min-height: 0;
  margin-bottom: 18px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

html:not(.js) .proof-stage {
  display: grid;
  min-height: auto;
}

html:not(.js) .proof-stage::before,
html:not(.js) .proof-stage::after,
html:not(.js) .testimonial-controls {
  display: none;
}

@media (max-width: 1020px) {
  :root {
    --page: min(100% - 36px, 900px);
  }

  .review-route--desktop {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-trigger {
    display: inline-flex;
  }

  .request-layout {
    grid-template-columns: 1fr;
  }

  .request-intro {
    position: static;
    max-width: 680px;
    text-align: center;
    justify-self: center;
  }

  .request-contact {
    justify-items: center;
  }

  .review-form {
    width: min(100%, 720px);
    justify-self: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
    --page: calc(100% - 32px);
  }

  body {
    font-size: 16px;
  }

  .section {
    padding-block: 72px;
  }

  h2 {
    margin-bottom: 32px;
    font-size: clamp(2.35rem, 11vw, 3.75rem);
  }

  .header-inner,
  .site-header {
    min-height: var(--header-height);
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    width: 132px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-cta {
    min-height: 44px;
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.76rem;
  }

  .header-cta__desktop {
    display: none;
  }

  .header-cta__mobile {
    display: inline;
  }

  .menu-trigger {
    width: 44px;
    height: 44px;
  }

  .hero-inner {
    padding-block: 48px 62px;
  }

  .hero h1 {
    font-size: clamp(2.95rem, 13.4vw, 4.4rem);
    line-height: 0.94;
  }

  .hero-title-line {
    display: inline;
    white-space: normal;
  }

  .hero-lede {
    max-width: 100%;
    margin-bottom: 28px;
    font-size: clamp(0.94rem, 3.8vw, 1.12rem);
    white-space: nowrap;
  }

  .hero-cta {
    width: min(100%, 320px);
  }

  .hero-visual {
    margin-top: 36px;
    border-width: 4px;
    border-radius: 4px 22px 4px 22px;
  }

  .partners {
    padding-block: 52px;
  }

  .partners h2 {
    max-width: 330px;
    margin: 0 auto 28px;
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 0.98;
  }

  .partner-grid {
    gap: 8px;
  }

  .partner-logo {
    min-height: 92px;
    padding: 12px 10px;
    border-radius: 10px;
  }

  .partner-logo img {
    max-height: 46px;
  }

  .partner-logo--booster img,
  .partner-logo--generate img {
    width: min(100%, 92px);
  }

  .partner-logo--milford img {
    max-height: 58px;
  }

  .hero-trust {
    max-width: 320px;
    margin-inline: auto;
    line-height: 1.4;
  }

  .situation-grid,
  .ryan-layout {
    grid-template-columns: 1fr;
  }

  .situation {
    min-height: 116px;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 20px;
  }

  .situation svg {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .why-it-matters__layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .why-it-matters h2 {
    margin-bottom: 24px;
  }

  .why-it-matters__copy > p {
    line-height: 1.62;
  }

  .why-it-matters__evidence {
    max-width: 560px;
    justify-self: start;
  }

  .why-it-matters__stat {
    font-size: clamp(3.55rem, 18vw, 5.8rem);
  }

  .process-section {
    padding-bottom: 50px;
  }

  .process-step {
    min-height: 78svh;
    padding-inline: 8px;
  }

  .process-step h3 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .portrait-frame {
    width: min(100%, 320px);
    justify-self: center;
    box-shadow: 10px 12px 0 rgba(50, 105, 99, 0.45);
  }

  .ryan-copy {
    text-align: center;
    justify-self: center;
  }

  .ryan-actions {
    justify-content: center;
  }

  .recognition-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    text-align: center;
  }

  .recognition-copy {
    max-width: 560px;
    justify-self: center;
  }

  .recognition-copy p {
    max-width: none;
  }

  .recognition-badges {
    gap: clamp(14px, 5vw, 32px);
  }

  .recognition-badge-frame {
    width: min(39vw, 190px);
  }

  .proof-stage {
    min-height: 540px;
  }

  .proof-stage::before,
  .proof-stage::after {
    height: calc(100% - 34px);
  }

  .proof-card {
    min-height: 460px;
    padding: 32px 24px;
  }

  .proof-card p {
    font-size: clamp(1.24rem, 5.7vw, 1.78rem);
  }

  .faq-item button {
    min-height: 70px;
  }

  .faq-answer p {
    padding-right: 0;
  }

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

  .review-form {
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 8px 10px 0 rgba(50, 105, 99, 0.45);
  }

  .form-submit {
    width: 100%;
  }

  .field--wide {
    grid-column: auto;
  }

  .review-ticket {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-hero {
    min-height: calc(100svh - var(--header-height));
  }

  .about-hero h1 {
    font-size: clamp(3.05rem, 14.5vw, 5rem);
  }

  .about-copy-columns,
  .about-ryan-layout,
  .matters-list,
  .difference-grid {
    grid-template-columns: 1fr;
  }

  .about-copy-columns {
    gap: 12px;
  }

  .about-ryan-layout {
    gap: 48px;
  }

  .about-portrait {
    width: min(100%, 320px);
    justify-self: center;
  }

  .about-ryan-copy {
    text-align: center;
  }

  .matters-list li,
  .difference-grid article {
    min-height: 0;
  }

  .footer-socials p {
    margin-top: 0;
  }

  .mobile-sticky-cta {
    display: none;
  }

  .legal-header__inner {
    min-height: var(--header-height);
  }

  .legal-header .brand {
    width: 138px;
  }

  .legal-back {
    font-size: 0.76rem;
  }

  .legal-cta {
    font-size: 0.76rem;
  }

  .legal-copy {
    padding: 24px 20px;
    font-size: 0.92rem;
  }

  .legal-document {
    width: min(100% - 28px, 920px);
  }

  .legal-document__chapter {
    padding: 28px 22px;
    border-radius: 14px;
  }

  .legal-document h2 {
    margin-bottom: 30px;
  }

  .legal-document h3 {
    margin-top: 38px;
  }
}

@media (max-width: 760px) {
  .mobile-menu {
    width: min(360px, calc(100vw - 16px));
    max-height: calc(100svh - 16px);
    margin: 8px 8px 8px auto;
    padding: 24px 22px;
    border-radius: 16px;
  }

  .mobile-menu__head {
    margin-bottom: 18px;
  }

  .mobile-menu nav {
    margin-bottom: 24px;
  }

  .mobile-menu nav a {
    min-height: 50px;
    padding-block: 12px;
  }
}

@media (max-width: 620px) {
  .legal-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    padding-block: 12px;
  }

  .legal-header__actions {
    display: contents;
  }

  .legal-back {
    grid-column: 2;
    grid-row: 1;
  }

  .legal-cta {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
}

@media (max-width: 390px) {
  :root {
    --page: calc(100% - 28px);
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13.2vw, 3.6rem);
  }

  .hero-lede {
    max-width: 310px;
    white-space: normal;
  }

  .brand {
    width: 124px;
  }

  .header-cta {
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .contact-choice > div {
    grid-template-columns: 1fr;
  }

  .request-contact a {
    font-size: 0.92rem;
  }

  .proof-card {
    min-height: 500px;
    padding-inline: 24px;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .hero {
    min-height: 680px;
  }

  .process-step {
    min-height: 380px;
  }
}

/* Linked review situations */
.situation {
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  color: var(--ink);
  text-decoration: none;
}

.situation > svg {
  grid-row: 1 / 3;
}

.situation p {
  align-self: end;
}

.situation-action {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 740;
  letter-spacing: 0.025em;
}

.situation .situation-action svg {
  width: 16px;
  height: 16px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border-radius: 0;
  stroke-width: 1.8;
  transition: transform 180ms var(--ease);
}

.situation:hover .situation-action svg,
.situation:focus-visible .situation-action svg {
  transform: translateX(4px);
}

.situation:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* Testimonial rating */
.review-stars {
  position: absolute;
  right: clamp(32px, 6vw, 62px);
  bottom: clamp(32px, 6vw, 62px);
  color: #dfa231;
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  letter-spacing: 0.12em;
  line-height: 1;
}

/* Compact BetterSiteNZ credit */
.footer-legal,
.legal-footer {
  position: relative;
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 20px 250px 20px 20px;
}

.footer-regulatory {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-credit {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
  font-weight: 520;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: right;
}

.footer-legal .site-credit,
.legal-footer .site-credit {
  position: absolute;
  right: 18px;
  bottom: 14px;
}

.site-credit a,
.footer-legal .site-credit a,
.legal-footer .site-credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.26);
  text-underline-offset: 3px;
}

.site-credit a:hover,
.site-credit a:focus-visible {
  color: #fff;
  text-decoration-color: currentColor;
}

/* Shared editorial pages */
.content-body {
  background: var(--cream);
}

.content-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.content-footer {
  color: rgba(255, 255, 255, 0.68);
  background: var(--green-deep);
}

.content-footer__inner {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 20px;
  padding-right: 220px;
  font-size: 0.74rem;
  text-align: center;
}

.form-demo-message.is-pending {
  color: var(--muted);
}

.form-demo-message.is-error {
  color: var(--error);
}

.google-reviews-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 650;
  text-underline-offset: 4px;
}

.google-reviews-link:hover,
.google-reviews-link:focus-visible {
  color: var(--gold);
}

.content-footer__inner > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.content-footer a {
  color: #fff;
}

.content-footer .site-credit {
  position: absolute;
  right: 0;
  bottom: 20px;
}

/* Review-reason pages */
.reason-hero {
  color: #fff;
  background: var(--green);
}

.reason-hero__inner {
  max-width: 1060px;
  padding-block: clamp(76px, 11vw, 140px);
  text-align: center;
}

.reason-hero h1 {
  max-width: 950px;
  margin: 0 auto 28px;
  font-size: clamp(3.4rem, 7.3vw, 6.8rem);
  line-height: 0.93;
  text-wrap: balance;
}

.reason-hero__inner > p:last-child {
  max-width: 730px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.reason-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  color: var(--green);
  background: var(--gold);
  border-radius: 8px 22px 8px 22px;
  transform: rotate(-3deg);
}

.reason-mark svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.reason-content {
  padding-block: clamp(68px, 9vw, 116px);
}

.reason-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: start;
}

.reason-copy {
  max-width: 720px;
}

.reason-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.reason-copy p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.2rem);
  line-height: 1.72;
}

.reason-copy p:first-of-type {
  color: var(--ink);
  font-size: clamp(1.2rem, 2.25vw, 1.55rem);
  font-weight: 610;
  line-height: 1.5;
}

.reason-aside {
  position: sticky;
  top: 118px;
  padding: 34px;
  color: #fff;
  background: var(--green-deep);
  border-radius: 4px 26px 4px 26px;
  box-shadow: 10px 12px 0 rgba(50, 105, 99, 0.28);
}

.reason-aside h2 {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 1.55rem;
  line-height: 1.08;
}

.reason-aside p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.reason-aside .button {
  width: 100%;
  justify-content: center;
}

.reason-read-link {
  display: flex;
  align-items: center;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

/* Insights index */
.insights-hero {
  color: #fff;
  background: var(--green);
}

.insights-hero__inner {
  max-width: 1050px;
  padding-block: clamp(80px, 12vw, 150px);
  text-align: center;
}

.insights-hero h1 {
  margin-bottom: 26px;
  font-size: clamp(4rem, 9vw, 8.2rem);
  line-height: 0.88;
}

.insights-hero p {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.insights-main {
  background: var(--cream);
}

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

.insight-card {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(0, 70, 67, 0.15);
  border-radius: 5px 28px 5px 28px;
}

.insight-card:nth-child(odd):not(.insight-card--featured) {
  border-radius: 28px 5px 28px 5px;
}

.insight-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
}

.insight-card__image {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--green-deep);
}

.insight-card--featured .insight-card__image {
  min-height: 100%;
  aspect-ratio: auto;
}

.insight-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms var(--ease), filter 300ms ease;
}

.insight-card:hover .insight-card__image img,
.insight-card:focus-within .insight-card__image img {
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.025);
}

.insight-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 42px);
}

.insight-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.insight-category {
  margin-bottom: 14px !important;
  color: var(--green) !important;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.insight-meta {
  margin-top: auto;
  margin-bottom: 0;
}

.insight-meta span + span::before,
.article-meta span + span::before {
  content: "·";
  margin-right: 9px;
  color: var(--gold);
}

.insight-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  line-height: 1.03;
}

.insight-card--featured h2 {
  font-size: clamp(2.3rem, 4.5vw, 4rem);
}

.insight-card h2 a {
  color: inherit;
  text-decoration: none;
}

.insight-card h2 a:hover,
.insight-card h2 a:focus-visible {
  color: var(--green);
}

.insight-card p {
  margin-bottom: 30px;
  color: var(--muted);
  line-height: 1.65;
}

.insight-card__read {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 760;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.content-cta {
  padding-block: clamp(62px, 8vw, 96px);
  color: #fff;
  background: var(--green);
  text-align: center;
}

.content-cta h2 {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.94;
}

/* Individual Insights articles */
.article-hero {
  padding-block: clamp(72px, 10vw, 130px) 0;
  color: #fff;
  background: var(--green);
}

.article-hero__inner {
  max-width: 1080px;
  text-align: center;
}

.article-hero h1 {
  margin-bottom: 26px;
  font-size: clamp(3.15rem, 7.2vw, 6.8rem);
  line-height: 0.93;
  text-wrap: balance;
}

.article-hero .article-meta {
  justify-content: center;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.article-hero img {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  margin: clamp(44px, 7vw, 82px) auto 0;
  overflow: hidden;
  object-fit: cover;
  background: var(--green-deep);
  border: 8px solid var(--cream);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
}

.article-main {
  background: var(--cream);
}

.article-body {
  max-width: 790px;
  margin: 0 auto;
  padding-block: clamp(62px, 8vw, 104px);
  color: var(--ink);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: clamp(1.03rem, 1.45vw, 1.13rem);
  line-height: 1.78;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body h2,
.article-body h3 {
  font-family: "Instrument Sans", Arial, sans-serif;
  font-stretch: 92%;
  letter-spacing: -0.04em;
}

.article-body h2 {
  margin: 54px 0 18px;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  line-height: 1.08;
}

.article-body h3 {
  margin: 38px 0 14px;
  font-size: clamp(1.35rem, 2.7vw, 1.75rem);
  line-height: 1.16;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin-bottom: 24px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.35em;
}

.article-body li {
  margin-bottom: 10px;
  padding-left: 5px;
}

.article-body blockquote {
  margin: 42px 0;
  padding: 8px 0 8px 28px;
  border-left: 5px solid var(--gold);
  color: var(--green);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 650;
  line-height: 1.48;
}

.article-body a {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 4px;
}

.article-action {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid rgba(0, 70, 67, 0.18);
}

.related-posts {
  padding-block: clamp(64px, 8vw, 96px);
  background: var(--gold);
}

.related-posts__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.related-posts h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
}

.related-posts__head > a {
  color: var(--green);
  font-weight: 760;
  text-underline-offset: 4px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-links a {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(0, 70, 67, 0.16);
  border-radius: 4px 22px 4px 22px;
  text-decoration: none;
  transition: transform 200ms var(--ease), background-color 200ms ease;
}

.related-links a:hover,
.related-links a:focus-visible {
  background: #fff;
  transform: translateY(-4px);
}

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

  .reason-aside {
    position: static;
    max-width: 620px;
  }

  .insight-card--featured {
    grid-template-columns: 1fr;
  }

  .insight-card--featured .insight-card__image {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

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

  .insight-card--featured {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .situation {
    min-height: 136px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px 16px;
    padding: 20px;
  }

  .situation > svg {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .situation-action {
    margin-top: 5px;
  }

  .proof-card {
    padding-bottom: 68px;
  }

  .review-stars {
    right: 24px;
    bottom: 32px;
    font-size: 0.9rem;
  }

  .footer-legal,
  .legal-footer {
    min-height: 94px;
    padding: 18px 16px 16px;
  }

  .footer-regulatory {
    padding-bottom: 23px;
  }

  .footer-legal .site-credit,
  .legal-footer .site-credit {
    right: 14px;
    bottom: 10px;
  }

  .content-footer__inner {
    min-height: 96px;
    flex-direction: column;
    gap: 13px;
    padding: 18px 0 14px;
  }

  .content-footer .site-credit {
    position: static;
    align-self: flex-end;
  }

  .reason-hero__inner,
  .insights-hero__inner {
    padding-block: 72px;
  }

  .reason-hero h1 {
    font-size: clamp(2.75rem, 13.2vw, 4.4rem);
  }

  .reason-content {
    padding-block: 64px 78px;
  }

  .reason-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .reason-aside {
    padding: 28px 24px;
  }

  .insights-hero h1 {
    font-size: clamp(3.6rem, 16vw, 5.8rem);
  }

  .insights-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .insight-card--featured {
    grid-column: auto;
  }

  .insight-card,
  .insight-card:nth-child(odd):not(.insight-card--featured) {
    border-radius: 4px 22px 4px 22px;
  }

  .insight-card__body {
    padding: 26px 22px 28px;
  }

  .insight-card h2,
  .insight-card--featured h2 {
    font-size: clamp(1.8rem, 8.4vw, 2.5rem);
  }

  .content-cta h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .article-hero {
    padding-top: 66px;
  }

  .article-hero h1 {
    font-size: clamp(2.8rem, 12.6vw, 4.35rem);
  }

  .article-hero img {
    margin-top: 42px;
    border-width: 5px;
    border-radius: 18px 18px 0 0;
  }

  .article-body {
    padding-block: 58px 72px;
    font-size: 1rem;
  }

  .article-body h2 {
    margin-top: 44px;
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  .related-links a {
    min-height: 138px;
  }
}

@media (max-width: 390px) {
  .reason-hero h1,
  .article-hero h1 {
    font-size: clamp(2.55rem, 12.2vw, 3.5rem);
  }

  .insights-hero h1 {
    font-size: clamp(3.2rem, 15.5vw, 4.5rem);
  }

  .review-stars {
    letter-spacing: 0.08em;
  }
}

/* Dedicated 404 page */
.error-body {
  background: #fff;
}

.error-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  padding-block: clamp(20px, 2.5vw, 32px);
}

.error-header__inner {
  display: flex;
  align-items: center;
}

.error-header .brand {
  width: clamp(160px, 14vw, 205px);
}

.error-header .brand img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(23%) saturate(1377%) hue-rotate(128deg) brightness(92%) contrast(101%);
}

.error-page {
  background: #fff;
}

.error-hero {
  height: 100svh;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
}

.error-stage {
  height: 100%;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding-top: clamp(116px, 9vw, 148px);
}

.error-copy {
  width: min(100%, 1400px);
  position: relative;
  z-index: 2;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 64px);
  text-align: center;
}

.error-copy h1 {
  margin: 0 auto clamp(30px, 3vw, 50px);
  color: var(--green);
  font-size: clamp(2.65rem, 4.25vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.error-copy h1 span {
  display: block;
  white-space: nowrap;
}

.error-actions {
  width: fit-content;
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0 18px;
}

.button--outline-dark {
  color: var(--green);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 70, 67, 0.5);
}

.button--outline-dark:hover,
.button--outline-dark:focus-visible {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.error-illustration {
  width: 100%;
  height: 100%;
  min-height: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  pointer-events: none;
}

.error-illustration::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: clamp(96px, 15vw, 210px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 92%);
}

.error-illustration img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 52%;
}

@media (max-width: 1100px) {
  .error-copy h1 {
    font-size: clamp(2.5rem, 5.25vw, 3.75rem);
  }
}

@media (max-width: 760px) {
  .error-header {
    padding-block: 18px;
  }

  .error-header .brand {
    width: 148px;
  }

  .error-stage {
    padding-top: 104px;
  }

  .error-copy h1 {
    max-width: 560px;
    margin-bottom: 28px;
    font-size: clamp(2.25rem, 10.4vw, 3.35rem);
    line-height: 0.98;
  }

  .error-copy h1 span {
    white-space: normal;
  }

  .error-actions {
    gap: 8px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .error-actions .button {
    min-height: 46px;
    padding-inline: 18px;
  }

  .error-illustration img {
    object-position: 50% 52%;
  }
}

@media (max-width: 390px) {
  .error-copy h1 {
    font-size: clamp(2.05rem, 10.8vw, 2.65rem);
  }

  .error-actions {
    width: min(calc(100% - 36px), 288px);
    margin: 0;
    padding-inline: 0;
  }

  .error-actions .button {
    width: 100%;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .error-header {
    padding-block: 16px;
  }

  .error-stage {
    padding-top: 86px;
  }

  .error-copy h1 {
    margin-bottom: 16px;
    font-size: clamp(2.1rem, 3.7vw, 3.35rem);
  }
}

@media (max-width: 760px) and (max-height: 680px) {
  .error-stage {
    padding-top: 82px;
  }

  .error-copy h1 {
    margin-bottom: 16px;
    font-size: clamp(1.95rem, 8.8vw, 2.55rem);
  }

  .error-actions {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
}

/* Keep the complete original homepage illustration inside the first viewport. */
.home-page--original .hero-visual img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

@media (min-width: 761px) {
  .home-page--original .hero {
    height: calc(100svh - var(--header-height));
    min-height: 0;
  }

  .home-page--original .hero-inner {
    height: 100%;
    min-height: 0;
    padding-block: clamp(24px, 4.5vh, 48px) clamp(14px, 2.5vh, 28px);
    display: grid;
    grid-template-rows: auto auto auto auto minmax(0, 1fr);
    align-content: stretch;
  }

  .home-page--original .hero h1 {
    margin-bottom: clamp(10px, 1.8vh, 20px);
    font-size: clamp(3rem, min(7vw, 9vh), 6.9rem);
  }

  .home-page--original .hero-lede {
    margin-bottom: clamp(12px, 2.2vh, 26px);
    font-size: clamp(1.05rem, min(2.2vw, 3.2vh), 1.75rem);
  }

  .home-page--original .hero-cta {
    justify-self: center;
  }

  .home-page--original .hero-trust {
    margin-top: clamp(10px, 1.8vh, 20px);
  }

  .home-page--original .hero-visual {
    width: auto;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    align-self: stretch;
    justify-self: center;
    aspect-ratio: 3 / 2;
    margin: clamp(12px, 2vh, 22px) auto 0;
  }

  .home-page--original .hero-visual img {
    width: 100%;
    height: 100%;
  }
}
