html {
  scroll-behavior: smooth;
}

body {
  scroll-snap-type: y proximity;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0b0b0b;
  color: #ffffff;
  line-height: 1.7;
}

a {
  color: inherit;
}

.nav {
  width: min(1100px, 90%);
  margin: 0 auto;
  padding: 1.6rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;

  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(14px);
}

.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-decoration: none;
  color: #f5f5f5;
  line-height: 0.8;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.wordmark:hover {
  opacity: 0.85;
}

.wordmark span {
  color: #d21f2b;
  margin-left: 0.04em;
}

.nav nav {
  display: flex;
  gap: 2rem;
}

.nav nav a {
  color: #7f7f7f;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav nav a:hover {
  color: #ffffff;
}

main {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid #222;
}

.hero-logo {
  width: 700px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 2.5rem;
}

.hero-text {
  max-width: 760px;
  font-size: clamp(1.5rem, 3vw, 3.2rem);
  line-height: 1.25;
  color: #f2f2f2;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-subtext {
  max-width: 720px;
  color: #9f9f9f;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #8f8f8f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: -0.7rem;
  margin-bottom: 2rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d21f2b;
  flex: 0 0 auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  text-decoration: none;
  background: #ffffff;
  color: #000000;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.secondary-link {
  color: #a0a0a0;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.secondary-link:hover {
  color: #ffffff;
}

.section {
  padding: 7rem 0;
  border-bottom: 1px solid #222;
  scroll-margin-top: 6rem;
}

.eyebrow {
  color: #8c8c8c;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.section .eyebrow {
  color: #8c8c8c;
  font-size: 1.1rem;
}

