:root {
  color-scheme: dark;
  --page-bg: #061225;
  --surface: #0a1930;
  --surface-soft: rgba(10, 25, 48, 0.82);
  --text: #f4f7fc;
  --muted: #c1ccdc;
  --accent: #08b9f2;
  --accent-strong: #82e1ff;
  --accent-blue: #2563eb;
  --accent-contrast: #061225;
  --control-bg: rgba(10, 25, 48, 0.9);
  --line: rgba(148, 185, 220, 0.2);
  --header-background: #0b3b78;
  --header-glass-highlight: rgba(255, 255, 255, 0.3);
  --header-text: #ffffff;
  --header-muted: #ffffff;
  --header-line: rgba(28, 60, 92, 0.2);
  --header-control-line: rgba(148, 185, 220, 0.2);
  --header-control-bg: rgba(10, 25, 48, 0.94);
  --header-control-muted: #c1ccdc;
  --header-selected-bg: #08b9f2;
  --header-selected-text: #061225;
  --header-focus: #82e1ff;
  --contrast-surface: #f4f7fc;
  --contrast-text: #061225;
  --contrast-muted: #40546b;
  --contrast-line: rgba(6, 18, 37, 0.16);
  --content-width: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 16px;
  --shadow: 0 18px 50px rgba(2, 6, 23, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--body-background,
    radial-gradient(circle at 82% 8%, rgba(37, 99, 235, 0.14), transparent 24rem),
    linear-gradient(180deg, #061225 0%, #0a1930 58%, #061225 100%));
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - var(--gutter) * 2), var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--text);
  color: var(--page-bg);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: var(--header-background);
  box-shadow: 0 8px 32px rgba(2, 6, 23, 0.1), inset 0 1px 0 var(--header-glass-highlight);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
}
.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--header-line) 12%, var(--header-line) 88%, transparent);
  filter: blur(1.5px);
  opacity: 1;
  pointer-events: none;
}

.header-inner {
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}
.header-menu { justify-self: end; }
.menu-toggle {
  width: 40px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--header-control-line);
  border-radius: 10px;
  background: var(--header-control-bg);
  color: var(--header-control-muted);
  cursor: pointer;
  touch-action: manipulation;
}
.menu-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.header-menu-panel {
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
  width: min(126px, 100%);
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.24);
}
.header-menu-panel[hidden] { display: none; }
.header-controls { display: grid; justify-items: start; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }

.brand-lockup {
  min-width: 120px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 160ms ease;
}
.brand-lockup:hover { opacity: 0.82; text-decoration: none; }
.brand-wordmark { display: block; width: min(52vw, 260px); max-width: 100%; height: auto; flex: 0 1 auto; }

.theme-picker {
  width: 92px;
  height: 46px;
  flex: 0 0 92px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 1px solid var(--header-control-line);
  border-radius: 999px;
  background: var(--header-control-bg);
}
.theme-option {
  width: 44px;
  flex: 0 0 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--header-control-muted);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}
.theme-option[aria-pressed="true"] { background: var(--header-selected-bg); color: var(--header-selected-text); }

.main-nav {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--header-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:hover { color: var(--header-text); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--header-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}
.nav-dropdown-toggle:hover { color: var(--header-text); }
.nav-dropdown-toggle::after {
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}
.nav-dropdown-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.nav-dropdown-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 10px);
  left: 0;
  width: max-content;
  min-width: 200px;
  max-width: calc(100vw - var(--gutter) * 2);
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.24);
}
.nav-dropdown-menu[hidden] { display: none; }
.main-nav .nav-dropdown-menu a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
}
.main-nav .nav-dropdown-menu a:hover,
.main-nav .nav-dropdown-menu a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--accent-strong);
}

.language-toggle {
  position: relative;
  width: 88px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  padding: 3px;
  border: 1px solid var(--header-control-line);
  border-radius: 999px;
  background: var(--header-control-bg);
  color: var(--header-control-muted);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}
.language-option { position: relative; z-index: 1; width: 40px; text-align: center; transition: color 180ms ease; }
.language-en { color: var(--header-selected-text); }
.language-thumb {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 44px;
  height: 34px;
  border-radius: 999px;
  background: var(--header-selected-bg);
  transition: transform 180ms ease;
}
.language-toggle[aria-checked="true"] .language-thumb { transform: translateX(40px); }
.language-toggle[aria-checked="true"] .language-en { color: var(--header-control-muted); }
.language-toggle[aria-checked="true"] .language-id { color: var(--header-selected-text); }

.site-header a:focus-visible, .site-header button:focus-visible {
  outline-color: var(--header-focus);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
  padding-block: 88px 96px;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset-block: 0;
  left: 50%;
  width: var(--hero-wave-width, 100vw);
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(6, 18, 37, 0.32), rgba(6, 18, 37, 0.12) 38%, transparent 74%),
    linear-gradient(180deg, rgba(6, 18, 37, 0.18), transparent 34%, transparent 78%, rgba(6, 18, 37, 0.1));
  pointer-events: none;
}
.particle-wave {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  width: var(--hero-wave-width, 100vw);
  height: var(--hero-wave-height, calc(100% + 220px));
  transform: translateX(-50%);
  pointer-events: none;
}
.hero > :not(.particle-wave) {
  position: relative;
  z-index: 2;
}

