/* =========================================================
   DEVENGINE HOME (mockup) - scoped to body.de-home
   Light theme by default, like the rest of the site; dark is an opt-in toggle
   (html[data-theme="dark"], set by /js/theme-toggle.js). Charter unchanged: orange #ff9f01
   (hover #e58900), current logo, current font (Arial). Mono stack = system
   fonts, nothing loaded. The orange used for text-sized elements is a darker
   shade (#b36200) because #ff9f01 on white is too pale to read.
========================================================= */

body.de-home {
  --de-bg: #ffffff;
  --de-panel: #f6f6f7;
  --de-line: #e2e2e6;
  --de-text: #17171a;
  --de-muted: #55555d;
  --de-accent: #ff9f01;
  --de-accent-hover: #e58900;
  --de-accent-text: #b36200;
  --de-header-bg: rgba(255, 255, 255, 0.9);
  --de-header-bg-scrolled: rgba(255, 255, 255, 0.95);
  --de-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background-color: var(--de-bg);
  color: var(--de-text);
  height: auto;
}

/* Dark header, same structure */
body.de-home header {
  background-color: var(--de-header-bg);
  backdrop-filter: blur(8px);
  box-shadow: none;
  border-bottom: 1px solid var(--de-line);
}
body.de-home header.scrolled {
  background-color: var(--de-header-bg-scrolled);
  border-bottom: 2px solid var(--de-accent);
}
body.de-home .menu-lang nav ul li a { color: var(--de-text); }
body.de-home .menu-lang nav ul li a:hover,
body.de-home .menu-lang nav ul li a.active { color: var(--de-accent-text); }
body.de-home .language-select select { background-color: var(--de-panel); color: var(--de-text); }
body.de-home .language-select select:hover { background-color: var(--de-accent); color: #0b0b0d; }

/* Neutralise the white "card" sections of the global stylesheet */
body.de-home main { position: relative; z-index: 1; }
body.de-home main section {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 2rem; /* was 5.5rem: about 200 px of empty space between sections (Sebastian, 21/11/2026) */
  text-align: left;
}
body.de-home main section:hover { box-shadow: none; transform: none; }
html.js body.de-home main section.fade-in { transform: translateY(20px); }
html.js body.de-home main section.fade-in.active, html.fx-safe body.de-home main section.fade-in { transform: none; }

body.de-home main section h1,
body.de-home main section h2 {
  color: var(--de-text);
  display: block;
  text-align: left;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
body.de-home main section h1::after { content: none; }
/* Orange bar under titles, kept from the current site (left-aligned here) */
body.de-home main section h2::after { left: 0; transform: none; }
body.de-home main section h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 2.5rem; max-width: 22ch; }
body.de-home main section p { color: var(--de-muted); text-align: left; margin: 0 0 1.5rem; max-width: 62ch; }
body.de-home main section > p:last-child, body.de-home main section > div:last-child > p:last-child { margin-bottom: 0; }
body.de-home main section h3 { color: var(--de-text); font-size: 1.15rem; margin-bottom: 0.6rem; }

/* RULE (Sebastian, 28/10/2026): the Y graph (fixed canvas, z-index 0) must NEVER cross any text.
   Every text element gets a solid page-colour box behind it (the shadow spread adds breathing room
   without changing the layout), so the graph only shows in the gaps between the texts. */
body.de-home main section :is(h1, h2, h3, h4, p, figcaption, .de-label, .de-note, .de-list li, a:not(.cta)) {
  background: var(--de-bg);
  box-shadow: 0 0 0 0.5rem var(--de-bg);
  width: fit-content;
  max-width: 100%;
}
/* Text already inside an opaque panel needs no extra box */
body.de-home main section .de-slot :is(h1, h2, h3, h4, p, figcaption, .de-label, .de-note, li, a:not(.cta)) {
  background: none;
  box-shadow: none;
}

/* In-page anchors clear the fixed header */

/* Shared bits */
.de-label,
body.de-home main section p.de-label {
  font-family: var(--de-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--de-accent-text);
  margin-bottom: 1.2rem;
}
.de-num {
  display: block;
  font-family: var(--de-mono);
  font-size: 0.85rem;
  color: var(--de-accent-text);
  margin-bottom: 1rem;
}
.de-tag {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--de-line);
  border-radius: 999px;
  font-family: var(--de-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--de-muted);
}

