/* Unified site refinement */
:root {
  --paper: #f7f9fc;
  --surface: #ffffff;
  --surface-quiet: #eef3f8;
  --ink: #0b1320;
  --ink-soft: #172235;
  --text: #334155;
  --muted: #66758a;
  --line: #dbe3ec;
  --line-strong: #b9c6d5;
  --line-dark: #2d3a49;
  --brand: #0a67d8;
  --brand-deep: #0752ad;
  --signal: #118866;
  --signal-soft: #edf7f3;
  --blue-soft: #eaf2fc;
  --header-height: 76px;
  --shell-width: 1280px;
}

html {
  background: #fff;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  color: var(--text);
  background: #fff;
  font-family: "Segoe UI Variable", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  line-height: 1.75;
}

main {
  overflow-x: clip;
  background: var(--paper);
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Segoe UI Variable", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

h1,
h2 {
  font-weight: 700;
  text-wrap: balance;
}

h3,
h4 {
  font-weight: 600;
}

p,
li {
  text-wrap: pretty;
}

time,
.eyebrow,
.section-marker,
.news-feature-meta,
.workflow-number,
.hero-proof-row b,
.company-facts strong,
.build-panel-copy > p,
.build-steps button > span,
.agent-type-grid article > span,
.partner-card > span,
.cooperation-path li > span {
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

button,
a {
  touch-action: manipulation;
}

main:focus,
main:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: -3px;
}

/* Header */
.site-header {
  height: var(--header-height);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(140%);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 10px 30px rgba(15, 31, 50, 0.08);
}

.nav-shell {
  gap: 38px;
}

.brand-link {
  gap: 13px;
}

.brand-link img,
.brand-mark {
  height: 42px;
}

.brand-copy {
  gap: 2px;
  padding-left: 13px;
  border-left-color: #d8e0e9;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.brand-copy small {
  color: #708095;
  font-size: 0.68rem;
  font-weight: 600;
}

.site-nav {
  gap: 8px;
}

.nav-link {
  padding-inline: 12px;
  color: #293548;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-link::after {
  height: 2px;
}

.site-header .nav-contact {
  height: 44px;
  min-height: 44px;
  margin-left: 10px;
  padding-inline: 18px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 4px;
}

.nav-contact:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.nav-toggle {
  color: var(--ink);
  border-color: #9aabba;
}

.nav-toggle:hover,
.nav-toggle:active {
  color: var(--brand);
  background: #f2f6fb;
  border-color: var(--brand);
}

/* Top statements */
.home-hero,
.dios-hero,
.services-hero {
  color: #fff;
  background: #0b1522;
  border-bottom-color: #243244;
}

.home-hero-grid {
  min-height: 640px;
  padding-block: 66px 60px;
}

.dios-hero-grid {
  min-height: 620px;
  padding-block: 62px;
}

.services-hero-grid {
  min-height: 560px;
  padding-block: 64px;
}

.home-hero h1 {
  margin-bottom: 26px;
  font-size: 4.15rem;
  font-weight: 700;
}

.dios-hero h1 {
  font-size: 3.85rem;
  font-weight: 700;
}

.services-hero h1 {
  font-size: 4rem;
  font-weight: 700;
}

.home-hero h1 em {
  color: #70adff;
}

.home-hero-lead,
.dios-hero-copy > p:not(.eyebrow),
.services-hero-copy > p:not(.eyebrow) {
  color: #c4cfdb;
  line-height: 1.85;
}

.home-hero .eyebrow-light,
.dios-hero .eyebrow-light,
.services-hero .eyebrow-light {
  color: #7db5ff;
}

.button {
  min-height: 46px;
  border-radius: 4px;
  font-weight: 600;
}

.button-primary {
  background: var(--brand);
  border-color: var(--brand);
}

.button-primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.button-quiet {
  color: #fff;
  border-color: #526174;
}

.button-quiet:hover {
  color: #fff;
  background: #172638;
  border-color: #728197;
}

.hero-proof-row {
  margin-top: 46px;
  border-color: #2b394a;
}

.hero-proof-row span {
  color: #d6dee7;
  border-color: #2b394a;
}

.agent-field,
.runtime-window,
.architecture-canvas,
.build-visual {
  background: #101b28;
  border-color: #344456;
}

.field-node,
.runtime-source b,
.runtime-output b,
.runtime-agents b,
.architecture-layer b,
.architecture-agents div,
.build-visual b {
  background: #172536;
  border-color: #405267;
}

.services-hero-list {
  background: #101b28;
  border-color: #3a4c60;
}

.services-hero-list ol,
.services-hero-list li {
  border-color: #36485c;
}

/* Unified content canvas */
.thesis-band,
.film-band,
.capability-band,
.scenario-showcase-band,
.system-examples-band,
.company-band-new,
.contact-band-new,
.architecture-band,
.build-band,
.agent-types-band,
.terminal-cta,
.partner-band,
.cooperation-band {
  color: var(--text);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.film-band,
.capability-band,
.scenario-showcase-band,
.system-examples-band,
.company-band-new,
.contact-band-new,
.architecture-band,
.build-band,
.agent-types-band,
.terminal-cta,
.partner-band,
.cooperation-band {
  padding-block: 96px;
}

.thesis-band {
  padding-block: 58px;
}

.section-heading,
.showcase-heading {
  margin-bottom: 48px;
}

.build-band .section-heading h2,
.agent-types-band .section-heading h2,
.partner-band .section-heading h2,
.cooperation-band .section-heading h2,
.capability-intro h2,
.architecture-copy h2,
.company-new-copy h2,
.contact-band-new .contact-heading h2,
.showcase-heading h2,
.film-intro h2,
.terminal-cta h2 {
  color: var(--ink);
  font-size: 2.65rem;
  font-weight: 700;
  line-height: 1.22;
}

.section-lead,
.showcase-heading > p:last-child,
.capability-intro > p:not(.eyebrow),
.architecture-copy > p:not(.eyebrow),
.contact-heading > p:last-child {
  color: var(--muted);
}

.eyebrow,
.eyebrow-light {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
}

.text-link,
.text-link-light,
.route-link {
  color: var(--brand);
}

.text-link:hover,
.text-link-light:hover,
.route-link:hover {
  color: var(--brand-deep);
}

/* Consistent information surfaces */
.agent-type-grid,
.partner-grid,
.cooperation-path,
.build-layout {
  background: var(--surface);
  border-color: var(--line);
}

.agent-type-grid article,
.partner-card,
.cooperation-path li {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.capability-layout,
.architecture-grid {
  align-items: start;
}

.capability-list-home {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.capability-list-home article {
  padding-inline: 28px;
  border-color: var(--line);
}

.capability-list-home h3 {
  color: var(--ink);
}

.capability-list-home p {
  color: var(--muted);
}

.architecture-legend {
  border-color: var(--line);
}

.architecture-legend div {
  border-color: var(--line);
}

.architecture-legend dt {
  color: var(--ink);
}

.architecture-legend dd {
  color: var(--muted);
}

.architecture-canvas {
  box-shadow: 0 18px 44px rgba(20, 42, 68, 0.1);
}

.build-steps {
  border-color: var(--line);
}

.build-steps button {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.build-steps button:hover {
  background: #f8fafc;
}

.build-steps button[aria-selected="true"] {
  color: var(--ink);
  background: var(--surface);
  box-shadow: inset 3px 0 0 var(--brand);
}

.build-steps button[aria-selected="true"] > span,
.build-steps button[aria-selected="true"] small {
  color: var(--brand);
}

.build-visual strong,
.build-model strong,
.build-coordinate strong,
.build-output strong {
  background: var(--brand);
}

.cooperation-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
}

.cooperation-note > span {
  color: var(--ink);
}

.cooperation-note > p {
  color: var(--muted);
}

.company-facts {
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
}

.company-facts div {
  padding-inline: 28px;
  border-color: var(--line);
}

.news-feature-media,
.news-brief-media {
  background: #e9eef4;
  border-color: var(--line);
}

.film-player {
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(18, 40, 66, 0.14);
}

.system-example-card,
.scenario-showcase-card {
  border-radius: 6px;
}

/* Contact */
.contact-new-grid {
  align-items: start;
}

.contact-band-new .contact-heading h2 {
  color: var(--ink);
}

.contact-band-new .contact-heading > p:last-child {
  color: var(--muted);
}

.contact-details {
  padding-inline: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-row {
  border-color: var(--line);
}

.contact-row span {
  color: var(--muted);
}

.contact-row p,
.contact-row a {
  color: var(--ink);
}

.route-link {
  margin-block: 24px;
}

/* Footer */
.site-footer {
  padding-bottom: 24px;
  color: #a9b5c3;
  background: #07111d;
  border-top: 1px solid #223145;
}

.footer-identity {
  gap: 16px;
  margin-bottom: 24px;
}

.footer-identity img {
  height: 50px;
  padding: 5px;
  border-radius: 4px;
}

.footer-identity strong {
  font-size: 1.18rem;
  font-weight: 600;
}

.footer-identity small {
  color: #7f90a3;
  font-size: 0.7rem;
}

.footer-grid {
  grid-template-columns: minmax(280px, 1.35fr) minmax(130px, 0.55fr) minmax(170px, 0.7fr) minmax(230px, 1fr);
  gap: 44px;
  padding-block: 44px 34px;
}

.footer-brand .footer-tagline {
  margin-bottom: 0;
  font-size: 1.14rem;
  font-weight: 600;
}

.footer-brand p,
.site-footer p {
  color: #91a0b1;
  font-size: 0.86rem;
}

.site-footer .footer-column-title {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.site-footer .footer-column-title::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin-bottom: 11px;
  background: var(--brand);
}

.footer-contact {
  font-style: normal;
}

.footer-nav a,
.footer-contact a {
  margin-bottom: 9px;
  color: #91a0b1;
  font-size: 0.84rem;
}

.footer-nav a[aria-current="page"] {
  color: #fff;
  transform: none;
}

.footer-contact a[href^="tel:"] {
  color: #fff;
  font-size: 1.15rem;
}

.footer-bottom {
  min-height: 50px;
  padding-top: 14px;
  border-top-color: #27364a;
}

.footer-bottom p {
  color: #8190a4;
  font-size: 0.76rem;
}

.back-to-top:hover,
.back-to-top:active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 2px;
  }

  .nav-link {
    padding-inline: 9px;
  }

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

@media (max-width: 1060px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    background: #fff;
    backdrop-filter: none;
  }

  .brand-link img,
  .brand-mark {
    height: 40px;
  }

  .js .site-nav {
    padding-right: calc(20px + env(safe-area-inset-right));
    padding-left: calc(20px + env(safe-area-inset-left));
    background: #fff;
    box-shadow: 0 18px 40px rgba(16, 34, 56, 0.1);
    opacity: 1;
    transition: transform 180ms ease, visibility 0s linear 180ms;
  }

  .js .site-nav.is-open {
    opacity: 1;
    transition-delay: 0s;
  }

  .nav-link {
    padding-inline: 8px;
    border-color: var(--line);
  }

  .nav-contact {
    margin-left: 0;
    padding-inline: 18px;
  }

  .home-hero-grid,
  .dios-hero-grid,
  .services-hero-grid {
    padding-block: 58px;
  }
}

@media (max-width: 760px) {
  .film-band,
  .capability-band,
  .scenario-showcase-band,
  .system-examples-band,
  .company-band-new,
  .contact-band-new,
  .architecture-band,
  .build-band,
  .agent-types-band,
  .terminal-cta,
  .partner-band,
  .cooperation-band {
    padding-block: 76px;
  }

  .thesis-band {
    padding-block: 46px;
  }

  .section-heading,
  .showcase-heading {
    margin-bottom: 38px;
  }

  .build-band .section-heading h2,
  .agent-types-band .section-heading h2,
  .partner-band .section-heading h2,
  .cooperation-band .section-heading h2,
  .capability-intro h2,
  .architecture-copy h2,
  .company-new-copy h2,
  .contact-band-new .contact-heading h2,
  .showcase-heading h2,
  .film-intro h2,
  .terminal-cta h2 {
    font-size: 2.3rem;
  }

  .agent-type-grid article,
  .partner-card,
  .cooperation-path li {
    min-height: 0;
  }

  .agent-type-grid article > span,
  .partner-card > span,
  .cooperation-path li > span {
    margin-bottom: 30px;
  }

}

@media (max-width: 640px) {
  .home-hero-grid,
  .dios-hero-grid,
  .services-hero-grid {
    padding-block: 46px 42px;
  }

  .home-hero h1,
  .dios-hero h1,
  .services-hero h1 {
    font-size: 2.55rem;
  }

  .film-band,
  .capability-band,
  .scenario-showcase-band,
  .system-examples-band,
  .company-band-new,
  .contact-band-new,
  .architecture-band,
  .build-band,
  .agent-types-band,
  .terminal-cta,
  .partner-band,
  .cooperation-band {
    padding-block: 64px;
  }

  .build-band .section-heading h2,
  .agent-types-band .section-heading h2,
  .partner-band .section-heading h2,
  .cooperation-band .section-heading h2,
  .capability-intro h2,
  .architecture-copy h2,
  .company-new-copy h2,
  .contact-band-new .contact-heading h2,
  .showcase-heading h2,
  .film-intro h2,
  .terminal-cta h2 {
    font-size: 2rem;
  }

  .capability-list-home article,
  .company-facts div {
    padding-inline: 20px;
  }

  .contact-details {
    padding-inline: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding-block: 30px 26px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-identity {
    margin-bottom: 16px;
  }

  .footer-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
  }

  .footer-contact a[href^="tel:"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-bottom {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-block: 14px 0;
  }
}

@media (max-width: 420px) {
  .brand-copy {
    display: grid;
    gap: 0;
    padding-left: 9px;
  }

  .brand-copy strong {
    font-size: 0.76rem;
  }

  .brand-copy small {
    display: none;
  }
}

@media (max-width: 380px) {
  .home-hero h1,
  .dios-hero h1,
  .services-hero h1 {
    font-size: 2.2rem;
  }

  .build-band .section-heading h2,
  .agent-types-band .section-heading h2,
  .partner-band .section-heading h2,
  .cooperation-band .section-heading h2,
  .capability-intro h2,
  .architecture-copy h2,
  .company-new-copy h2,
  .contact-band-new .contact-heading h2,
  .showcase-heading h2,
  .film-intro h2,
  .terminal-cta h2 {
    font-size: 1.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-link,
  .nav-link::after {
  transition: none;
 }
}

/* Footer responsive — collapse 4 columns to 2, then 1. */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 36px;
    padding-block: 52px 40px;
  }

  .footer-top .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 44px 34px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Homepage revision: a single narrative from field to application
   -------------------------------------------------------------------------- */
:root {
  --header-height: 80px;
  --shell-width: 1280px;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --ink: #0a1828;
  --ink-soft: #10243a;
  --text: #36465a;
  --muted: #728096;
  --line: #dbe4ee;
  --line-strong: #bccbda;
  --brand: #0a67d8;
  --brand-deep: #0757bd;
}

body {
  font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0.005em;
}

h1,
h2,
h3,
h4,
.button,
.nav-link {
  font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

/* Shared navigation ------------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e1e8f0;
  box-shadow: none;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 28px rgba(12, 30, 52, 0.08);
}

.nav-shell {
  gap: clamp(24px, 3vw, 48px);
}

.brand-link {
  flex: 0 0 auto;
}

.brand-link img,
.brand-mark {
  width: 118px;
  height: auto;
  max-height: 55px;
}

.site-nav {
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  height: 44px;
  min-height: 44px;
  align-self: center;
  padding-inline: 14px;
  color: #26374b;
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-link::after {
  bottom: 4px;
  height: 2px;
}

.nav-link[aria-current="page"] {
  color: var(--brand);
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-contact {
  min-height: 44px;
  height: 44px;
  margin-left: 10px;
  padding-inline: 18px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 6px;
}

.nav-contact:hover {
  color: #fff;
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

/* Homepage hero ----------------------------------------------------------- */
.home-hero-reframed {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 4%, rgba(31, 113, 213, 0.18), transparent 26%),
    radial-gradient(circle at 50% 110%, rgba(6, 63, 134, 0.32), transparent 40%),
    #081625;
  border: 0;
}

.home-hero-reframed::before {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image: linear-gradient(rgba(141, 184, 232, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(141, 184, 232, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(90deg, #000 0%, transparent 76%);
}

.home-hero-frame {
  position: relative;
  z-index: 1;
  min-height: 652px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
  padding-block: 76px 72px;
}

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

.home-hero-kicker,
.section-kicker {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 22px;
  color: #6eaeff;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-hero-kicker span {
  width: 7px;
  height: 7px;
  background: #62a4ff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(91, 160, 255, 0.11);
}

.home-hero-reframed h1 {
  max-width: 760px;
  margin: 0 0 25px;
  color: #fff;
  font-size: clamp(3.1rem, 4.55vw, 4.65rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.home-hero-reframed h1 em {
  color: #75b0ff;
  font-style: normal;
}

.home-hero-reframed .home-hero-lead {
  max-width: 560px;
  margin: 0 0 32px;
  color: #c1cede;
  font-size: 1.03rem;
  line-height: 1.92;
}

.home-hero-reframed .home-hero-actions {
  gap: 11px;
}

.home-hero-reframed .button {
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 6px;
  font-size: 0.93rem;
}

.home-hero-reframed .button-primary {
  box-shadow: 0 10px 26px rgba(4, 82, 181, 0.25);
}

.home-hero-reframed .button-quiet {
  border-color: rgba(186, 208, 233, 0.46);
}

.hero-route {
  display: flex;
  width: min(100%, 540px);
  margin-top: 50px;
  border-top: 1px solid rgba(174, 201, 231, 0.24);
}

.hero-route span {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
  padding: 15px 14px 0 0;
  border-right: 1px solid rgba(174, 201, 231, 0.2);
}

.hero-route span + span {
  padding-left: 14px;
}

.hero-route span:last-child {
  border-right: 0;
}

.hero-route b {
  color: #e9f2ff;
  font-size: 0.8rem;
  font-weight: 650;
}

.hero-route small {
  color: #92a9c2;
  font-size: 0.72rem;
}

.home-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0b2946, #10233a 53%, #06111e);
  border: 1px solid rgba(151, 191, 233, 0.25);
  border-radius: 18px;
  box-shadow: 0 26px 80px rgba(0, 7, 18, 0.36);
  isolation: isolate;
}

.home-hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 19, 34, 0.4), transparent 50%), linear-gradient(0deg, rgba(5, 17, 30, 0.56), transparent 35%);
  content: "";
  pointer-events: none;
}

.home-hero-visual::after {
  position: absolute;
  z-index: 2;
  top: 30px;
  right: 30px;
  width: 9px;
  height: 9px;
  background: #6eaaff;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(105, 168, 255, 0.12), 0 0 32px rgba(105, 168, 255, 0.74);
  content: "";
}

.home-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: block;
  object-fit: cover;
}

.home-hero-visual figcaption {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 25px;
  left: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
}

.home-hero-visual figcaption span {
  color: #a5c7f0;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.home-hero-visual figcaption strong {
  font-size: 0.82rem;
  font-weight: 600;
}

/* Homepage common layout -------------------------------------------------- */
.home-foundation,
.home-scenarios,
.home-story,
.home-news,
.home-contact {
  color: var(--text);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.home-foundation,
.home-scenarios,
.home-story,
.home-news {
  padding-block: clamp(80px, 9vw, 130px);
}

.home-section-heading {
  margin: 0;
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--brand);
  letter-spacing: 0.075em;
}

.home-section-heading h2,
.home-contact h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 3.05vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.home-foundation-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.73fr) minmax(540px, 1.27fr);
  gap: clamp(64px, 10vw, 160px);
  align-items: start;
}

.home-foundation-content {
  min-width: 0;
  padding-top: 3px;
}

.foundation-lead {
  max-width: 680px;
  margin: 0 0 31px;
  color: #526278;
  font-size: 1.03rem;
  line-height: 1.9;
}

.foundation-list {
  margin-bottom: 28px;
  border-top: 1px solid var(--line-strong);
}

.foundation-list article {
  display: grid;
  grid-template-columns: 110px minmax(145px, 0.9fr) minmax(0, 1.25fr);
  gap: 20px;
  align-items: baseline;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.foundation-list span {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
}

.foundation-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.48;
}

.foundation-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.home-foundation .text-link,
.home-story .text-link,
.home-contact .text-link {
  font-size: 0.9rem;
  font-weight: 650;
}

.home-section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.home-section-heading-row > p {
  max-width: 470px;
  margin: 0;
  justify-self: end;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.82;
}

/* Scenarios --------------------------------------------------------------- */
.home-scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-scenario-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.home-scenario-card:hover {
  border-color: #9bbce4;
  box-shadow: 0 14px 30px rgba(33, 68, 108, 0.1);
  transform: translateY(-4px);
}

.home-scenario-card figure {
  height: auto;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: #dce5ef;
}

.home-scenario-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 360ms ease;
}

.home-scenario-card:hover img {
  transform: scale(1.035);
}

.home-scenario-copy {
  min-height: 235px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 21px 21px;
}

.home-scenario-copy > p {
  margin: 0 0 9px;
  color: var(--brand);
  font-size: 0.73rem;
  font-weight: 700;
}

.home-scenario-copy h3 {
  margin: 0 0 11px;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.4;
}

.home-scenario-copy > span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.76;
}

.home-scenario-copy a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 17px;
  color: var(--brand);
  font-size: 0.83rem;
  font-weight: 650;
  text-decoration: none;
}

