:root {
  --ink: #102224;
  --ink-soft: #274246;
  --ink-deep: #071113;
  --sand: #e8dbc4;
  --sand-bright: #f8f2e8;
  --foam: #d6e5df;
  --harbour: #1d4f4f;
  --harbour-bright: #4f8f8b;
  --clay: #9b6f52;
  --clay-deep: #6e4a35;
  --line: rgba(16, 34, 36, 0.12);
  --line-strong: rgba(16, 34, 36, 0.22);
  --overlay: rgba(7, 17, 19, 0.58);
  --panel: rgba(248, 242, 232, 0.86);
  --radius: 1.5rem;
  --shadow: 0 20px 50px rgba(10, 24, 27, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(79, 143, 139, 0.16), transparent 35%),
    linear-gradient(180deg, #091416 0%, #0e2325 24%, #f3ecdf 24%, #f8f3ec 100%);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
.brand-mark {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

main {
  position: relative;
}

.frame {
  width: min(1120px, calc(100vw - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 0.9rem 0;
  background: linear-gradient(180deg, rgba(7, 17, 19, 0.68), rgba(7, 17, 19, 0));
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  font-size: clamp(1.55rem, 2vw, 2rem);
  color: var(--sand-bright);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(248, 242, 232, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--sand-bright);
}

.quick-exit {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  color: var(--ink-deep);
  background: linear-gradient(135deg, #f1dbc0, #f8f2e7);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(7, 17, 19, 0.18);
}

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

.page-hero,
.subhero,
.app-hero {
  position: relative;
  overflow: clip;
}

.page-hero {
  min-height: 100svh;
  padding: 6.8rem 0 4rem;
  color: var(--sand-bright);
}

.page-hero::before,
.subhero::before,
.app-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(232, 219, 196, 0.18), transparent 20%),
    radial-gradient(circle at 80% 24%, rgba(79, 143, 139, 0.28), transparent 24%),
    radial-gradient(circle at 58% 78%, rgba(155, 111, 82, 0.2), transparent 26%),
    linear-gradient(145deg, #071214 0%, #102628 52%, #183838 100%);
}

.page-hero::after,
.subhero::after,
.app-hero::after {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(
      115deg,
      transparent 0 24%,
      rgba(248, 242, 232, 0.08) 24.5% 25.2%,
      transparent 25.7% 100%
    ),
    repeating-radial-gradient(
      circle at 68% 54%,
      rgba(248, 242, 232, 0.06) 0 2px,
      transparent 2px 34px
    );
  transform: translateY(var(--parallax-shift, 0px)) rotate(var(--parallax-tilt, 0deg));
  opacity: 0.8;
}

.page-hero__inner,
.subhero__inner,
.app-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 38rem) minmax(280px, 1fr);
  gap: 3rem;
  align-items: end;
  min-height: calc(100svh - 11rem);
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(248, 242, 232, 0.78);
}

.page-hero h1 {
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  line-height: 0.9;
}

.page-hero h2,
.subhero h1,
.app-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 34rem;
}

.hero-copy .lede,
.subhero .lede,
.app-hero .lede {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(248, 242, 232, 0.9);
}

.hero-actions,
.stacked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button-link,
.button-link--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-link {
  color: var(--ink-deep);
  background: linear-gradient(135deg, var(--sand), #fff8ee);
}

.button-link--ghost {
  color: var(--sand-bright);
  border: 1px solid rgba(248, 242, 232, 0.24);
  background: rgba(248, 242, 232, 0.08);
}

.hero-note {
  margin-top: 1rem;
  color: rgba(248, 242, 232, 0.76);
  font-size: 0.95rem;
}

.harbour-orb {
  align-self: stretch;
  display: grid;
  place-items: center;
}

.harbour-orb__shell {
  position: relative;
  width: min(36rem, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(248, 242, 232, 0.42), transparent 16%),
    radial-gradient(circle at 68% 70%, rgba(155, 111, 82, 0.32), transparent 22%),
    radial-gradient(circle at center, rgba(248, 242, 232, 0.08), transparent 58%),
    linear-gradient(145deg, rgba(20, 48, 49, 0.96), rgba(10, 22, 24, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(248, 242, 232, 0.16),
    0 32px 80px rgba(3, 8, 10, 0.5);
}

.harbour-orb__shell::before,
.harbour-orb__shell::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(248, 242, 232, 0.14);
}

.harbour-orb__shell::after {
  inset: 19%;
}

.orb-track,
.orb-coastline {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.orb-track {
  inset: 13%;
  border: 1px dashed rgba(248, 242, 232, 0.18);
}

.orb-coastline {
  inset: 19%;
  clip-path: polygon(14% 35%, 34% 17%, 67% 24%, 81% 43%, 72% 62%, 54% 75%, 31% 76%, 18% 59%);
  background:
    linear-gradient(180deg, rgba(248, 242, 232, 0.14), rgba(248, 242, 232, 0)),
    linear-gradient(135deg, rgba(79, 143, 139, 0.4), rgba(79, 143, 139, 0.08));
  filter: blur(1px);
}

.orb-label,
.orb-metric {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sand-bright);
  font-size: 0.88rem;
}

.orb-label::before,
.orb-metric::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 0.35rem rgba(248, 242, 232, 0.1);
}

.orb-label {
  top: 18%;
  right: 7%;
}

.orb-metric {
  bottom: 16%;
  left: 7%;
}

.section {
  padding: 5rem 0;
}

.section--surface {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(248, 242, 232, 0.98) 0%,
    rgba(243, 236, 223, 0.96) 100%
  );
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head .eyebrow {
  color: var(--clay-deep);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--ink-deep);
}

.section-head p {
  max-width: 34rem;
  color: var(--ink-soft);
}

.region-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.region-slab {
  position: relative;
  min-height: 22rem;
  padding: 2rem;
  overflow: clip;
  border-radius: 1.75rem;
  text-decoration: none;
  color: var(--sand-bright);
  background: linear-gradient(145deg, rgba(11, 28, 30, 0.96), rgba(30, 67, 65, 0.95));
}

.region-slab::before {
  content: "";
  position: absolute;
  inset: -10% 24% auto -10%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 242, 232, 0.24), transparent 62%);
}

