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

:root {
  color-scheme: dark;
  --color-bg: #090d14;
  --color-bg-soft: #0d131d;
  --color-panel: #101923;
  --color-panel-raised: #141f2b;
  --color-border: rgba(181, 208, 219, 0.14);
  --color-border-strong: rgba(181, 208, 219, 0.24);
  --color-text: #edf3f3;
  --color-muted: #a4b1ba;
  --color-subtle: #71808b;
  --color-accent: #83ece6;
  --color-accent-deep: #48c8c2;
  --font-body: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --width-wide: 1180px;
  --width-reading: 1160px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--color-bg);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 75% 4%, rgba(41, 91, 105, 0.13), transparent 34rem),
    var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  font-family: var(--font-body);
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

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

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(131, 236, 230, 0.25);
  color: #fff;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 11vw, 4.5rem);
  line-height: 1.04;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  line-height: 1.2;
}

p {
  color: var(--color-muted);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 26px;
  height: 1px;
  background: var(--color-accent);
}

/* Header and navigation */
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(181, 208, 219, 0.09);
  background: rgba(9, 13, 20, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: flex;
  width: min(calc(100% - 36px), 1340px);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.brand-dot {
  color: var(--color-accent);
}

.menu-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-soft);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  width: 17px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform 180ms ease;
}

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

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

.primary-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 0 0 16px 16px;
  background: #0d141e;
  box-shadow: var(--shadow-soft);
}

.menu-toggle[aria-expanded="true"] + .primary-nav {
  display: flex;
}

.primary-nav a {
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--color-muted);
  font-size: 0.88rem;
  transition: color 160ms ease, background 160ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(131, 236, 230, 0.08);
  color: var(--color-accent);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(131, 236, 230, 0.36);
  border-radius: 999px;
  color: var(--color-accent);
  font-size: 0.83rem;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease;
}

.header-cta:hover {
  border-color: var(--color-accent);
  background: rgba(131, 236, 230, 0.09);
}

.header-cta span {
  font-size: 1rem;
}

/* Buttons and links */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  cursor: pointer;
}

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

.button-primary {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #071317;
  box-shadow: 0 8px 24px rgba(72, 200, 194, 0.12);
}

.button-primary:hover {
  border-color: #a4fff7;
  background: #a4fff7;
  box-shadow: 0 12px 30px rgba(72, 200, 194, 0.2);
}

.button-secondary {
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--color-text);
}

.button-secondary:hover {
  border-color: rgba(131, 236, 230, 0.55);
  background: rgba(131, 236, 230, 0.07);
}

.button-small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.8rem;
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 160ms ease, gap 160ms ease;
}

.text-link:hover,
.card-link:hover {
  gap: 13px;
  color: var(--color-accent);
}

/* Homepage hero */
.hero {
  position: relative;
  display: grid;
  min-height: 620px;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 74px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 630px;
}

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

.hero-intro {
  max-width: 580px;
  margin-bottom: 26px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px 22px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: var(--color-subtle);
  font-size: 0.77rem;
  letter-spacing: 0.045em;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(131, 236, 230, 0.1);
}

.hero-visual {
  position: relative;
  width: min(100%, 520px);
  height: clamp(350px, 95vw, 590px);
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: 48% 48% 22px 22px;
  background: #111b26;
  box-shadow: var(--shadow-soft);
}

.hero-visual::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 9, 14, 0.12) 25%, rgba(4, 9, 14, 0.86) 100%);
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.visual-caption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 23px;
  left: 22px;
  display: grid;
  gap: 5px;
  color: #f3f8f7;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.caption-kicker {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.visual-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(131, 236, 230, 0.34);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: 13%;
  right: -16%;
  width: 56%;
  aspect-ratio: 1;
}

