@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --ink: #f3f2ec;
  --muted: #a4adb6;
  --subtle: #737f8a;
  --canvas: #0d151d;
  --canvas-deep: #091017;
  --surface: #121e28;
  --surface-raised: #172530;
  --line: rgba(204, 221, 228, 0.13);
  --teal: #78e4dc;
  --teal-dark: #3fc4bd;
  --lavender: #bb9aff;
  --gold: #edc989;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
  --font-mono: "DM Mono", monospace;
  --wrap: 1200px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 83% 0%, rgba(120, 228, 220, 0.055), transparent 33rem),
    var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--canvas-deep);
  background: var(--teal);
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.75rem, 10vw, 5.6rem);
}

h1 em {
  color: var(--teal);
  font-style: normal;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.lead {
  max-width: 610px;
  margin-bottom: 0;
  color: #c0c8cc;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--teal);
}

.primary-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 12px 18px 18px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: rgba(13, 21, 29, 0.98);
  box-shadow: var(--shadow);
}

.primary-nav[data-open],
.primary-nav.is-open {
  display: flex;
}

.primary-nav > a {
  padding: 12px 6px;
  color: #c3cbd0;
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.primary-nav > a:hover {
  color: var(--teal);
}

.primary-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  padding: 11px 15px;
  border: 1px solid rgba(120, 228, 220, 0.35);
  border-radius: 999px;
  color: var(--teal);
}

.nav-cta span {
  font-size: 1.1rem;
}

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  display: grid;
  gap: 42px;
  align-items: center;
  padding-block: 56px 58px;
}

.hero-copy {
  max-width: 650px;
}

.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.pulse,
.signal,
.caption-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal);
}

.pulse {
  box-shadow: 0 0 0 5px rgba(120, 228, 220, 0.1), 0 0 20px rgba(120, 228, 220, 0.55);
}

.hero-copy h1 {
  max-width: 720px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #071318;
}

.button-primary:hover {
  border-color: #a0f3ed;
  background: #a0f3ed;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface-raised);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(120, 228, 220, 0.5);
}

.button-quiet {
  border-color: var(--line);
  background: transparent;
  color: #d7dcde;
}

.button-quiet:hover {
  border-color: rgba(120, 228, 220, 0.45);
  color: var(--teal);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 27px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.025em;
}

.signal {
  width: 6px;
  height: 6px;
  background: var(--lavender);
}

.hero-art {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(197, 220, 225, 0.18);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.77);
}

.hero-art::after,
.article-hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 13, 18, 0.74));
  content: "";
  pointer-events: none;
}

.art-caption {
  position: absolute;
  z-index: 1;
  right: 17px;
  bottom: 16px;
  left: 17px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #edf2ef;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
}

.caption-dot {
  width: 6px;
  height: 6px;
}

.caption-line {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.35);
}

.art-orbit {
  position: absolute;
  top: 12%;
  right: 10%;
  width: 115px;
  aspect-ratio: 1;
  border: 1px solid rgba(120, 228, 220, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(120, 228, 220, 0.045), 0 0 0 32px rgba(120, 228, 220, 0.035);
}

.art-orbit::before,
.art-orbit::after {
  position: absolute;
  border: 1px solid rgba(187, 154, 255, 0.65);
  border-radius: 50%;
  content: "";
}

.art-orbit::before {
  inset: 25%;
}

.art-orbit::after {
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  background: var(--lavender);
}

.intro-strip {
  display: grid;
  gap: 12px;
  padding-block: 25px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-strip p {
  max-width: 780px;
  margin: 0;
  color: #c5ccce;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2.2vw, 1.4rem);
  letter-spacing: -0.025em;
  line-height: 1.55;
}

.section {
  padding-block: 76px 82px;
}

.section-heading {
  display: grid;
  gap: 17px;
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  margin-bottom: 13px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-aside {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.topic-list {
  display: grid;
  gap: 16px;
}

.topic-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(23, 37, 48, 0.84), rgba(15, 25, 34, 0.94));
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(120, 228, 220, 0.32);
  background: var(--surface-raised);
}

.topic-media {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: #18232a;
}

.topic-media::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(7, 13, 18, 0.48));
  content: "";
}

.topic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.83);
  transition: transform 500ms ease;
}

.topic-card:hover .topic-media img {
  transform: scale(1.045);
}

