:root {
  --ink: #101917;
  --muted: #56625f;
  --line: #d6dfdc;
  --paper: #ffffff;
  --mist: #edf3f0;
  --green: #0f5b49;
  --green-dark: #083d32;
  --teal: #2f9f94;
  --coral: #df624b;
  --gold: #d79b2d;
  --yellow: #f6e84f;
  --shadow: 0 18px 50px rgba(16, 25, 23, 0.12);
  --content: 1180px;
  --header-offset: 72px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

main,
section[id] {
  scroll-margin-top: var(--header-offset);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  padding: 10px max(24px, calc((100% - var(--content)) / 2));
  border-bottom: 1px solid rgba(16, 25, 23, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
}

.brand img,
.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: #090b0b;
}

.brand span,
.footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand strong,
.footer-brand strong {
  font-size: 18px;
}

.brand small,
.footer-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.desktop-nav a,
.site-footer nav a {
  color: #3e4946;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover,
.site-footer nav a:hover {
  color: var(--green);
}

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

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--mist);
}

.language-switch button {
  min-width: 34px;
  height: 30px;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.language-switch button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 5px rgba(16, 25, 23, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(15, 91, 73, 0.18);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--green-dark);
  box-shadow: 0 10px 28px rgba(15, 91, 73, 0.25);
  transform: translateY(-2px);
}

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.button-light {
  border-color: white;
  background: white;
  color: var(--green-dark);
  box-shadow: none;
}

.button-light:hover {
  background: var(--yellow);
  color: var(--ink);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  cursor: pointer;
}

.menu-button svg {
  width: 21px;
  height: 21px;
}

.mobile-nav {
  position: absolute;
  top: 72px;
  right: 0;
  left: 0;
  padding: 14px 24px 20px;
  border-bottom: 1px solid var(--line);
  background: white;
  box-shadow: 0 18px 36px rgba(16, 25, 23, 0.12);
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 182px);
  max-height: 820px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #dce9e5;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  opacity: 0.58;
  transform: scale(1.18);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.56);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(690px, calc(100% - 48px));
  margin-left: max(24px, calc((100% - var(--content)) / 2));
  padding: 64px 0 56px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.kicker-light {
  color: #aee8d8;
}

.hero h1 {
  margin: 0;
  font-size: 84px;
  line-height: 0.98;
  font-weight: 900;
}

.hero-line {
  max-width: 660px;
  margin: 19px 0 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
}

.hero-copy {
  max-width: 600px;
  margin: 18px 0 0;
  color: #34413e;
  font-size: 18px;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 2px solid currentColor;
  font-weight: 800;
}

.text-link:hover svg {
  transform: translateY(2px);
}

.text-link-dark:hover svg {
  transform: translate(2px, -2px);
}

.text-link svg {
  transition: transform 160ms ease;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #34413e;
  font-size: 13px;
  font-weight: 750;
}

.hero-proof svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.hero-route {
  position: absolute;
  z-index: 1;
  right: 3%;
  bottom: 12%;
  width: 42%;
  height: auto;
  aspect-ratio: 15 / 8;
  pointer-events: none;
}

.hero-route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route-path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 12 10;
  vector-effect: non-scaling-stroke;
}

.route-traveler {
  fill: var(--coral);
  stroke: white;
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 3px 6px rgba(16, 25, 23, 0.3));
}

.map-pin {
  position: absolute;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 4px solid white;
  border-radius: 50% 50% 50% 12%;
  color: white;
  filter: drop-shadow(0 8px 12px rgba(16, 25, 23, 0.2));
  transform: rotate(-45deg);
}

.map-pin svg {
  width: 21px;
  height: 21px;
  transform: rotate(45deg);
}

.toilet-destination {
  position: absolute;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 4px solid white;
  border-radius: 8px;
  background: #080a0a;
  box-shadow: 0 9px 22px rgba(16, 25, 23, 0.3);
}