/* CTA: dark text on orange for contrast */
body.de-home .cta { color: #0b0b0d; border-radius: 6px; padding: 0.9rem 1.7rem; }
body.de-home .cta:hover { background-color: var(--de-accent-hover); }
body.de-home header .header-cta { padding: 0.55rem 1.2rem; }

.de-link {
  color: var(--de-text);
  text-decoration: none;
  border-bottom: 1px solid var(--de-line);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.de-link:hover { color: var(--de-accent-text); border-color: var(--de-accent); }
.de-link-box {
  border: 1px solid var(--de-line);
  border-radius: 8px;
  padding: .48rem .82rem;
  font-weight: 600;
}
body.de-home a:focus-visible { outline: 2px solid var(--de-accent); outline-offset: 3px; }

/* Hero */
body.de-home main #hero {
  background: transparent;
  text-align: left;
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.2rem 2rem 3rem;
}
/* Hero headline (decision of Sebastian, 17/11/2026, variant "E"): one colour, two balanced sentences,
   short orange bar underneath like the other section titles. */
body.de-home #hero h1 { color: var(--de-text); display: block; text-align: left; font-size: clamp(1.9rem, 4.2vw, 3.25rem); line-height: 1.1; margin-bottom: 1.25rem; max-width: 24ch; position: relative; padding-bottom: 1.1rem; text-wrap: balance; }
body.de-home main section#hero h1::after { content: ""; position: absolute; left: 0; bottom: 0; transform: none; width: 48px; height: 4px; border-radius: 2px; background: var(--de-accent); }
body.de-home #hero p { color: var(--de-muted); font-weight: 400; max-width: 62ch; margin: 0 0 1.5rem; }
body.de-home #hero p.de-eyebrow {
  font-family: var(--de-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--de-text);
  margin-bottom: 1.5rem;
}
.de-eyebrow span { color: var(--de-muted); }
body.de-home #hero p.de-lead { font-size: 1.2rem; max-width: 60ch; margin-bottom: 1.8rem; }
.de-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-bottom: 2.4rem; }