.media-index {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 12px;
  color: #f5f5ee;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.topic-content {
  padding: 22px;
}

.tag {
  display: inline-block;
  margin-bottom: 11px;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.topic-content p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover {
  gap: 12px;
  color: #b0fff7;
}

.system-section {
  display: grid;
  gap: 35px;
  align-items: center;
  padding-block: 12px 85px;
}

.system-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.system-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.5);
}

.system-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(7, 14, 19, 0.48), rgba(7, 14, 19, 0.13));
  content: "";
}

.diagram-label {
  position: absolute;
  z-index: 1;
  padding: 7px 9px;
  border: 1px solid rgba(120, 228, 220, 0.44);
  border-radius: 3px;
  background: rgba(9, 18, 24, 0.78);
  color: #dffaf5;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.label-one {
  top: 18%;
  left: 8%;
}

.label-two {
  top: 48%;
  left: 46%;
}

.label-three {
  right: 8%;
  bottom: 19%;
}

.diagram-track {
  position: absolute;
  z-index: 1;
  top: 42%;
  right: 17%;
  left: 17%;
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed rgba(120, 228, 220, 0.72);
}

.diagram-track span {
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  background: var(--canvas);
  box-shadow: 0 0 14px rgba(120, 228, 220, 0.5);
}

.system-copy .eyebrow {
  margin-bottom: 15px;
}

.system-copy h2 {
  max-width: 570px;
  font-size: clamp(2.1rem, 5vw, 3.55rem);
}

.system-copy p:not(.eyebrow) {
  color: var(--muted);
}

.system-copy .text-link {
  margin-top: 5px;
}

.closing-band {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  overflow: hidden;
  margin-bottom: 80px;
  padding: 33px 25px;
  border: 1px solid rgba(120, 228, 220, 0.19);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 15%, rgba(187, 154, 255, 0.14), transparent 35%),
    linear-gradient(120deg, rgba(20, 43, 51, 0.92), rgba(17, 28, 40, 0.95));
}

.closing-band::after {
  position: absolute;
  top: -70px;
  right: -20px;
  width: 230px;
  aspect-ratio: 1;
  border: 1px solid rgba(120, 228, 220, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(120, 228, 220, 0.035), 0 0 0 48px rgba(120, 228, 220, 0.025);
  content: "";
  pointer-events: none;
}

.closing-band > * {
  position: relative;
  z-index: 1;
}

.closing-band h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4.3vw, 3rem);
}

.article-hero {
  display: grid;
  gap: 34px;
  align-items: center;
  padding-block: 48px 56px;
}

.article-hero-copy .eyebrow {
  margin-bottom: 19px;
}

.article-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.8rem, 9vw, 5.4rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.article-meta span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c5cdd0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.article-hero-image {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.article-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.8);
}

.article-hero-image figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 15px;
  left: 18px;
  color: #e4e9e5;
  font-size: 0.76rem;
}

.article-layout {
  display: grid;
  gap: 34px;
  align-items: start;
  padding-top: 26px;
}

.article-rail {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 228, 220, 0.3) transparent;
}

.article-rail .eyebrow {
  display: none;
}

.article-rail a {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b5bec3;
  font-size: 0.75rem;
  transition: border-color 180ms ease, color 180ms ease;
}

.article-rail a:hover {
  border-color: rgba(120, 228, 220, 0.5);
  color: var(--teal);
}

.prose {
  min-width: 0;
  max-width: 780px;
}

.prose section {
  margin-bottom: 58px;
  scroll-margin-top: 32px;
}

.prose section > .eyebrow {
  margin-bottom: 12px;
}

.prose h2 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 4.8vw, 2.75rem);
}

.prose p:not(.eyebrow) {
  margin-bottom: 18px;
  color: #b8c1c5;
  font-size: 0.97rem;
  line-height: 1.85;
}

.prose a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(120, 228, 220, 0.45);
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

.prose a:hover {
  color: #b2fff8;
  text-decoration-color: currentColor;
}

.contact-form {
  margin: 28px 0 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(23, 37, 48, 0.76), rgba(15, 25, 34, 0.88));
}

.contact-form-grid {
  display: grid;
  gap: 18px;
}

.contact-field {
  min-width: 0;
}

.contact-field label {
  display: block;
  margin-bottom: 7px;
  color: #e4e9e5;
  font-size: 0.83rem;
  font-weight: 600;
}