.insights-page-title {
  max-width: 900px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

h2 {
  max-width: 900px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.section p {
  max-width: 760px;
  color: #b8b8b8;
  font-size: 1.1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

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

.grid div,
.research-card,
.link-grid a,
.founder-card {
  border: 1px solid #2a2a2a;
  background: #121212;
  padding: 2rem;
  border-radius: 18px;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.grid div:hover,
.research-card:hover,
.link-grid a:hover,
.founder-card:hover {
  border-color: #3a3a3a;
  background: #151515;
  transform: translateY(-3px);
}

.grid h3,
.research-card h3,
.founder-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.grid p,
.research-card p,
.founder-card p {
  color: #a8a8a8;
  font-size: 1rem;
}

/* Capabilities */

.capabilities-grid {
  gap: 0;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

.capabilities-grid > div {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 2rem;
  border-bottom: 1px solid #222;
  transform: none;
}

.capabilities-grid > div:nth-child(3n + 1) {
  padding-left: 0;
}

.capabilities-grid > div:not(:nth-child(3n + 1)) {
  border-left: 1px solid #222;
}

.capabilities-grid > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.capabilities-grid > div:hover {
  background: transparent;
  border-color: #222;
  transform: none;
}

.capabilities-grid > div::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: #d21f2b;
  margin-bottom: 1.4rem;
}

.capabilities-grid h3 {
  max-width: 260px;
}

.capabilities-grid p {
  max-width: 300px;
}

/* Platform overview */

.platform-overview-section > p:not(.eyebrow) {
  max-width: 720px;
}

.platform-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

.platform-overview-grid > div {
  position: relative;
  min-height: 250px;
  padding: 2.25rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  transform: none;
}

.platform-overview-grid > div:first-child {
  padding-left: 0;
}

.platform-overview-grid > div:not(:first-child) {
  border-left: 1px solid #222;
}

.platform-overview-grid > div:hover {
  background: transparent;
  border-color: #222;
  transform: none;
}

.platform-overview-grid > div::before {
  display: block;
  margin-bottom: 1.5rem;
  color: #777777;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.platform-overview-grid > div:nth-child(1)::before {
  content: "01";
}

.platform-overview-grid > div:nth-child(2)::before {
  content: "02";
}

.platform-overview-grid > div:nth-child(3)::before {
  content: "03";
}

.platform-overview-grid > div:nth-child(4)::before {
  content: "04";
}

.platform-overview-grid h3 {
  max-width: 210px;
  margin-bottom: 1rem;
}

.platform-overview-grid p {
  max-width: 220px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.link-grid a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-radius: 18px;
  padding: 1.75rem;
}

.link-grid span {
  display: block;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.link-grid small {
  color: #9d9d9d;
  line-height: 1.8;
  flex-grow: 1;
}

.research-card,
.founder-card {
  width: 100%;
  margin-top: 1.5rem;
}

.label {
  color: #777777 !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem !important;
  margin-bottom: 0.7rem;
}

.founder-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.founder-meta span {
  border: 1px solid #2a2a2a;
  background: #0f0f0f;
  color: #d0d0d0;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.statement h2 {
  max-width: 850px;
}

.contact {
  padding-bottom: 4rem;
}

.contact .hero-actions {
  margin-top: 2rem;
}

.site-footer {
  width: min(1100px, 90%);
  margin: 0 auto;
  padding: 3rem 0 2rem;
  color: #8f8f8f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;

  padding-bottom: 2rem;
  border-bottom: 1px solid #222;
}

.footer-brand p:last-child {
  margin-top: 0.8rem;
  color: #9a9a9a;
}

.footer-wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: 0.28em;
  color: #f5f5f5;
}

.footer-wordmark span {
  color: #d21f2b;
}

.footer-heading {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: #8f8f8f;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.5rem;
  font-size: 0.92rem;
  color: #777777;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.legal-page {
  min-height: 80vh;
  padding: 6rem 0;
}

.legal-page h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
}

.legal-page p {
  max-width: 760px;
  color: #b8b8b8;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  @media (max-width: 560px) {
    .nav {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }

    .nav nav {
      gap: 1rem;
      flex-wrap: wrap;
    }
  }

  main,
  .nav,
  footer {
    width: min(100%, 88%);
  }

  .wordmark {
    font-size: 1.3rem;
    letter-spacing: 0.24em;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-logo {
    width: 100%;
    margin-bottom: 2rem;
  }

  .hero-text {
    font-size: 2rem;
  }

  .grid,
  .link-grid,
  .approach-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.insight-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 1.75rem;
  background: rgba(255,255,255,0.015);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: border-color 0.25s ease, transform 0.25s ease;
}

.insight-card p {
  flex-grow: 1;
}

.insight-card:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.insight-card h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.insight-card p {
  margin-bottom: 1.5rem;
}

.insight-card a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 1.5rem;
}

.insight-card a:hover {
  opacity: 0.7;
}

.card-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.link-grid a:hover .card-link,
.insight-card a:hover {
  opacity: 0.75;
}

.link-grid a,
.link-grid a span,
.link-grid a small {
  text-decoration: none;
}

.link-grid a:hover span:first-child,
.link-grid a:hover small {
  text-decoration: none;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.approach-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;

  padding: 1.75rem;

  background: rgba(255,255,255,0.015);

  transition: border-color 0.25s ease,
              transform 0.25s ease;
}

.approach-card:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

.approach-card h3 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.approach-card p {
  margin: 0;
}

.hero,
.section {
  scroll-snap-align: start;
}

.section-link {
  margin-top: 2rem;
}

.section-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  color: #b8b8b8;
  text-decoration: none;

  font-size: 0.95rem;
  font-weight: 600;

  transition: color 0.2s ease,
              transform 0.2s ease;
}

.section-link a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .link-grid,
  .approach-grid,
  .platform-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-overview-grid > div {
    min-height: auto;
    border-bottom: 1px solid #222;
  }

  .platform-overview-grid > div:nth-child(3) {
    padding-left: 0;
  }

  .platform-overview-grid > div:nth-child(3),
  .platform-overview-grid > div:nth-child(4) {
    border-bottom: 0;
  }

  h2 {
    font-size: clamp(2.2rem, 7vw, 4rem);
  }
}