body.de-home main #hero.hero-mission {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: center;
  gap: clamp(2rem, 4.2vw, 4.25rem);
}
body.de-home #hero.hero-mission h1 { font-size: clamp(2.1rem, 3.65vw, 3.5rem); max-width: none; }
body.de-home #hero.hero-mission h1 span { display: block; }
body.de-home #hero .hero-category { margin: 0 0 .7rem; color: var(--de-accent-text); font-size: .9rem; font-weight: 700; }
body.de-home #hero.hero-mission .de-lead strong { display: block; margin: 0 0 .25rem; }
body.de-home #hero .de-actions { margin-bottom: 0; }
body.de-home #hero .demo-hint { margin: .85rem 0 0; font-size: .9rem; line-height: 1.45; }
.mission-preview {
  --mission-border: #c8d9d6;
  --mission-muted: #3d5358;
  --mission-accent: #914c00;
  --mission-decision: #397369;
  margin: 0;
  padding: clamp(1.4rem, 2.6vw, 2.15rem);
  background: #f5f5f6;
  color: #12232b;
  border: 1px solid var(--mission-border);
  border-radius: 1rem;
  box-shadow: 0 12px 32px -24px rgba(18, 35, 43, .35);
}
html[data-theme="dark"] .mission-preview {
  --mission-border: #557575;
  --mission-muted: #cfddda;
  --mission-accent: #ffd68d;
  --mission-decision: #b2dbb9;
  background: #333333;
  color: #fffaf0;
}
body.de-home main #hero .mission-preview figcaption {
  color: var(--mission-accent);
  background: none;
  box-shadow: none;
  font-size: .86rem;
  font-weight: 700;
}
.mission-preview blockquote { margin: .8rem 0 1.35rem; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; line-height: 1.3; }
.mission-preview ol { list-style: none; margin: 0; padding: 0; }
.mission-preview li { position: relative; padding: 0 0 1rem 1.25rem; border-inline-start: 1px solid var(--mission-border); line-height: 1.4; }
.mission-preview li:last-child { border-color: transparent; padding-bottom: 0; }
.mission-preview li::before {
  content: "";
  position: absolute;
  inset-inline-start: -5px;
  top: .32rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mission-accent);
}
.mission-preview li:last-child::before { background: var(--mission-decision); }
.mission-preview li strong, .mission-preview li span { display: block; }
.mission-preview li span { margin-top: .2rem; color: var(--mission-muted); font-size: .9rem; }
@media (max-width: 900px) {
  body.de-home main #hero.hero-mission { grid-template-columns: 1fr; }
  .mission-preview { max-width: 38rem; }
}
@media (max-width: 600px) {
  body.de-home main #hero.hero-mission { gap: 1.1rem; padding: 1.6rem 1.25rem 2.4rem; }
  body.de-home #hero.hero-mission h1 { font-size: clamp(1.85rem, 8vw, 2.15rem); margin-bottom: .8rem; padding-bottom: .8rem; }
  body.de-home #hero.hero-mission h1 span { display: inline; }
  body.de-home #hero .hero-category { margin-bottom: .45rem; }
  body.de-home #hero p.de-lead { font-size: 1.05rem; line-height: 1.5; margin-bottom: 1.1rem; }
  body.de-home #hero.hero-mission .de-actions { flex-wrap: nowrap; gap: .5rem; }
  body.de-home #hero.hero-mission .de-actions .cta { flex-shrink: 0; padding: .75rem; }
  body.de-home #hero.hero-mission .de-actions .de-link { font-size: .9rem; line-height: 1.4; }
  body.de-home #hero .demo-hint { margin-top: .6rem; }
}

/* Hero demo video */
.de-video { max-width: 1120px; margin: 0; }
.de-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #f3b765;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}
html[data-theme="dark"] .de-video video { box-shadow: 0 30px 80px rgba(255, 159, 1, 0.1); }
body.de-home .de-video figcaption {
  margin-top: 0.8rem;
  font-family: var(--de-mono);
  font-size: 0.72rem;
  color: var(--de-muted);
}

/* Harness strip */
body.de-home #harnesses {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--de-line);
  border-bottom: 1px solid var(--de-line);
}
body.de-home #harnesses .de-label { margin-bottom: 1rem; }
.de-harness-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.2rem;
  list-style: none;
  font-family: var(--de-mono);
  font-size: 1.05rem;
  color: var(--de-text);
}

/* Cards */
.de-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--de-line);
  border: 1px solid var(--de-line);
}
.de-card {
  background: var(--de-bg);
  padding: 2rem 1.6rem 2.2rem;
  transition: background-color 0.3s ease;
}
.de-card:hover { background: var(--de-panel); }
body.de-home .de-card p { margin-bottom: 0.5rem; font-size: 1rem; }

/* Steps */
.de-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  counter-reset: none;
}
.de-steps li { border-top: 1px solid var(--de-line); padding-top: 1.2rem; }
body.de-home .de-steps p { font-size: 1rem; }

/* Labs placeholders */
.de-labs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.de-slot { border: 1px dashed var(--de-line); border-radius: 10px; padding: 1.6rem; background: var(--de-panel); }
body.de-home .de-slot p { font-size: 1rem; }
.de-chart-empty {
  height: 140px;
  margin: 1rem 0;
  border-radius: 6px;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, var(--de-line) 27px 28px),
    transparent;
  opacity: 0.6;
}