.home-scenario-copy a i {
  font-size: 1.1rem;
  font-style: normal;
  line-height: 1;
  transition: transform 180ms ease;
}

.home-scenario-copy a:hover i {
  transform: translateX(3px);
}

/* Company and video ------------------------------------------------------- */
.home-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(470px, 1.16fr);
  gap: clamp(56px, 9vw, 144px);
  align-items: center;
}

.home-story-copy > p:not(.section-kicker) {
  max-width: 570px;
  margin: 0 0 15px;
  color: #596a80;
  font-size: 0.95rem;
  line-height: 1.88;
}

.home-story-copy > p:nth-of-type(3) {
  margin-bottom: 28px;
}

.home-story-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-story-facts div {
  min-width: 0;
  padding: 16px 13px 16px 0;
  border-right: 1px solid var(--line);
}

.home-story-facts div + div {
  padding-left: 13px;
}

.home-story-facts div:last-child {
  border-right: 0;
}

.home-story-facts dt {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 700;
}

.home-story-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.home-film {
  width: 100%;
  max-width: 660px;
  margin: 0 0 0 auto;
}

.home-film-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  color: var(--muted);
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.075em;
}

.home-film-meta span:first-child {
  color: var(--ink);
}

.home-film video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0b1724;
  border: 1px solid #c8d5e2;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(33, 58, 88, 0.14);
}

/* News -------------------------------------------------------------------- */
.home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}

.home-news-primary,
.home-news-feature,
.home-news-brief {
  min-width: 0;
}

.home-news-primary figure,
.home-news-feature figure,
.home-news-brief figure {
  margin: 0;
  overflow: hidden;
  background: #dce5ef;
}

.home-news-primary figure {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
}

.home-news-feature figure {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}

