:root {
  --blue: #005ca9;
  --blue-deep: #003e76;
  --blue-mid: #1a73b8;
  --blue-soft: rgba(77, 148, 200, 0.22);
  --ink: #07080c;
  --ink-2: #0b0e14;
  --ink-3: #121722;
  --paper: #f3f5f8;
  --paper-dim: rgba(243, 245, 248, 0.66);
  --paper-faint: rgba(243, 245, 248, 0.42);
  --line: rgba(243, 245, 248, 0.1);
  --line-strong: rgba(243, 245, 248, 0.2);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --header: 4.75rem;
  --header-offset: calc(var(--header) + env(safe-area-inset-top, 0px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
  --gutter: clamp(1rem, 3.2vw, 2.5rem);
  --touch: 2.75rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: clip;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--paper);
  background: var(--ink);
  overflow-x: clip;
}

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

a {
  color: inherit;
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--paper);
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

::selection {
  background: var(--blue);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.35rem;
}

.skip-link:focus {
  top: 1rem;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 8% -10%, rgba(0, 92, 169, 0.28), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 18%, rgba(0, 62, 118, 0.22), transparent 50%),
    linear-gradient(180deg, #07080c 0%, #090b11 48%, #07080c 100%);
}

.bg-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 245, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 245, 248, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 15%, transparent 72%);
}

.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: repeating-radial-gradient(
    circle at 18% 12%,
    #fff 0 0.5px,
    transparent 0.7px 3px
  );
}

.glow {
  position: absolute;
  width: min(52vw, 640px);
  height: min(52vw, 640px);
  left: -8%;
  top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 92, 169, 0.32), transparent 68%);
  filter: blur(12px);
  animation: drift 26s var(--ease) infinite alternate;
}

.glow-2 {
  left: auto;
  right: -12%;
  top: auto;
  bottom: 8%;
  width: min(42vw, 480px);
  height: min(42vw, 480px);
  background: radial-gradient(circle, rgba(26, 115, 184, 0.16), transparent 70%);
  animation-duration: 32s;
  animation-direction: alternate-reverse;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 6%, 0) scale(1.08);
  }
}

.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-offset);
  display: flex;
  align-items: center;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 8, 12, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(1.2);
}

.header-inner {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  mix-blend-mode: lighten;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-copy span {
  margin-top: 0.22rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.desktop-nav a:not(.btn) {
  position: relative;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  transition: color 0.2s ease;
}

.desktop-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.28rem;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.desktop-nav a:not(.btn):hover,
.desktop-nav a:not(.btn):focus-visible {
  color: var(--paper);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-strong);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(243, 245, 248, 0.38);
}

.btn-portal {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-portal:hover,
.btn-portal:focus-visible {
  background: #fff;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch);
  height: var(--touch);
  min-width: var(--touch);
  min-height: var(--touch);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

body.nav-open .menu-toggle span {
  background: transparent;
}

body.nav-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(7, 8, 12, 0.82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  width: min(22rem, 100%);
  background: #07080c;
  padding:
    calc(var(--header-offset) + 0.85rem)
    max(var(--gutter), env(safe-area-inset-right, 0px))
    calc(1.75rem + env(safe-area-inset-bottom, 0px))
    var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateX(1.25rem);
  transition:
    opacity 0.28s var(--ease),
    visibility 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  min-height: 3.1rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-drawer .btn {
  margin-top: 1.4rem;
  width: 100%;
  min-height: 3.1rem;
  font-family: var(--body);
  font-size: 0.9rem;
}

body.nav-open {
  overflow: hidden;
}

html,
body {
  max-width: 100%;
}

.hero {
  position: relative;
  display: grid;
  padding: 1.15rem 0 3rem;
  isolation: isolate;
  overflow-x: clip;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  padding: 0.38rem 0.8rem 0.38rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.raute {
  width: 8px;
  height: 8px;
  background: var(--blue);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.7rem, 14vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.88;
  overflow-wrap: anywhere;
}

.hero-title > span {
  display: block;
}

.hero-title .dot {
  color: var(--blue);
}

.hero-lede {
  max-width: 36rem;
  margin-top: 1.6rem;
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--paper-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 36rem;
}

.hero-facts--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 44rem;
}

.hero-facts div {
  padding-right: 0.8rem;
}

.hero-facts div + div {
  padding-left: 0.9rem;
  border-left: 1px solid var(--line);
}

.hero-facts dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-faint);
}

.hero-facts dd {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.hero-visual {
  position: relative;
  margin-top: 2.4rem;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(100%, 420px);
  mix-blend-mode: lighten;
  filter: saturate(1.05);
  animation: float-soft 8s ease-in-out infinite;
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-watermark {
  position: absolute;
  right: 0;
  top: 8%;
  z-index: 0;
  max-width: 70%;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(5rem, 22vw, 14rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 245, 248, 0.06);
  user-select: none;
  pointer-events: none;
  text-transform: uppercase;
}

.section {
  padding: clamp(3rem, 8vw, 4.5rem) 0;
  scroll-margin-top: calc(var(--header-offset) + 0.6rem);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

.section-title {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  max-width: 14ch;
}

.section-intro {
  max-width: 40rem;
  margin-top: 1.15rem;
  color: var(--paper-dim);
  font-weight: 300;
  font-size: 1.08rem;
}

.identity {
  display: grid;
  gap: 2.4rem;
  align-items: end;
}

.identity-panel {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.identity-panel div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.identity-panel dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-faint);
  padding-top: 0.35rem;
}

.identity-panel dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.community-band {
  padding: 0 0 clamp(1.2rem, 4vw, 2.2rem);
}

.community-band__panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0, 92, 169, 0.18), rgba(7, 8, 12, 0.08)),
    var(--ink-2);
  padding: clamp(1.6rem, 4.5vw, 2.6rem);
}

.community-band__value {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(3.6rem, 12vw, 6.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.88;
  color: var(--paper);
}

.community-band__label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

.community-band__copy {
  margin-top: 0.9rem;
  max-width: 28rem;
  color: var(--paper-dim);
  font-weight: 300;
}

.values-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.4rem;
}

.value-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.6rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}