@media (max-width: 768px) {
  .nav {
    position: static;
  }

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

  .button,
  .secondary-link {
    width: fit-content;
  }

  .hero-text {
    font-size: 2rem;
    line-height: 1.25;
  }

  h2 {
    font-size: 2.4rem;
    line-height: 1.05;
  }

  .section p {
    font-size: 1rem;
  }

  .grid,
  .link-grid,
  .approach-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .capabilities-grid > div,
  .capabilities-grid > div:nth-child(3n + 1),
  .capabilities-grid > div:not(:nth-child(3n + 1)) {
    padding: 2rem 0;
    border-left: 0;
    border-bottom: 1px solid #222;
  }

  .capabilities-grid > div:nth-last-child(-n + 3) {
    border-bottom: 1px solid #222;
  }

  .capabilities-grid > div:last-child {
    border-bottom: 0;
  }

  .capabilities-grid h3,
  .capabilities-grid p {
    max-width: 100%;
  }

  .platform-overview-grid {
    grid-template-columns: 1fr;
  }

  .platform-overview-grid > div {
    padding: 2rem 0;
    border-left: 0;
    border-bottom: 1px solid #222;
  }

  .platform-overview-grid > div:last-child {
    border-bottom: 0;
  }

  .legal-page h1 {
    font-size: 2.8rem;
    line-height: 1.05;
  }
}

@media (max-width: 480px) {
  main,
  .nav,
  footer {
    width: min(100%, 90%);
  }

  .wordmark {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }

  .nav nav {
    gap: 0.8rem;
  }

  .nav nav a {
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .hero-text {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .grid div,
  .research-card,
  .link-grid a,
  .founder-card,
  .approach-card,
  .insight-card {
    padding: 1.4rem;
  }
}

.research-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.research-visual {
  margin: 3.5rem 0;
}

.research-visual img {
  width: 80%;
  margin: 0 auto;
  border-radius: 1.4rem;
  border: 1px solid rgba(255,255,255,0.08);
  display: block;
}

.visual-caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
}

.secondary-visual {
  margin-top: 4rem;
}

.research-table-wrap {
  margin: 3rem auto;
  max-width: 960px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.2rem;
}

.research-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: #101010;
}

.research-table th,
.research-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.research-table th {
  color: #ffffff;
  background: #181818;
  font-weight: 700;
}

.research-table td {
  color: #b8b8b8;
}

.research-table tr:last-child td {
  border-bottom: none;
}