.contact-field label > span:not(.field-optional) {
  color: var(--teal);
}

.contact-field .field-optional {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 400;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(204, 221, 228, 0.2);
  border-radius: 9px;
  background: rgba(9, 16, 23, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.contact-field select {
  color-scheme: dark;
}

.contact-field textarea {
  min-height: 145px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--subtle);
}

.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.contact-form-note {
  margin: 18px 0 !important;
  color: var(--muted) !important;
  font-size: 0.8rem !important;
  line-height: 1.6 !important;
}

.contact-form .button {
  font-family: var(--font-body);
}

.support-visual {
  position: relative;
  overflow: hidden;
  margin: 4px 0 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.support-visual img {
  width: 100%;
  max-height: 440px;
  aspect-ratio: 1.55;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.82);
}

.support-visual figcaption {
  padding: 12px 15px 14px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.explore-next {
  margin-block: 15px 76px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.explore-next > .eyebrow {
  margin-bottom: 12px;
}

.explore-next h2 {
  max-width: 680px;
  margin-bottom: 23px;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
}

.next-links {
  display: grid;
  gap: 10px;
}

.next-links a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(18, 30, 40, 0.62);
  color: #d9dfdf;
  font-size: 0.87rem;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.next-links a span {
  color: var(--teal);
  font-size: 1.1rem;
}

.next-links a:hover {
  border-color: rgba(120, 228, 220, 0.42);
  background: var(--surface-raised);
  color: var(--teal);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--canvas-deep);
}

.footer-main {
  display: grid;
  gap: 38px;
  padding-block: 49px 43px;
}

.footer-brand > p {
  max-width: 280px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-brand .copyright {
  margin-top: 24px;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.footer-main h2 {
  margin-bottom: 17px;
  color: #e8ece9;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-company dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  margin: 0;
}

.footer-company dt {
  margin-top: 9px;
  color: var(--subtle);
  font-size: 0.69rem;
}

.footer-company dd {
  margin: 0;
  color: #b8c1c5;
  font-size: 0.77rem;
  overflow-wrap: anywhere;
}

.footer-company dd a,
.footer-links a,
.footer-cookie {
  color: #b8c1c5;
  transition: color 180ms ease;
}

.footer-company dd a:hover,
.footer-links a:hover,
.footer-cookie:hover {
  color: var(--teal);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-links a,
.footer-cookie {
  font-size: 0.78rem;
}

.footer-cookie {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  z-index: 50;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 18px;
  max-width: 740px;
  margin-inline: auto;
  padding: 20px;
  border: 1px solid rgba(120, 228, 220, 0.3);
  border-radius: 16px;
  background: rgba(17, 29, 39, 0.97);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner .eyebrow {
  margin-bottom: 7px;
}

.cookie-banner p:not(.eyebrow) {
  margin-bottom: 0;
  color: #bdc7ca;
  font-size: 0.83rem;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.cookie-actions .button {
  min-height: 40px;
  padding: 10px 13px;
  font-size: 0.75rem;
}

.cookie-actions .text-link {
  min-height: 40px;
  padding-inline: 8px;
  font-size: 0.75rem;
}

.preferences-panel {
  width: min(520px, calc(100% - 28px));
  max-width: 520px;
  max-height: min(90vh, 760px);
  overflow: auto;
  padding: 27px;
  border: 1px solid rgba(120, 228, 220, 0.26);
  border-radius: 18px;
  background: #111d27;
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
}

.preferences-panel::backdrop {
  background: rgba(4, 9, 13, 0.76);
  backdrop-filter: blur(5px);
}

.preferences-panel form {
  position: absolute;
  top: 18px;
  right: 18px;
}

.dialog-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  cursor: pointer;
}

.preferences-panel > .eyebrow {
  margin: 4px 48px 10px 0;
}

.preferences-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 5vw, 2.15rem);
}

.preferences-panel > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.88rem;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.preference-row strong,
.preference-row small {
  display: block;
}

.preference-row strong {
  font-size: 0.9rem;
}

.preference-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.preference-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal-dark);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

@media (min-width: 620px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 64px));
  }

  .hero {
    gap: 48px;
    padding-block: 76px 72px;
  }

  .hero-art {
    min-height: 410px;
  }

  .intro-strip {
    grid-template-columns: 190px 1fr;
    align-items: start;
    gap: 24px;
    padding-block: 29px;
  }

  .section {
    padding-block: 94px 100px;
  }

  .section-heading {
    grid-template-columns: 1fr minmax(220px, 350px);
    align-items: end;
    gap: 30px;
    margin-bottom: 39px;
  }

  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .topic-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .topic-card:last-child:nth-child(odd) .topic-media {
    height: 100%;
    min-height: 260px;
  }

  .topic-content {
    padding: 24px;
  }

  .system-visual {
    min-height: 410px;
  }

  .closing-band {
    padding: 43px 42px;
  }

  .article-hero {
    padding-block: 65px 70px;
  }

  .article-hero-image {
    min-height: 390px;
  }

  .article-layout {
    gap: 42px;
  }

  .article-rail {
    gap: 11px;
  }

  .contact-form {
    padding: 28px;
  }

  .contact-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .contact-field-full {
    grid-column: 1 / -1;
  }

  .support-visual img {
    aspect-ratio: 1.8;
  }

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

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 35px;
  }

  .cookie-banner {
    right: 24px;
    bottom: 24px;
    left: auto;
    padding: 23px;
  }
}

