:root {
  --ink: #092b2d;
  --ink-2: #123f3d;
  --night: #071516;
  --night-2: #0d2424;
  --paper: #f6f2e9;
  --paper-2: #fffaf0;
  --white: #ffffff;
  --mint: #9fe7c7;
  --green: #2f7d64;
  --gold: #d59a3a;
  --copper: #b85f42;
  --coral: #dc7355;
  --steel: #7d9691;
  --line: rgba(9, 43, 45, 0.16);
  --line-dark: rgba(246, 242, 233, 0.16);
  --soft: rgba(246, 242, 233, 0.76);
  --shadow: 0 24px 70px rgba(7, 21, 22, 0.18);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--night);
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.58;
  scroll-behavior: smooth;
}

html.theme-dark {
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(7, 21, 22, 0.98), rgba(9, 43, 45, 0.94) 42%, var(--paper) 42.1%),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(246, 242, 233, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 242, 233, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 74%);
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(246, 242, 233, 0.12);
  background: rgba(7, 21, 22, 0.76);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(246, 242, 233, 0.18);
  background: rgba(7, 21, 22, 0.92);
  box-shadow: 0 16px 38px rgba(7, 21, 22, 0.22);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid rgba(246, 242, 233, 0.28);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.brand span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--mint);
  font-family: "Aptos", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a,
.lang-link,
.theme-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 8px 12px;
  color: rgba(246, 242, 233, 0.84);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  appearance: none;
  font-family: inherit;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.lang-link:hover,
.theme-toggle:hover {
  color: var(--white);
  border-color: rgba(246, 242, 233, 0.16);
  background: rgba(246, 242, 233, 0.08);
  transform: translateY(-1px);
}

.lang-link {
  min-width: 48px;
  color: var(--night);
  border-color: rgba(213, 154, 58, 0.68);
  background: linear-gradient(180deg, #f0c36a, var(--gold));
  box-shadow: 0 12px 26px rgba(213, 154, 58, 0.2);
}

.lang-link:hover {
  color: var(--night);
  border-color: rgba(246, 242, 233, 0.6);
  background: linear-gradient(180deg, #f7d88f, #dfa847);
}

.theme-toggle {
  width: 42px;
  padding: 8px;
  background: rgba(246, 242, 233, 0.08);
  color: var(--paper);
  cursor: pointer;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.theme-toggle[aria-pressed="true"] {
  color: var(--gold);
  border-color: rgba(213, 154, 58, 0.44);
  background: rgba(213, 154, 58, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(47, 125, 100, 0.24), transparent 36%),
    linear-gradient(320deg, rgba(213, 154, 58, 0.18), transparent 42%),
    linear-gradient(180deg, var(--night), var(--ink));
}

.hero::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: 8%;
  width: 58vw;
  min-width: 620px;
  aspect-ratio: 1.65;
  border: 1px solid rgba(159, 231, 199, 0.18);
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(159, 231, 199, 0.22) 50%, transparent 50.3%),
    linear-gradient(180deg, transparent 49.7%, rgba(213, 154, 58, 0.2) 50%, transparent 50.3%);
  transform: rotate(-9deg);
  opacity: 0.56;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(246, 242, 233, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 242, 233, 0.06) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.62) 58%, transparent 96%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max));
  min-height: auto;
  margin: 0 auto;
  padding: 56px 0 62px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.9fr);
  gap: 52px;
  align-items: center;
}

.hero-copy-block {
  max-width: 780px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgba(159, 231, 199, 0.26);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 8px 12px;
  background: rgba(246, 242, 233, 0.08);
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: 4.35rem;
  font-weight: 800;
}

.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(246, 242, 233, 0.78);
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(159, 231, 199, 0.34);
  border-radius: var(--radius);
  padding: 12px 18px;
  background: var(--mint);
  color: var(--night);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.button.secondary {
  background: rgba(246, 242, 233, 0.08);
  color: var(--paper);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.marketplace-visual {
  position: relative;
  display: grid;
  gap: 14px;
  color: var(--paper);
}

.marketplace-visual::before {
  content: "";
  position: absolute;
  inset: 10% -6% -7% 8%;
  z-index: -1;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(159, 231, 199, 0.2), transparent 48%),
    linear-gradient(315deg, rgba(213, 154, 58, 0.18), transparent 42%);
  filter: blur(28px);
  opacity: 0.86;
}

.visual-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(246, 242, 233, 0.18);
  border-radius: var(--radius);
  background: rgba(246, 242, 233, 0.1);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 21, 22, 0.08), rgba(7, 21, 22, 0.18)),
    linear-gradient(135deg, rgba(7, 21, 22, 0.2), transparent 36%);
}