/* Labs page */
body.de-home main #labs-hero, body.de-home main #pricing-hero { padding-top: 5rem; padding-bottom: 3rem; }
body.de-home #labs-hero h1, body.de-home #pricing-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); margin-bottom: 1.3rem; max-width: 16ch; }
body.de-home #labs-hero p.de-lead, body.de-home #pricing-hero p.de-lead { font-size: 1.2rem; max-width: 60ch; margin-bottom: 0; }
body.de-home main section p.de-note { margin: 1.2rem 0 0; font-family: var(--de-mono); font-size: 0.8rem; color: var(--de-muted); }
.de-labs-wide { grid-template-columns: repeat(2, 1fr); }
.de-slot.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: center; }
.de-slot.wide .de-plot { max-width: none; margin: 0; }
.de-slot-copy { display: flex; flex-direction: column; align-items: flex-start; }
.de-legend { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin: 0.6rem 0 1.2rem; }
.de-legend li { display: flex; align-items: center; gap: 0.7rem; color: var(--de-text); font-size: 0.95rem; }
.de-legend li::before { content: ""; width: 1.4rem; height: 0.7rem; border: 1.5px dashed var(--de-muted); border-radius: 3px; opacity: 0.7; }
.de-slot-solo { max-width: 520px; margin-top: 1.5rem; }
.de-plot { display: block; width: 100%; max-width: 520px; height: auto; margin: 1rem 0; }
.de-plot line { stroke: var(--de-line); stroke-width: 1; }
.de-plot .ax { fill: none; stroke: var(--de-muted); stroke-width: 1; opacity: 0.6; }
.de-plot .dash { stroke: var(--de-muted); stroke-dasharray: 4 4; stroke-width: 2; opacity: 0.7; }
.de-plot text { fill: var(--de-muted); font-family: var(--de-mono); font-size: 10px; }
.de-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; max-width: 62ch; }
.de-list li { padding-left: 1.6rem; position: relative; font-size: 1.1rem; color: var(--de-text); }
.de-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.8rem; height: 2px; background: var(--de-accent); }

/* Final CTA */
body.de-home #try { padding-bottom: 5rem; }
body.de-home #try h2 { max-width: 18ch; }
body.de-home #try .secondary-enquiries { gap: .7rem 1.35rem; margin: 1.25rem 0 0; }
body.de-home #why .tech-context { margin-top: 1.5rem; }
body.de-home #why .tech-context p { margin-bottom: .75rem; }
body.de-home #why .tech-context .de-link { display: inline-block; }
body.de-home #proof .de-actions { margin-bottom: 0; }

