:root {
  --ink: #0b1f1c;
  --navy: #072b31;
  --teal: #0b6e8f;
  --teal-light: #1594bc;
  --blue: #0b6e8f;
  --blue-light: #1594bc;
  --lime: #e2fb6c;
  --paper: #f2f4f1;
  --white: #ffffff;
  --muted: #55625b;
  --line: #dfe4df;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--navy);
  background: var(--lime);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.news-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--white);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-header .header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.news-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  gap: 2rem;
}

.news-header .logo {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.news-header .logo-rule {
  width: 4px;
  min-height: 34px;
  border-radius: 2px;
  background: var(--lime);
  flex: none;
}

.news-header .logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1875rem;
}

.news-header .logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  line-height: 1;
}

.news-header .logo-sub {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--lime);
}

.news-header .logo:hover {
  opacity: 0.8;
}

.news-header nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.news-header .nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-header .nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.news-header .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-light);
  transition: width 0.3s ease;
}

.news-header .nav-links a:hover,
.news-header .nav-links a[aria-current="page"] {
  color: var(--white);
}

.news-header .nav-links a:hover::after,
.news-header .nav-links a[aria-current="page"]::after {
  width: 100%;
}

.news-header .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.news-header .nav-cta:hover {
  background: var(--blue-light);
}

.news-header .mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.news-header .mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 3px 0;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.news-header .mobile-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.news-header .mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.news-header .mobile-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.news-shell {
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
}

.news-hero {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 7vw, 6rem);
  color: var(--white);
  background: var(--navy);
}