.region-slab::after {
  content: "";
  position: absolute;
  inset: auto -4rem -6rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  border: 1px solid rgba(248, 242, 232, 0.14);
  box-shadow:
    0 0 0 2rem rgba(248, 242, 232, 0.05),
    0 0 0 4rem rgba(248, 242, 232, 0.03);
}

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

.region-slab__label {
  color: rgba(248, 242, 232, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.region-slab h3 {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
}

.region-slab p {
  margin-top: 1rem;
  max-width: 24rem;
  color: rgba(248, 242, 232, 0.84);
}

.slab-metrics {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

.slab-metric {
  min-width: 7rem;
}

.slab-metric strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.slab-metric span {
  color: rgba(248, 242, 232, 0.7);
  font-size: 0.88rem;
}

.guidance-lines,
.support-list,
.resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.guidance-line,
.support-line,
.resource-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.guidance-line h3,
.support-line h3,
.resource-line h3 {
  font-size: 1.3rem;
  color: var(--ink-deep);
}

.guidance-line p,
.support-line p,
.resource-line p {
  margin-top: 0.35rem;
  max-width: 42rem;
  color: var(--ink-soft);
}

.guidance-line__note {
  color: var(--clay-deep);
  font-size: 0.95rem;
}

.inline-action,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.35rem 0;
  text-decoration: none;
  font-weight: 700;
  color: var(--harbour);
}

.inline-action + .inline-action {
  margin-left: 1rem;
}

.inline-action:hover,
.text-link:hover,
.inline-action:focus-visible,
.text-link:focus-visible {
  color: var(--clay-deep);
}

.app-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(248, 242, 232, 0.6), rgba(214, 229, 223, 0.34)),
    var(--panel);
  box-shadow: var(--shadow);
}

.app-teaser h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  color: var(--ink-deep);
}