.eyebrow, .item-number, .comparison-label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 16px;
  font-size: clamp(44px, 6.2vw, 76px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.02;
  text-wrap: balance;
}
.accent-text {
  display: block;
  background: linear-gradient(90deg, var(--accent-strong), #93c5fd 55%, var(--accent-blue));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-tagline { margin: 0 0 10px; color: var(--text); font-size: 21px; font-weight: 700; }
.hero-description { max-width: 590px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.button {
  min-height: 48px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button-primary {
  background: linear-gradient(135deg, #0879ae, #2563eb);
  color: #fff;
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.24);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(37, 99, 235, 0.32); text-decoration: none; }
.button:active { transform: translateY(0); }

.button-secondary {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--text);
}
.button-secondary:hover { border-color: rgba(8, 185, 242, 0.6); }

.showcase {
  position: relative;
  min-width: 0;
  overflow: clip;
  padding: 18px;
  border: 1px solid rgba(148, 185, 220, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 86% 4%, rgba(8, 185, 242, 0.11), transparent 36%),
    linear-gradient(145deg, rgba(10, 25, 48, 0.96), rgba(6, 18, 37, 0.97));
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.38), 0 0 42px rgba(8, 185, 242, 0.07);
  backdrop-filter: blur(12px);
}
.showcase::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -100px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(8, 185, 242, 0.07);
  filter: blur(28px);
  pointer-events: none;
}
.showcase-heading { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.showcase-heading .eyebrow { font-size: 10px; }
.showcase-count { color: #a9bed5; font-size: 11px; font-weight: 750; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.showcase-stage { position: relative; height: 374px; margin: 12px 0 8px; overflow: hidden; }
.showcase-track {
  display: flex;
  width: 500%;
  height: 100%;
  transition: transform 700ms cubic-bezier(0.22, 0.68, 0, 1) 180ms;
}
.showcase-scene {
  position: relative;
  flex: 0 0 20%;
  width: 20%;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  pointer-events: none;
  transform: scale(0.96);
  transition: transform 180ms ease, opacity 180ms ease;
}
.showcase-scene[data-active="true"] { z-index: 1; transform: scale(1); }
.showcase-scene[data-exiting="true"] { opacity: 0.72; transform: translate3d(-8px, 0, 0) scale(0.94); }
.showcase-scene--clone { transform: none; }
.scene-art { display: block; width: 100%; height: 100%; max-height: 250px; overflow: visible; color: var(--accent); }
.scene-art .scene-link, .scene-art .ai-links path, .scene-art .responsive-link, .scene-art .document-flow {
  stroke: rgba(74, 164, 215, 0.48);
  stroke-width: 1.4;
  stroke-dasharray: 6 8;
}
.scene-art .scene-link-secondary { stroke: rgba(8, 185, 242, 0.26); stroke-dasharray: 3 8; }
.scene-art .scene-node rect, .scene-art .system-panel rect, .scene-art .document-sheet rect, .scene-art .data-grid rect,
.scene-art .browser-frame rect, .scene-art .mobile-frame rect {
  fill: rgba(10, 25, 48, 0.88);
  stroke: rgba(96, 169, 210, 0.48);
  stroke-width: 1.3;
}
.scene-art .scene-node path, .scene-art .scene-node circle, .scene-art .system-panel path,
.scene-art .document-sheet path, .scene-art .data-grid path, .scene-art .data-grid circle,
.scene-art .browser-frame path, .scene-art .mobile-frame path {
  stroke: #8edcf4;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scene-art .scene-node circle, .scene-art .data-grid circle { fill: rgba(8, 185, 242, 0.2); }
.scene-art .scene-endpoint { fill: #08b9f2; filter: drop-shadow(0 0 7px rgba(8, 185, 242, 0.75)); }
.scene-art .scene-traveler { fill: #b7f2ff; filter: drop-shadow(0 0 5px rgba(8, 185, 242, 0.9)); }
.scene-art .ai-orbit ellipse { stroke: rgba(8, 185, 242, 0.38); stroke-width: 1; stroke-dasharray: 3 7; }
.scene-art .ai-points circle { fill: #08b9f2; filter: drop-shadow(0 0 5px rgba(8, 185, 242, 0.65)); }
.scene-art .ai-core circle { fill: rgba(8, 185, 242, 0.08); stroke: rgba(8, 185, 242, 0.65); stroke-width: 1.5; }
.scene-art .ai-core path { stroke: #a8edff; stroke-width: 1.6; stroke-linecap: round; }
.scene-art .ai-spark { fill: #b7f2ff; }
.scene-art .document-sheet rect { fill: rgba(10, 25, 48, 0.94); }
.scene-art .document-sheet-back { opacity: 0.42; }
.scene-art .document-scan { fill: #08b9f2; filter: drop-shadow(0 0 7px rgba(8, 185, 242, 0.8)); }
.scene-art .document-particle { fill: #b7f2ff; filter: drop-shadow(0 0 5px rgba(8, 185, 242, 0.8)); }
.scene-art .data-grid path { stroke: rgba(8, 185, 242, 0.24); stroke-width: 1; }
.scene-art .system-panel-main > rect:first-child, .scene-art .browser-frame > rect:first-child { fill: rgba(8, 25, 48, 0.95); }
.scene-art .system-panel-main > path:first-of-type, .scene-art .browser-frame > path:first-of-type { stroke: rgba(8, 185, 242, 0.34); }
.scene-art .system-panel-float rect { fill: rgba(12, 39, 67, 0.95); }
.scene-art .system-signal, .scene-art .responsive-point { fill: #08b9f2; filter: drop-shadow(0 0 6px rgba(8, 185, 242, 0.8)); }
.scene-art .browser-hero { fill: rgba(37, 99, 235, 0.2); stroke: rgba(8, 185, 242, 0.44); }
.scene-caption { position: relative; z-index: 2; padding: 10px 4px 2px; }
.scene-kicker { color: var(--accent-strong); font-size: 9px; font-weight: 800; letter-spacing: 0.13em; }
.scene-caption h2 { margin: 6px 0 4px; color: var(--text); font-size: clamp(18px, 1.7vw, 22px); font-weight: 750; letter-spacing: -0.035em; line-height: 1.2; }
.scene-caption p { max-width: 390px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.showcase-controls { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(44px, 1fr)); gap: 8px; }
.showcase-tab {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 6px 10px;
  border: 1px solid rgba(148, 185, 220, 0.16);
  border-radius: 9px;
  background: rgba(10, 25, 48, 0.54);
  color: #91a5bd;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}
.showcase-tab::after { content: ""; position: absolute; right: 7px; bottom: 4px; left: 7px; height: 2px; border-radius: 2px; background: transparent; transform: scaleX(0); transform-origin: left center; }
.showcase-tab:hover, .showcase-tab[aria-selected="true"] { border-color: rgba(8, 185, 242, 0.4); background: rgba(8, 185, 242, 0.08); color: var(--text); }
.showcase-tab[aria-selected="true"]::after { background: var(--accent); transform: scaleX(1); }
.showcase[data-rotating="true"] .showcase-tab[aria-selected="true"]::after { animation: showcase-progress 3.5s linear both; }
.showcase[data-paused="true"] .showcase-tab[aria-selected="true"]::after,
.showcase[data-rotating="false"] .showcase-tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes showcase-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes route-draw { from { stroke-dashoffset: 70; opacity: 0.2; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes node-arrive { from { opacity: 0.2; transform: scale(0.82); } to { opacity: 1; transform: scale(1); } }
@keyframes route-travel { from { transform: translateX(0); } to { transform: translateX(284px); } }
@keyframes branch-travel { from { transform: translateX(0); } to { transform: translateX(110px); } }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes core-breathe { 50% { transform: scale(1.055); filter: drop-shadow(0 0 12px rgba(8, 185, 242, 0.4)); } }
@keyframes spark-drift { 50% { opacity: 0.35; transform: translateY(-8px); } }
@keyframes scan-sweep { from { transform: translateY(-42px); opacity: 0; } 20%, 80% { opacity: 1; } to { transform: translateY(130px); opacity: 0; } }
@keyframes document-release { 50% { opacity: 0.35; transform: translateX(30px); } }
@keyframes grid-flash { 50% { fill: rgba(8, 185, 242, 0.34); } }
@keyframes panel-arrive { from { opacity: 0.15; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes chart-grow { from { stroke-dashoffset: 92; } to { stroke-dashoffset: 0; } }
@keyframes browser-assemble { from { opacity: 0.3; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes responsive-connect { 50% { stroke-dashoffset: 0; opacity: 1; } }
.showcase-scene[data-active="true"] .scene-link { animation: route-draw 1.25s ease-out both; }
.showcase-scene[data-active="true"] .scene-node { transform-box: fill-box; transform-origin: center; animation: node-arrive 520ms ease-out both; }
.showcase-scene[data-active="true"] .scene-node-two { animation-delay: 120ms; }
.showcase-scene[data-active="true"] .scene-node-three { animation-delay: 240ms; }
.showcase-scene[data-active="true"] .scene-node-four { animation-delay: 360ms; }
.showcase-scene[data-active="true"] .scene-node-five { animation-delay: 480ms; }
.showcase-scene[data-active="true"] .traveler-one { animation: route-travel 2.7s ease-in-out infinite; }
.showcase-scene[data-active="true"] .traveler-two { animation: branch-travel 2.2s ease-in-out infinite; }
.showcase-scene[data-active="true"] .traveler-three { animation: branch-travel 2.5s ease-in-out infinite reverse; }
.showcase-scene[data-active="true"] .ai-orbit { transform-box: fill-box; transform-origin: center; animation: orbit-turn 22s linear infinite; }
.showcase-scene[data-active="true"] .ai-core { transform-box: fill-box; transform-origin: center; animation: core-breathe 3.2s ease-in-out infinite; }
.showcase-scene[data-active="true"] .ai-spark { animation: spark-drift 2.4s ease-in-out infinite; }
.showcase-scene[data-active="true"] .ai-spark-two { animation-delay: 1.1s; }
.showcase-scene[data-active="true"] .document-scan { animation: scan-sweep 3.1s ease-in-out infinite; }
.showcase-scene[data-active="true"] .doc-particle-one { animation: document-release 2.1s ease-in-out infinite; }
.showcase-scene[data-active="true"] .doc-particle-two { animation: document-release 2.1s 0.7s ease-in-out infinite; }
.showcase-scene[data-active="true"] .data-grid circle { animation: grid-flash 1.7s ease-in-out infinite; }
.showcase-scene[data-active="true"] .data-grid circle:nth-of-type(2) { animation-delay: 350ms; }
.showcase-scene[data-active="true"] .data-grid circle:nth-of-type(3) { animation-delay: 700ms; }
.showcase-scene[data-active="true"] .system-panel { transform-box: fill-box; transform-origin: center; animation: panel-arrive 850ms ease-out both; }
.showcase-scene[data-active="true"] .system-panel-float { animation-delay: 220ms; }
.showcase-scene[data-active="true"] .system-panel-main path:last-child { stroke-dasharray: 92; animation: chart-grow 1.8s 450ms ease-out both; }
.showcase-scene[data-active="true"] .system-signal { animation: spark-drift 1.8s ease-in-out infinite; }
.showcase-scene[data-active="true"] .browser-frame, .showcase-scene[data-active="true"] .mobile-frame { transform-box: fill-box; transform-origin: center; animation: browser-assemble 800ms ease-out both; }
.showcase-scene[data-active="true"] .mobile-frame { animation-delay: 500ms; }
.showcase-scene[data-active="true"] .responsive-link { stroke-dasharray: 24; stroke-dashoffset: 24; animation: responsive-connect 1.2s 750ms ease-out infinite; }
.showcase[data-paused="true"] .scene-art *,
.showcase[data-paused="true"] .scene-art *::before,
.showcase[data-paused="true"] .scene-art *::after,
.showcase[data-paused="true"] .showcase-tab::after { animation-play-state: paused !important; }
@keyframes service-nudge { 50% { transform: translateY(-3px); } }
.service-card:hover .service-visual--automation circle:nth-child(odd),
.service-card:hover .service-visual--ai circle,
.service-card:hover .service-visual--documents circle,
.service-card:hover .service-visual--systems circle,
.service-card:hover .service-visual--infrastructure rect:last-of-type { animation: service-nudge 1.2s ease-in-out infinite; }

.section { padding-block: 88px; border-top: 1px solid var(--line); }
.hero + .section { border-top: 0; }
.section-heading { max-width: 680px; margin-bottom: 40px; }
.section-intro { max-width: 660px; margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.intro-video-section .section-heading { max-width: 760px; }
.intro-video-frame {
  overflow: hidden;
  width: min(100%, 980px);
  margin-inline: auto;
  border: 1px solid rgba(148, 185, 220, 0.22);
  border-radius: 14px;
  background: #090d13;
  box-shadow: var(--shadow);
}
.video-window-bar {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #20252d, #171b21);
  color: #d7dce5;
}
.video-window-controls { display: flex; align-items: center; gap: 7px; }
.video-window-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); }
.video-window-dot--close { background: #ff5f57; }
.video-window-dot--minimize { background: #febc2e; }
.video-window-dot--maximize { background: #28c840; }
.video-window-title { overflow: hidden; max-width: 100%; font-size: 12px; font-weight: 600; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.video-window-spacer { min-width: 0; }
.intro-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #020817; }
.section-heading h2, .contact-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.12;
  text-wrap: balance;
}

.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.service-card {
  min-width: 0;
  min-height: 430px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.14);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:nth-child(5) { grid-column: 4 / span 2; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(8, 185, 242, 0.42); box-shadow: var(--shadow); }
.service-visual { height: 76px; display: flex; align-items: center; margin-bottom: 18px; color: var(--accent-strong); }
.service-visual svg { width: 132px; height: 72px; overflow: visible; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.service-visual circle, .service-visual rect { fill: rgba(8, 185, 242, 0.08); stroke: currentColor; }
.service-card h3, .process-list h3, .principle-card h3, .about-note h3 { margin: 12px 0 9px; font-size: 21px; line-height: 1.3; letter-spacing: -0.03em; }
.service-description, .process-list p, .principle-card p, .about-note > p:first-of-type, .contact-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.service-capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; margin: 18px 0 20px; padding: 0; list-style: none; }
.service-capabilities li { position: relative; padding-left: 14px; color: #b7c8db; font-size: 13px; line-height: 1.45; }
.service-capabilities li::before { content: ""; position: absolute; top: 0.55em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(8, 185, 242, 0.4); }
.service-link { width: fit-content; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--accent-strong); font-size: 13px; font-weight: 750; text-decoration: none; }
.service-link::after { content: "→"; transition: transform 180ms ease; }
.service-link:hover { text-decoration: none; }
.service-link:hover::after { transform: translateX(4px); }
.service-status {
  width: fit-content;
  margin: 20px 0 0;
  padding: 7px 10px;
  border: 1px solid rgba(8, 185, 242, 0.3);
  border-radius: 12px;
  background: rgba(8, 185, 242, 0.07);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.process-list { position: relative; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; }
.process-list::before { content: ""; position: absolute; top: 21px; right: 7%; left: 7%; height: 1px; background: linear-gradient(90deg, rgba(8, 185, 242, 0.12), rgba(8, 185, 242, 0.52), rgba(8, 185, 242, 0.12)); }
.process-list li { position: relative; min-width: 0; padding: 0 14px 16px; border-bottom: 1px solid var(--line); }
.process-index {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--contrast-line);
  border-radius: 50%;
  background: var(--contrast-surface);
  color: var(--contrast-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.process-list h3 { margin: 18px 0 8px; font-size: 17px; }
.process-list p { font-size: 14px; line-height: 1.6; }
.process-list.is-visible li { animation: process-arrive 520ms ease-out both; }
.process-list.is-visible li:nth-child(2) { animation-delay: 90ms; }
.process-list.is-visible li:nth-child(3) { animation-delay: 180ms; }
.process-list.is-visible li:nth-child(4) { animation-delay: 270ms; }
.process-list.is-visible li:nth-child(5) { animation-delay: 360ms; }
@keyframes process-arrive { from { opacity: 0.3; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.use-case-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.use-case-card {
  grid-column: span 2;
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(10, 25, 48, 0.8), rgba(6, 18, 37, 0.78));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.use-case-card:hover, .principle-card:hover { transform: translateY(-4px); border-color: rgba(8, 185, 242, 0.36); box-shadow: 0 14px 34px rgba(2, 6, 23, 0.22); }
.use-case-card h3 { min-height: 2.6em; margin: 14px 0 18px; font-size: 19px; line-height: 1.3; letter-spacing: -0.03em; }
.use-case-card > p:not(.item-number) { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.use-case-card > p strong, .use-case-card > p span { display: block; }
.use-case-card > p strong { margin-bottom: 3px; color: var(--accent-strong); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.use-case-card .case-benefit { padding-top: 13px; border-top: 1px solid rgba(148, 185, 220, 0.14); }
.use-case-card .service-link { margin-top: 14px; }

.reliability-hero { padding-block: 104px 72px; border-top: 0; }
.reliability-hero .section-heading { max-width: 860px; }
.reliability-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
  text-wrap: balance;
}
.reliability-hero .section-intro { max-width: 760px; }
.reliability-hero .hero-actions { margin-top: 24px; }
.reliability-hero .button { margin-top: 0; }
.maintenance-note {
  margin: 24px 0 0;
  padding: 14px 18px;
  border-left: 2px solid var(--accent-strong);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.about-section { display: block; }
.about-section .section-heading { max-width: 740px; }
.principle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.principle-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 25, 48, 0.62); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.principle-number { color: var(--accent-strong); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.principle-card h3 { margin-top: 12px; font-size: 17px; }
.principle-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.about-note {
  max-width: 820px;
  margin-top: 28px;
  padding: 24px 26px;
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-soft);
  color: var(--text);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.18);
}
.about-note h3 { margin-top: 0; font-size: 18px; }
.about-note > p:first-of-type { max-width: 740px; color: var(--muted); }
.location-line { margin: 16px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 750;
  cursor: pointer;
}
.faq-list summary::after { content: "+"; margin-left: auto; color: var(--accent-strong); font-size: 24px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; margin: 0; padding: 0 44px 20px 4px; color: var(--muted); }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 8vw, 112px);
}
.contact-copy { max-width: 600px; }
.contact-copy > p:last-child { margin-top: 16px; }
.contact-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text); font-weight: 750; text-decoration: none; }
.contact-list a:hover { color: var(--accent-strong); }
.contact-list a span:last-child { max-width: 60%; overflow-wrap: anywhere; color: var(--muted); font-size: 14px; font-weight: 500; text-align: right; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; }
.footer-brand-lockup { flex: 0 0 auto; }
.footer-brand-lockup .brand-wordmark { width: min(42vw, 260px); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

html[data-theme="light"] {
  color-scheme: light;
  --page-bg: #f5f8fc;
  --surface: #ffffff;
  --surface-soft: #e4eef8;
  --text: #12243a;
  --muted: #40546b;
  --accent: #00658b;
  --accent-strong: #00658b;
  --accent-contrast: #ffffff;
  --line: #a7b6c6;
  --header-background: #f5f8fc;
  --header-glass-highlight: rgba(255, 255, 255, 0.16);
  --header-text: #061225;
  --header-muted: #12243a;
  --header-line: rgba(148, 185, 220, 0.2);
  --header-control-line: rgba(148, 185, 220, 0.2);
  --header-control-bg: rgba(10, 25, 48, 0.94);
  --header-control-muted: #c1ccdc;
  --header-selected-bg: #08b9f2;
  --header-selected-text: #061225;
  --header-focus: #82e1ff;
  --contrast-surface: #061225;
  --contrast-text: #f4f7fc;
  --contrast-muted: #c1ccdc;
  --contrast-line: rgba(244, 247, 252, 0.2);
  --control-bg: #d6e4f1;
  --card-blue: #2163c5;
  --shadow: 0 18px 50px rgba(27, 52, 80, 0.12);
  --body-background:
    radial-gradient(circle at 82% 8%, rgba(37, 99, 235, 0.09), transparent 24rem),
    linear-gradient(180deg, #f8fbff 0%, #edf4fa 58%, #f5f8fc 100%);
}

html[data-theme="light"] .accent-text {
  background-image: linear-gradient(90deg, #00658b, #2563eb);
}

html[data-theme="light"] .hero::before {
  background:
    linear-gradient(90deg, rgba(245, 248, 252, 0.38), rgba(245, 248, 252, 0.14) 38%, transparent 74%),
    linear-gradient(180deg, rgba(245, 248, 252, 0.2), transparent 34%, transparent 78%, rgba(245, 248, 252, 0.14));
}

html[data-theme="light"] .particle-wave {
  opacity: 0.7;
}

html[data-theme="light"] .showcase {
  border-color: rgba(255, 255, 255, 0.38);
  background:
    radial-gradient(ellipse at 86% 4%, rgba(255, 255, 255, 0.12), transparent 36%),
    linear-gradient(145deg, #00658b, #2563eb);
  box-shadow: 0 24px 60px rgba(27, 52, 80, 0.12), 0 0 42px rgba(8, 185, 242, 0.06);
}

html[data-theme="light"] .showcase-count {
  color: #ffffff;
}

html[data-theme="light"] .scene-art .scene-link,
html[data-theme="light"] .scene-art .ai-links path,
html[data-theme="light"] .scene-art .responsive-link,
html[data-theme="light"] .scene-art .document-flow {
  stroke: rgba(14, 86, 119, 0.72);
}

html[data-theme="light"] .scene-art .scene-node rect,
html[data-theme="light"] .scene-art .system-panel rect,
html[data-theme="light"] .scene-art .document-sheet rect,
html[data-theme="light"] .scene-art .data-grid rect,
html[data-theme="light"] .scene-art .browser-frame rect,
html[data-theme="light"] .scene-art .mobile-frame rect {
  fill: #e1edf8;
  stroke: rgba(14, 86, 119, 0.62);
}

html[data-theme="light"] .scene-art .scene-node path,
html[data-theme="light"] .scene-art .scene-node circle,
html[data-theme="light"] .scene-art .system-panel path,
html[data-theme="light"] .scene-art .document-sheet path,
html[data-theme="light"] .scene-art .data-grid path,
html[data-theme="light"] .scene-art .browser-frame path,
html[data-theme="light"] .scene-art .mobile-frame path,
html[data-theme="light"] .scene-art .ai-core path {
  stroke: #0e5677;
}

html[data-theme="light"] .scene-art .scene-link-secondary,
html[data-theme="light"] .scene-art .ai-orbit ellipse {
  stroke: rgba(14, 86, 119, 0.48);
}

html[data-theme="light"] .scene-art .scene-node circle,
html[data-theme="light"] .scene-art .data-grid circle,
html[data-theme="light"] .scene-art .ai-core circle {
  fill: rgba(0, 101, 139, 0.14);
}

html[data-theme="light"] .scene-art .scene-endpoint,
html[data-theme="light"] .scene-art .scene-traveler,
html[data-theme="light"] .scene-art .ai-points circle,
html[data-theme="light"] .scene-art .ai-spark,
html[data-theme="light"] .scene-art .document-scan,
html[data-theme="light"] .scene-art .document-particle,
html[data-theme="light"] .scene-art .system-signal,
html[data-theme="light"] .scene-art .responsive-point {
  fill: #00658b;
  filter: none;
}

html[data-theme="light"] .scene-art .ai-core circle {
  stroke: #00658b;
}

html[data-theme="light"] .scene-art .ai-core path {
  stroke: #0e5677;
}

html[data-theme="light"] .scene-art .browser-hero {
  fill: rgba(37, 99, 235, 0.12);
  stroke: rgba(0, 101, 139, 0.72);
}

html[data-theme="light"] .scene-art .data-grid path {
  stroke: rgba(0, 101, 139, 0.5);
}

html[data-theme="light"] .showcase-tab {
  border-color: var(--line);
  background: #e4eef8;
  color: #40546b;
}

html[data-theme="light"] .showcase-tab:hover,
html[data-theme="light"] .showcase-tab[aria-selected="true"] {
  border-color: #00658b;
  background: rgba(0, 101, 139, 0.16);
  color: var(--text);
}

html[data-theme="light"] .service-capabilities li {
  color: var(--muted);
}

html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .use-case-card:hover,
html[data-theme="light"] .principle-card:hover {
  border-color: #00658b;
}

html[data-theme="light"] .service-status {
  border-color: rgba(0, 101, 139, 0.45);
  background: rgba(0, 101, 139, 0.08);
}

html[data-theme="light"] .process-list::before {
  background: linear-gradient(90deg, rgba(0, 101, 139, 0.22), rgba(0, 101, 139, 0.58), rgba(0, 101, 139, 0.22));
}

html[data-theme="light"] .use-case-card,
html[data-theme="light"] .principle-card,
html[data-theme="light"] .service-card {
  background: var(--card-blue);
}

html[data-theme="light"] .showcase {
  color: #ffffff;
}

html[data-theme="light"] .showcase .eyebrow,
html[data-theme="light"] .showcase .scene-kicker,
html[data-theme="light"] .showcase .scene-caption h2,
html[data-theme="light"] .showcase .scene-caption p {
  color: #ffffff;
}

html[data-theme="light"] .showcase .showcase-tab {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

html[data-theme="light"] .showcase .showcase-tab:hover {
  background: rgba(255, 255, 255, 0.22);
}

html[data-theme="light"] .showcase .showcase-tab[aria-selected="true"] {
  border-color: #ffffff;
  background: #ffffff;
  color: #00658b;
}

html[data-theme="light"] .showcase .showcase-tab[aria-selected="true"]::after {
  background: #2563eb;
}

html[data-theme="light"] .showcase .scene-art .scene-link,
html[data-theme="light"] .showcase .scene-art .ai-links path,
html[data-theme="light"] .showcase .scene-art .responsive-link,
html[data-theme="light"] .showcase .scene-art .document-flow,
html[data-theme="light"] .showcase .scene-art .scene-link-secondary,
html[data-theme="light"] .showcase .scene-art .ai-orbit ellipse {
  stroke: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .showcase .scene-art .scene-node rect,
html[data-theme="light"] .showcase .scene-art .system-panel rect,
html[data-theme="light"] .showcase .scene-art .document-sheet rect,
html[data-theme="light"] .showcase .scene-art .data-grid rect,
html[data-theme="light"] .showcase .scene-art .browser-frame rect,
html[data-theme="light"] .showcase .scene-art .mobile-frame rect {
  fill: rgba(255, 255, 255, 0.12);
  stroke: rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .showcase .scene-art .scene-node path,
html[data-theme="light"] .showcase .scene-art .scene-node circle,
html[data-theme="light"] .showcase .scene-art .system-panel path,
html[data-theme="light"] .showcase .scene-art .document-sheet path,
html[data-theme="light"] .showcase .scene-art .data-grid path,
html[data-theme="light"] .showcase .scene-art .browser-frame path,
html[data-theme="light"] .showcase .scene-art .mobile-frame path,
html[data-theme="light"] .showcase .scene-art .ai-core path {
  stroke: #ffffff;
}

html[data-theme="light"] .showcase .scene-art .scene-node circle,
html[data-theme="light"] .showcase .scene-art .data-grid circle {
  fill: rgba(255, 255, 255, 0.2);
}

html[data-theme="light"] .showcase .scene-art .scene-endpoint,
html[data-theme="light"] .showcase .scene-art .scene-traveler,
html[data-theme="light"] .showcase .scene-art .ai-points circle,
html[data-theme="light"] .showcase .scene-art .ai-spark,
html[data-theme="light"] .showcase .scene-art .document-scan,
html[data-theme="light"] .showcase .scene-art .document-particle,
html[data-theme="light"] .showcase .scene-art .system-signal,
html[data-theme="light"] .showcase .scene-art .responsive-point {
  fill: #ffffff;
  filter: none;
}

html[data-theme="light"] .showcase .scene-art .ai-core circle {
  fill: rgba(255, 255, 255, 0.16);
  stroke: #ffffff;
}

html[data-theme="light"] .showcase .scene-art .browser-hero {
  fill: rgba(255, 255, 255, 0.16);
  stroke: #ffffff;
}

html[data-theme="light"] .service-card,
html[data-theme="light"] .use-case-card,
html[data-theme="light"] .principle-card {
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

html[data-theme="light"] .service-card .item-number,
html[data-theme="light"] .service-card .service-visual,
html[data-theme="light"] .service-card .service-link,
html[data-theme="light"] .use-case-card .item-number,
html[data-theme="light"] .principle-card .principle-number {
  color: #ffffff;
}

html[data-theme="light"] .service-card .service-description,
html[data-theme="light"] .service-card .service-capabilities li,
html[data-theme="light"] .use-case-card > p:not(.item-number),
html[data-theme="light"] .principle-card p {
  color: #ffffff;
}

html[data-theme="light"] .use-case-card > p strong {
  color: #ffffff;
}

html[data-theme="light"] .use-case-card .case-benefit {
  border-color: rgba(255, 255, 255, 0.34);
}

html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .use-case-card:hover,
html[data-theme="light"] .principle-card:hover {
  border-color: #ffffff;
}

html[data-theme="light"] .service-status {
  border-color: rgba(255, 255, 255, 0.8);
  background: #ffffff;
  color: var(--card-blue);
}

html[data-theme="light"] .button-primary {
  border-color: var(--card-blue);
  background: var(--card-blue);
  box-shadow: 0 12px 34px rgba(33, 99, 197, 0.24);
}

html[data-theme="light"] .button-primary:hover {
  box-shadow: 0 16px 38px rgba(33, 99, 197, 0.32);
}

html[data-theme="light"] .button-secondary:hover {
  border-color: #00658b;
}

html[data-theme="light"] .about-note {
  border-left-color: #ffffff;
  background: var(--card-blue);
  color: #ffffff;
}

html[data-theme="light"] .about-note > p:first-of-type {
  color: #ffffff;
}

html[data-theme="light"] .about-note .location-line {
  border-top-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

html[data-theme="light"] .showcase :focus-visible,
html[data-theme="light"] .service-card :focus-visible,
html[data-theme="light"] .use-case-card :focus-visible,
html[data-theme="light"] .principle-card :focus-visible {
  outline-color: #ffffff;
}

@media (max-width: 620px) {
  html[data-theme="light"] .hero::before {
    background: linear-gradient(180deg, rgba(245, 248, 252, 0.46), rgba(245, 248, 252, 0.22) 38%, transparent 70%, rgba(245, 248, 252, 0.16));
  }
}

@media (max-width: 900px) {
  .hero { min-height: 0; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); gap: 28px; padding-block: 72px 80px; }
  .showcase { padding: 16px; }
  .showcase-stage { height: 350px; }
  .service-grid, .use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5),
  .use-case-card, .use-case-card:nth-child(4), .use-case-card:nth-child(5) { grid-column: auto; }
  .service-card { min-height: 420px; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .process-list::before { display: none; }
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-copy { max-width: 620px; }
  .showcase { width: 100%; max-width: 540px; justify-self: center; }
  .contact-section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 800px) {
  .header-inner { min-height: 64px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .brand-lockup { min-width: 116px; }
  .brand-wordmark { width: min(30vw, 260px); }
  .header-menu { position: absolute; top: 72px; right: 0; z-index: 2; }
  .menu-toggle { width: 32px; height: 32px; border-radius: 8px; }
  .menu-icon { width: 18px; height: 18px; }
  .main-nav {
    position: absolute;
    top: 64px;
    left: calc(-1 * var(--gutter));
    width: calc(100% + var(--gutter) * 2);
    min-height: 48px;
    padding-right: 52px;
    justify-content: stretch;
    gap: 0;
    border-bottom: 1px solid var(--header-line);
    background: var(--header-background);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
  }
  .main-nav a {
    min-width: 0;
    flex: 1 1 20%;
    justify-content: center;
    padding-inline: 4px;
    border-right: 1px solid var(--header-line);
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
  }
  .main-nav a:last-child { border-right: 0; }
  .main-nav .nav-dropdown { min-width: 0; flex: 1 1 20%; display: flex; justify-content: center; }
  .main-nav .nav-dropdown-toggle {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding-inline: 2px;
    font-size: 10px;
    line-height: 1.15;
    white-space: normal;
  }
  .nav-dropdown-toggle::after { width: 5px; height: 5px; margin-left: 4px; flex: 0 0 5px; }
  .main-nav .nav-dropdown-menu { top: calc(100% + 6px); left: 50%; width: min(230px, calc(100vw - var(--gutter) * 2)); min-width: 190px; transform: translateX(-50%); }
  .main-nav .nav-dropdown-menu a { min-height: 40px; flex: none; justify-content: flex-start; padding: 8px 10px; font-size: 13px; text-align: left; }
  .header-menu-panel {
    top: calc(100% + 8px);
    width: min(126px, calc(100vw - var(--gutter) * 2));
  }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; --radius: 14px; }
  .header-inner { min-height: 44px; }
  .header-menu { top: 52px; }
  .main-nav { top: 44px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-block: 112px 72px; }
  .hero::before {
    background: linear-gradient(180deg, rgba(6, 18, 37, 0.42), rgba(6, 18, 37, 0.2) 38%, transparent 70%, rgba(6, 18, 37, 0.12));
  }
  .hero h1 { font-size: clamp(42px, 12.5vw, 58px); }
  .hero h1 .accent-text { line-height: 1.2; padding-bottom: 0.14em; }
  .hero-tagline { font-size: 19px; }
  .hero-description { font-size: 16px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .button { flex: 1 1 170px; margin-top: 0; }
  .showcase { width: 100%; max-width: 500px; padding: 14px; }
  .showcase-stage { height: 346px; margin-block: 10px 7px; }
  .scene-art { max-height: 225px; }
  .scene-caption h2 { font-size: 19px; }
  .scene-caption p { font-size: 12px; }
  .showcase-controls { gap: 6px; }
  .section { padding-block: 64px; }
  .reliability-hero { padding-block: 80px 56px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .contact-copy h2 { font-size: clamp(30px, 9vw, 38px); }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card { grid-column: auto; min-height: 0; }
  .use-case-grid, .principle-grid { grid-template-columns: minmax(0, 1fr); }
  .process-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .process-list::before { top: 20px; bottom: 34px; left: 20px; right: auto; display: block; width: 1px; height: auto; }
  .process-list li { min-height: 76px; padding: 0 0 16px 58px; border-bottom: 0; }
  .process-index { position: absolute; top: 0; left: 0; }
  .process-list h3 { margin: 0 0 5px; }
  .use-case-card h3 { min-height: 0; }
  .about-note { padding: 20px; }
  .contact-section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact-list a { min-height: 64px; }
  .footer-inner { min-height: 0; flex-wrap: wrap; justify-content: flex-start; padding-block: 20px; row-gap: 4px; }
  .footer-inner span:nth-child(2) { flex-basis: 100%; order: 3; }
  .footer-inner span:nth-child(3) { order: 2; }
}

@media (max-width: 370px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .brand-lockup { min-width: 88px; }
  .brand-wordmark { width: min(32vw, 260px); height: auto; }
  .main-nav { gap: 0; }
  .main-nav a { font-size: 11px; }
  .header-inner { gap: 4px; }
  .brand-lockup { min-width: 64px; }
  .brand-wordmark { width: min(25vw, 260px); }
  .language-toggle { width: 88px; }
  .theme-option { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
  .showcase-track, .showcase-scene, .showcase .scene-art *, .showcase-tab::after { animation: none !important; transition: none !important; }
}