.orbit-two {
  top: 4%;
  right: -29%;
  width: 75%;
  aspect-ratio: 1;
  border-color: rgba(131, 236, 230, 0.14);
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 28px;
  display: flex;
  gap: 10px;
  color: var(--color-subtle);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hero-index span {
  color: var(--color-accent);
}

/* Topic section and cards */
.section {
  padding-top: 84px;
  padding-bottom: 100px;
  border-top: 1px solid var(--color-border);
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 470px;
  margin-bottom: 0;
}

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

.topic-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(19, 30, 41, 0.96), rgba(12, 19, 28, 0.98));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(131, 236, 230, 0.34);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.topic-image {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  background: #151f2b;
}

.topic-image::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(7, 12, 18, 0.75));
  content: "";
}

.topic-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 400ms ease;
}

.topic-card:hover .topic-image img {
  transform: scale(1.04);
}

.image-index {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 16px;
  color: var(--color-accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.topic-content {
  padding: 24px 21px 22px;
}

.topic-content .eyebrow {
  margin-bottom: 10px;
  font-size: 0.64rem;
}

.topic-content h3 a {
  transition: color 160ms ease;
}

.topic-content h3 a:hover {
  color: var(--color-accent);
}

.topic-content > p:not(.eyebrow) {
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 21px;
}

.tag-list span {
  padding: 5px 9px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: #aab9c1;
  font-size: 0.67rem;
  line-height: 1.4;
}

.card-link {
  color: var(--color-accent);
  font-size: 0.79rem;
}

/* Homepage production pipeline and closing panel */
.pipeline-section {
  padding: 72px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(ellipse at 75% 50%, rgba(39, 111, 116, 0.11), transparent 38rem),
    #0b1119;
}

.pipeline-grid {
  display: grid;
  align-items: center;
  gap: 36px;
}

.pipeline-copy {
  max-width: 570px;
}

.pipeline-copy h2 {
  font-size: clamp(2.2rem, 7vw, 3.5rem);
}

.pipeline-copy > p:not(.eyebrow) {
  font-size: 0.94rem;
}

.pipeline-copy .button {
  margin-top: 12px;
}

.pipeline-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: #111b27;
}

.pipeline-visual::after {
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(180deg, transparent, rgba(4, 9, 15, 0.88));
  content: "";
}

.pipeline-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.pipeline-steps {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.pipeline-steps span {
  display: grid;
  gap: 3px;
  color: #e5eeee;
  font-size: 0.65rem;
  font-weight: 600;
}

.pipeline-steps b {
  color: var(--color-accent);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.closing-band {
  display: grid;
  justify-items: start;
  padding-top: 86px;
  padding-bottom: 92px;
}

.closing-band h2 {
  margin-bottom: 26px;
  font-size: clamp(2.5rem, 9vw, 4.3rem);
}

.closing-band h2 em {
  color: var(--color-accent);
  font-style: normal;
}

/* Article introductions */
.article-hero {
  padding-top: 50px;
}

.article-heading {
  max-width: 850px;
  margin-bottom: 30px;
}

.article-heading h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 10vw, 5.1rem);
}

.article-deck {
  max-width: 750px;
  margin-bottom: 23px;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.8;
}

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

.article-meta span {
  padding: 6px 9px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: #9aabb4;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.article-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
}

.article-image img {
  width: 100%;
  height: clamp(260px, 60vw, 540px);
  object-fit: cover;
}

.article-image figcaption {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--color-border);
  color: var(--color-subtle);
  font-size: 0.75rem;
}

/* Article layout, table of contents, and editorial copy */
.article-body {
  display: grid;
  gap: 36px;
  padding-top: 60px;
  padding-bottom: 72px;
}

.article-aside {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(16, 25, 35, 0.68);
}

.article-aside .eyebrow {
  margin-bottom: 8px;
  font-size: 0.65rem;
}

.article-aside a {
  padding: 7px 0;
  color: var(--color-muted);
  font-size: 0.79rem;
  line-height: 1.45;
  transition: color 160ms ease, padding 160ms ease;
}

.article-aside a:hover {
  padding-left: 4px;
  color: var(--color-accent);
}

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

.prose section {
  scroll-margin-top: 96px;
  margin-bottom: 43px;
}

.prose h2 {
  margin-bottom: 15px;
  font-size: clamp(1.65rem, 5vw, 2.25rem);
}