.app-teaser p {
  margin-top: 1rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.calculator-shell {
  padding: 1.2rem;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, #13282b, #091113);
  color: var(--sand-bright);
  box-shadow: 0 24px 60px rgba(7, 17, 19, 0.32);
}

.calculator-display {
  padding: 1rem 1.1rem;
  border-radius: 1.05rem;
  background: linear-gradient(180deg, rgba(248, 242, 232, 0.14), rgba(248, 242, 232, 0.06));
  font-size: 1.2rem;
  text-align: right;
  letter-spacing: 0.08em;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.calculator-key {
  display: grid;
  place-items: center;
  min-height: 3.2rem;
  border-radius: 1rem;
  background: rgba(248, 242, 232, 0.08);
  color: rgba(248, 242, 232, 0.9);
  font-weight: 700;
}

.calculator-key--accent {
  background: linear-gradient(135deg, rgba(155, 111, 82, 0.88), rgba(104, 70, 48, 0.96));
}

.subhero,
.app-hero {
  padding: 8.4rem 0 3rem;
  color: var(--sand-bright);
}

.subhero__inner,
.app-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 2rem;
  align-items: end;
}

.subhero__stats,
.app-hero__stats {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 1.5rem;
  background: rgba(248, 242, 232, 0.08);
  border: 1px solid rgba(248, 242, 232, 0.14);
}

.metric-block strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.metric-block span {
  color: rgba(248, 242, 232, 0.72);
  font-size: 0.9rem;
}

.utility-banner {
  position: relative;
  margin-top: -1.6rem;
  z-index: 2;
}

.utility-banner__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.4rem;
  background: rgba(248, 242, 232, 0.9);
  box-shadow: var(--shadow);
}

.utility-item small {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--clay-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.utility-item strong {
  display: block;
  color: var(--ink-deep);
  font-size: 1.05rem;
}

.explorer-shell {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 1.2rem;
}

.explorer-sidebar,
.region-panel {
  border-radius: 1.7rem;
  background: rgba(248, 242, 232, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.explorer-sidebar {
  padding: 1.2rem;
  position: sticky;
  top: 6.4rem;
  align-self: start;
}

.picker-intro h3 {
  font-size: 1.6rem;
  color: var(--ink-deep);
}

.picker-intro p:last-child {
  margin-top: 0.45rem;
  color: var(--ink-soft);
}

.search-field {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.search-field label {
  color: var(--clay-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

.search-field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(16, 34, 36, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-deep);
}

.search-help {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.search-field input:focus-visible {
  outline: 2px solid rgba(79, 143, 139, 0.48);
  outline-offset: 2px;
}

.live-results-panel {
  margin-top: 1.15rem;
  padding: 1rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.46);
}

.live-results__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.live-results__header strong {
  color: var(--ink-deep);
  font-size: 1rem;
}

.picker-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(16, 34, 36, 0.12);
  border-radius: 999px;
  background: rgba(248, 242, 232, 0.8);
  color: var(--ink-deep);
  font-weight: 700;
  cursor: pointer;
}

.picker-open--secondary {
  width: 100%;
  margin-top: 1rem;
}

.live-results {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.picker-result {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: rgba(248, 242, 232, 0.84);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.picker-result span {
  font-weight: 700;
}

.picker-result small {
  color: var(--ink-soft);
}

.picker-result.is-highlighted,
.picker-result:hover,
.picker-result:focus-visible {
  border-color: rgba(79, 143, 139, 0.3);
  background: rgba(214, 229, 223, 0.74);
}

.picker-result.is-active {
  border-color: rgba(79, 143, 139, 0.36);
}

.picker-empty {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.selection-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(214, 229, 223, 0.74), rgba(248, 242, 232, 0.82)),
    rgba(255, 255, 255, 0.6);
}

.selection-card small {
  display: block;
  color: var(--clay-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.selection-card strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-deep);
  font-size: 1.5rem;
  line-height: 1.05;
}

.selection-card p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

.sidebar-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.1rem 0;
}

.sidebar-stats--compact {
  margin-bottom: 0;
}

.sidebar-stats div {
  padding: 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
}

.sidebar-stats strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-deep);
}

.sidebar-stats span {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.region-panel {
  padding: 1.45rem 1.45rem 0.35rem;
}

.region-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.region-panel__header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink-deep);
}

.region-panel__meta {
  color: var(--clay-deep);
  font-weight: 700;
}

.region-panel__intro {
  margin-top: 0.75rem;
  max-width: 42rem;
  color: var(--ink-soft);
}

.city-chipset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 1.2rem;
}

.city-chip {
  padding: 0.52rem 0.78rem;
  border-radius: 999px;
  background: rgba(16, 34, 36, 0.06);
  color: var(--ink);
  font-size: 0.9rem;
}