.visual-card {
  position: absolute;
  z-index: 2;
  min-width: 156px;
  border: 1px solid rgba(9, 43, 45, 0.14);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(246, 242, 233, 0.92);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(7, 21, 22, 0.2);
  backdrop-filter: blur(14px);
}

.primary-card {
  top: 16px;
  left: 16px;
}

.secondary-card {
  right: 16px;
  bottom: 16px;
  border-color: rgba(246, 242, 233, 0.2);
  background: rgba(7, 21, 22, 0.84);
  color: var(--paper);
}

.visual-card span,
.stack-row span,
.contact-item dt {
  display: block;
  color: var(--steel);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-card strong {
  display: block;
  margin-top: 5px;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.12;
}

.secondary-card span {
  color: var(--mint);
}

.band {
  position: relative;
  padding: 88px 0;
  background: var(--paper);
}

.band + .band {
  border-top: 1px solid rgba(9, 43, 45, 0.12);
}

.intro-band {
  padding-top: 78px;
}

.capability-band {
  background:
    linear-gradient(90deg, rgba(9, 43, 45, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(9, 43, 45, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
}

.system-band {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(47, 125, 100, 0.16), transparent 40%),
    linear-gradient(180deg, var(--night), var(--night-2));
}

.official-band {
  background: var(--paper-2);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.split-layout,
.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.section-kicker h2,
.section-head h2,
.system-copy h2 {
  margin: 0;
  color: inherit;
  font-size: 3.45rem;
}

.lead-panel {
  border-left: 5px solid var(--gold);
  padding: 26px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.lead-panel p,
.section-head p,
.system-copy p {
  margin: 0;
  color: var(--steel);
  font-size: 1.05rem;
}

.lead-panel p {
  color: var(--ink-2);
  font-size: 1.18rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.64fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

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

.card {
  position: relative;
  border: 1px solid rgba(9, 43, 45, 0.15);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 44px rgba(9, 43, 45, 0.08);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.card:hover::after {
  transform: scaleX(1);
}

.card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.34rem;
}

.card p,
.card li {
  color: var(--steel);
}

.card p {
  margin: 0;
}

.card ul {
  margin: 0;
  padding-left: 20px;
}

.card li + li {
  margin-top: 8px;
}

.marker {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(9, 43, 45, 0.14);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--mint);
  font-weight: 950;
}

.accent-card {
  color: var(--paper);
  background: var(--ink);
}

.accent-card h3,
.accent-card p {
  color: inherit;
}

.accent-card p {
  color: rgba(246, 242, 233, 0.74);
}

.accent-card .marker {
  border-color: rgba(246, 242, 233, 0.18);
  background: rgba(246, 242, 233, 0.1);
}

.system-copy .eyebrow {
  background: rgba(246, 242, 233, 0.08);
}

.system-copy p {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(246, 242, 233, 0.72);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  color: var(--mint);
  font-weight: 950;
  text-decoration: none;
}

.text-link::after {
  content: "";
  width: 54px;
  height: 1px;
  margin-left: 12px;
  background: currentColor;
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 76px;
}

.system-stack {
  border: 1px solid rgba(246, 242, 233, 0.16);
  border-radius: var(--radius);
  background: rgba(246, 242, 233, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.stack-row {
  padding: 24px;
  border-bottom: 1px solid rgba(246, 242, 233, 0.12);
}

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

.stack-row strong {
  display: block;
  margin-top: 8px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.18;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 96px;
  z-index: 3;
  justify-self: end;
  max-width: min(100%, 340px);
  border: 1px solid rgba(9, 43, 45, 0.1);
  border-radius: var(--radius);
  padding: 9px 11px;
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 10px 24px rgba(9, 43, 45, 0.06);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
}

.legal-aside p {
  margin: 5px 0 0;
  color: var(--steel);
  line-height: 1.32;
}

.legal-content {
  border: 1px solid rgba(9, 43, 45, 0.13);
  border-top: 5px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  padding: 38px;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin: 36px 0 10px;
  color: var(--ink);
  font-size: 1.7rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--steel);
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 8px;
}

.updated {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

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

.contact-item {
  border: 1px solid rgba(9, 43, 45, 0.13);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(9, 43, 45, 0.07);
}

.contact-item dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid rgba(246, 242, 233, 0.14);
  background: var(--night);
  color: var(--paper);
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 28px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: rgba(246, 242, 233, 0.66);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  align-content: start;
}

.footer-links a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 242, 233, 0.12);
  border-radius: var(--radius);
  padding: 9px 14px 10px;
  background: linear-gradient(180deg, rgba(246, 242, 233, 0.1), rgba(246, 242, 233, 0.035));
  color: rgba(246, 242, 233, 0.84);
  font-weight: 850;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.footer-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(159, 231, 199, 0.18), transparent);
  transform: translateX(-115%);
  transition: transform 420ms ease;
}

.footer-links a:hover {
  color: var(--white);
  border-color: rgba(159, 231, 199, 0.44);
  background: linear-gradient(180deg, rgba(159, 231, 199, 0.16), rgba(246, 242, 233, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 26px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.footer-links a:hover::before {
  transform: translateX(115%);
}

.compact-hero .hero-inner {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr);
  padding: 76px 0 72px;
}

.compact-hero h1 {
  max-width: 980px;
  font-size: 4.8rem;
}

.compact-hero .hero-copy {
  max-width: 760px;
}

.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

html.theme-dark body {
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(7, 21, 22, 0.98), rgba(9, 43, 45, 0.96) 36%, #0d1d1d 36.1%),
    #0d1d1d;
}

html.theme-dark .band {
  background: #0d1d1d;
}

html.theme-dark .band + .band {
  border-top-color: rgba(246, 242, 233, 0.12);
}

html.theme-dark .capability-band {
  background:
    linear-gradient(90deg, rgba(246, 242, 233, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 242, 233, 0.04) 1px, transparent 1px),
    #0d1d1d;
  background-size: 48px 48px;
}

html.theme-dark .official-band {
  background: #101f1e;
}

html.theme-dark .lead-panel,
html.theme-dark .card,
html.theme-dark .legal-content,
html.theme-dark .contact-item {
  border-color: rgba(246, 242, 233, 0.14);
  background: rgba(246, 242, 233, 0.075);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

html.theme-dark .legal-content {
  border-top-color: var(--gold);
}

html.theme-dark .legal-aside {
  border-color: rgba(246, 242, 233, 0.14);
  background: rgba(13, 36, 36, 0.76);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

html.theme-dark .section-kicker h2,
html.theme-dark .section-head h2,
html.theme-dark .system-copy h2,
html.theme-dark .card h3,
html.theme-dark .legal-content h2,
html.theme-dark .contact-item dd,
html.theme-dark .updated {
  color: var(--paper);
}

html.theme-dark .lead-panel p,
html.theme-dark .section-head p,
html.theme-dark .system-copy p,
html.theme-dark .card p,
html.theme-dark .card li,
html.theme-dark .legal-content p,
html.theme-dark .legal-content li,
html.theme-dark .contact-item dt,
html.theme-dark .legal-aside p {
  color: rgba(246, 242, 233, 0.7);
}

html.theme-dark .accent-card {
  background: rgba(159, 231, 199, 0.1);
}

html.theme-dark .contact-item a,
html.theme-dark .legal-content a {
  color: var(--mint);
}

@media (max-width: 1040px) {
  h1 {
    font-size: 4rem;
  }

  .hero-inner,
  .split-layout,
  .system-layout,
  .section-head,
  .legal-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .marketplace-visual {
    max-width: 720px;
  }

  .visual-frame {
    aspect-ratio: 16 / 10;
  }

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

  .legal-aside {
    position: static;
  }
}

@media (max-width: 840px) {
  h1,
  .compact-hero h1 {
    font-size: 3.35rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-inner {
    padding: 52px 0 64px;
    gap: 32px;
  }

  h1,
  .compact-hero h1 {
    font-size: 3rem;
  }

  .section-kicker h2,
  .section-head h2,
  .system-copy h2 {
    font-size: 2.35rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .capability-grid,
  .elevated-list {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .band {
    padding: 62px 0;
  }

  .legal-content {
    padding: 28px 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand span {
    font-size: 1.15rem;
  }

  .nav-links {
    gap: 3px;
  }

  .nav-links a,
  .lang-link,
  .theme-toggle {
    min-height: 36px;
    padding-inline: 4px;
    font-size: 0.75rem;
  }

  .lang-link {
    min-width: 40px;
  }

  .theme-toggle {
    width: 36px;
  }

  h1,
  .compact-hero h1 {
    font-size: 2.48rem;
  }

  .section-kicker h2,
  .section-head h2,
  .system-copy h2 {
    font-size: 2.05rem;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .footer-links a {
    min-width: 0;
    padding-inline: 10px;
  }

  .visual-card {
    display: none;
  }
}

@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;
  }

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