.prose p {
  margin-bottom: 17px;
  font-size: 0.96rem;
  line-height: 1.85;
}

.prose strong {
  color: #e8f0f1;
  font-weight: 700;
}

.prose a:not(.related-box a) {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: rgba(131, 236, 230, 0.38);
  text-underline-offset: 3px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 16px 14px 39px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(16, 25, 35, 0.62);
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.check-list li::before {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--color-accent);
  content: "↗";
  font-size: 0.9rem;
  font-weight: 700;
}

.related-box {
  display: grid;
  gap: 10px;
  margin-top: 46px;
  padding: 22px;
  border: 1px solid rgba(131, 236, 230, 0.2);
  border-radius: var(--radius-md);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(131, 236, 230, 0.08), transparent 65%),
    var(--color-panel);
}

.related-box .eyebrow {
  margin-bottom: 2px;
}

.related-box a {
  width: fit-content;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.related-box a:hover {
  color: var(--color-accent);
}

/* Article call to action */
.article-cta {
  display: grid;
  justify-items: start;
  margin-bottom: 84px;
  padding: 34px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 92% 10%, rgba(72, 200, 194, 0.12), transparent 45%),
    linear-gradient(140deg, #111c27, #0d141d);
}

.article-cta h2 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 7vw, 3.15rem);
}

.article-cta > p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 22px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: #070b11;
}

.footer-top {
  display: grid;
  gap: 34px;
  padding-top: 54px;
  padding-bottom: 42px;
}

.footer-brand p {
  max-width: 280px;
  margin: 15px 0 0;
  color: var(--color-subtle);
  font-size: 0.83rem;
  line-height: 1.7;
}

.footer-column {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
}

.footer-column h2 {
  margin-bottom: 5px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-cookie {
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-subtle);
  font-size: 0.79rem;
  text-align: left;
  transition: color 160ms ease;
}

.footer-column a:hover,
.footer-cookie:hover {
  color: var(--color-accent);
}

.footer-cookie {
  cursor: pointer;
}

.footer-company p {
  margin: 0;
  color: var(--color-subtle);
  font-size: 0.78rem;
  line-height: 1.8;
}

.footer-company strong {
  color: #cbd5d8;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 17px;
  padding-bottom: 21px;
  border-top: 1px solid var(--color-border);
  color: #65727b;
  font-size: 0.7rem;
}

/* Cookie banner and preferences dialog */
.cookie-banner {
  position: fixed;
  z-index: 50;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin-inline: auto;
  padding: 20px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 32, 0.97);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}

.cookie-copy .eyebrow {
  margin-bottom: 8px;
}

.cookie-copy p:not(.eyebrow) {
  margin-bottom: 7px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.cookie-copy > a {
  color: var(--color-accent);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.cookie-preferences-link {
  padding: 8px 5px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-size: 0.78rem;
  cursor: pointer;
}

.cookie-preferences-link:hover {
  color: var(--color-accent);
}

.preferences-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.preferences-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 10, 0.78);
  backdrop-filter: blur(6px);
}

.preferences-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 28px 22px 22px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: #101923;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.preferences-panel .eyebrow {
  margin-bottom: 10px;
}

.preferences-panel h2 {
  max-width: 390px;
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 7vw, 2.4rem);
}

.preferences-panel > p:not(.eyebrow) {
  font-size: 0.88rem;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-muted);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--color-accent);
}

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

.preference-row > span {
  display: grid;
  gap: 3px;
}

.preference-row strong {
  color: var(--color-text);
  font-size: 0.88rem;
}

.preference-row small {
  color: var(--color-subtle);
  font-size: 0.74rem;
  line-height: 1.5;
}

.preference-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--color-accent-deep);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