.resource-line__actions,
.support-line__actions {
  display: flex;
  align-items: start;
  justify-content: end;
  gap: 1rem;
  flex-wrap: wrap;
}

.support-shell {
  padding: 1.6rem;
  border-radius: 1.75rem;
  background:
    linear-gradient(180deg, rgba(248, 242, 232, 0.96), rgba(214, 229, 223, 0.56)),
    var(--panel);
  box-shadow: var(--shadow);
}

.support-shell .section-head {
  margin-bottom: 1rem;
}

.region-picker {
  position: fixed;
  inset: 0;
  z-index: 35;
}

.region-picker__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 19, 0.46);
  backdrop-filter: blur(8px);
}

.region-picker__dialog {
  position: relative;
  z-index: 1;
  width: min(940px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  margin: 0.75rem auto;
  overflow: auto;
  padding: 1.2rem;
  border-radius: 1.8rem;
  background:
    linear-gradient(180deg, rgba(248, 242, 232, 0.98), rgba(243, 236, 223, 0.98));
  box-shadow: 0 28px 80px rgba(7, 17, 19, 0.28);
}

.region-picker__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.region-picker__header h3 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--ink-deep);
}

.region-picker__header .eyebrow {
  color: var(--clay-deep);
}

.region-picker__close {
  border: 1px solid rgba(16, 34, 36, 0.12);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-deep);
  font-weight: 700;
  cursor: pointer;
}

.region-picker__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.region-picker__item {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(16, 34, 36, 0.1);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-deep);
  text-align: left;
  cursor: pointer;
}

.region-picker__item span {
  font-weight: 700;
}

.region-picker__item small {
  color: var(--ink-soft);
}

.region-picker__item.is-active,
.region-picker__item:hover,
.region-picker__item:focus-visible {
  border-color: rgba(79, 143, 139, 0.28);
  background: rgba(214, 229, 223, 0.72);
}

.picker-empty--modal {
  padding: 1rem 0 0.5rem;
}

.empty-state {
  min-height: 18rem;
  display: grid;
  place-items: center;
  text-align: center;
}

.empty-state h3 {
  font-size: 1.7rem;
}

.app-hero__card {
  padding: 1.4rem;
  border-radius: 1.7rem;
  background: rgba(248, 242, 232, 0.08);
  border: 1px solid rgba(248, 242, 232, 0.14);
}

.app-principles {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.app-principles li {
  list-style: none;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.app-principles h3 {
  font-size: 1.3rem;
  color: var(--ink-deep);
}

.app-principles p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  max-width: 44rem;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(16, 34, 36, 0.14);
}

.site-footer p,
.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer .site-nav a:hover,
.site-footer .site-nav a:focus-visible {
  color: var(--ink-deep);
}

body.picker-modal-open {
  overflow: hidden;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@media (max-width: 960px) {
  .page-hero__inner,
  .subhero__inner,
  .app-hero__inner,
  .explorer-shell,
  .app-teaser {
    grid-template-columns: 1fr;
  }

  .region-split,
  .utility-banner__inner {
    grid-template-columns: 1fr;
  }

  .explorer-sidebar {
    position: static;
  }

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

@media (max-width: 720px) {
  .site-header__inner,
  .section-head,
  .guidance-line,
  .support-line,
  .resource-line,
  .region-panel__header,
  .site-footer__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-header {
    padding: 0.8rem 0;
  }

  .site-header__inner {
    gap: 0.85rem;
  }

  .site-nav {
    gap: 0.7rem;
  }

  .page-hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .page-hero__inner {
    min-height: auto;
  }

  .harbour-orb__shell {
    width: min(22rem, 100%);
  }

  .section,
  .subhero,
  .app-hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .page-hero {
    padding-top: 7.5rem;
  }

  .region-slab {
    min-height: 18rem;
  }

  .resource-line__actions,
  .support-line__actions {
    justify-content: start;
  }

  .live-results__header,
  .picker-result,
  .region-picker__header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sidebar-stats--compact,
  .region-picker__grid {
    grid-template-columns: 1fr;
  }

  .region-picker__dialog {
    width: 100vw;
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
    padding: 5rem 1rem 1rem;
  }
}