.news-kicker,
.article-kicker {
  margin: 0 0 1rem;
  color: var(--teal-light);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.news-hero .news-kicker {
  color: var(--lime);
}

.news-hero h1,
.article-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.news-hero p:not(.news-kicker) {
  max-width: 720px;
  margin: 2rem 0 0;
  color: rgba(255,255,255,0.74);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.demo-notice {
  padding: 1rem 0;
  color: var(--navy);
  background: var(--lime);
  font-size: 0.9375rem;
  font-weight: 600;
}

.demo-notice p {
  margin: 0;
}

.news-listing {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.news-filters button {
  min-height: 44px;
  padding: 0.625rem 1rem;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.news-filters button:hover,
.news-filters button[aria-pressed="true"] {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-card-item {
  grid-column: span 6;
}

.news-card-item:first-child {
  grid-column: span 12;
}

.news-card {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-cover {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border-radius: 1rem;
}

.news-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(120deg, transparent 25%, rgba(255,255,255,0.12) 25% 27%, transparent 27% 57%, rgba(255,255,255,0.08) 57% 59%, transparent 59%);
}

.news-cover--editorial::before {
  z-index: 1;
  opacity: 1;
  background: linear-gradient(180deg, rgba(7,43,49,0.08) 25%, rgba(7,43,49,0.88) 100%);
}

.news-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--paper);
}

.news-cover-title {
  position: relative;
  z-index: 1;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.75rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.news-cover--taxonomy { background: #072b31; }
.news-cover--pilot { background: #0a6b4f; }
.news-cover--property { background: #0b6e8f; }
.news-cover--review { color: var(--navy); background: var(--lime); }
.news-cover--traceability { color: var(--navy); background: #dce7e2; }
.news-cover--workflow { background: #122c28; }
.news-cover--library { background: #0b1f1c; }

.news-card-arrow {
  position: absolute !important;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--font-body) !important;
  font-size: 1.25rem !important;
  letter-spacing: 0 !important;
  transition: transform 180ms ease;
}

.news-card:hover .news-card-arrow {
  transform: rotate(12deg);
}

.news-card-body {
  padding: 1.25rem 0 0.5rem;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card h2,
.news-card h3 {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.news-card p {
  max-width: 60ch;
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.article-hero {
  padding: clamp(4rem, 9vw, 8rem) 0 3rem;
  color: var(--white);
  background: var(--navy);
}

.article-shell {
  width: min(100% - 3rem, 900px);
  margin-inline: auto;
}

.article-back,
.text-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--teal-light);
  font-weight: 700;
  text-decoration: none;
}

.article-hero .article-kicker {
  color: var(--lime);
}

.article-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.article-dek {
  max-width: 720px;
  margin: 1.75rem 0 0;
  color: rgba(255,255,255,0.76);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.article-source {
  margin: 1.25rem 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.9375rem;
}

.article-source a {
  color: var(--lime);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.article-tag {
  padding: 0.35rem 0.75rem;
  color: var(--lime);
  border: 1px solid rgba(226, 251, 108, 0.35);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-cover {
  min-height: clamp(280px, 50vw, 520px);
  margin-top: 3rem;
}

.article-cover--image {
  overflow: hidden;
  padding: 0;
  background: var(--paper);
  border-radius: 1rem;
}

.article-cover--image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-cover--image figcaption {
  padding: 0.75rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.article-prose {
  width: min(100% - 3rem, 720px);
  margin: clamp(3rem, 7vw, 6rem) auto;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.75;
}

.article-prose p {
  margin: 0 0 1.75rem;
}

.article-prose h2 {
  margin: 4rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 2rem;
  padding-left: 1.4em;
}

.article-prose li {
  margin-bottom: 0.85rem;
  padding-left: 0.35rem;
}

.article-prose strong {
  color: var(--navy);
  font-weight: 700;
}

.article-prose a {
  color: var(--teal);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.article-faq {
  width: min(100% - 3rem, 720px);
  margin: 0 auto clamp(3rem, 7vw, 6rem);
}

.article-faq h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.article-faq-item + .article-faq-item {
  margin-top: 1.75rem;
}

.article-faq h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.35;
}

.article-faq p {
  margin: 0;
  color: var(--muted);
}

.article-media {
  width: 100%;
  margin: 3.5rem 0;
}

.article-media img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.article-media figcaption {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.article-figure {
  width: 100%;
  margin: 3.5rem 0;
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.article-prose .article-figure__title {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-prose .article-figure__note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.article-map {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.article-map th,
.article-map td {
  padding: 0.85rem 0.75rem;
  text-align: left;
  vertical-align: middle;
}

.article-map th {
  color: var(--white);
  background: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.article-map th:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}

.article-map th:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}

.article-map tbody tr:nth-child(even) td {
  background: #e8ece8;
}

.article-map tbody tr:nth-child(odd) td {
  background: var(--white);
}

.article-status {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.article-prose .article-lifecycle {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-prose .article-lifecycle li {
  margin: 0;
  padding: 0;
}

.article-lifecycle__step {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 0.75rem;
}

.article-lifecycle__n {
  flex: 0 0 auto;
  color: #9aa8a4;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.article-lifecycle__label {
  font-size: 1.0625rem;
  font-weight: 700;
}

.article-lifecycle__gate {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0;
}

.article-lifecycle__gate span {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .article-map thead {
    display: none;
  }

  .article-map,
  .article-map tbody,
  .article-map tr,
  .article-map td {
    display: block;
    width: 100%;
  }

  .article-map tr {
    margin-bottom: 0.65rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
  }

  .article-map tbody tr:nth-child(even) td,
  .article-map tbody tr:nth-child(odd) td {
    background: var(--white);
  }

  .article-map td {
    padding: 0.45rem 0.85rem;
  }

  .article-map td:first-child {
    padding-top: 0.85rem;
    font-weight: 700;
  }

  .article-map td:last-child {
    padding-bottom: 0.85rem;
  }

  .article-map td[data-label]::before {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .article-map td:first-child::before {
    content: none;
  }
}

.article-prose blockquote {
  margin: 3rem 0;
  padding: 2rem;
  color: var(--navy);
  background: var(--lime);
  border-radius: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.article-prose blockquote p {
  margin: 0;
}

.article-prose blockquote footer {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-news {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: var(--paper);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.05em;
}

.news-grid--related .news-card-item,
.news-grid--related .news-card-item:first-child {
  grid-column: span 4;
}

.news-grid--related .news-cover {
  min-height: 220px;
}

.news-grid--related .news-cover-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.news-grid--related .news-card h2 {
  font-size: 1.35rem;
}

.news-footer {
  padding: 3rem 0;
  color: rgba(255,255,255,0.72);
  background: var(--navy);
}

.news-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.news-footer a {
  color: var(--lime);
}

:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .news-header .mobile-nav-toggle {
    display: flex;
  }

  .news-header nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(7, 43, 49, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
  }

  .news-header nav.active {
    max-height: 480px;
    padding: 2rem 1.5rem;
    opacity: 1;
    pointer-events: auto;
  }

  .news-header .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: flex-start;
  }

  .news-header .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .news-header .nav-links li:last-child {
    border-bottom: none;
  }

  .news-header .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .news-header .nav-links a::after {
    display: none;
  }

  .news-header .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 780px) {
  .news-shell,
  .article-shell,
  .article-prose,
  .article-faq {
    width: min(100% - 2rem, 1180px);
  }

  .news-card-item,
  .news-card-item:first-child,
  .news-grid--related .news-card-item,
  .news-grid--related .news-card-item:first-child {
    grid-column: 1 / -1;
  }

  .news-cover {
    min-height: 240px;
  }

  .news-card-meta,
  .news-footer-inner {
    flex-direction: column;
  }
}

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