/* Responsive layouts */
@media (min-width: 600px) {
  .wrap {
    width: min(calc(100% - 56px), var(--width-wide));
  }

  .header-inner {
    width: min(calc(100% - 56px), 1340px);
  }

  .brand {
    font-size: 0.98rem;
  }

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

  .hero {
    padding-top: 74px;
    padding-bottom: 92px;
  }

  .hero-visual {
    width: min(78%, 500px);
  }

  .section {
    padding-top: 100px;
    padding-bottom: 112px;
  }

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

  .topic-card {
    grid-template-rows: 230px 1fr;
  }

  .topic-image,
  .topic-image img {
    min-height: 230px;
  }

  .topic-content {
    padding: 24px;
  }

  .pipeline-section {
    padding: 88px 0;
  }

  .pipeline-visual,
  .pipeline-visual img {
    min-height: 380px;
  }

  .article-hero {
    padding-top: 66px;
  }

  .article-body {
    padding-top: 72px;
  }

  .article-cta {
    padding: 44px 38px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }

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

  .preferences-panel {
    padding: 34px 30px 26px;
  }
}

@media (min-width: 900px) {
  html {
    scroll-padding-top: 110px;
  }

  .header-inner {
    min-height: 84px;
  }

  .menu-toggle {
    display: none;
  }

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

  .primary-nav a {
    padding: 9px 11px;
    font-size: 0.81rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .hero {
    min-height: 690px;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 58px;
    padding-top: 74px;
    padding-bottom: 90px;
  }

  .hero-copy {
    padding-bottom: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(3.45rem, 5.5vw, 5.35rem);
  }

  .hero-intro {
    font-size: 1.05rem;
  }

  .hero-visual {
    width: 100%;
    height: min(620px, 47vw);
    min-height: 490px;
    justify-self: end;
  }

  .hero-index {
    bottom: 30px;
  }

  .section-heading {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 48px;
    margin-bottom: 42px;
  }

  .section-heading > p {
    justify-self: end;
    margin-bottom: 4px;
  }

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

  .topic-card {
    grid-template-rows: 220px 1fr;
  }

  .topic-image,
  .topic-image img {
    min-height: 220px;
  }

  .topic-content {
    padding: 23px 22px 24px;
  }

  .topic-content > p:not(.eyebrow) {
    min-height: 105px;
  }

  .pipeline-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
  }

  .pipeline-visual,
  .pipeline-visual img {
    min-height: 460px;
  }

  .pipeline-steps {
    right: 26px;
    bottom: 25px;
    left: 26px;
  }

  .pipeline-steps span {
    font-size: 0.73rem;
  }

  .closing-band {
    padding-top: 110px;
    padding-bottom: 116px;
  }

  .article-hero {
    padding-top: 78px;
  }

  .article-heading {
    margin-bottom: 38px;
  }

  .article-image img {
    height: min(48vw, 560px);
  }

  .article-body {
    grid-template-columns: 215px minmax(0, 760px);
    align-items: start;
    justify-content: center;
    gap: 62px;
    padding-top: 84px;
    padding-bottom: 88px;
  }

  .article-aside {
    position: sticky;
    top: 34px;
    padding: 20px;
  }

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

  .article-cta {
    margin-bottom: 100px;
    padding: 52px;
  }

  .footer-top {
    grid-template-columns: 1.25fr 1fr 0.8fr 1.15fr;
    gap: 35px;
    padding-top: 62px;
    padding-bottom: 52px;
  }

  .cookie-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1200px) {
  .hero {
    min-height: 750px;
    gap: 85px;
  }

  .hero-visual {
    max-width: 540px;
    height: 620px;
  }

  .topic-list {
    gap: 24px;
  }

  .topic-card {
    grid-template-rows: 235px 1fr;
  }

  .topic-image,
  .topic-image img {
    min-height: 235px;
  }

  .topic-content {
    padding: 26px 25px;
  }

  .pipeline-grid {
    gap: 94px;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: min(calc(100% - 30px), var(--width-wide));
  }

  .header-inner {
    width: calc(100% - 30px);
    gap: 10px;
  }

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

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

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

  .button {
    max-width: 100%;
  }

  .pipeline-steps {
    right: 12px;
    left: 12px;
    gap: 3px;
  }

  .pipeline-steps span {
    font-size: 0.57rem;
  }

  .cookie-actions > .button {
    flex: 1 1 100%;
  }
}

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