/* Responsive */
@media (max-width: 992px) {
  body.de-home main { margin-top: 125px; }
  .de-slot.wide { grid-template-columns: 1fr; }
  .de-grid { grid-template-columns: repeat(2, 1fr); }
  .de-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body.de-home main section { padding: 2.5rem 1.25rem; }
  .de-grid, .de-steps, .de-labs, .de-labs-wide { grid-template-columns: 1fr; }
  .de-slot.wide { grid-template-columns: 1fr; gap: 1rem; padding: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  body.de-home main section.fade-in { opacity: 1; transform: none; transition: none; }
}

/* Existing Three.js background kept, dimmed so text stays readable */
body.de-home canvas.three-background { opacity: 0.4; }

/* Theme toggle button (injected into the header by theme-toggle.js) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: 1rem;
  border: 1px solid var(--de-accent);
  border-radius: 6px;
  background: transparent;
  color: var(--de-text);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.theme-toggle:hover { background: var(--de-accent); color: #0b0b0d; }
.theme-toggle:focus-visible { outline: 2px solid var(--de-accent); outline-offset: 3px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
@media (max-width: 992px) { .theme-toggle { margin: 0; } }

/* Dark mode (opt-in). Same layout, tokens swapped. */
/* Dark page background on html too: styles.css paints html white, which showed through the slightly transparent
   header at the top of the home page (grey bar, Sebastian and Benjamin 21/11/2026). Same as site-dark.css. */
html[data-theme="dark"] { color-scheme: dark; background-color: #0b0b0d; }
html[data-theme="dark"] body.de-home {
  --de-bg: #0b0b0d;
  --de-panel: #131316;
  --de-line: #2a2a30;
  --de-text: #f2f2f3;
  --de-muted: #a1a1aa;
  --de-accent-text: #ff9f01;
  --de-header-bg: rgba(11, 11, 13, 0.92); /* black from the start, as when scrolled */
  --de-header-bg-scrolled: rgba(11, 11, 13, 0.92);
}
html[data-theme="dark"] body.de-home canvas.three-background { opacity: 0.3; }
html[data-theme="dark"] body.de-home footer { border-top: 1px solid var(--de-line); }

/* Hero on mobile: less empty space above the eyebrow (variant "E", 17/11/2026) */
@media (max-width: 600px) {
  body.de-home main #hero { padding-top: 2.5rem; }
  body.de-home #hero p.de-eyebrow { margin-bottom: 0.8rem; }
}

body.de-home main h2 .de-tag { display: inline-block; vertical-align: middle; }
body.de-home #products h1 { font-size: clamp(2.05rem, 4.1vw, 3.5rem); max-width: 25ch; }
body.de-home .suite-overview .suite-intro { font-size: 1.12rem; }
body.de-home .suite-overview .suite-jump { gap: .6rem 1.4rem; margin-bottom: 1.5rem; }
.suite-overview .product-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  padding: clamp(1rem, 3vw, 1.8rem);
  border: 1px solid var(--de-line);
  border-radius: .85rem;
  background: var(--de-panel);
}
.product-copy { min-width: 0; }
body.de-home .suite-overview .product-preview :is(h3, p, li, a, figcaption),
body.de-home .suite-overview .suite-expansion .suite-card :is(h4, p) {
  background: none;
  box-shadow: none;
}
body.de-home .suite-overview .product-copy .de-label { margin: 0 0 .65rem; }
body.de-home .suite-overview .product-copy h3, body.de-home .suite-overview .suite-expansion h3,
body.de-home .suite-overview .suite-evolution h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); margin-bottom: .65rem; }
.product-copy .de-actions { gap: .5rem 1.25rem; margin: 0 0 1rem; }
.product-copy summary { cursor: pointer; font-weight: 700; }
.suite-expansion { margin-top: 2.15rem; }
.suite-expansion .suite-discussion { margin: 1.1rem 0 0; }
.suite-evolution {
  max-width: 47rem;
  margin: 1.9rem auto 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--de-line);
  text-align: center;
}
body.de-home .suite-overview .suite-evolution h3,
body.de-home .suite-overview .suite-evolution p { text-align: center; margin-inline: auto; }
body.de-home .suite-overview .suite-evolution p:last-child { margin-bottom: 0; }
body.de-home .suite-overview .product-roles { margin: .8rem 0 0; padding-inline-start: 1.3rem; }
body.de-home .suite-overview .product-roles li + li { margin-top: .45rem; }
body.de-home .suite-overview .suite-expansion .suite-card {
  padding: clamp(1.05rem, 2.6vw, 1.6rem);
  border: 1px solid var(--de-line);
  border-radius: .8rem;
  background: var(--de-panel);
}
body.de-home .suite-overview .suite-expansion .suite-card h4 { font-size: 1.15rem; margin: 0 0 .55rem; text-align: left; color: var(--de-text); }
body.de-home :is(#product, #products) .suite-expansion .suite-card .suite-name {
  display: inline-block;
  background: var(--de-accent);
  color: #18181b;
  padding: .25rem .65rem;
  border-radius: 6px;
  font-weight: 700;
  margin: 0 0 .65rem;
}
body.de-home .suite-overview .suite-expansion .suite-card p:last-child { margin-bottom: 0; }
body.de-home main #product { padding-bottom: 2rem; }
body.de-home main #product + #how { padding-top: 1.4rem; }
@media (max-width: 760px) { .suite-overview .product-preview { grid-template-columns: 1fr; } }
body.de-home #products .suite-assistant, body.de-home #products .suite-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--de-line);
  border-radius: .8rem;
  background: var(--de-panel);
}
body.de-home #products .suite-assistant { margin-top: 2.2rem; border-inline-start: 4px solid var(--de-accent); }
body.de-home #products .suite-assistant h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 30ch; margin: 0 0 1rem; }
body.de-home #products .suite-assistant h2::after { content: none; }
body.de-home #products .suite-assistant :is(h2, p), body.de-home #products .suite-card :is(h3, p, a) { background: none; box-shadow: none; }
body.de-home #products .suite-assistant p:last-child, body.de-home #products .suite-card p:last-child { margin-bottom: 0; }
body.de-home #products .suite-projects-heading { max-width: 32ch; }
.suite-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
body.de-home #products .suite-card { display: flex; flex-direction: column; align-items: flex-start; }
body.de-home #products .suite-card h3 { color: var(--de-text); font-size: 1.35rem; margin: 0 0 .7rem; line-height: 1.2; }
body.de-home #products .suite-card .suite-name { color: var(--de-accent-text); font-weight: 700; margin: 0 0 .85rem; order: -1; }
.suite-card details { margin-bottom: .9rem; color: var(--de-text); }
.suite-card .de-actions { gap: .45rem 1.2rem; margin: 0 0 .9rem; }
.suite-card summary { cursor: pointer; }
body.de-home #products .product-roles { margin: .9rem 0 0; padding-inline-start: 1.3rem; color: var(--de-muted); }
body.de-home #products .product-roles li + li { margin-top: .5rem; }
.suite-foundation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0; }
.suite-foundation div { padding: 1.05rem; border-top: 2px solid var(--de-accent); background: var(--de-panel); border-radius: 0 0 .65rem .65rem; }
.suite-foundation dt { font-weight: 700; color: var(--de-text); }
.suite-foundation dd { margin: .45rem 0 0; color: var(--de-muted); }
@media (max-width: 700px) { .suite-grid, .suite-foundation { grid-template-columns: 1fr; } }