.value-card.is-in::before,
.value-card:hover::before {
  transform: scaleY(1);
}

.value-index {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--blue-mid);
}

.value-card h3 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 0.7rem;
}

.value-card p {
  color: var(--paper-dim);
  font-weight: 300;
  max-width: 42ch;
}

.value-card--lead {
  background:
    linear-gradient(180deg, rgba(0, 92, 169, 0.16), transparent 42%),
    var(--ink-2);
}

.statement {
  position: relative;
  padding: clamp(3.2rem, 8vw, 5rem) 0;
  overflow: hidden;
  overflow-x: clip;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0, 92, 169, 0.14), transparent 42%);
  scroll-margin-top: calc(var(--header-offset) + 0.6rem);
}

.statement-lines {
  font-family: var(--display);
  font-size: clamp(2.6rem, 9vw, 6.4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.statement-lines p + p {
  margin-top: 0.12em;
}

.statement-lines p:nth-child(2) {
  color: var(--blue-mid);
}

.statement-mark {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-faint);
}

.statement-mark::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--blue);
}

.goals {
  display: grid;
  gap: 2.5rem;
}

.goal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.goal-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
}

.goal-list h3 {
  font-size: clamp(1.45rem, 4vw, 1.9rem);
}

.goal-list p {
  color: var(--paper-dim);
  font-weight: 300;
  max-width: 46ch;
}

.goal-num {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--blue-mid);
}

.engagement-layout {
  display: grid;
  gap: 2rem;
}

.format-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.format-list li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.format-list li:hover {
  border-color: var(--line-strong);
  background: rgba(0, 92, 169, 0.08);
}

.format-list strong {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.format-list span {
  color: var(--paper-dim);
  font-size: 0.95rem;
  font-weight: 300;
}

.portal-cta {
  padding: clamp(3rem, 8vw, 4.5rem) 0 clamp(3.5rem, 9vw, 5rem);
  scroll-margin-top: calc(var(--header-offset) + 0.6rem);
}

.portal-panel {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.4rem;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(0, 92, 169, 0.22), transparent 46%),
    var(--ink-2);
  position: relative;
  overflow: hidden;
}

.portal-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -50px;
  top: -50px;
  border: 1px solid rgba(243, 245, 248, 0.08);
  transform: rotate(45deg);
  pointer-events: none;
}

.portal-panel h2 {
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  max-width: 12ch;
}

.portal-panel p {
  max-width: 36rem;
  color: var(--paper-dim);
  font-weight: 300;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.footer-motto {
  margin-top: 0.45rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--paper-dim);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--paper-dim);
  font-size: 0.92rem;
}

.footer-meta a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--blue);
}

.footer-meta a[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--blue);
}

.footer-copy {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--paper-faint);
}

.page-legal .section-title {
  max-width: min(18ch, 100%);
  overflow-wrap: anywhere;
}

.page-legal #public-site {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page-legal main {
  flex: 1 0 auto;
}

.legal-hero {
  padding: 1.5rem 0 0.35rem;
}

.legal-updated {
  margin-top: 1rem;
  color: var(--paper-faint);
  font-size: 0.92rem;
  font-weight: 300;
}

.legal-article {
  width: min(44rem, 100%);
  margin: 0 auto 3.5rem;
  display: grid;
  gap: 2.1rem;
  padding-top: 1.35rem;
}