.toilet-destination::after {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 15px;
  height: 15px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.toilet-destination img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.pin-one {
  right: -1%;
  top: -1%;
}

.pin-two {
  left: 1%;
  bottom: 1%;
  background: var(--coral);
  animation-delay: 700ms;
}

.plain-intro {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(280px, 420px);
  gap: 38px;
  align-items: start;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0;
  border-bottom: 1px solid var(--line);
}

.section-number {
  margin: 6px 0 0;
  color: var(--coral);
  font-size: 14px;
  font-weight: 850;
}

.plain-intro h2,
.section-heading h2,
.emergency-copy h2,
.community-copy h2,
.availability-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
}

.plain-intro > p:last-child {
  margin: 29px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.how-section,
.trust-section,
.questions-section {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

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

.step-card {
  position: relative;
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 36px rgba(16, 25, 23, 0.06);
}

.step-card::after {
  position: absolute;
  right: -19px;
  top: 61px;
  z-index: 2;
  width: 18px;
  border-top: 2px dashed #9ba9a5;
  content: "";
}

.step-card:last-child::after {
  display: none;
}

.step-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
}

.step-icon-coral {
  background: var(--coral);
}

.step-icon-gold {
  background: var(--gold);
}

.step-icon svg {
  width: 27px;
  height: 27px;
}

.step-count {
  position: absolute;
  top: 28px;
  right: 28px;
  margin: 0;
  color: #9aa5a2;
  font-size: 13px;
  font-weight: 850;
}

.step-card h3 {
  margin: 50px 0 10px;
  font-size: 23px;
}

.step-card > p:last-child {
  margin: 0;
  color: var(--muted);
}

.emergency-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  min-height: 760px;
  overflow: hidden;
  background: var(--green-dark);
  color: white;
}

.emergency-copy {
  align-self: center;
  width: min(590px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - var(--content)) / 2));
  padding: 80px 0;
}

.emergency-copy > p:not(.kicker) {
  max-width: 580px;
  margin: 22px 0 0;
  color: #d3e9e2;
  font-size: 18px;
}

.emergency-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  margin: 26px 0;
  font-size: 14px;
  font-weight: 800;
}

.status-light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(246, 232, 79, 0.5);
  animation: status-pulse 1.8s infinite;
}

.phone-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 760px;
  padding: 80px 48px 0;
  background: var(--coral);
}

.phone-stage::before {
  position: absolute;
  top: 10%;
  right: 0;
  left: 0;
  color: rgba(255, 255, 255, 0.18);
  font-size: 190px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  content: "!";
}

.phone-stage img {
  position: relative;
  z-index: 1;
  width: 350px;
  max-height: 680px;
  object-fit: cover;
  object-position: top;
  border: 9px solid var(--ink);
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 22px 60px rgba(16, 25, 23, 0.32);
}

.distance-chip {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 3%;
  display: flex;
  flex-direction: column;
  min-width: 150px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-3deg);
}

.distance-chip strong {
  font-size: 26px;
}

.distance-chip small {
  font-weight: 800;
}

.community-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
  gap: 90px;
  align-items: center;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}

.community-shot {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 670px;
  overflow: hidden;
  border-radius: 8px;
  background: #e6eeeb;
}

.community-shot::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  height: 22%;
  background: var(--yellow);
  content: "";
}

.community-shot img {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 650px;
  margin-top: 42px;
  object-fit: cover;
  object-position: top;
  border: 8px solid var(--ink);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  box-shadow: var(--shadow);
}

.xp-pop {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-width: 130px;
  padding: 13px 15px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: white;
  box-shadow: 7px 7px 0 var(--ink);
}

.xp-pop strong {
  color: var(--green);
  font-size: 21px;
}

.xp-pop span {
  font-size: 12px;
  font-weight: 800;
}

.xp-one {
  top: 20%;
  right: 4%;
  transform: rotate(3deg);
}

.xp-two {
  bottom: 16%;
  left: 4%;
  transform: rotate(-3deg);
}