.home-news-primary img,
.home-news-feature img,
.home-news-brief img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-news-meta {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-top: 17px;
  color: var(--muted);
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.home-news-meta time {
  color: var(--brand);
}

.home-news-meta span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.home-news-meta span::before {
  width: 18px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.home-news-primary h3,
.home-news-feature h3,
.home-news-brief h3 {
  margin: 9px 0 7px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.43;
}

.home-news-primary h3 {
  font-size: 1.46rem;
}

.home-news-feature h3 {
  font-size: 1.22rem;
}

.home-news-primary > p,
.home-news-feature > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.75;
}

.home-news-secondary {
  display: grid;
  gap: 28px;
}

.home-news-list {
  display: grid;
  gap: 16px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.home-news-brief {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  padding-top: 16px;
}

.home-news-brief figure {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
}

.home-news-brief .home-news-meta {
  margin-top: 0;
}

.home-news-brief h3 {
  margin: 7px 0 0;
  font-size: 0.98rem;
}

/* Contact ----------------------------------------------------------------- */
.home-contact {
  padding-block: clamp(70px, 8vw, 106px);
}

.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: clamp(64px, 10vw, 152px);
  align-items: start;
}

.home-contact-copy > p:last-child {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.86;
}

.home-contact-details {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.home-contact-details > div:not(.home-contact-actions) {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding-block: 19px;
  border-bottom: 1px solid var(--line);
}

.home-contact-details span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.home-contact-details p,
.home-contact-details a:not(.button):not(.text-link) {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.home-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding-top: 25px;
}

.home-contact-actions .button {
  min-height: 46px;
  border-radius: 6px;
}

/* Shared footer ----------------------------------------------------------- */
.site-footer {
  padding-bottom: 20px;
  color: #aebdcb;
  background: #081524;
  border-top: 1px solid #293c51;
}

.footer-grid-simple {
  grid-template-columns: minmax(0, 1.28fr) minmax(160px, 0.74fr) minmax(240px, 0.88fr);
  gap: clamp(32px, 5vw, 76px);
  padding-block: 50px 38px;
}

.footer-grid-simple .footer-identity {
  display: inline-flex;
  margin-bottom: 16px;
}

.footer-grid-simple .footer-identity img {
  width: 118px;
  height: auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.footer-grid-simple .footer-tagline {
  max-width: 25ch;
  margin: 0;
  color: #b3c0cf;
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.68;
}

.site-footer .footer-column-title {
  margin-bottom: 15px;
  color: #f4f8fd;
  font-size: 0.79rem;
  font-weight: 700;
}

.site-footer .footer-column-title::before {
  width: 18px;
  margin-bottom: 9px;
}

.footer-grid-simple .footer-nav a {
  min-height: 36px;
  display: flex;
  align-items: center;
  margin: 0;
}

.footer-grid-simple .footer-contact > p:not(.footer-column-title) {
  max-width: 27ch;
  color: #9babbc;
  line-height: 1.7;
}

.footer-grid-simple .footer-contact a[href^="tel:"] {
  margin-top: 14px;
  color: #fff;
  font-size: 1.08rem;
}

.footer-bottom {
  min-height: 44px;
  padding-top: 13px;
  border-top-color: #283c51;
}

.footer-bottom p {
  color: #7f91a5;
  font-size: 0.75rem;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1180px) {
  .home-hero-frame {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 44px;
  }

  .home-scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .home-scenario-copy {
    min-height: 204px;
  }

  .home-scenario-card figure {
    aspect-ratio: 16 / 8.5;
  }
}

@media (max-width: 1060px) {
  :root {
    --header-height: 70px;
  }

  .brand-link img,
  .brand-mark {
    width: 108px;
    max-height: 50px;
  }

  .js .nav-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
  }

  .js .site-nav {
    padding: 16px 20px calc(32px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: none;
  }

  .js .site-nav:not(.is-open) {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .js .site-nav .nav-link {
    height: auto;
    min-height: 54px;
    padding-inline: 0;
    border-bottom: 1px solid var(--line);
  }

  .js .site-nav .nav-link::before {
    display: none;
  }

  .js .site-nav .nav-contact {
    justify-content: center;
    min-height: 50px;
    margin-top: 16px;
    padding-inline: 18px;
    border: 0;
  }

  .home-hero-frame,
  .home-foundation-grid,
  .home-story-grid,
  .home-contact-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-frame {
    min-height: 0;
    gap: 42px;
    padding-block: 68px 60px;
  }

  .home-hero-reframed .home-hero-copy {
    max-width: 730px;
  }

  .home-hero-visual {
    width: min(100%, 760px);
    min-height: 400px;
  }

  .home-hero-visual img {
    min-height: 400px;
  }

  .home-foundation-grid,
  .home-story-grid,
  .home-contact-grid {
    gap: 44px;
  }

  .home-section-heading-row {
    gap: 25px;
  }

  .home-story-copy {
    max-width: 700px;
  }

  .home-film {
    margin-left: 0;
  }

  .home-news-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-news-secondary {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .home-news-list {
    align-content: start;
  }

  .footer-grid-simple {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.7fr);
  }

  .footer-grid-simple .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .home-foundation,
  .home-scenarios,
  .home-story,
  .home-news {
    padding-block: 72px;
  }

  .home-hero-frame {
    padding-block: 54px 48px;
  }

  .home-hero-reframed h1 {
    font-size: clamp(2.48rem, 10vw, 3.5rem);
    letter-spacing: -0.052em;
  }

  .home-hero-reframed .home-hero-lead {
    font-size: 0.96rem;
  }

  .hero-route {
    margin-top: 37px;
  }

  .home-hero-visual,
  .home-hero-visual img {
    min-height: 350px;
  }

  .home-section-heading h2,
  .home-contact h2 {
    font-size: clamp(2rem, 8vw, 2.65rem);
  }

  .home-section-heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 34px;
  }

  .home-section-heading-row > p {
    justify-self: start;
  }

  .foundation-list article {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 7px 18px;
  }

  .foundation-list p {
    grid-column: 2;
  }

  .home-scenario-grid,
  .home-news-secondary {
    grid-template-columns: 1fr;
  }

  .home-scenario-copy {
    min-height: 0;
  }

  .home-scenario-copy a {
    margin-top: 20px;
  }

  .home-story-facts {
    grid-template-columns: 1fr;
  }

  .home-story-facts div,
  .home-story-facts div + div {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-story-facts div:last-child {
    border-bottom: 0;
  }

  .home-story-facts dt,
  .home-story-facts dd {
    display: inline;
  }

  .home-story-facts dd::before {
    margin-inline: 8px;
    color: var(--line-strong);
    content: "/";
  }

  .home-contact {
    padding-block: 72px;
  }

  .home-contact-actions {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .home-hero-frame {
    gap: 33px;
  }

  .home-hero-kicker {
    margin-bottom: 18px;
  }

  .home-hero-reframed h1 {
    margin-bottom: 20px;
  }

  .home-hero-reframed .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero-reframed .button {
    justify-content: center;
  }

  .hero-route span {
    padding-right: 8px;
  }

  .hero-route span + span {
    padding-left: 8px;
  }

  .hero-route small {
    font-size: 0.66rem;
  }

  .home-hero-visual,
  .home-hero-visual img {
    min-height: 285px;
  }

  .home-hero-visual figcaption {
    right: 18px;
    bottom: 17px;
    left: 18px;
    gap: 10px;
  }

  .home-hero-visual figcaption strong {
    font-size: 0.72rem;
  }

  .home-hero-visual figcaption span {
    font-size: 0.57rem;
  }

  .foundation-list article {
    display: block;
    padding-block: 19px;
  }

  .foundation-list span,
  .foundation-list h3 {
    display: block;
  }

  .foundation-list h3 {
    margin-top: 5px;
  }

  .foundation-list p {
    margin-top: 7px;
  }

  .home-news-primary h3 {
    font-size: 1.26rem;
  }

  .home-news-brief {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 13px;
  }

  .home-news-brief h3 {
    font-size: 0.9rem;
  }

  .home-contact-details > div:not(.home-contact-actions) {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-grid-simple {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 34px 24px;
  }

  .footer-grid-simple .footer-contact {
    grid-column: auto;
  }

  .footer-grid-simple .footer-nav a {
    min-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-scenario-card,
  .home-scenario-card img,
  .home-scenario-copy a i {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Light industrial field direction
   The home page uses a daylight "field network" rather than a dark tech wall.
   -------------------------------------------------------------------------- */
:root {
  --paper: #f7faff;
  --surface: #ffffff;
  --ink: #13233a;
  --ink-soft: #1c3657;
  --text: #465a72;
  --muted: #71839a;
  --line: #d9e6f3;
  --line-strong: #b8cde3;
  --brand: #2869e8;
  --brand-deep: #1554cd;
}

body {
  color: var(--text);
  background: var(--paper);
}

/* Header: clear white surface and TDengine-like blue action ---------------- */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(167, 193, 222, 0.48);
  box-shadow: 0 1px 0 rgba(30, 76, 126, 0.02);
  backdrop-filter: blur(16px) saturate(150%);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(35, 86, 142, 0.1);
}

.brand-link img,
.brand-mark {
  width: 122px;
  max-height: 52px;
}

.nav-link {
  color: #2c415c;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: var(--brand);
}

.nav-contact {
  color: #2861c9;
  background: #fff;
  border-color: #aac6e8;
  border-radius: 7px;
  box-shadow: none;
}

.site-header .nav-contact:hover,
.site-header .nav-contact:focus-visible {
  color: #1552b8;
  background: #fff;
  border-color: #5d91dc;
}

/* Home hero --------------------------------------------------------------- */
.home-hero-reframed {
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 20%, rgba(117, 194, 255, 0.32), transparent 23%),
    radial-gradient(circle at 15% 107%, rgba(102, 150, 255, 0.15), transparent 31%),
    linear-gradient(120deg, #fbfdff 0%, #eaf4ff 51%, #f5f4ff 100%);
  border-bottom: 1px solid #dbe8f5;
}

.home-hero-reframed::before {
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(76, 137, 209, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 137, 209, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 82%);
}

.home-hero-reframed::after {
  position: absolute;
  top: -150px;
  right: 16%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(65, 130, 219, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 68px rgba(109, 174, 255, 0.05), 0 0 0 142px rgba(109, 174, 255, 0.035);
  content: "";
}

.home-hero-frame {
  min-height: 638px;
  grid-template-columns: minmax(0, 0.89fr) minmax(470px, 1.11fr);
  gap: clamp(42px, 6vw, 88px);
  padding-block: 74px 68px;
}

.home-hero-reframed .home-hero-copy {
  max-width: 630px;
}

.home-hero-kicker {
  color: #356fc9;
}

.home-hero-kicker span {
  background: #3a8cf0;
  box-shadow: 0 0 0 5px rgba(58, 140, 240, 0.12);
}

.home-hero-reframed h1 {
  color: #152a45;
  font-size: clamp(3rem, 4.4vw, 4.5rem);
  letter-spacing: -0.052em;
}

.home-hero-reframed h1 em {
  color: #2869e8;
}

.home-hero-reframed .home-hero-lead {
  color: #506681;
}

.home-hero-reframed .button-primary {
  box-shadow: 0 13px 26px rgba(40, 105, 232, 0.23);
}

.home-hero-reframed .button-quiet {
  color: #2861c9;
  background: rgba(255, 255, 255, 0.65);
  border-color: #a8c3e5;
}

.home-hero-reframed .button-quiet:hover {
  color: #124da8;
  background: #ffffff;
  border-color: #6394de;
}

.hero-route {
  border-top-color: rgba(77, 124, 177, 0.22);
}

.hero-route span,
.hero-route span + span {
  border-color: rgba(77, 124, 177, 0.16);
}

.hero-route b {
  color: #294765;
}

.hero-route small {
  color: #72869e;
}

/* Hero signature: a small, visual field network made from CSS primitives. */
.home-hero-visual.agent-field-visual {
  min-height: 448px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(106, 182, 255, 0.3), transparent 21%),
    linear-gradient(140deg, #eef8ff 0%, #deedff 52%, #ebedff 100%);
  border: 1px solid rgba(129, 173, 221, 0.54);
  border-radius: 24px;
  box-shadow: 0 28px 62px rgba(52, 97, 149, 0.18);
  isolation: isolate;
}

.home-hero-visual.agent-field-visual::before,
.home-hero-visual.agent-field-visual::after {
  content: none;
}

.agent-field-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(55, 119, 200, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 119, 200, 0.11) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(135deg, #000 4%, transparent 88%);
}

.agent-field-orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(72, 138, 224, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.agent-field-orbit-one {
  width: min(64%, 340px);
  aspect-ratio: 1;
}

.agent-field-orbit-two {
  width: min(82%, 440px);
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(83, 144, 224, 0.25);
}

.agent-field-link {
  position: absolute;
  z-index: 2;
  height: 2px;
  display: block;
  background: linear-gradient(90deg, rgba(63, 136, 233, 0), #4d9aee 35%, #3468d8 66%, rgba(57, 109, 212, 0));
  transform-origin: left center;
}

.agent-field-link::after {
  position: absolute;
  top: 50%;
  right: 26%;
  width: 7px;
  height: 7px;
  background: #56a7ff;
  border: 2px solid #ecf7ff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(77, 154, 238, 0.16);
  content: "";
  transform: translateY(-50%);
}

.agent-field-link-device {
  top: 61%;
  left: 26%;
  width: 28%;
  transform: rotate(-30deg);
}

.agent-field-link-data {
  top: 34%;
  left: 51%;
  width: 27%;
  transform: rotate(26deg);
}

.agent-field-link-service {
  top: 63%;
  left: 53%;
  width: 29%;
  transform: rotate(34deg);
}

.agent-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 138px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 3px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(140deg, #347def, #2459c4);
  border: 8px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 16px 30px rgba(37, 96, 194, 0.29), 0 0 0 1px rgba(39, 95, 192, 0.24);
  transform: translate(-50%, -50%);
}

.agent-core strong {
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: 1.23rem;
  letter-spacing: 0.06em;
}

.agent-core small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.65rem;
}

.agent-node {
  position: absolute;
  z-index: 3;
  width: min(31%, 172px);
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  color: #2a4260;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(133, 174, 218, 0.72);
  border-radius: 13px;
  box-shadow: 0 13px 25px rgba(44, 92, 143, 0.13);
  backdrop-filter: blur(8px);
}

.agent-node span {
  color: #5591dd;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.agent-node strong {
  font-size: 0.93rem;
  line-height: 1.2;
}

.agent-node small {
  color: #7187a1;
  font-size: 0.68rem;
}

.agent-node-device {
  bottom: 12%;
  left: 6%;
}

.agent-node-data {
  top: 13%;
  right: 7%;
}

.agent-node-service {
  right: 8%;
  bottom: 13%;
}

.agent-field-status {
  position: absolute;
  z-index: 5;
  top: 20px;
  left: 22px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #5c7492;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.agent-field-status i {
  width: 7px;
  height: 7px;
  background: #3b95ef;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(59, 149, 239, 0.13);
}

.home-hero-visual.agent-field-visual figcaption {
  z-index: 5;
  right: 22px;
  bottom: 20px;
  left: auto;
  display: grid;
  gap: 4px;
  color: #34506e;
  text-align: right;
}

.home-hero-visual.agent-field-visual figcaption span {
  color: #5f8bbe;
}

/* Detail-page top areas also leave the near-black palette behind. ---------- */
.dios-hero,
.services-hero {
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(115, 187, 255, 0.26), transparent 24%),
    linear-gradient(125deg, #fbfdff 0%, #e8f3ff 58%, #f3f5ff 100%);
  border-bottom-color: #d8e5f3;
}

.dios-hero h1,
.services-hero h1 {
  color: #142b48;
}

.dios-hero-copy > p:not(.eyebrow),
.services-hero-copy > p:not(.eyebrow) {
  color: #526985;
}

.dios-hero .eyebrow-light,
.services-hero .eyebrow-light {
  color: #356fc9;
}

.dios-hero .button-quiet {
  color: #2861c9;
  background: rgba(255, 255, 255, 0.74);
  border-color: #adc7e7;
}

.runtime-window,
.services-hero-list {
  background: rgba(255, 255, 255, 0.78);
  border-color: #b9d0e8;
  box-shadow: 0 20px 42px rgba(53, 102, 153, 0.14);
}

.runtime-toolbar,
.runtime-status,
.services-hero-list ol,
.services-hero-list li {
  border-color: #d7e4f1;
}

.runtime-toolbar b,
.runtime-status time,
.runtime-source span,
.runtime-output span,
.services-hero-list > p,
.services-hero-list small {
  color: #7187a0;
}

.runtime-status {
  color: #506984;
}

.runtime-source b,
.runtime-output b,
.runtime-agents b {
  color: #35506d;
  background: #f7fbff;
  border-color: #cbdced;
}

.runtime-agents b:last-child {
  color: #ffffff;
  background: #2869e8;
  border-color: #2869e8;
}

.runtime-bus {
  color: #397bd5;
  border-color: #8bb7e8;
}

.services-hero-list strong {
  color: #243e5d;
}

/* Content rhythm: white stages separated by quiet blue paper. -------------- */
.home-foundation,
.home-news {
  background: #f7faff;
}

.home-scenarios,
.home-film-section,
.home-contact {
  background: #ffffff;
}

/* IDMP-inspired scenario deck: one active field, supporting narrow fields. */
.home-scenarios {
  border-top-color: #e2ecf6;
}

.home-scenario-deck {
  height: 356px;
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.home-scenario-deck .home-scenario-card {
  min-width: 0;
  min-height: 0;
  flex: 0.82 1 0;
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
  background: #12345f;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  isolation: isolate;
  transition: flex 460ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, transform 260ms ease;
}

.home-scenario-deck .home-scenario-card:hover {
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(33, 76, 127, 0.17);
  transform: none;
}

.home-scenario-deck .home-scenario-card.is-active {
  flex: 3.25 1 0;
}

.home-scenario-deck .home-scenario-card:focus-visible {
  outline: 3px solid #4b8df5;
  outline-offset: 4px;
}

.home-scenario-deck .home-scenario-card figure {
  position: absolute;
  inset: 0;
  height: auto;
  aspect-ratio: auto;
  background: #c6d9ed;
}

.home-scenario-deck .home-scenario-card figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 39, 74, 0.06) 20%, rgba(11, 43, 85, 0.82) 100%);
  content: "";
}

.home-scenario-deck .home-scenario-card img {
  transform: scale(1.01);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), filter 340ms ease;
}

.home-scenario-deck .home-scenario-card.is-active img {
  filter: saturate(1.04);
  transform: scale(1.045);
}

.home-scenario-deck .home-scenario-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding: 23px 18px 20px;
  color: #ffffff;
  background: transparent;
}

.home-scenario-deck .home-scenario-copy > p {
  margin: 0 0 7px;
  color: #9ed0ff;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.home-scenario-deck .home-scenario-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.03rem;
  line-height: 1.35;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.home-scenario-deck .home-scenario-copy > span,
.home-scenario-deck .home-scenario-copy a {
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 240ms ease, visibility 0s linear 240ms;
}

.home-scenario-deck .home-scenario-card.is-active .home-scenario-copy {
  display: block;
  padding: 31px 28px 27px;
}

.home-scenario-deck .home-scenario-card.is-active .home-scenario-copy h3 {
  margin-bottom: 11px;
  font-size: 1.45rem;
  writing-mode: horizontal-tb;
}

.home-scenario-deck .home-scenario-card.is-active .home-scenario-copy > span {
  max-width: 34ch;
  max-height: 70px;
  display: block;
  color: rgba(255, 255, 255, 0.91);
  font-size: 0.84rem;
  line-height: 1.75;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

.home-scenario-deck .home-scenario-card.is-active .home-scenario-copy a {
  max-height: 36px;
  display: inline-flex;
  margin-top: 16px;
  padding: 0;
  color: #ffffff;
  font-size: 0.81rem;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 150ms;
}

.home-scenario-deck .home-scenario-copy a i {
  color: #9ed0ff;
}

.scenario-deck-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 27px;
  padding-top: 20px;
  color: #71839a;
  border-top: 1px solid #e0eaf4;
  font-size: 0.86rem;
}

.scenario-deck-foot .text-link {
  font-size: 0.88rem;
  font-weight: 700;
}

/* Video: deliberately simple, centered, and free of an unnecessary frame. */
.home-film-section {
  padding-block: clamp(78px, 9vw, 126px);
}

.home-film-heading {
  max-width: 1120px;
  margin: 0 auto 38px;
  text-align: center;
}

.home-film-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.05vw, 3.05rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.28;
}

@media (min-width: 761px) {
  .home-film-heading h2 {
    white-space: nowrap;
  }
}

.home-film-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: center;
  margin-top: 23px;
}

.home-film-links a {
  color: #2366df;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.home-film-links a:hover,
.home-film-links a:focus-visible {
  color: #0e4dbf;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-film-links span {
  margin-left: 3px;
  font-size: 1.1em;
}

.home-film-centered {
  width: min(100%, 812px);
  max-width: none;
  margin: 0 auto;
}

.home-film-centered video {
  background: #e9f1f9;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(45, 87, 133, 0.14);
}

/* Preserve the existing news information architecture; only quieten its frame. */
.home-news {
  border-top-color: #e3edf6;
}

.home-news-primary figure,
.home-news-feature figure {
  box-shadow: 0 12px 28px rgba(52, 89, 128, 0.08);
}

/* Footer: deep TDengine-like blue, clean 4-column grid. ------------------- */
.site-footer {
  padding-bottom: 0;
  color: #a9c3df;
  background:
    radial-gradient(circle at 12% -20%, rgba(55, 126, 230, 0.27), transparent 34%),
    linear-gradient(120deg, #062a56, #082d5c 52%, #061f43);
  border-top-color: rgba(123, 175, 231, 0.28);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  padding-block: 64px 52px;
}

.footer-top .footer-identity {
  display: inline-flex;
  margin-bottom: 20px;
}

.footer-top .footer-identity img {
  width: 124px;
  height: auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.footer-top .footer-tagline {
  max-width: 32ch;
  margin: 0;
  color: #b9d0e9;
  font-size: 0.92rem;
  line-height: 1.72;
}

.site-footer .footer-column-title {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
}

.site-footer .footer-column-title::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin-bottom: 13px;
  background: #5babf4;
  border-radius: 2px;
}

.footer-top .footer-nav a {
  display: block;
  width: fit-content;
  margin-bottom: 12px;
  color: #a9c3df;
  font-size: 0.875rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-top .footer-nav a:hover,
.footer-top .footer-nav a:focus-visible,
.footer-top .footer-nav a[aria-current="page"] {
  color: #ffffff;
}

.footer-top .footer-nav a:hover,
.footer-top .footer-contact a:hover {
  transform: none;
}

.footer-top .footer-contact {
  font-style: normal;
}

.footer-top .footer-contact p {
  margin: 0 0 12px;
  color: #a9c3df;
  font-size: 0.875rem;
  line-height: 1.65;
}

.footer-top .footer-contact a[href^="tel:"] {
  display: block;
  width: fit-content;
  margin-top: 16px;
  color: #ffffff;
  font-family: "Bahnschrift", "DIN Alternate", sans-serif;
  font-size: 1.2rem;
  font-weight: 650;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  min-height: 58px;
  padding-block: 22px;
  border-top: 1px solid rgba(142, 188, 235, 0.22);
}

.footer-bottom p {
  margin: 0;
  color: #85a8cf;
  font-size: 0.8rem;
}

.footer-bottom .footer-meta {
  color: #9bbadd;
  font-family: "Bahnschrift", "DIN Alternate", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 1180px) {
  .home-hero-frame {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 38px;
  }

  .home-scenario-deck {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-scenario-deck .home-scenario-card,
  .home-scenario-deck .home-scenario-card.is-active {
    min-height: 320px;
  }

  .home-scenario-deck .home-scenario-card.is-active {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1060px) {
  .site-header {
    background: rgba(255, 255, 255, 0.97);
  }

  .home-hero-frame {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 64px 58px;
  }

  .home-hero-reframed .home-hero-copy {
    max-width: 740px;
  }

  .home-hero-visual.agent-field-visual {
    width: min(100%, 760px);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .home-hero-reframed::after {
    right: -140px;
    width: 280px;
    height: 280px;
  }

  .home-hero-frame {
    padding-block: 52px 48px;
  }

  .home-hero-visual.agent-field-visual {
    min-height: 370px;
    border-radius: 18px;
  }

  .agent-node {
    width: min(34%, 164px);
    padding: 12px 11px;
  }

  .agent-node strong {
    font-size: 0.82rem;
  }

  .agent-node small {
    font-size: 0.6rem;
  }

  .agent-core {
    width: 122px;
  }

  .home-scenario-deck {
    grid-template-columns: 1fr;
  }

  .home-scenario-deck .home-scenario-card,
  .home-scenario-deck .home-scenario-card.is-active {
    min-height: 284px;
    grid-column: auto;
  }

  .home-scenario-deck .home-scenario-copy h3,
  .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy h3 {
    margin-bottom: 9px;
    font-size: 1.24rem;
    writing-mode: horizontal-tb;
  }

  .home-scenario-deck .home-scenario-copy,
  .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy {
    display: block;
    padding: 25px 22px 21px;
  }

  .home-scenario-deck .home-scenario-copy > span,
  .home-scenario-deck .home-scenario-copy a,
  .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy > span,
  .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy a {
    max-height: none;
    display: block;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .home-scenario-deck .home-scenario-copy > span {
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.81rem;
    line-height: 1.7;
  }

  .home-scenario-deck .home-scenario-copy a {
    margin-top: 13px;
    color: #ffffff;
    font-size: 0.79rem;
  }

  .scenario-deck-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .home-film-section {
    padding-block: 72px;
  }

  .home-film-heading {
    margin-bottom: 28px;
  }

  .home-film-links {
    gap: 10px 20px;
    margin-top: 18px;
  }

  .home-film-links a {
    font-size: 0.82rem;
  }

  .home-film-centered video {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .home-hero-visual.agent-field-visual {
    min-height: 322px;
  }

  .agent-field-orbit-one {
    width: 52%;
  }

  .agent-field-orbit-two {
    width: 72%;
  }

  .agent-core {
    width: 104px;
    border-width: 6px;
  }

  .agent-core strong {
    font-size: 1.02rem;
  }

  .agent-node {
    width: 36%;
    padding: 9px 9px;
    border-radius: 10px;
  }

  .agent-node span,
  .agent-node small {
    display: none;
  }

  .agent-node-data {
    top: 17%;
  }

  .agent-node-device {
    bottom: 16%;
  }

  .agent-node-service {
    bottom: 17%;
  }

  .agent-field-status,
  .home-hero-visual.agent-field-visual figcaption span {
    display: none;
  }

  .home-hero-visual.agent-field-visual figcaption {
    right: 15px;
    bottom: 14px;
  }

  .home-film-heading h2 {
    font-size: clamp(1.8rem, 8.7vw, 2.3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-scenario-deck .home-scenario-card,
  .home-scenario-deck .home-scenario-card img,
  .home-scenario-deck .home-scenario-copy > span,
  .home-scenario-deck .home-scenario-copy a {
    transition: none;
  }
}

/* ===========================================================================
   Reference-led color system (final layer - overrides all rules above)
   - Header and hero use the same light, technical blue field
   - Brand blue is reserved for actions and key labels
   - Footer uses the reference site's neutral near-black
   Reference: https://www.taosdata.com/tsdb
   =========================================================================== */
:root {
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-quiet: #ffffff;
  --ink: #141414;
  --ink-soft: #1f2937;
  --text: #45505c;
  --muted: #6b7785;
  --line: #e8ecf2;
  --line-strong: #d4dbe4;
  --line-dark: #1f2d4a;
  --brand: #0041ce;
  --brand-deep: #0035a8;
  --brand-bright: #2651f0;
  --hero-sky: #eaf4ff;
  --hero-sky-deep: #d8eaff;
  --footer-black: #141414;
  --td-hero-grad: var(--hero-sky);
  --font-display: "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-utility: "Bahnschrift", "DIN Alternate", "Segoe UI", sans-serif;
}

html {
  background: #ffffff;
}

body {
  color: var(--text);
  background: #ffffff;
  font-family: var(--font-body);
  letter-spacing: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
}

main {
  background: #ffffff;
}

/* ---- Header: shares the hero field, then becomes white after scroll ---------- */
.site-header {
  position: sticky;
  top: 0;
  color: var(--ink);
  background: var(--hero-sky);
  border-bottom: 1px solid rgba(0, 65, 206, 0.1);
  box-shadow: none;
  backdrop-filter: none;
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: #e8ecf2;
  box-shadow: 0 8px 28px rgba(15, 35, 80, 0.1);
  backdrop-filter: blur(16px) saturate(150%);
}

/* The reference header is quiet: dark navigation on the pale hero field. */
.site-header .nav-link {
  color: #26374b;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link[aria-current="page"] {
  color: var(--brand);
}

.site-header .nav-link::after {
  background: var(--brand);
}

.site-header .brand-link img,
.site-header .brand-mark {
  width: 108px;
  filter: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand-link {
  min-width: 0;
  gap: 14px;
}

.brand-copy {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 4px;
  padding-left: 15px;
  line-height: 1;
}

.brand-copy::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 32px;
  background: #32b7d7;
  content: "";
  transform: translateY(-50%);
}

.brand-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  color: #5e7187;
  font-family: var(--font-utility);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link:focus-visible,
.site-header.is-scrolled .nav-link[aria-current="page"] {
  color: var(--ink);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link:focus-visible,
.site-header.is-scrolled .nav-link[aria-current="page"] {
  color: var(--brand);
}

.site-header.is-scrolled .nav-link::after {
  background: var(--brand);
}

.site-header.is-scrolled .brand-link img,
.site-header.is-scrolled .brand-mark {
  filter: none;
}

.nav-toggle {
  color: var(--ink);
  border-color: #9aabba;
}

.site-header.is-scrolled .nav-toggle {
  color: var(--ink);
  border-color: #9aabba;
}

.nav-contact {
  color: #ffffff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 7px;
  box-shadow: none;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: #ffffff;
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.site-header.is-scrolled .nav-contact {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.site-header.is-scrolled .nav-contact:hover,
.site-header.is-scrolled .nav-contact:focus-visible {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

/* ---- Hero: the same pale blue field as the reference header ----------------- */
.home-hero-reframed,
.dios-hero,
.services-hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--td-hero-grad);
  border-bottom: 0;
}

/* Remove the previous decorative grid and glow; the industrial image carries
   the visual identity of this page. */
.home-hero-reframed::before {
  display: none;
}

.home-hero-reframed::after {
  display: none;
}

.home-hero-frame,
.home-hero-reframed .home-hero-copy {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-body);
  line-height: 1;
}

.hero-label > span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding-inline: 8px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-label > strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #36506b;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-label > strong::before {
  width: 18px;
  height: 1px;
  background: rgba(0, 65, 206, 0.32);
  content: "";
}

.home-hero-kicker,
.dios-hero .eyebrow,
.dios-hero .eyebrow-light,
.services-hero .eyebrow,
.services-hero .eyebrow-light,
.home-hero-reframed .section-kicker {
  color: var(--brand);
  letter-spacing: 0;
}

.home-hero-reframed h1,
.dios-hero h1,
.services-hero h1 {
  font-family: var(--font-display);
  text-wrap: balance;
}

.home-hero-reframed .home-hero-lead,
.dios-hero-copy > p:not(.hero-label),
.services-hero-copy > p:not(.hero-label) {
  font-family: var(--font-body);
}

.home-hero-kicker span {
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(0, 65, 206, 0.1);
}

.home-hero-reframed h1,
.dios-hero h1,
.services-hero h1 {
  color: var(--ink);
  letter-spacing: 0;
}

.home-hero-reframed h1 em,
.dios-hero h1 em,
.services-hero h1 em {
  color: var(--brand);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.home-hero-reframed .home-hero-lead,
.dios-hero-copy > p:not(.eyebrow),
.services-hero-copy > p:not(.eyebrow) {
  color: #435166;
}

.home-hero-reframed .button-primary,
.dios-hero .button-primary,
.services-hero .button-primary {
  color: #ffffff;
  background: #0041ce;
  border-color: #0041ce;
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(0, 65, 206, 0.18);
}

.home-hero-reframed .button-primary:hover,
.dios-hero .button-primary:hover,
.services-hero .button-primary:hover {
  background: #0035a8;
  border-color: #0035a8;
}

.home-hero-reframed .button-quiet,
.dios-hero .button-quiet,
.services-hero .button-quiet {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 65, 206, 0.5);
  border-radius: 7px;
}

.home-hero-reframed .button-quiet:hover,
.dios-hero .button-quiet:hover,
.services-hero .button-quiet:hover {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.hero-route {
  border-top-color: rgba(0, 65, 206, 0.2);
}

.hero-route span,
.hero-route span + span {
  border-color: rgba(0, 65, 206, 0.16);
}

.hero-route b {
  color: var(--ink);
}

.hero-route small {
  color: #62738a;
}

/* A fine cyan edge ties the industrial visual back to Yunni's own logo. */
.home-hero-visual {
  background: #07182c;
  border: 1px solid rgba(0, 65, 206, 0.18);
  border-top: 3px solid #32b7d7;
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(35, 83, 126, 0.18);
}

.home-hero-visual::after {
  display: none;
}

.home-hero-visual figcaption span {
  letter-spacing: 0;
}

/* Hero signature visual: dark-glass card so the field network reads on blue. */
.home-hero-visual.agent-field-visual {
  min-height: 448px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(96, 165, 255, 0.34), transparent 26%),
    linear-gradient(150deg, rgba(8, 28, 70, 0.55), rgba(10, 42, 107, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  box-shadow: 0 28px 64px rgba(4, 18, 48, 0.4);
  isolation: isolate;
}

.agent-field-grid {
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
}

.agent-field-orbit {
  border-color: rgba(255, 255, 255, 0.28);
}

.agent-field-orbit-two {
  border-color: rgba(255, 255, 255, 0.2);
}

.agent-field-link {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #bcd6ff 35%, #ffffff 66%, rgba(255, 255, 255, 0));
}

.agent-field-link::after {
  background: #ffffff;
  border-color: #0a2a6b;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.agent-core {
  background: linear-gradient(140deg, #ffffff, #cfe0ff);
  border: 8px solid rgba(10, 42, 107, 0.55);
  box-shadow: 0 16px 30px rgba(4, 18, 48, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.agent-core strong {
  color: #0041ce;
}

.agent-core small {
  color: #2662ee;
}

.agent-node {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(4, 18, 48, 0.28);
  backdrop-filter: blur(10px);
}

.agent-node span {
  color: #bcd6ff;
}

.agent-node strong {
  color: #ffffff;
}

.agent-node small {
  color: #c6d6ee;
}

.agent-field-status {
  color: #cfe0ff;
}

.home-hero-visual.agent-field-visual figcaption {
  color: #ffffff;
}

.home-hero-visual.agent-field-visual figcaption span {
  color: #bcd6ff;
}

/* Hero in-page demo components: light glass cards on the blue hero. */
.runtime-window,
.services-hero-list {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(4, 18, 48, 0.32);
}

.runtime-toolbar,
.runtime-status,
.services-hero-list ol,
.services-hero-list li {
  border-color: #e2e8f0;
}

.runtime-toolbar b,
.runtime-status time,
.runtime-source span,
.runtime-output span,
.services-hero-list > p,
.services-hero-list small {
  color: #6b7785;
}

.runtime-status {
  color: #45505c;
}

.runtime-source b,
.runtime-output b,
.runtime-agents b {
  color: #2b3641;
  background: #f3f6fb;
  border-color: #dce4ee;
}

.runtime-agents b:last-child {
  color: #ffffff;
  background: #0041ce;
  border-color: #0041ce;
}

.runtime-bus {
  color: #0041ce;
  border-color: #9bbce4;
}

.services-hero-list strong {
  color: #141414;
}

.services-hero-list .service-panel-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.service-panel-label span {
  color: #6b7785;
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
}

.service-panel-label strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
}

/* DIOS logo keeps its brand colors; sit it on a soft white chip so it reads
   on the deep-blue hero without desaturating it. */
.dios-hero-logo {
  width: 150px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

/* ---- Content canvas: a SINGLE color (white) everywhere --------------------- */
.home-foundation,
.home-scenarios,
.home-story,
.home-news,
.home-contact,
.thesis-band,
.film-band,
.capability-band,
.scenario-showcase-band,
.system-examples-band,
.company-band-new,
.contact-band-new,
.architecture-band,
.build-band,
.agent-types-band,
.terminal-cta,
.partner-band,
.cooperation-band,
.service-capability-band,
.dios-why,
.dios-scenes-band,
.problem-band,
.workflow-band {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.gallery-band {
  background: #ffffff;
}

/* All cards & inner surfaces sit on white with a quiet border. */
.capability-list-home,
.agent-type-grid,
.partner-grid,
.cooperation-path,
.build-layout,
.company-facts,
.contact-details,
.cooperation-note {
  background: #ffffff;
  border-color: var(--line);
}

.agent-type-grid article,
.partner-card,
.cooperation-path li,
.news-feature-media,
.news-brief-media,
.home-scenario-card,
.home-news-primary figure,
.home-news-feature figure,
.home-news-brief figure,
.home-film video {
  background: #ffffff;
  border-color: var(--line);
}

/* TDengine reason-card feel: white card, soft border, blue hover accent. */
.home-scenario-card {
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  box-shadow: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.home-scenario-card:hover {
  border-color: #0041ce;
  box-shadow: 0 10px 26px rgba(0, 65, 206, 0.1);
  transform: translateY(-3px);
}

/* Section headings keep the dark ink on white. */
.home-section-heading h2,
.home-contact h2,
.build-band .section-heading h2,
.agent-types-band .section-heading h2,
.partner-band .section-heading h2,
.cooperation-band .section-heading h2,
.capability-intro h2,
.architecture-copy h2,
.company-new-copy h2,
.contact-band-new .contact-heading h2,
.showcase-heading h2,
.film-intro h2,
.terminal-cta h2,
.problem-card h3 {
  color: var(--ink);
}

.foundation-lead,
.section-lead,
.home-section-heading-row > p,
.foundation-list p,
.home-news-primary > p,
.home-news-feature > p,
.architecture-legend dd,
.capability-list-home p,
.service-capability-rows p,
.partner-card > p,
.cooperation-path p,
.dios-proof-grid p,
.agent-type-grid p,
.workflow-step p,
.showcase-heading > p:last-child {
  color: var(--muted);
}

.section-kicker,
.eyebrow,
.eyebrow-light,
.foundation-list span,
.home-scenario-copy > p,
.text-link,
.text-link-light,
.route-link {
  color: var(--brand);
}

.text-link:hover,
.text-link-light:hover,
.route-link:hover,
.home-film-links a:hover,
.home-film-links a:focus-visible {
  color: var(--brand-deep);
}

.home-film-links a {
  color: var(--brand);
}

/* Primary buttons across content (non-hero) use the TDengine blue. */
.button-primary {
  color: #ffffff;
  background: #0041ce;
  border-color: #0041ce;
  border-radius: 7px;
}

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

.button-outline-dark {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.button-outline-dark:hover {
  color: #ffffff;
  background: #0041ce;
  border-color: #0041ce;
}

/* Back-to-top stays readable on white content. */
.back-to-top {
  color: #ffffff;
  background: #0041ce;
  border-color: #0041ce;
}

.back-to-top:hover,
.back-to-top:active {
  color: #ffffff;
  background: #0035a8;
  border-color: #0035a8;
}

/* ---- Footer: neutral near-black, matching the reference -------------------- */
.site-footer {
  padding-bottom: 0;
  color: #b8b8b8;
  background: var(--footer-black);
  border-top: 1px solid #2f2f2f;
}

.site-footer .footer-identity img {
  filter: brightness(0) invert(1);
}

.footer-top .footer-identity {
  align-items: center;
  gap: 16px;
  color: #ffffff;
  text-decoration: none;
}

.footer-company-name {
  max-width: 11em;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.footer-top .footer-tagline {
  color: #b8b8b8;
  font-weight: 400;
  line-height: 1.8;
}

.site-footer .footer-column-title {
  color: #ffffff;
}

.site-footer .footer-column-title > span,
.site-footer .footer-column-title > small {
  display: block;
}

.site-footer .footer-column-title > span {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.site-footer .footer-column-title > small {
  margin-top: 5px;
  color: #7f7f7f;
  font-family: var(--font-utility);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.site-footer .footer-column-title::before {
  background: #3b82f6;
}

.footer-top .footer-nav a,
.site-footer .footer-nav a,
.site-footer .footer-contact a:not([href^="tel:"]) {
  color: #b8b8b8;
  transition: color 180ms ease;
}

.footer-top .footer-nav a:hover,
.footer-top .footer-nav a:focus-visible,
.footer-top .footer-nav a[aria-current="page"],
.site-footer .footer-nav a:hover,
.site-footer .footer-contact a:hover {
  color: #ffffff;
  transform: none;
}

.footer-top .footer-contact p,
.site-footer .footer-contact p,
.site-footer p {
  color: #b8b8b8;
}

.footer-top .footer-contact a[href^="tel:"] {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #3a3a3a;
}

.footer-bottom p,
.footer-bottom .footer-meta {
  color: #8f8f8f;
}

/* ---- Responsive adjustments ------------------------------------------------ */
/* The mobile header retains the pale hero field; the opened drawer stays white. */
@media (max-width: 1060px) {
  .site-header,
  .site-header.is-scrolled {
    background: var(--hero-sky);
    border-bottom-color: rgba(0, 65, 206, 0.12);
    backdrop-filter: none;
  }

  body.nav-open .site-header {
    background: #ffffff;
  }

  .site-header .nav-link {
    color: var(--ink);
  }

  .site-header .nav-link:hover,
  .site-header .nav-link:focus-visible,
  .site-header .nav-link[aria-current="page"] {
    color: var(--brand);
  }

  .site-header .nav-link::after {
    background: var(--brand);
  }

  .site-header .brand-link img,
  .site-header .brand-mark {
    width: 100px;
    filter: none;
  }

  .site-header.is-scrolled .nav-contact,
  .site-header .nav-contact {
    color: #ffffff;
    background: #0041ce;
    border-color: #0041ce;
  }

  .site-header .nav-contact:hover {
    background: #0035a8;
    border-color: #0035a8;
  }

  .nav-toggle {
    color: var(--ink);
    border-color: #9aabba;
  }

  .js .site-nav {
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(16, 34, 56, 0.1);
  }

  .js .site-nav .nav-link {
    color: var(--ink);
  }

  .js .site-nav .nav-link:hover,
  .js .site-nav .nav-link[aria-current="page"] {
    color: var(--brand);
  }

  /* Keep the home hero's blue gradient on stacked layout too. */
  .home-hero-reframed,
  .dios-hero,
  .services-hero {
    background: var(--td-hero-grad);
  }
}

@media (max-width: 560px) {
  .brand-link {
    gap: 10px;
  }

  .site-header .brand-link img,
  .site-header .brand-mark {
    width: 88px;
  }

  .brand-copy {
    gap: 3px;
    padding-left: 10px;
  }

  .brand-copy::before {
    height: 28px;
  }

  .brand-copy strong {
    font-size: 0.74rem;
  }

  .brand-copy small {
    font-size: 0.5rem;
  }

  .hero-label {
    gap: 8px;
    margin-bottom: 18px;
  }

  .hero-label > strong {
    gap: 8px;
    font-size: 0.72rem;
  }

  .hero-label > strong::before {
    width: 12px;
  }

  .footer-top .footer-identity {
    gap: 13px;
  }

  .footer-company-name {
    font-size: 0.84rem;
  }
}

@media (max-width: 360px) {
  .site-header .brand-link img,
  .site-header .brand-mark {
    width: 82px;
  }

  .brand-copy strong {
    font-size: 0.68rem;
  }

  .brand-copy small {
    display: none;
  }
}

/* Keep the primary navigation action white in every header state. */
.site-header .site-nav .nav-contact,
.site-header.is-scrolled .site-nav .nav-contact,
.js .site-header .site-nav .nav-contact {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.site-header .site-nav .nav-contact:hover,
.site-header .site-nav .nav-contact:focus-visible,
.site-header.is-scrolled .site-nav .nav-contact:hover,
.site-header.is-scrolled .site-nav .nav-contact:focus-visible {
  color: #ffffff;
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

/* ===========================================================================
   Content and layout refinement
   The existing color system remains unchanged. This pass reduces competing
   visual elements and lets brand, product thesis, and contact information lead.
   =========================================================================== */
:root {
  --header-height: 76px;
}

.nav-shell {
  gap: clamp(22px, 3vw, 42px);
}

.site-header .brand-link img,
.site-header .brand-mark {
  width: 96px;
}

.brand-link {
  gap: 12px;
}

.brand-copy {
  gap: 3px;
  padding-left: 12px;
}

.brand-copy::before {
  width: 1px;
  height: 27px;
}

.brand-copy strong {
  font-size: 0.84rem;
}

.brand-copy small {
  font-size: 0.52rem;
}

.site-nav {
  gap: 6px;
}

.nav-link {
  padding-inline: 10px;
  font-size: 0.88rem;
}

.site-header .site-nav .nav-link:not(.nav-contact)::after {
  right: 10px;
  left: 10px;
  height: 2px;
}

/* Consultation is a navigation action, not a second primary button. */
.site-header .site-nav .nav-contact,
.site-header.is-scrolled .site-nav .nav-contact,
.js .site-header .site-nav .nav-contact {
  height: 40px;
  min-height: 40px;
  margin-left: 10px;
  padding: 0 0 0 20px;
  color: var(--brand);
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
}

.site-header .site-nav .nav-contact:hover,
.site-header .site-nav .nav-contact:focus-visible,
.site-header.is-scrolled .site-nav .nav-contact:hover,
.site-header.is-scrolled .site-nav .nav-contact:focus-visible {
  color: var(--brand-deep);
  background: transparent;
  border-color: var(--line-strong);
}

.site-header .site-nav .nav-contact svg {
  width: 16px;
  height: 16px;
}

/* Hero labels read as editorial context instead of filled badges. */
.hero-label {
  gap: 12px;
  margin-bottom: 20px;
}

.hero-label > span {
  min-height: 0;
  padding: 0;
  color: var(--brand);
  background: transparent;
  border-radius: 0;
  font-family: var(--font-utility);
  font-size: 0.7rem;
}

.hero-label > strong {
  gap: 12px;
  font-size: 0.78rem;
}

.hero-label > strong::before {
  width: 30px;
}

.keep-together {
  white-space: nowrap;
}

.home-hero-frame {
  grid-template-areas:
    "copy visual"
    "scope scope";
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  column-gap: clamp(48px, 6vw, 92px);
  row-gap: 40px;
  padding-block: 68px 28px;
}

.home-hero-reframed .home-hero-copy {
  grid-area: copy;
}

.home-hero-reframed .home-hero-lead {
  max-width: 590px;
}

.home-hero-actions {
  align-items: center;
  gap: 20px;
}

.hero-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-inline: 4px;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.hero-text-link:hover svg,
.hero-text-link:focus-visible svg {
  transform: translateX(3px);
}

.home-hero-visual {
  grid-area: visual;
  width: calc(100% + max(0px, calc((100vw - var(--shell-width)) / 2)));
  margin-right: calc(0px - max(0px, calc((100vw - var(--shell-width)) / 2)));
  border-right: 0;
  border-radius: 8px 0 0 8px;
  box-shadow: none;
}

.hero-route {
  width: 100%;
  max-width: none;
  grid-area: scope;
  display: grid;
  grid-template-columns: 120px repeat(3, minmax(0, 1fr));
  margin: 0;
  padding-top: 21px;
}

.hero-route > p {
  margin: 0;
  color: var(--brand);
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-route span,
.hero-route span + span {
  min-width: 0;
  padding: 0 24px;
}

.hero-route span:first-of-type {
  padding-left: 0;
}

.hero-route span:last-child {
  padding-right: 0;
}

.hero-route b {
  font-size: 0.82rem;
}

.hero-route small {
  font-size: 0.73rem;
}

.runtime-window,
.services-hero-list {
  border-radius: 8px;
  box-shadow: none;
}

/* Text-led footer identity replaces the raster logo at small display sizes. */
.footer-top {
  grid-template-columns: minmax(330px, 1.75fr) minmax(120px, 0.65fr) minmax(120px, 0.65fr) minmax(230px, 1fr);
  gap: clamp(36px, 5vw, 72px);
  padding-block: 68px 54px;
}

.footer-top .footer-identity {
  display: grid;
  justify-items: start;
  gap: 7px;
  margin-bottom: 25px;
}

.footer-top .footer-wordmark {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.68rem;
  font-weight: 700;
  line-height: 1;
}

.footer-top .footer-wordmark-en {
  color: #8f8f8f;
  font-family: var(--font-utility);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.footer-top .footer-tagline {
  max-width: 38ch;
  font-size: 0.9rem;
  line-height: 1.85;
}

.site-footer .footer-column-title {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.site-footer .footer-column-title::before {
  display: none;
}

.footer-top .footer-nav a {
  margin-bottom: 14px;
}

@media (max-width: 1280px) {
  .home-hero-visual {
    width: 100%;
    margin-right: 0;
    border-right: 1px solid rgba(0, 65, 206, 0.18);
    border-radius: 8px;
  }
}

/* Let the footer columns collapse before their minimum widths compete. */
@media (max-width: 1160px) {
  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 32px;
  }

  .footer-top .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-top .footer-tagline {
    max-width: 48ch;
  }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 32px;
    padding-block: 54px 44px;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 46px 36px;
  }

  .footer-top .footer-brand {
    grid-column: auto;
  }

  .footer-top .footer-tagline {
    max-width: 36ch;
  }

  .footer-bottom {
    padding-block: 18px 22px;
  }
}

/* Bring the product story into the first viewport without changing its palette. */
@media (min-width: 1061px) {
  .home-foundation {
    padding-top: clamp(76px, 6vw, 96px);
  }

  .dios-hero-grid {
    padding-block: 46px 42px;
  }

  .dios-page .architecture-band {
    padding-top: clamp(76px, 6vw, 88px);
  }
}

@media (max-width: 1060px) {
  .site-header .brand-link img,
  .site-header .brand-mark {
    width: 90px;
  }

  .site-header .site-nav .nav-contact,
  .site-header.is-scrolled .site-nav .nav-contact,
  .js .site-header .site-nav .nav-contact {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 50px;
    margin: 12px 0 0;
    padding: 14px 0 0;
    justify-content: space-between;
    color: var(--brand);
    background: transparent;
    border: 0;
  }

  .home-hero-frame {
    grid-template-areas:
      "copy"
      "visual"
      "scope";
    grid-template-columns: 1fr;
    row-gap: 34px;
    padding-block: 60px 30px;
  }

  .hero-route {
    grid-template-columns: 100px repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header .brand-link img,
  .site-header .brand-mark {
    width: 82px;
  }

  .brand-copy {
    padding-left: 9px;
  }

  .brand-copy strong {
    font-size: 0.74rem;
  }

  .hero-label > strong::before {
    width: 20px;
  }

  .home-hero-frame {
    row-gap: 30px;
    padding-block: 48px 24px;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-text-link {
    justify-content: center;
  }

  .hero-route {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 0;
  }

  .hero-route > p {
    grid-column: 1 / -1;
  }

  .hero-route span,
  .hero-route span + span {
    padding-inline: 10px;
  }

  .hero-route span:first-of-type {
    padding-left: 0;
  }

  .hero-route span:last-child {
    padding-right: 0;
  }

  .footer-top .footer-identity {
    gap: 6px;
  }

  .footer-top .footer-wordmark {
    font-size: 1.48rem;
  }
}

@media (max-width: 360px) {
  .site-header .brand-link img,
  .site-header .brand-mark {
    width: 76px;
  }
}

/* -------------------------------------------------------------------------
   Narrative hero refinement
   Each first screen now explains a different part of the same system:
   outcome on the homepage, runtime mechanism on DIOS, and delivery path in
   services. The existing palette remains untouched.
   ------------------------------------------------------------------------- */
.brand-copy {
  gap: 0;
}

.brand-copy strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.home-hero-frame {
  grid-template-areas: "copy visual";
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  min-height: 600px;
  row-gap: 0;
  padding-block: 60px;
}

.home-hero-reframed .home-hero-lead {
  max-width: 510px;
  font-size: 1rem;
}

.home-hero-visual {
  min-height: 480px;
  overflow: hidden;
}

.home-hero-visual img {
  min-height: 480px;
}

.home-hero-visual .hero-route {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  min-height: 106px;
  display: grid;
  grid-template-columns: 142px repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 17px 28px 18px;
  background: rgba(4, 17, 34, 0.78);
  border-top: 1px solid rgba(173, 205, 239, 0.32);
}

.home-hero-visual .hero-route > p {
  align-self: center;
  margin: 0;
  color: #9fc6fb;
  font-size: 0.64rem;
  line-height: 1.45;
}

.home-hero-visual .hero-route span,
.home-hero-visual .hero-route span + span {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 0 18px;
  border-left: 1px solid rgba(173, 205, 239, 0.3);
}

.home-hero-visual .hero-route span:first-of-type {
  padding-left: 18px;
}

.home-hero-visual .hero-route span:last-child {
  padding-right: 0;
}

.home-hero-visual .hero-route b {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.home-hero-visual .hero-route small {
  color: #b7cce3;
  font-size: 0.68rem;
  line-height: 1.45;
}

.dios-hero h1 em,
.services-hero h1 em {
  color: var(--brand);
  font-style: normal;
}

.dios-hero .runtime-window {
  border-top: 3px solid var(--brand);
}

.dios-hero .runtime-toolbar {
  height: 40px;
}

.dios-hero .runtime-status {
  padding-block: 11px;
}

.dios-hero .runtime-flow {
  min-height: 400px;
  gap: 14px;
  padding: 24px;
}

.dios-hero .runtime-source b,
.dios-hero .runtime-output b,
.dios-hero .runtime-agents b {
  padding-block: 10px;
}

.dios-hero-path {
  display: none;
}

.site-footer .footer-column-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.site-footer .footer-column-title > span {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: inherit;
  font-weight: inherit;
}

.site-footer .footer-column-title > small {
  display: block;
  margin: 0;
  color: #718096;
  font-family: var(--font-utility);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1060px) {
  .home-hero-frame {
    grid-template-areas:
      "copy"
      "visual";
    grid-template-columns: 1fr;
    min-height: 0;
    row-gap: 32px;
    padding-block: 54px 48px;
  }

  .home-hero-visual {
    min-height: 420px;
  }

  .home-hero-visual img {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .brand-copy strong {
    font-size: 0.78rem;
  }

  .home-hero-frame {
    row-gap: 28px;
    padding-block: 42px 44px;
  }

  .home-hero-visual,
  .home-hero-visual img {
    min-height: 300px;
  }

  .home-hero-visual .hero-route {
    min-height: 92px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 12px 10px;
  }

  .home-hero-visual .hero-route > p,
  .home-hero-visual .hero-route small {
    display: none;
  }

  .home-hero-visual .hero-route span,
  .home-hero-visual .hero-route span + span,
  .home-hero-visual .hero-route span:first-of-type,
  .home-hero-visual .hero-route span:last-child {
    padding: 0 8px;
  }

  .home-hero-visual .hero-route b {
    font-size: 0.7rem;
    line-height: 1.45;
    text-align: center;
  }

  .dios-hero-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
    padding-block: 14px;
    border-top: 1px solid rgba(0, 65, 206, 0.22);
    border-bottom: 1px solid rgba(0, 65, 206, 0.16);
  }

  .dios-hero-path span {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding-inline: 9px;
    border-left: 1px solid rgba(0, 65, 206, 0.16);
  }

  .dios-hero-path span:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .dios-hero-path span:last-child {
    padding-right: 0;
  }

  .dios-hero-path b {
    color: var(--ink);
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .dios-hero-path small {
    color: var(--muted);
    font-size: 0.64rem;
    line-height: 1.45;
  }

  .services-hero-list small {
    display: block;
    margin-top: 5px;
    font-size: 0.72rem;
    line-height: 1.45;
  }

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

  .footer-top .footer-brand,
  .footer-top .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-top .footer-contact {
    padding-top: 2px;
  }
}

/* -------------------------------------------------------------------------
   Homepage hero optimization
   Sharper first-screen hierarchy with a lighter proof strip and a more
   deliberate industrial visual frame.
   ------------------------------------------------------------------------- */
.home-hero-reframed {
  background:
    linear-gradient(105deg, rgba(234, 244, 255, 0.98) 0%, rgba(234, 244, 255, 0.96) 42%, rgba(218, 235, 255, 0.9) 100%),
    var(--hero-sky);
}

.home-hero-reframed::before {
  opacity: 0.62;
  background-image:
    linear-gradient(rgba(0, 65, 206, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 65, 206, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.8) 44%, transparent 82%);
}

.home-hero-reframed::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 65, 206, 0.2), transparent);
  content: "";
}

.home-hero-frame {
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(46px, 5.8vw, 96px);
  min-height: 604px;
  padding-block: 58px;
}

.home-hero-reframed h1 {
  max-width: 640px;
  margin-bottom: 22px;
  color: #061528;
  font-size: clamp(3.45rem, 4.45vw, 4.55rem);
  font-weight: 780;
  line-height: 1.05;
}

.home-hero-reframed h1 em {
  display: inline-block;
  color: #0041ce;
  white-space: nowrap;
}

.home-hero-reframed .home-hero-lead {
  max-width: 560px;
  margin-bottom: 22px;
  color: #42536a;
  font-size: 1.03rem;
}

.home-hero-proof {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
  border-top: 1px solid rgba(0, 65, 206, 0.16);
  border-bottom: 1px solid rgba(0, 65, 206, 0.12);
}

.home-hero-proof span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 14px 18px 14px 0;
}

.home-hero-proof span + span {
  padding-left: 18px;
  border-left: 1px solid rgba(0, 65, 206, 0.13);
}

.home-hero-proof b,
.home-hero-proof small {
  display: block;
  line-height: 1.35;
}

.home-hero-proof b {
  color: #0a1828;
  font-size: 0.86rem;
  font-weight: 750;
}

.home-hero-proof small {
  color: #6d7e94;
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 650;
}

.home-hero-actions {
  margin-top: 0;
}

.home-hero-reframed .button-primary {
  min-width: 178px;
  box-shadow: 0 14px 32px rgba(0, 65, 206, 0.2);
}

.home-hero-visual {
  min-height: 500px;
  border: 1px solid rgba(0, 65, 206, 0.22);
  border-top: 3px solid #16b8ff;
  border-radius: 10px;
  box-shadow: 0 26px 60px rgba(11, 34, 67, 0.16);
}

.home-hero-visual::before {
  z-index: 2;
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(1, 10, 24, 0.78) 0%, rgba(1, 10, 24, 0.24) 44%, transparent 68%),
    linear-gradient(180deg, rgba(6, 18, 34, 0.04), rgba(6, 18, 34, 0.25));
}

.home-hero-visual::after {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 22px;
  width: min(280px, calc(100% - 44px));
  height: 38px;
  border: 1px solid rgba(141, 197, 255, 0.28);
  background: rgba(3, 18, 38, 0.64);
  content: "FIELD RUNTIME ONLINE   42ms";
  color: #b7d8ff;
  font-family: var(--font-utility);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

.home-hero-visual img {
  min-height: 500px;
  filter: saturate(1.08) contrast(1.04);
}

.home-hero-visual .hero-route {
  min-height: 112px;
  background: rgba(2, 15, 31, 0.86);
  backdrop-filter: blur(12px) saturate(130%);
}

.home-hero-visual .hero-route b {
  font-size: 0.8rem;
}

@media (max-width: 1280px) {
  .home-hero-frame {
    grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  }
}

@media (max-width: 1060px) {
  .home-hero-frame {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 30px;
    padding-block: 50px 46px;
  }

  .home-hero-reframed .home-hero-copy {
    max-width: 760px;
  }

  .home-hero-reframed h1 {
    max-width: 760px;
    font-size: clamp(3.08rem, 7.1vw, 4.25rem);
  }

  .home-hero-proof {
    width: min(100%, 620px);
  }

  .home-hero-visual,
  .home-hero-visual img {
    min-height: 390px;
  }
}

@media (max-width: 640px) {
  .home-hero-frame {
    gap: 24px;
    padding-block: 36px 38px;
  }

  .hero-label {
    margin-bottom: 14px;
  }

  .home-hero-reframed h1 {
    margin-bottom: 18px;
    font-size: clamp(2.58rem, 10.9vw, 3rem);
    line-height: 1.08;
  }

  .home-hero-reframed .home-hero-lead {
    margin-bottom: 17px;
    font-size: 0.95rem;
    line-height: 1.78;
  }

  .home-hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 22px;
  }

  .home-hero-proof span,
  .home-hero-proof span + span {
    padding: 10px 8px;
  }

  .home-hero-proof span:first-child {
    padding-left: 0;
  }

  .home-hero-proof span:last-child {
    padding-right: 0;
  }

  .home-hero-proof b {
    font-size: 0.72rem;
    text-align: center;
  }

  .home-hero-proof small {
    display: none;
  }

  .home-hero-reframed .button-primary {
    min-width: 0;
  }

  .home-hero-visual,
  .home-hero-visual img {
    min-height: 286px;
  }

  .home-hero-visual::after {
    top: 14px;
    left: 14px;
    width: 188px;
    height: 30px;
    font-size: 0.56rem;
    line-height: 28px;
  }

  .home-hero-visual .hero-route {
    min-height: 76px;
    padding: 10px 8px;
  }
}

@media (max-width: 360px) {
  .home-hero-reframed h1 {
    font-size: 2.42rem;
  }

  .home-hero-proof b {
    font-size: 0.68rem;
  }
}

/* -------------------------------------------------------------------------
   Homepage core capabilities
   Six product capabilities presented as one connected DIOS runtime.
   ------------------------------------------------------------------------- */
.home-capabilities {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 9vw, 132px);
  background: #f5f8fc;
}

.home-capabilities-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: clamp(56px, 9vw, 136px);
  align-items: end;
  margin-bottom: 38px;
}

.home-capabilities-heading h2 {
  max-width: 720px;
  color: #061528;
  font-size: clamp(2.25rem, 3.2vw, 3.25rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.home-capabilities-intro {
  max-width: 560px;
  justify-self: end;
}

.home-capabilities-intro > p {
  margin: 0 0 20px;
  color: #526278;
  font-size: 0.98rem;
  line-height: 1.86;
}

.home-capabilities-intro .text-link {
  font-size: 0.9rem;
  font-weight: 700;
}

.home-capability-rail {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  color: #60738a;
  font-family: var(--font-utility);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
}

.home-capability-rail::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #20a879;
  box-shadow: 0 0 0 4px rgba(32, 168, 121, 0.12);
  content: "";
}

.home-capability-rail::after {
  height: 1px;
  flex: 1 1 auto;
  background: #b9c7d8;
  content: "";
}

.home-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-capability-card {
  --cap-accent: #0064b4;
  --cap-media: #edf6ff;
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #ccd7e4;
  border-top: 3px solid var(--cap-accent);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 42, 72, 0.055);
  transition: border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}

.home-capability-card:nth-child(2) {
  --cap-accent: #14775f;
  --cap-media: #edf8f3;
}

.home-capability-card:nth-child(3) {
  --cap-accent: #5b58a5;
  --cap-media: #f1f0fb;
}

.home-capability-card:nth-child(4) {
  --cap-accent: #0b7180;
  --cap-media: #edf8fa;
}

.home-capability-card:nth-child(5) {
  --cap-accent: #9a5a18;
  --cap-media: #fbf4e9;
}

.home-capability-card:nth-child(6) {
  --cap-accent: #a63e49;
  --cap-media: #fbf0f1;
}

.home-capability-copy {
  min-height: 294px;
  display: flex;
  flex-direction: column;
  padding: 27px 27px 25px;
}

.home-capability-code {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 13px;
  color: var(--cap-accent);
  font-family: var(--font-utility);
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0;
}

.home-capability-code::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.home-capability-card h3 {
  margin: 0 0 12px;
  color: #0a1828;
  font-size: 1.32rem;
  font-weight: 750;
  line-height: 1.34;
  letter-spacing: 0;
}

.home-capability-description {
  margin: 0;
  color: #536378;
  font-size: 0.9rem;
  line-height: 1.78;
}

.home-capability-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: auto 0 0;
  padding: 17px 0 0;
  border-top: 1px solid #e1e7ee;
  list-style: none;
}

.home-capability-facts li {
  position: relative;
  padding-left: 10px;
  color: #33465d;
  font-size: 0.74rem;
  font-weight: 680;
  line-height: 1.5;
}

.home-capability-facts li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--cap-accent);
  content: "";
}

.home-capability-media {
  position: relative;
  height: 214px;
  margin: 0;
  overflow: hidden;
  background: var(--cap-media);
  border-top: 1px solid #dce4ed;
}

.home-capability-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.025);
  transition: transform 620ms var(--ease), filter 260ms ease;
}

.home-capability-card:nth-child(4) .home-capability-media img {
  object-position: center;
}

.home-capability-card:nth-child(3) .home-capability-media img {
  object-fit: cover;
  object-position: center;
}

.home-capability-card:nth-child(5) .home-capability-media img {
  object-position: center 54%;
}

.home-capability-card:nth-child(6) .home-capability-media img {
  object-position: center top;
}

@media (hover: hover) and (pointer: fine) {
  .home-capability-card:hover {
    border-color: #aebfd2;
    box-shadow: 0 20px 46px rgba(15, 42, 72, 0.1);
  }

  .home-capability-card:hover .home-capability-media img {
    filter: saturate(1.03) contrast(1.035);
    transform: scale(1.025);
  }
}

@media (max-width: 1100px) {
  .home-capabilities-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .home-capabilities-intro {
    max-width: 720px;
    justify-self: start;
  }

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

@media (max-width: 760px) {
  .home-capabilities {
    padding-block: 72px;
  }

  .home-capabilities-heading {
    margin-bottom: 30px;
  }

  .home-capabilities-heading h2 {
    font-size: 2.05rem;
  }

  .home-capability-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-capability-copy {
    min-height: 0;
  }

  .home-capability-facts {
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .home-capabilities {
    padding-block: 64px;
  }

  .home-capabilities-heading h2 {
    font-size: 1.86rem;
  }

  .home-capabilities-intro > p {
    font-size: 0.93rem;
  }

  .home-capability-rail {
    gap: 12px;
    font-size: 0.62rem;
  }

  .home-capability-copy {
    padding: 23px 21px 22px;
  }

  .home-capability-card h3 {
    font-size: 1.22rem;
  }

  .home-capability-description {
    font-size: 0.86rem;
  }

  .home-capability-media {
    height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-capability-card,
  .home-capability-media img {
    transition: none;
  }
}

/* -------------------------------------------------------------------------
   Homepage precision pass
   A restrained type scale, tighter section rhythm, and quieter cards bring
   the homepage closer to the visual density of the IDMP reference.
   ------------------------------------------------------------------------- */
body[data-page="home"] {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

body[data-page="home"] :where(h1, h2, h3, h4, p, a, button, li, span, small, strong, time) {
  letter-spacing: 0;
}

body[data-page="home"] :where(h1, h2, h3, h4, button, .button, .nav-link, .text-link, .hero-text-link, .home-film-links a) {
  font-family: var(--font-body);
}

body[data-page="home"] :where(
  .home-film-section,
  .home-capabilities,
  .home-scenarios,
  .home-news,
  .home-contact
) > .shell {
  max-width: 1200px;
}

/* Hero */
body[data-page="home"] .home-hero-frame {
  grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);
  gap: clamp(40px, 5vw, 76px);
  min-height: 560px;
  padding-block: 46px;
}

body[data-page="home"] .home-hero-reframed h1 {
  max-width: 610px;
  margin-bottom: 19px;
  font-size: clamp(2.5rem, 3.4vw, 3.15rem);
  font-weight: 650;
  line-height: 1.1;
}

body[data-page="home"] .home-hero-reframed .hero-title-line {
  display: block;
  white-space: nowrap;
}

body[data-page="home"] .home-hero-reframed h1 em {
  font-weight: inherit;
}

body[data-page="home"] .hero-label {
  margin-bottom: 16px;
}

body[data-page="home"] .home-hero-reframed .home-hero-lead {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: 0.94rem;
  line-height: 1.78;
}

body[data-page="home"] .home-hero-proof {
  width: min(100%, 520px);
  margin-bottom: 22px;
  border-top: 0;
  border-bottom: 0;
}

body[data-page="home"] .home-hero-proof span {
  gap: 2px;
  padding: 0 15px 0 0;
}

body[data-page="home"] .home-hero-proof span + span {
  padding-left: 15px;
}

body[data-page="home"] .home-hero-proof b {
  font-size: 0.8rem;
  font-weight: 600;
}

body[data-page="home"] .home-hero-proof small {
  font-size: 0.65rem;
  font-weight: 500;
}

body[data-page="home"] .home-hero-actions {
  gap: 17px;
}

body[data-page="home"] .home-hero-reframed .button-primary {
  min-width: 168px;
  box-shadow: none;
}

body[data-page="home"] .hero-text-link {
  font-size: 0.86rem;
  font-weight: 600;
}

body[data-page="home"] .home-hero-visual,
body[data-page="home"] .home-hero-visual img {
  min-height: 460px;
}

body[data-page="home"] .home-hero-visual {
  border-width: 1px;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(11, 34, 67, 0.1);
}

body[data-page="home"] .home-hero-visual .hero-route {
  min-height: 94px;
  grid-template-columns: 126px repeat(3, minmax(0, 1fr));
  padding: 0 22px;
  border-top: 0;
}

body[data-page="home"] .home-hero-visual .hero-route > p {
  font-size: 0.6rem;
}

body[data-page="home"] .home-hero-visual .hero-route span,
body[data-page="home"] .home-hero-visual .hero-route span + span {
  position: relative;
  padding-inline: 15px;
  border: 0;
}

body[data-page="home"] .home-hero-visual .hero-route span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 40px;
  background: rgba(173, 205, 239, 0.3);
  content: "";
  transform: translateY(-50%);
}

body[data-page="home"] .home-hero-visual .hero-route b {
  font-size: 0.74rem;
  font-weight: 600;
}

body[data-page="home"] .home-hero-visual .hero-route small {
  font-size: 0.64rem;
}

/* Shared homepage section rhythm */
body[data-page="home"] :where(.home-film-section, .home-capabilities, .home-scenarios, .home-news) {
  padding-block: clamp(82px, 7vw, 100px);
}

body[data-page="home"] .home-contact {
  padding-block: clamp(62px, 5.5vw, 78px);
}

body[data-page="home"] .section-kicker {
  margin-bottom: 12px;
  font-size: 0.7rem;
  font-weight: 650;
}

body[data-page="home"] :where(
  .home-film-heading h2,
  .home-section-heading h2,
  .home-contact h2
) {
  font-size: clamp(2rem, 2.55vw, 2.4rem);
  font-weight: 600;
  line-height: 1.3;
}

body[data-page="home"] .home-section-heading-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin-bottom: 34px;
}

body[data-page="home"] .home-section-heading-row > p {
  max-width: 720px;
  justify-self: start;
  font-size: 0.88rem;
  line-height: 1.72;
}

/* Company film */
body[data-page="home"] .home-film-heading {
  margin-bottom: 28px;
}

body[data-page="home"] .home-film-links {
  gap: 10px 27px;
  margin-top: 16px;
}

body[data-page="home"] .home-film-links a {
  font-size: 0.84rem;
  font-weight: 600;
}

body[data-page="home"] .home-film-centered {
  width: min(100%, 760px);
}

body[data-page="home"] .home-film-centered video {
  border: 1px solid #d4dbe4;
  border-radius: 8px;
  box-shadow: none;
}

/* Core capabilities */
body[data-page="home"] .home-capabilities {
  background: #f6f8fb;
}

body[data-page="home"] .home-capabilities-heading {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 28px;
}

body[data-page="home"] .home-capabilities-heading h2 {
  max-width: none;
}

body[data-page="home"] .home-capabilities-intro > p {
  margin-bottom: 15px;
  font-size: 0.88rem;
  line-height: 1.72;
}

body[data-page="home"] .home-capabilities-intro > p:only-child {
  margin-bottom: 0;
}

@media (min-width: 761px) {
  body[data-page="home"] .home-capabilities-heading h2 {
    white-space: nowrap;
  }
}

body[data-page="home"] .home-capabilities-intro {
  width: 100%;
  max-width: 860px;
  justify-self: start;
}

body[data-page="home"] .home-capabilities-intro .text-link {
  font-size: 0.84rem;
  font-weight: 600;
}

body[data-page="home"] .home-capability-rail {
  gap: 13px;
  margin-bottom: 19px;
  font-size: 0.64rem;
  font-weight: 650;
}

body[data-page="home"] .home-capability-grid {
  gap: 20px;
}

body[data-page="home"] .home-capability-card {
  grid-template-rows: 1fr auto;
  border: 1px solid #cfd7e1;
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

body[data-page="home"] .home-capability-copy {
  min-height: 244px;
  padding: 22px 22px 18px;
}

body[data-page="home"] .home-capability-code {
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.66rem;
  font-weight: 650;
}

body[data-page="home"] .home-capability-card h3 {
  margin-bottom: 9px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

body[data-page="home"] .home-capability-description {
  font-size: 0.86rem;
  line-height: 1.7;
}

body[data-page="home"] .home-capability-facts {
  gap: 5px 12px;
  padding-top: 14px;
}

body[data-page="home"] .home-capability-facts li {
  font-size: 0.7rem;
  font-weight: 600;
}

body[data-page="home"] .home-capability-media {
  height: 172px;
  margin: 0 18px 18px;
  border: 1px solid #dce3eb;
  border-radius: 6px;
}

@media (hover: hover) and (pointer: fine) {
  body[data-page="home"] .home-capability-card:hover {
    border-color: #aeb9c7;
    box-shadow: 0 10px 24px rgba(15, 42, 72, 0.08);
    transform: translateY(-2px);
  }
}

/* Scenarios */
body[data-page="home"] .home-scenario-deck {
  height: 320px;
  gap: 10px;
}

body[data-page="home"] .home-scenario-deck .home-scenario-card {
  border-radius: 8px;
}

body[data-page="home"] .home-scenario-deck .home-scenario-card:hover {
  box-shadow: 0 10px 24px rgba(33, 76, 127, 0.12);
}

body[data-page="home"] .home-scenario-deck .home-scenario-copy {
  padding: 20px 16px 18px;
}

body[data-page="home"] .home-scenario-deck .home-scenario-copy > p {
  font-size: 0.66rem;
}

body[data-page="home"] .home-scenario-deck .home-scenario-copy h3 {
  font-size: 0.96rem;
  font-weight: 600;
}

body[data-page="home"] .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy {
  padding: 25px 24px 23px;
}

body[data-page="home"] .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
  font-weight: 600;
}

body[data-page="home"] .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy > span {
  font-size: 0.8rem;
  line-height: 1.68;
}

body[data-page="home"] .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy a {
  margin-top: 13px;
  font-size: 0.78rem;
}

body[data-page="home"] .scenario-deck-foot {
  margin-top: 20px;
  padding-top: 16px;
  font-size: 0.8rem;
}

body[data-page="home"] .scenario-deck-foot .text-link {
  font-size: 0.82rem;
  font-weight: 600;
}

/* News */
body[data-page="home"] .home-news-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(36px, 4vw, 52px);
}

body[data-page="home"] .home-news-primary {
  width: 100%;
  max-width: 460px;
}

body[data-page="home"] .home-news-primary figure {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 16 / 9;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  box-shadow: none;
}

body[data-page="home"] .home-news-brief figure {
  border: 1px solid #d8dee7;
}

body[data-page="home"] .home-news-meta {
  margin-top: 14px;
  font-size: 0.66rem;
  font-weight: 600;
}

body[data-page="home"] .home-news-primary h3 {
  font-size: 1.28rem;
  font-weight: 600;
}

body[data-page="home"] .home-news-feature h3 {
  max-width: 22ch;
  margin: 12px 0 10px;
  font-size: 1.34rem;
  font-weight: 600;
  line-height: 1.45;
}

body[data-page="home"] .home-news-primary > p,
body[data-page="home"] .home-news-feature > p {
  font-size: 0.82rem;
  line-height: 1.68;
}

body[data-page="home"] .home-news-secondary {
  align-content: start;
  gap: 0;
  border-top: 1px solid #bfc8d4;
}

body[data-page="home"] .home-news-feature {
  padding: 26px 0 29px;
  border-bottom: 1px solid #dfe5ec;
}

body[data-page="home"] .home-news-feature .home-news-meta {
  margin-top: 0;
}

body[data-page="home"] .home-news-list {
  gap: 0;
  padding-top: 0;
  border-top: 0;
}

body[data-page="home"] .home-news-brief {
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #dfe5ec;
}

body[data-page="home"] .home-news-brief figure {
  aspect-ratio: 16 / 9;
}

body[data-page="home"] .home-news-brief h3 {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.48;
  text-wrap: balance;
}

@media (min-width: 1061px) {
  body[data-page="home"] .home-news-layout {
    align-items: stretch;
  }

  body[data-page="home"] .home-news-primary {
    align-self: stretch;
    padding-bottom: 20px;
    border-bottom: 1px solid #dfe5ec;
  }
}

/* Contact and footer */
body[data-page="home"] .home-contact-grid {
  gap: clamp(56px, 8vw, 108px);
}

body[data-page="home"] .home-contact-copy > p:last-child {
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.72;
}

body[data-page="home"] .home-contact-details > div:not(.home-contact-actions) {
  padding-block: 16px;
}

body[data-page="home"] .home-contact-details p,
body[data-page="home"] .home-contact-details a:not(.button):not(.text-link) {
  font-size: 0.88rem;
  font-weight: 600;
}

body[data-page="home"] .home-contact-actions {
  gap: 18px;
  padding-top: 20px;
}

body[data-page="home"] .home-contact-actions .button {
  min-height: 44px;
}

body[data-page="home"] .footer-top {
  padding-block: 50px 40px;
}

body[data-page="home"] .footer-bottom {
  min-height: 54px;
  padding-block: 18px;
}

@media (max-width: 1280px) {
  body[data-page="home"] .home-hero-frame {
    grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  }
}

@media (max-width: 1180px) {
  body[data-page="home"] .home-news-brief {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  body[data-page="home"] .home-scenario-deck {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .home-scenario-deck .home-scenario-card,
  body[data-page="home"] .home-scenario-deck .home-scenario-card.is-active {
    min-height: 260px;
    grid-column: auto;
  }

  body[data-page="home"] .home-scenario-deck .home-scenario-copy,
  body[data-page="home"] .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy {
    display: block;
    padding: 22px 20px 19px;
  }

  body[data-page="home"] .home-scenario-deck .home-scenario-copy h3,
  body[data-page="home"] .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy h3 {
    margin-bottom: 8px;
    font-size: 1.12rem;
    writing-mode: horizontal-tb;
  }

  body[data-page="home"] .home-scenario-deck .home-scenario-copy > span,
  body[data-page="home"] .home-scenario-deck .home-scenario-copy a,
  body[data-page="home"] .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy > span,
  body[data-page="home"] .home-scenario-deck .home-scenario-card.is-active .home-scenario-copy a {
    max-height: none;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  body[data-page="home"] .home-scenario-deck .home-scenario-copy > span {
    max-width: 38ch;
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    line-height: 1.65;
  }

  body[data-page="home"] .home-scenario-deck .home-scenario-copy a {
    display: inline-flex;
    margin-top: 11px;
    color: #ffffff;
    font-size: 0.76rem;
  }
}

@media (max-width: 1100px) {
  body[data-page="home"] .home-capabilities-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 1060px) {
  body[data-page="home"] .home-hero-frame {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 42px;
  }

  body[data-page="home"] .home-hero-reframed h1 {
    max-width: 700px;
    font-size: clamp(2.85rem, 6.5vw, 3.55rem);
  }

  body[data-page="home"] .home-hero-visual,
  body[data-page="home"] .home-hero-visual img {
    min-height: 370px;
  }

  body[data-page="home"] .home-news-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-news-secondary {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
  }

  body[data-page="home"] .home-news-feature {
    padding-block: 24px;
    border-bottom: 0;
  }

  body[data-page="home"] .home-news-list {
    padding-left: 32px;
    border-left: 1px solid #dfe5ec;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] :where(.home-film-section, .home-capabilities, .home-scenarios, .home-news) {
    padding-block: 64px;
  }

  body[data-page="home"] .home-contact {
    padding-block: 58px;
  }

  body[data-page="home"] :where(
    .home-film-heading h2,
    .home-section-heading h2,
    .home-contact h2
  ) {
    font-size: 1.75rem;
    line-height: 1.34;
  }

  body[data-page="home"] .home-section-heading-row {
    gap: 14px;
    margin-bottom: 28px;
  }

  body[data-page="home"] .home-film-heading {
    margin-bottom: 24px;
  }

  body[data-page="home"] .home-capabilities-heading {
    margin-bottom: 24px;
  }

  body[data-page="home"] .home-capability-grid {
    gap: 16px;
  }

  body[data-page="home"] .home-capability-copy {
    min-height: 0;
    padding: 20px 18px 17px;
  }

  body[data-page="home"] .home-capability-facts {
    margin-top: 18px;
  }

  body[data-page="home"] .home-capability-media {
    height: 162px;
    margin: 0 16px 16px;
  }

  body[data-page="home"] .home-scenario-deck {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-scenario-deck .home-scenario-card,
  body[data-page="home"] .home-scenario-deck .home-scenario-card.is-active {
    min-height: 232px;
  }

  body[data-page="home"] .home-news-secondary {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body[data-page="home"] .home-news-feature {
    padding: 22px 0 24px;
    border-bottom: 1px solid #dfe5ec;
  }

  body[data-page="home"] .home-news-feature h3 {
    max-width: none;
    font-size: 1.16rem;
  }

  body[data-page="home"] .home-news-list {
    padding-left: 0;
    border-left: 0;
  }

  body[data-page="home"] .footer-top {
    padding-block: 42px 34px;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .home-hero-frame {
    gap: 20px;
    padding-block: 31px 34px;
  }

  body[data-page="home"] .hero-label {
    margin-bottom: 12px;
  }

  body[data-page="home"] .home-hero-reframed h1 {
    margin-bottom: 15px;
    font-size: clamp(2.25rem, 9.8vw, 2.65rem);
    line-height: 1.1;
  }

  body[data-page="home"] .home-hero-reframed .home-hero-lead {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  body[data-page="home"] .home-hero-proof {
    margin-bottom: 18px;
  }

  body[data-page="home"] .home-hero-proof span,
  body[data-page="home"] .home-hero-proof span + span {
    padding: 0 7px;
  }

  body[data-page="home"] .home-hero-proof span:first-child {
    padding-left: 0;
  }

  body[data-page="home"] .home-hero-proof span:last-child {
    padding-right: 0;
  }

  body[data-page="home"] .home-hero-actions {
    gap: 6px;
  }

  body[data-page="home"] .home-hero-visual,
  body[data-page="home"] .home-hero-visual img {
    min-height: 258px;
  }

  body[data-page="home"] .home-hero-visual .hero-route {
    min-height: 70px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 7px;
  }

  body[data-page="home"] .home-hero-visual .hero-route span,
  body[data-page="home"] .home-hero-visual .hero-route span + span,
  body[data-page="home"] .home-hero-visual .hero-route span:first-of-type,
  body[data-page="home"] .home-hero-visual .hero-route span:last-child {
    padding-inline: 7px;
  }

  body[data-page="home"] .home-hero-visual .hero-route span::before {
    height: 28px;
  }

  body[data-page="home"] .home-hero-visual .hero-route span:first-of-type::before {
    display: none;
  }

  body[data-page="home"] .home-hero-visual .hero-route b {
    font-size: 0.67rem;
  }

  body[data-page="home"] .home-capabilities-intro > p,
  body[data-page="home"] .home-section-heading-row > p,
  body[data-page="home"] .home-contact-copy > p:last-child {
    font-size: 0.84rem;
  }

  body[data-page="home"] .home-capability-description {
    font-size: 0.82rem;
  }

  body[data-page="home"] .home-capability-media {
    height: 154px;
  }

  body[data-page="home"] .home-news-brief {
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 14px;
  }

  body[data-page="home"] .home-news-brief h3 {
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  body[data-page="home"] .home-hero-reframed h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 380px) {
  body[data-page="home"] .home-hero-reframed h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 360px) {
  body[data-page="home"] .home-news-brief {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
  }

  body[data-page="home"] .home-news-brief h3 {
    font-size: 0.86rem;
  }
}

/* Homepage hero: inset runtime visual and restrained industrial-tech detail. */
body[data-page="home"] .home-hero-reframed::before {
  opacity: 0.82;
  background-image:
    linear-gradient(rgba(0, 65, 206, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 65, 206, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(22, 184, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 184, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 320px 320px, 320px 320px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 62%, rgba(0, 0, 0, 0.28) 100%);
}

body[data-page="home"] .home-hero-frame::before {
  position: absolute;
  top: 24px;
  right: 0;
  width: min(280px, 24vw);
  height: 7px;
  opacity: 0.5;
  background: repeating-linear-gradient(90deg, rgba(0, 65, 206, 0.66) 0 1px, transparent 1px 12px);
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 100%);
  pointer-events: none;
}

body[data-page="home"] .hero-label {
  gap: 14px;
  margin-bottom: 18px;
}

body[data-page="home"] .hero-label > span {
  color: #0041ce;
  font-size: 1.02rem;
  font-weight: 760;
  letter-spacing: 0;
}

body[data-page="home"] .hero-label > strong {
  gap: 14px;
  color: #243f5d;
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0;
}

body[data-page="home"] .hero-label > strong::before {
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, #0041ce, #16b8ff);
}

body[data-page="home"] .home-hero-visual {
  width: 100%;
  margin-right: 0;
  border: 1px solid rgba(0, 65, 206, 0.34);
  border-top: 2px solid #16b8ff;
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(11, 52, 103, 0.16);
}

body[data-page="home"] .home-hero-visual::before {
  background:
    linear-gradient(90deg, rgba(1, 10, 24, 0.76) 0%, rgba(1, 10, 24, 0.22) 44%, transparent 68%),
    linear-gradient(180deg, rgba(6, 18, 34, 0.04), rgba(6, 18, 34, 0.25)),
    linear-gradient(rgba(72, 177, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 177, 255, 0.075) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

body[data-page="home"] .home-hero-visual::after {
  border-color: rgba(141, 197, 255, 0.4);
  background:
    repeating-linear-gradient(90deg, rgba(22, 184, 255, 0.72) 0 1px, transparent 1px 10px) 0 100% / 100% 2px no-repeat,
    rgba(3, 18, 38, 0.76);
  box-shadow: 0 10px 24px rgba(0, 10, 28, 0.2);
}

@media (max-width: 1060px) {
  body[data-page="home"] .home-hero-frame::before {
    display: none;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .hero-label {
    gap: 11px;
    margin-bottom: 14px;
  }

  body[data-page="home"] .hero-label > span {
    font-size: 0.9rem;
  }

  body[data-page="home"] .hero-label > strong {
    gap: 11px;
    font-size: 0.84rem;
  }

  body[data-page="home"] .hero-label > strong::before {
    width: 26px;
  }
}

/* Final homepage detail pass: readable utility type, stronger overlays and stable type sizes. */
body[data-page="home"] .home-hero-reframed h1 {
  font-size: 50px;
  font-weight: 700;
}

body[data-page="home"] :where(
  .home-film-heading h2,
  .home-section-heading h2,
  .home-contact h2
) {
  font-size: 38px;
}

body[data-page="home"] :where(
  .home-capability-code,
  .home-capability-facts li,
  .home-scenario-deck .home-scenario-copy > p,
  .home-news-meta,
  .home-hero-proof small,
  .home-hero-visual .hero-route small
) {
  font-size: 12px;
}

body[data-page="home"] .home-scenario-deck .home-scenario-card figure::after {
  background: linear-gradient(180deg, rgba(5, 22, 43, 0.18) 12%, rgba(5, 24, 48, 0.68) 62%, rgba(3, 17, 35, 0.96) 100%);
}

body[data-page="home"] .home-scenario-deck .home-scenario-copy > span {
  color: #ffffff;
}

body[data-page="home"] .home-scenario-deck .home-scenario-copy a {
  align-items: center;
  min-height: 44px;
  max-height: 44px;
}

@media (max-width: 1060px) {
  body[data-page="home"] .home-hero-reframed h1 {
    font-size: 46px;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] :where(
    .home-film-heading h2,
    .home-section-heading h2,
    .home-contact h2
  ) {
    font-size: 28px;
  }

  body[data-page="home"] :where(
    .home-film-links a,
    .scenario-deck-foot .text-link,
    .home-contact-actions .text-link,
    .footer-nav a,
    .footer-contact a
  ) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .home-hero-reframed h1 {
    font-size: 34px;
  }
}

@media (max-width: 380px) {
  body[data-page="home"] .home-hero-reframed h1 {
    font-size: 27px;
  }
}

body[data-page="home"] .home-hero-copy .home-hero-proof small,
body[data-page="home"] .home-hero-visual .hero-route p,
body[data-page="home"] .home-hero-visual .hero-route small,
body[data-page="home"] .home-section-heading .section-kicker,
body[data-page="home"] .home-contact-copy .section-kicker,
body[data-page="home"] .home-capability-card .home-capability-code,
body[data-page="home"] .home-capability-card .home-capability-facts li,
body[data-page="home"] .home-scenario-deck .home-scenario-copy > p,
body[data-page="home"] .home-news-layout .home-news-meta {
  font-size: 12px !important;
}

body[data-page="home"] :is(h1, h2, h3, p, a, span, small, strong, li, time) {
  letter-spacing: 0 !important;
}

body[data-page="home"] .hero-label > span,
body[data-page="home"] .hero-label > strong {
  font-weight: 700;
}

body[data-page="home"] .brand-link {
  min-height: 44px;
}

body[data-page="home"] .nav-contact,
body[data-page="home"] .footer-identity {
  min-height: 44px;
}

@media (max-width: 760px) {
  body[data-page="home"] .home-contact-details > div:not(.home-contact-actions) a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