@media (min-width: 900px) {
  .site-header {
    min-height: 91px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav > a {
    padding: 8px 0;
    font-size: 0.82rem;
  }

  .primary-nav .nav-cta {
    margin: 0 0 0 4px;
    padding: 10px 15px;
  }

  .hero {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 45px;
    padding-block: 92px 83px;
  }

  .hero-art {
    min-height: 520px;
  }

  .hero-copy h1 {
    font-size: clamp(4.1rem, 6.1vw, 5.6rem);
  }

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

  .topic-card:last-child:nth-child(odd) {
    grid-column: auto;
    display: block;
  }

  .topic-card:last-child:nth-child(odd) .topic-media {
    height: 220px;
    min-height: 0;
  }

  .topic-card:nth-child(4),
  .topic-card:nth-child(5) {
    grid-column: span 1;
  }

  .topic-card {
    display: flex;
    flex-direction: column;
  }

  .topic-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .topic-content .text-link {
    margin-top: auto;
  }

  .topic-media {
    height: 205px;
    flex: 0 0 auto;
  }

  .topic-content p {
    margin-bottom: 20px;
  }

  .system-section {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 65px;
    padding-block: 32px 105px;
  }

  .system-visual {
    min-height: 510px;
  }

  .closing-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px 48px;
  }

  .closing-band h2 {
    max-width: 640px;
  }

  .article-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    padding-block: 80px 90px;
  }

  .article-hero-image {
    min-height: 500px;
  }

  .article-layout {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: clamp(44px, 8vw, 110px);
  }

  .article-rail {
    position: sticky;
    top: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    overflow: visible;
    padding: 0 0 0 17px;
    border: 0;
    border-left: 1px solid var(--line);
  }

  .article-rail .eyebrow {
    display: block;
    margin: 0 0 11px;
    font-size: 0.61rem;
  }

  .article-rail a {
    width: 100%;
    padding: 7px 0;
    border: 0;
    border-radius: 0;
    font-size: 0.77rem;
    line-height: 1.45;
  }

  .article-rail a:hover {
    border-color: transparent;
  }

  .prose {
    max-width: 760px;
  }

  .prose section {
    margin-bottom: 74px;
  }

  .support-visual {
    margin-block: 5px 74px;
  }

  .next-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1.2fr 1.35fr 0.8fr 0.72fr;
    gap: 35px;
    padding-block: 60px 55px;
  }
}

@media (min-width: 1180px) {
  .hero {
    gap: 66px;
  }

  .hero-art {
    min-height: 560px;
  }

  .topic-list {
    gap: 20px;
  }

  .topic-media {
    height: 225px;
  }

  .topic-content {
    padding: 25px;
  }

  .article-hero {
    gap: 76px;
  }

  .article-hero-image {
    min-height: 535px;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 7px;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .hero {
    padding-top: 45px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .button {
    width: 100%;
  }

  .hero-art {
    min-height: 270px;
  }

  .article-meta span {
    font-size: 0.57rem;
  }

  .contact-form {
    padding: 18px;
  }

  .contact-form .button {
    width: 100%;
  }

  .cookie-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions .button,
  .cookie-actions .text-link {
    width: 100%;
  }

  .preferences-panel {
    padding: 23px 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}