/* Inline link inside a section paragraph (e.g. "talk to us" in the DevEngine section) */
body.de-home main section p a:not(.cta) { color: var(--de-accent-text); text-decoration: underline; text-underline-offset: 0.18em; }
body.de-home main section p a:not(.cta):hover { color: var(--de-text); }

/* Inline links inside a paragraph: the paragraph already has its page-coloured box; the link must not
   get its own box, which hid the comma before "talk to us" (17/11/2026). */
body.de-home main section p a:not(.cta) { background: none; box-shadow: none; }

/* Dark mode: the bold words in the hero lead ("where your AI agents live and work") were dark grey on black (18/11/2026) */
body.de-home #hero p.de-lead strong { color: var(--de-text); }

/* Leave room for the title and the film's captions and controls on shorter laptop screens. */
body.de-home main #how { padding-block: clamp(2rem, 5vh, 4rem); }
body.de-home main #how .de-label { margin-bottom: .75rem; }
body.de-home main #how h2 { max-width: 100%; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1.5rem; }
body.de-home main #how .de-film { margin: 0 auto 2rem; max-width: min(100%, max(660px, calc((100vh - 385px) * 1.75))); }
body.de-home main #how .de-film iframe { display: block; width: 100%; height: 560px; border: 0; background: transparent; }

body.de-home main #how p.de-film-summary { max-width: 70ch; margin: 0 0 1rem; }