.legal-section {
  display: grid;
  gap: 0.85rem;
  scroll-margin-top: calc(var(--header-offset) + 0.8rem);
}

.legal-section h2 {
  font-size: clamp(1.45rem, 4.6vw, 2rem);
  line-height: 1.18;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.legal-section p,
.legal-section li {
  color: var(--paper-dim);
  font-weight: 300;
  overflow-wrap: anywhere;
}

.legal-section strong {
  color: var(--paper);
  font-weight: 600;
}

.legal-section ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.38rem;
}

.legal-section a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
  overflow-wrap: anywhere;
  width: fit-content;
  max-width: 100%;
}

.legal-section a:hover,
.legal-section a:focus-visible {
  border-bottom-color: var(--paper);
}

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

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal="slow"] {
  transition-delay: 0.12s;
}

.portal-cta + .portal-cta {
  padding-top: 0;
}

.desktop-nav a[aria-current="page"] {
  color: var(--paper);
}

.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

#root:empty {
  display: none;
}

@media (min-width: 720px) {
  .hero-actions .btn,
  .portal-panel .btn {
    width: auto;
  }

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

  .value-card--lead {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.4rem;
    padding: 2rem 1.8rem;
  }

  .value-card--lead .value-index {
    grid-row: 1 / span 2;
    font-size: 1rem;
    padding-top: 0.35rem;
  }

  .value-card--lead h3 {
    font-size: 3rem;
  }

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

  .portal-panel {
    padding: 3rem 2.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (min-width: 960px) {
  .menu-toggle,
  .nav-drawer,
  .nav-backdrop {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.85fr);
    align-items: center;
    gap: 1rem;
    min-height: min(calc(100dvh - var(--header-offset)), 52rem);
    padding: 1.5rem 0 3rem;
  }

  .hero-title {
    font-size: clamp(4.8rem, 7.4vw, 7.1rem);
  }

  .hero-visual {
    margin-top: 0;
    justify-content: flex-end;
  }

  .hero-visual img {
    width: min(100%, 520px);
  }

  .identity {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 4rem;
  }

  .goals {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 4rem;
  }

  .engagement-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: start;
  }

  .goal-list li {
    grid-template-columns: 4.2rem 1fr;
    column-gap: 1rem;
    align-items: start;
  }

  .goal-list h3,
  .goal-list p {
    grid-column: 2;
  }

  .goal-num {
    grid-row: 1 / span 2;
    padding-top: 0.3rem;
  }

  .portal-panel {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
  }

  .portal-panel .btn {
    justify-self: end;
  }
}

@media (min-width: 1180px) {
  .values-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .value-card--lead {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
  }

  .value-card--lead .value-index {
    margin-bottom: auto;
  }

  .value-card--wide {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 479px) {
  .hero-title {
    font-size: clamp(2.55rem, 15.5vw, 3.6rem);
  }

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

  .brand-copy strong {
    font-size: 1.02rem;
    letter-spacing: 0.08em;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .hero-facts--four {
    grid-template-columns: 1fr;
  }

  .hero-facts div + div {
    padding-left: 0;
    border-left: 0;
    padding-top: 0.95rem;
    border-top: 1px solid var(--line);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: var(--touch);
  }

  .identity-panel div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .brand-copy span {
    display: none;
  }

  .value-card,
  .portal-panel,
  .format-list li {
    padding-inline: 1.05rem;
  }

  .section-title {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }
}

@media (max-width: 359px) {
  .hero-title {
    font-size: clamp(2.35rem, 14.2vw, 3rem);
  }

  .hero-lede,
  .section-intro {
    font-size: 0.98rem;
  }
}

@media (max-width: 959px) {
  .btn {
    min-height: var(--touch);
  }

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

  .hero-visual img {
    width: min(100%, 280px);
  }

  .hero-facts--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 28rem;
  }

  .hero-facts--four div:nth-child(3),
  .hero-facts--four div:nth-child(4) {
    padding-top: 0.95rem;
    border-top: 1px solid var(--line);
  }

  .hero-facts--four div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .glow {
    filter: none;
    opacity: 0.7;
    animation: none;
  }

  .site-header.is-scrolled {
    backdrop-filter: none;
    background: rgba(7, 8, 12, 0.94);
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 0;
    padding: 0.75rem 0 1.75rem;
  }

  .nav-drawer {
    padding-top: calc(4.2rem + env(safe-area-inset-top, 0px));
  }

  .hero-visual {
    display: none;
  }
}

@media (min-width: 960px) and (max-height: 860px) {
  .hero {
    min-height: 0;
    padding: 1.25rem 0 2.5rem;
  }

  .hero-title {
    font-size: clamp(4.2rem, 6.6vw, 5.8rem);
  }
}

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

  .glow,
  .hero-visual img,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}