.research-note {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid #d21f2b;
  background: rgba(255,255,255,0.03);
  color: #cfcfcf;
  line-height: 1.7;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.research-table {
  width: 100%;
  border-collapse: collapse;
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
}

.research-table th,
.research-table td {
  padding: 1.1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.research-table th {
  color: #ffffff;
  font-weight: 600;
  background: rgba(255,255,255,0.03);
}

.research-table td {
  color: rgba(255,255,255,0.75);
}

.visual-caption {
  margin-top: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.research-brief {
  padding-top: 10rem;
}

.visual-caption {
  max-width: 850px;
}

.disabled-button {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.footer-company {
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.42);
  font-size: 0.8rem;
  line-height: 1.75;
}

/* Ducaltus Enterprise Platform */

.platform-page {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.platform-hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 7rem 0;
  border-bottom: 1px solid #222;
}

.platform-hero h1 {
  max-width: 950px;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin-bottom: 2rem;
}

.platform-lead {
  max-width: 780px;
  color: #a8a8a8;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.2rem;
}

.platform-lifecycle {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin-top: 3rem;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  overflow: hidden;
  background: #121212;
}

.platform-lifecycle > div {
  min-height: 280px;
  padding: 1.5rem;
  border-right: 1px solid #2a2a2a;
}

.platform-lifecycle > div:last-child {
  border-right: 0;
}

.platform-lifecycle span {
  display: block;
  color: #666666;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 2rem;
}

.platform-lifecycle h3 {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.platform-lifecycle p {
  color: #929292;
  font-size: 0.9rem;
  line-height: 1.65;
}

.platform-workspaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.platform-workspaces > div {
  border: 1px solid #2a2a2a;
  background: #121212;
  border-radius: 18px;
  padding: 2rem;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.platform-workspaces > div:hover {
  border-color: #3a3a3a;
  background: #151515;
  transform: translateY(-3px);
}

.platform-workspaces h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.platform-workspaces p {
  color: #a8a8a8;
  font-size: 1rem;
}

/* Connected Intelligence */

.intelligence-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

.intelligence-grid > div {
  position: relative;
  min-height: 250px;
  padding: 2.25rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  transform: none;
}

.intelligence-grid > div:nth-child(4n + 1) {
  padding-left: 0;
}

.intelligence-grid > div:not(:nth-child(4n + 1)) {
  border-left: 1px solid #222;
}

.intelligence-grid > div:nth-child(-n + 4) {
  border-bottom: 1px solid #222;
}

.intelligence-grid > div:hover {
  background: transparent;
  border-color: #222;
  transform: none;
}

.intelligence-grid > div::before {
  display: block;
  margin-bottom: 1.5rem;
  color: #777777;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.intelligence-grid > div:nth-child(1)::before {
  content: "01";
}

.intelligence-grid > div:nth-child(2)::before {
  content: "02";
}

.intelligence-grid > div:nth-child(3)::before {
  content: "03";
}

.intelligence-grid > div:nth-child(4)::before {
  content: "04";
}

.intelligence-grid > div:nth-child(5)::before {
  content: "05";
}

.intelligence-grid > div:nth-child(6)::before {
  content: "06";
}

.intelligence-grid > div:nth-child(7)::before {
  content: "07";
}

.intelligence-grid h3 {
  max-width: 210px;
  margin-bottom: 1rem;
}

.intelligence-grid p {
  max-width: 220px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.platform-use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.5rem;
  max-width: 900px;
}

.platform-use-cases span {
  border: 1px solid #2a2a2a;
  background: #0f0f0f;
  color: #d0d0d0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.platform-status-section h2 {
  max-width: 780px;
}

@media (max-width: 1024px) {
  .platform-lifecycle,
  .intelligence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-lifecycle > div {
    min-height: auto;
    border-right: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
  }

  .intelligence-grid > div,
  .intelligence-grid > div:nth-child(4n + 1),
  .intelligence-grid > div:not(:nth-child(4n + 1)) {
    min-height: auto;
    padding: 2rem;
    border-left: 0;
    border-bottom: 1px solid #222;
  }

  .intelligence-grid > div:nth-child(odd) {
    padding-left: 0;
  }

  .intelligence-grid > div:nth-child(even) {
    border-left: 1px solid #222;
  }

  .intelligence-grid > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 768px) {
  .platform-hero {
    min-height: auto;
    padding: 5rem 0 4rem;
  }

  .platform-hero h1 {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }

  .platform-workspaces,
  .platform-lifecycle,
  .intelligence-grid {
    grid-template-columns: 1fr;
  }

  .platform-lifecycle > div {
    border-right: 0;
    border-bottom: 1px solid #2a2a2a;
  }

  .platform-lifecycle > div:last-child {
    border-bottom: 0;
  }

  .intelligence-grid > div,
  .intelligence-grid > div:nth-child(odd),
  .intelligence-grid > div:nth-child(even) {
    padding: 2rem 0;
    border-left: 0;
    border-bottom: 1px solid #222;
  }

  .intelligence-grid > div:last-child {
    border-bottom: 0;
  }

  .intelligence-grid h3,
  .intelligence-grid p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .platform-page {
    width: min(100%, 90%);
  }

  .platform-hero {
    padding-top: 3.5rem;
  }

  .platform-hero h1 {
    font-size: 2.8rem;
  }

  .platform-workspaces > div,
  .platform-lifecycle > div {
    padding: 1.4rem;
  }
}

/* Platform production status */

.platform-status-section {
  position: relative;
}

.platform-status-section::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #d21f2b;
  margin-bottom: 2rem;
}

.platform-status-section h2 {
  max-width: 780px;
}

.platform-status-section p {
  max-width: 720px;
}

/* Frameworks page */

.framework-block {
  max-width: 900px;
  padding: 3.5rem 0;
  border-top: 1px solid #222;
}

.framework-block:first-of-type {
  margin-top: 4rem;
}

.framework-block h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 1.4rem;
}

.framework-block p {
  max-width: 760px;
  color: #b8b8b8;
  font-size: 1.05rem;
  line-height: 1.8;
}

.framework-block p + p {
  margin-top: 1rem;
}

.framework-block .research-actions {
  margin-top: 2rem;
}

.framework-block:last-of-type {
  max-width: none;
  margin-top: 2rem;
  padding: 4rem;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  background: #121212;
}

.framework-block:last-of-type .eyebrow {
  margin-bottom: 1rem;
}

.framework-block:last-of-type h2 {
  max-width: 800px;
}

@media (max-width: 768px) {
  .framework-block {
    padding: 3rem 0;
  }

  .framework-block:first-of-type {
    margin-top: 3rem;
  }

  .framework-block:last-of-type {
    padding: 2rem;
  }
}

.frameworks-page h1 {
  max-width: 1050px;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.enterprise-closing-actions {
  margin-top: 2.5rem;
}

/* =========================
   Platform Demonstration
   ========================= */

   .platform-demo {
    overflow: hidden;
  }

  .platform-demo-intro {
    max-width: 760px;
    margin-bottom: 42px;
  }

  .platform-demo-frame {
    overflow: hidden;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: #080808;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  }

  .platform-demo-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    background: #080808;
  }

  .platform-demo-caption {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.82rem;
    line-height: 1.6;
  }

  @media (max-width: 640px) {
    .platform-demo-intro {
      margin-bottom: 30px;
    }

    .platform-demo-frame {
      border-radius: 16px;
    }

    .platform-demo-caption {
      margin-top: 12px;
      font-size: 0.78rem;
    }
  }

/* =========================
   Platform Product Showcase
   ========================= */

   .platform-showcase {
    overflow: hidden;
  }

  .platform-showcase-intro {
    max-width: 760px;
    margin-bottom: 52px;
  }

  .platform-showcase-feature,
  .platform-showcase-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.035),
        rgba(255, 255, 255, 0.012)
      );
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  }

  .platform-showcase-feature {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr);
    gap: 38px;
    align-items: center;
    margin-bottom: 24px;
    padding: 34px;
    border-radius: 26px;
  }

  .platform-showcase-copy {
    padding: 10px 4px;
  }

  .platform-showcase-number {
    margin: 0 0 14px;
    color: #d6b36a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
  }

  .platform-showcase-feature h3,
  .platform-showcase-card h3 {
    margin: 0 0 12px;
    color: #ffffff;
  }

  .platform-showcase-feature h3 {
    font-size: 1.55rem;
  }

  .platform-showcase-feature p,
  .platform-showcase-card p {
    line-height: 1.7;
  }

  .platform-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .platform-showcase-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
    border-radius: 24px;
  }

  .platform-showcase-card-copy {
    min-height: 178px;
    padding: 2px 2px 20px;
  }

  .platform-showcase-card h3 {
    font-size: 1.3rem;
  }

  .platform-showcase-image {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: #080808;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  }

  .platform-showcase-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  .platform-showcase-feature .platform-showcase-image {
    border-radius: 18px;
  }

  /* Platform showcase responsive behaviour */

  @media (max-width: 900px) {
    .platform-showcase-feature {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .platform-showcase-copy {
      padding: 0;
    }

    .platform-showcase-grid {
      grid-template-columns: 1fr;
    }

    .platform-showcase-card-copy {
      min-height: 0;
    }
  }

  @media (max-width: 640px) {
    .platform-showcase-intro {
      margin-bottom: 36px;
    }

    .platform-showcase-feature {
      padding: 20px;
      border-radius: 20px;
    }

    .platform-showcase-card {
      padding: 18px;
      border-radius: 20px;
    }

    .platform-showcase-image,
    .platform-showcase-feature .platform-showcase-image {
      border-radius: 12px;
    }
  }