.community-copy > p:not(.kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.xp-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.xp-list div {
  padding: 20px 15px;
  border-right: 1px solid var(--line);
}

.xp-list div:first-child {
  padding-left: 0;
}

.xp-list div:last-child {
  border-right: 0;
}

.xp-list dt {
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
}

.xp-list dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.trust-section {
  border-top: 1px solid var(--line);
}

.ranks-section { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 72px 0 88px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.ranks-intro { max-width: 790px; }
.ranks-intro h2 { font-size: 42px; line-height: 1.14; margin: 16px 0; }
.ranks-intro > p:last-child { max-width: 680px; font-size: 18px; color: var(--muted); }
.portal-rank-ladder { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; margin: 38px 0 30px; padding: 0; list-style: none; }
.portal-rank-ladder li { display: grid; grid-template-rows: 48px auto minmax(50px, auto) auto; gap: 10px; align-content: start; min-width: 0; padding: 20px 14px; border-top: 3px solid var(--rank-color, var(--green)); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.portal-rank-ladder li:last-child { border-right: 0; }
.portal-rank-ladder svg { width: 36px; height: 36px; color: var(--rank-color); }
.portal-rank-ladder span { font-size: 12px; color: var(--muted); font-weight: 750; }
.portal-rank-ladder strong { font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.portal-rank-ladder b { font-size: 14px; color: var(--rank-color); }

/* Reveal-only transforms leave the existing grid and coloured borders intact. */
.portal-rank-ladder.rank-motion-ready > li:not(.rank-revealed) {
  opacity: 0;
  transform: translateY(24px) scale(0.975);
  pointer-events: none;
}
.portal-rank-ladder > li.rank-entering {
  --badge-pop: 1.065;
  --badge-settle: 460ms;
  animation: portal-rank-card-in 520ms cubic-bezier(0.22, 1, 0.36, 1) var(--rank-delay) both;
  will-change: transform, opacity;
}
.portal-rank-ladder > li.rank-entering:nth-child(n + 5) {
  --badge-pop: 1.10;
  --badge-settle: 540ms;
}
.portal-rank-ladder > li.rank-entering:last-child {
  --badge-pop: 1.14;
  --badge-settle: 600ms;
}
.portal-rank-ladder > li.rank-entering svg {
  transform-origin: center;
  transform-box: fill-box;
  animation: portal-rank-badge-in var(--badge-settle) cubic-bezier(0.22, 1, 0.36, 1) calc(var(--rank-delay) + 90ms) both;
}
.portal-rank-ladder > li.rank-entering b {
  animation: portal-rank-xp-in 240ms ease-out calc(var(--rank-delay) + 240ms) both;
}
@keyframes portal-rank-card-in {
  from { opacity: 0; transform: translateY(24px) scale(0.975); }
  to { opacity: 1; transform: none; }
}
@keyframes portal-rank-badge-in {
  0% { opacity: 0.6; transform: translateY(3px) rotate(-4deg) scale(0.9); }
  65% { opacity: 1; transform: translateY(-1px) rotate(1deg) scale(var(--badge-pop)); }
  100% { opacity: 1; transform: none; }
}
@keyframes portal-rank-xp-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .portal-rank-ladder > li,
  .portal-rank-ladder svg { transition: transform 180ms ease-out; }
  .portal-rank-ladder > li.rank-revealed:not(.rank-entering):hover { transform: translateY(-3px); }
  .portal-rank-ladder > li.rank-revealed:not(.rank-entering):hover svg { transform: scale(1.055); }
}
.ranks-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; }
.ranks-footer strong { font-size: 20px; }
.ranks-footer p { max-width: 720px; font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.portal-xp-rules { margin-top: 22px; border-top: 1px solid var(--line); }
.portal-xp-rules summary { padding-block: 16px; cursor: pointer; font-weight: 700; font-size: 15px; }
.portal-xp-rules p { margin: 0; max-width: 850px; font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) {
  .portal-rank-ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 24px; }
}
@media (max-width: 720px) {
  .ranks-section { width: calc(100% - 32px); padding: 50px 0 64px; }
  .ranks-intro h2 { font-size: 32px; }
  .ranks-intro > p:last-child { font-size: 16px; }
  .portal-rank-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 26px; }
  .portal-rank-ladder li { padding: 16px 12px; }
  .portal-rank-ladder li:nth-child(even) { border-right: 0; }
  .portal-rank-ladder li:last-child { grid-column: 1 / -1; grid-template-columns: 48px 1fr auto; grid-template-rows: auto auto; align-items: center; }
  .portal-rank-ladder li:last-child svg { grid-column: 1; grid-row: 1 / 3; }
  .portal-rank-ladder li:last-child span { grid-column: 2; }
  .portal-rank-ladder li:last-child strong { grid-column: 2; }
  .portal-rank-ladder li:last-child b { grid-column: 3; grid-row: 1 / 3; }
  .ranks-footer { grid-template-columns: 1fr; gap: 20px; }
  .ranks-footer .button { justify-self: start; }
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.trust-item {
  min-height: 245px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item svg {
  width: 29px;
  height: 29px;
  color: var(--coral);
}

.trust-item h3 {
  margin: 45px 0 8px;
  font-size: 20px;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.availability-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: 70px;
  align-items: center;
  padding: 100px max(24px, calc((100% - var(--content)) / 2));
  background: var(--mist);
}

.availability-copy > p:not(.kicker) {
  max-width: 600px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.availability-board {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
  box-shadow: 10px 10px 0 var(--gold);
}

.availability-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.availability-row:last-child {
  border-bottom: 0;
}

.availability-row > svg {
  width: 28px;
  height: 28px;
  color: #7f8b88;
}

.availability-row span {
  display: flex;
  flex-direction: column;
}

.availability-row small {
  margin-top: 3px;
  color: var(--muted);
}

.availability-row b {
  padding: 4px 9px;
  border-radius: 999px;
  background: #e8eceb;
  color: #687370;
  font-size: 12px;
}

.availability-row.is-live > svg,
.availability-row.is-live b {
  color: var(--green);
}

.availability-row.is-live b {
  background: #dff3ec;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 54px 24px 0;
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 23px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  line-height: 28px;
  text-align: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 800px;
  margin: -8px 0 24px;
  color: var(--muted);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 70px max(24px, calc((100% - var(--content)) / 2));
  background: var(--green);
  color: white;
}

.final-cta h2 {
  font-size: 42px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  gap: 45px;
  align-items: center;
  min-height: 150px;
  padding: 28px max(24px, calc((100% - var(--content)) / 2));
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.simple-main {
  width: min(850px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 110px;
}

.simple-main h1 {
  margin: 0;
  font-size: 58px;
  line-height: 1.05;
}

.simple-main .lead {
  margin: 18px 0 54px;
  color: var(--muted);
  font-size: 19px;
}

.policy-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 44px;
  color: var(--green);
  font-weight: 800;
}

.story-sheet {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  padding-top: 28px;
  background: var(--paper);
  border-top: 1px solid rgba(16, 25, 23, 0.06);
  box-shadow: 0 -16px 32px rgba(16, 25, 23, 0.04);
}

[data-depth] {
  translate: 0 var(--scroll-y, 0px);
}

.motion-enabled .scene-in-view [data-depth] {
  will-change: translate;
}

.motion-enabled [data-community-stage="primary"] {
  translate: 0 var(--community-primary-y, 0px);
  opacity: var(--community-primary-opacity, 1);
  filter: blur(var(--community-primary-blur, 0px));
}

.motion-enabled [data-community-stage="reward"] {
  translate: 0 var(--community-reward-y, 0px);
  opacity: var(--community-reward-opacity, 1);
  filter: blur(var(--community-reward-blur, 0px));
}

.motion-enabled .scene-in-view:not(.scene-settled) [data-community-stage] {
  will-change: translate, opacity, filter;
}

.motion-enabled .community-section:focus-within [data-community-stage] {
  translate: none;
  opacity: 1;
  filter: none;
}

.reveal-ready .reveal {
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .reveal:not(.is-visible):not(:focus-within) {
  opacity: 0;
  transform: translateY(24px);
}

.step-card:nth-child(2),
.trust-item:nth-child(2) {
  --reveal-delay: 90ms;
}

.step-card:nth-child(3),
.trust-item:nth-child(3) {
  --reveal-delay: 180ms;
}

.trust-item:nth-child(4) {
  --reveal-delay: 270ms;
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(246, 232, 79, 0.55); }
  70%, 100% { box-shadow: 0 0 0 11px rgba(246, 232, 79, 0); }
}

@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }

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

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

  .hero h1 {
    font-size: 68px;
  }

  .hero-line {
    font-size: 28px;
  }

  .hero-route {
    right: -3%;
    width: 42%;
    opacity: 0.7;
  }

  .plain-intro {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .plain-intro > p:last-child {
    grid-column: 2;
    margin-top: 0;
  }

  .plain-intro h2,
  .section-heading h2,
  .emergency-copy h2,
  .community-copy h2,
  .availability-copy h2 {
    font-size: 38px;
  }

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

  .step-card {
    min-height: 230px;
    --reveal-delay: 0ms;
  }

  .step-card::after {
    display: none;
  }

  .emergency-section {
    grid-template-columns: 1fr 42%;
  }

  .emergency-copy {
    margin-left: 24px;
  }

  .phone-stage {
    padding-right: 22px;
    padding-left: 22px;
  }

  .distance-chip {
    left: -16%;
  }

  .community-section {
    gap: 48px;
  }

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

  .availability-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --header-offset: 66px;
  }

  .site-header {
    min-height: 66px;
    padding: 9px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand small,
  .header-actions > .button-small {
    display: none;
  }

  .language-switch button {
    min-width: 30px;
    height: 28px;
    padding: 0 5px;
  }

  .mobile-nav {
    top: 66px;
  }

  .hero {
    align-items: flex-end;
    min-height: calc(100svh - 178px);
    max-height: none;
  }

  .hero-image {
    object-position: 37% center;
    opacity: 0.44;
  }

  .hero-wash {
    background: rgba(255, 255, 255, 0.65);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 56px 0 34px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-line {
    font-size: 25px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

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

  .hero-proof {
    display: grid;
    gap: 10px;
  }

  .hero-route {
    display: none;
  }

  .story-sheet {
    margin-top: -12px;
    padding-top: 12px;
  }

  .trust-item {
    --reveal-delay: 0ms;
  }

  .map-pin {
    width: 40px;
    height: 40px;
  }

  .plain-intro,
  .how-section,
  .trust-section,
  .questions-section,
  .community-section {
    width: calc(100% - 32px);
  }

  .plain-intro {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 66px 0;
  }

  .plain-intro > p:last-child {
    grid-column: 1;
    margin-top: 12px;
  }

  .plain-intro h2,
  .section-heading h2,
  .emergency-copy h2,
  .community-copy h2,
  .availability-copy h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .how-section,
  .trust-section,
  .questions-section {
    padding: 72px 0;
  }

  .step-card {
    min-height: 0;
    padding: 24px;
  }

  .step-card h3 {
    margin-top: 34px;
  }

  .emergency-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .emergency-copy {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 70px 0 56px;
  }

  .phone-stage {
    min-height: 590px;
    padding: 70px 28px 0;
  }

  .phone-stage img {
    width: min(330px, 92%);
    max-height: 540px;
  }

  .distance-chip {
    top: 28px;
    left: 16px;
  }

  .community-section {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 72px 0;
  }

  .community-shot {
    min-height: 570px;
  }

  .community-shot img {
    width: 265px;
    height: 550px;
  }

  .xp-list {
    grid-template-columns: 1fr;
  }

  .xp-list div,
  .xp-list div:first-child {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .xp-list div:last-child {
    border-bottom: 0;
  }

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

  .trust-item {
    min-height: 210px;
  }

  .availability-section {
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .availability-board {
    box-shadow: 7px 7px 0 var(--gold);
  }

  .availability-row {
    grid-template-columns: 35px 1fr auto;
    min-height: 86px;
    padding: 15px;
  }

  .faq-list summary {
    font-size: 18px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .final-cta .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 38px 20px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .site-footer > p {
    grid-column: auto;
  }

  .simple-main {
    width: calc(100% - 32px);
    padding-top: 54px;
  }

  .simple-main h1 {
    font-size: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-rank-ladder.rank-motion-ready > li,
  .portal-rank-ladder > li.rank-entering,
  .portal-rank-ladder > li svg,
  .portal-rank-ladder > li b {
    opacity: 1;
    transform: none;
    animation: none !important;
    transition: none !important;
    will-change: auto;
    pointer-events: auto;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready .reveal:not(.is-visible),
  .reveal {
    opacity: 1;
    transform: none;
  }

  [data-depth] {
    translate: none;
    will-change: auto !important;
  }

  .motion-enabled [data-community-stage] {
    translate: none;
    opacity: 1;
    filter: none;
    will-change: auto !important;
  }
}
