:root {
  --ink-950: #06111f;
  --ink-900: #081827;
  --ink-850: #0b1d2f;
  --ink-800: #10263b;
  --ink-700: #19364f;
  --cyan-500: #16c6d8;
  --cyan-400: #44d6e4;
  --cyan-300: #7be4ed;
  --blue-400: #4c8df6;
  --paper: #f5f9fb;
  --white: #ffffff;
  --text: #dce8ef;
  --muted: #91a8b8;
  --line: rgba(151, 190, 211, 0.16);
  --glass: rgba(13, 35, 54, 0.72);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink-950);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 5%, rgba(22, 198, 216, 0.13), transparent 29rem),
    radial-gradient(circle at 7% 34%, rgba(76, 141, 246, 0.09), transparent 27rem),
    var(--ink-950);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(151, 190, 211, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 190, 211, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink-950);
  background: var(--cyan-300);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 17, 31, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 17, 31, 0.94);
  border-color: var(--line);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(68, 214, 228, 0.42);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(68, 214, 228, 0.13), rgba(76, 141, 246, 0.08));
  box-shadow: inset 0 0 24px rgba(68, 214, 228, 0.05);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
  transform: rotate(-24deg);
}

.brand-mark::before {
  width: 28px;
}

.brand-mark::after {
  width: 17px;
  transform: rotate(-24deg) translateY(7px);
  opacity: 0.6;
}

.brand-name {
  display: block;
  color: var(--white);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0.045em;
  line-height: 1.05;
}

.brand-meta {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.19em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav > a:not(.button) {
  position: relative;
  color: #b7c8d4;
  font-size: 14px;
  font-weight: 580;
  transition: color 160ms ease;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--cyan-400);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

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

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  content: "";
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  color: var(--ink-950);
  background: var(--cyan-400);
  border: 1px solid var(--cyan-400);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(22, 198, 216, 0.16);
  font-size: 14px;
  font-weight: 730;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  background: var(--cyan-300);
  border-color: var(--cyan-300);
  transform: translateY(-2px);
}

.site-nav .button[aria-current="page"],
.site-nav .button[aria-current="page"]:hover {
  color: #ffffff;
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(160, 192, 210, 0.24);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(68, 214, 228, 0.48);
}

.button .arrow {
  transition: transform 160ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan-400);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 88px 0 62px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  top: 70px;
  left: 50%;
  z-index: -1;
  width: min(740px, 70vw);
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(22, 198, 216, 0.08), transparent 64%);
  filter: blur(4px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: 70px;
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--white);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 .accent,
.page-hero h1 .accent {
  color: var(--cyan-400);
}

.hero-lead,
.page-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: #adc1ce;
  font-size: 19px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 13px;
}

.hero-note::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(68, 214, 228, 0.08);
}

.system-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.system-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(68, 214, 228, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.system-orbit::before,
.system-orbit::after {
  position: absolute;
  inset: 46px;
  content: "";
  border: 1px dashed rgba(76, 141, 246, 0.14);
  border-radius: 50%;
}

.system-orbit::after {
  inset: 106px;
  border-style: solid;
  border-color: rgba(68, 214, 228, 0.12);
}

.system-core {
  position: relative;
  z-index: 3;
  width: 250px;
  min-height: 278px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(18, 52, 76, 0.94), rgba(7, 24, 39, 0.96));
  border: 1px solid rgba(123, 228, 237, 0.27);
  border-radius: 28px;
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.04);
}

.system-core::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 18%, rgba(68, 214, 228, 0.07), transparent 72%);
  transform: translateX(-100%);
  animation: core-scan 6s ease-in-out infinite;
}

@keyframes core-scan {
  0%, 28% { transform: translateX(-100%); }
  64%, 100% { transform: translateX(100%); }
}

.core-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #55e58b;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(85, 229, 139, 0.65);
}

.product-shape {
  position: relative;
  width: 122px;
  height: 116px;
  margin: 28px auto 25px;
  background: linear-gradient(145deg, #e8f5f7, #9fbbc7);
  border: 4px solid #cde0e7;
  border-radius: 20px;
  box-shadow: 0 18px 26px rgba(0, 0, 0, 0.25);
}

.product-shape::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 86px;
  height: 42px;
  content: "";
  background: linear-gradient(145deg, #0f3147, #071c2c);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(68, 214, 228, 0.19);
}

.product-shape::after {
  position: absolute;
  bottom: 17px;
  left: 50%;
  width: 28px;
  height: 5px;
  content: "";
  background: var(--cyan-500);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(22, 198, 216, 0.55);
  transform: translateX(-50%);
}

.core-caption {
  margin: 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 680;
  text-align: center;
}

.core-subcaption {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.system-node {
  position: absolute;
  z-index: 4;
  min-width: 126px;
  padding: 12px 15px;
  color: #c6d7e1;
  background: rgba(9, 28, 44, 0.92);
  border: 1px solid rgba(151, 190, 211, 0.18);
  border-radius: 13px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
}

.system-node::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  content: "";
  background: var(--cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(68, 214, 228, 0.55);
}

.node-electronics { top: 48px; left: 18px; }
.node-firmware { top: 46px; right: 2px; }
.node-software { top: 218px; left: -12px; }
.node-cloud { top: 218px; right: -20px; }
.node-prototype { bottom: 40px; left: 28px; }
.node-quality { right: 16px; bottom: 42px; }

.trust-strip {
  padding: 0 0 70px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(10, 29, 46, 0.58);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.trust-item {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-value {
  color: var(--white);
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.trust-label {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  position: relative;
  padding: 108px 0;
}

.section.compact {
  padding: 78px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(13, 35, 54, 0.52), rgba(8, 24, 39, 0.4));
  border-block: 1px solid rgba(151, 190, 211, 0.08);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: end;
}

.section h2,
.page-section h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 690;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-intro {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.path-card,
.capability-card,
.project-card,
.model-card,
.info-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(16, 46, 69, 0.75), rgba(8, 27, 43, 0.82));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.path-card {
  min-height: 430px;
  padding: 42px;
  display: flex;
  flex-direction: column;
}

.path-card::after {
  position: absolute;
  right: -75px;
  bottom: -105px;
  width: 280px;
  height: 280px;
  content: "";
  background: radial-gradient(circle, rgba(22, 198, 216, 0.1), transparent 66%);
  border: 1px solid rgba(68, 214, 228, 0.08);
  border-radius: 50%;
  transition: transform 300ms ease;
}

.path-card:hover::after {
  transform: scale(1.12);
}

.card-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--cyan-300);
  background: rgba(68, 214, 228, 0.08);
  border: 1px solid rgba(68, 214, 228, 0.2);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 750;
}

.path-card h3 {
  max-width: 440px;
  margin: 32px 0 14px;
  color: var(--white);
  font-size: 30px;
  line-height: 1.18;
}

.path-card p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.text-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  margin-top: auto;
  padding-top: 34px;
  color: var(--cyan-300);
  font-size: 14px;
  font-weight: 700;
}

.text-link:hover .arrow {
  transform: translateX(3px);
}

.lifecycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.lifecycle::before {
  position: absolute;
  top: 23px;
  right: 9%;
  left: 9%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--cyan-500), rgba(76, 141, 246, 0.45));
}

.step {
  position: relative;
  z-index: 1;
  padding-top: 2px;
}

.step-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--ink-950);
  background: var(--cyan-400);
  border: 6px solid var(--ink-950);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.step h3 {
  margin: 21px 0 9px;
  color: var(--white);
  font-size: 17px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.capability-card {
  min-height: 248px;
  padding: 29px;
}

.capability-card .mini-label,
.project-card .mini-label {
  color: var(--cyan-400);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.capability-card h3,
.project-card h3,
.model-card h3,
.info-card h3 {
  margin: 20px 0 11px;
  color: var(--white);
  font-size: 21px;
  line-height: 1.24;
}

.capability-card p,
.project-card p,
.model-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.control-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.control-panel {
  padding: 34px;
  background: linear-gradient(145deg, rgba(16, 46, 69, 0.84), rgba(7, 23, 38, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.control-header strong {
  color: var(--white);
  font-size: 14px;
}

.control-header span {
  color: #55e58b;
  font-size: 11px;
}

.server-list {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.server-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(151, 190, 211, 0.09);
  border-radius: 12px;
  color: #c6d7e1;
  font-size: 13px;
}

.server-row .state {
  color: var(--cyan-300);
  font-size: 11px;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #b9cbd6;
}

.check-list li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 15px;
  height: 15px;
  content: "";
  background: rgba(68, 214, 228, 0.1);
  border: 1px solid rgba(68, 214, 228, 0.43);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--ink-950);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.model-card {
  padding: 38px;
}

.model-card.featured {
  border-color: rgba(68, 214, 228, 0.32);
  background: linear-gradient(145deg, rgba(15, 59, 77, 0.82), rgba(8, 28, 43, 0.86));
}

.model-tag {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--cyan-300);
  background: rgba(68, 214, 228, 0.08);
  border: 1px solid rgba(68, 214, 228, 0.16);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.model-card ul {
  display: grid;
  gap: 10px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.model-card li {
  position: relative;
  padding-left: 22px;
  color: #b9cbd6;
  font-size: 14px;
}

.model-card li::before {
  position: absolute;
  top: 0.75em;
  left: 1px;
  width: 8px;
  height: 1px;
  content: "";
  background: var(--cyan-400);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  min-height: 260px;
  padding: 28px;
}

.project-card::after {
  position: absolute;
  right: 24px;
  bottom: 23px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  content: "↗";
  color: var(--cyan-400);
  border: 1px solid rgba(68, 214, 228, 0.22);
  border-radius: 50%;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 54px 58px;
  background:
    linear-gradient(120deg, rgba(22, 198, 216, 0.13), transparent 42%),
    linear-gradient(145deg, #11344c, #081d2e);
  border: 1px solid rgba(68, 214, 228, 0.25);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.cta-panel::after {
  position: absolute;
  right: -140px;
  bottom: -240px;
  width: 470px;
  height: 470px;
  content: "";
  border: 1px solid rgba(68, 214, 228, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(68, 214, 228, 0.025), 0 0 0 120px rgba(68, 214, 228, 0.02);
}

.cta-panel h2 {
  max-width: 720px;
  font-size: clamp(32px, 4vw, 50px);
}

.cta-panel p {
  max-width: 700px;
  margin: 15px 0 0;
  color: #a9c0cd;
}

.cta-panel .button {
  position: relative;
  z-index: 2;
  min-width: 178px;
}

.site-footer {
  padding: 70px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 70px;
}

.footer-about {
  max-width: 430px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-title {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  width: max-content;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--cyan-300);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 58px;
  padding-top: 26px;
  color: #708899;
  border-top: 1px solid rgba(151, 190, 211, 0.09);
  font-size: 12px;
}

.page-hero {
  position: relative;
  padding: 106px 0 82px;
  border-bottom: 1px solid rgba(151, 190, 211, 0.09);
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(46px, 6vw, 72px);
}

.page-hero .page-lead {
  max-width: 750px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb a:hover {
  color: var(--cyan-300);
}

.page-section {
  padding: 92px 0;
}

.page-section.alt {
  background: rgba(13, 35, 54, 0.45);
  border-block: 1px solid rgba(151, 190, 211, 0.08);
}

.page-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.page-grid .sticky-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}

.detail-stack {
  display: grid;
  gap: 16px;
}

.detail-card {
  padding: 26px 28px;
  background: rgba(16, 46, 69, 0.58);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.detail-card h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 18px;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 27px;
  background: rgba(16, 46, 69, 0.52);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.process-row .num {
  color: var(--cyan-400);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.process-row h3 {
  margin: 0 0 7px;
  color: var(--white);
  font-size: 19px;
}

.process-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.info-card {
  padding: 27px;
  border-radius: 18px;
}

.contact-form {
  padding: 34px;
  background: linear-gradient(145deg, rgba(16, 46, 69, 0.78), rgba(8, 27, 43, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #c9d8e1;
  font-size: 12px;
  font-weight: 660;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(3, 15, 26, 0.55);
  border: 1px solid rgba(151, 190, 211, 0.18);
  border-radius: 11px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field select {
  color-scheme: dark;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(68, 214, 228, 0.65);
  box-shadow: 0 0 0 4px rgba(68, 214, 228, 0.08);
}

.form-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.turnstile-slot:not(:empty) {
  margin-top: 22px;
}

.form-result {
  min-height: 100vh;
  padding: 48px 0;
}

.result-panel {
  max-width: 760px;
  margin-top: 100px;
  padding: clamp(32px, 6vw, 64px);
  background: linear-gradient(145deg, rgba(16, 46, 69, 0.78), rgba(8, 27, 43, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.result-panel h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 64px);
}

.result-panel p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--muted);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--cyan-300);
  font-size: 13px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  margin-top: 48px;
  font-size: 28px;
}

.legal-copy h3 {
  margin: 30px 0 8px;
  color: var(--white);
}

.legal-copy p,
.legal-copy li {
  color: #a9bdc9;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .site-nav > a:not(.button) {
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .system-visual {
    min-height: 470px;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .capability-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifecycle {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .lifecycle::before {
    display: none;
  }

  .control-grid,
  .page-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-grid .sticky-copy {
    position: static;
  }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 18px;
    background: rgba(8, 24, 39, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav > a:not(.button) {
    padding: 10px 7px;
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .site-nav .button {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(45px, 11vw, 64px);
  }

  .section,
  .page-section {
    padding: 82px 0;
  }

  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .path-grid,
  .models-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 42px 34px;
  }

  .cta-panel .button {
    width: max-content;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-meta {
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .hero-lead,
  .page-lead {
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .system-visual {
    min-height: 410px;
    transform: scale(0.82);
    margin-inline: -50px;
  }

  .trust-grid,
  .capability-grid,
  .project-grid,
  .lifecycle,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .path-card,
  .model-card,
  .contact-form {
    padding: 28px;
  }

  .page-hero {
    padding: 72px 0 60px;
  }

  .process-row {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Design V3: wider responsive stage, balanced watermarks and interactive product */
:root { --max: 1480px; }
.hero { position: relative; overflow: hidden; }
.hero::before,.hero::after { content:""; position:absolute; pointer-events:none; filter:blur(2px); opacity:.55; }
.hero::before { width:42vw; height:42vw; left:-25vw; top:12%; border-radius:48% 52% 62% 38%; background:radial-gradient(circle at 68% 50%,rgba(126,108,231,.17),rgba(51,188,226,.08) 45%,transparent 68%); }
.hero::after { width:38vw; height:38vw; right:-18vw; top:-4%; border-radius:60% 40% 45% 55%; background:radial-gradient(circle at 30% 48%,rgba(51,188,226,.22),rgba(72,142,236,.08) 50%,transparent 70%); }
.hero-grid { position:relative; z-index:1; }
.system-core { overflow:visible; }
.air-monitor { position:relative; width:126px; height:126px; margin:8px auto 12px; perspective:700px; }
.monitor-shell,.monitor-xray { position:absolute; inset:0; border-radius:28px; transition:opacity .45s ease,transform .55s cubic-bezier(.2,.8,.2,1); }
.monitor-shell { display:grid; place-items:center; background:linear-gradient(145deg,#f6fbff,#b9d7df); border:1px solid rgba(27,78,105,.2); box-shadow:0 18px 30px rgba(43,88,112,.22),inset 0 1px #fff; }
.monitor-screen { display:grid; place-items:center; width:72px; height:58px; border-radius:13px; color:#8df0e3; background:#12394b; box-shadow:inset 0 0 18px rgba(53,220,219,.25); }
.monitor-screen strong { font-size:25px; line-height:1; }.monitor-screen small { font-size:6px; letter-spacing:.12em; }
.monitor-shell i { position:absolute; bottom:13px; width:6px; height:6px; border-radius:50%; background:#31c7d9; }.monitor-shell i:nth-of-type(1){left:48px}.monitor-shell i:nth-of-type(2){left:60px;background:#86db76}.monitor-shell i:nth-of-type(3){left:72px;background:#f1ba56}
.monitor-xray { opacity:0; transform:rotateY(-15deg) scale(.92); border:1px solid rgba(40,147,188,.58); background:rgba(224,250,255,.48); box-shadow:inset 0 0 30px rgba(30,178,211,.18); }
.xray-board { position:absolute; inset:24px 20px; border:2px solid #29a7c9; border-radius:12px; background:repeating-linear-gradient(90deg,transparent 0 10px,rgba(37,169,199,.13) 10px 12px),repeating-linear-gradient(0deg,transparent 0 10px,rgba(37,169,199,.13) 10px 12px); }
.xray-sensor { position:absolute; width:36px;height:36px;left:45px;top:44px;border:2px solid #205d9b;border-radius:8px;box-shadow:22px 25px 0 -9px #42c9ba,-28px 20px 0 -11px #7e6ce7; }
.air-monitor:hover .monitor-shell,.air-monitor:focus-within .monitor-shell { opacity:.12; transform:rotateY(14deg) scale(1.04); }.air-monitor:hover .monitor-xray,.air-monitor:focus-within .monitor-xray { opacity:1; transform:rotateY(0) scale(1); }
.system-node { cursor:help; z-index:4; }
.system-node::after { content:attr(data-tip); position:absolute; z-index:20; left:50%; bottom:calc(100% + 14px); width:260px; padding:13px 15px; border:1px solid rgba(43,103,141,.18); border-radius:14px; color:#294760; background:rgba(255,255,255,.98); box-shadow:0 18px 44px rgba(43,77,119,.18); font-size:12px; line-height:1.55; font-weight:500; white-space:normal; opacity:0; visibility:hidden; transform:translate(-50%,8px); transition:.22s ease; pointer-events:none; }
.system-node:hover::after,.system-node:focus::after { opacity:1; visibility:visible; transform:translate(-50%,0); }
@media (min-width: 1900px) { :root { --max: 1760px; } .hero-grid { grid-template-columns:minmax(0,1.05fr) minmax(620px,.95fr); gap:90px; } }
@media (max-width: 1050px) { :root { --max: 1180px; } }
@media (max-width: 840px) { .system-node::after { width:min(240px,70vw); } }

/* WebYAL3: narrative depth, cleaner cards and mobile-first exploration */
body {
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
}

.site-nav {
  gap: 18px;
}

.site-nav > a:not(.button) {
  font-weight: 640;
}

.card-index,
.step-number,
.process-row .num,
.expand-hint {
  display: none !important;
}

.lifecycle {
  gap: 16px;
}

.lifecycle::before {
  display: none;
}

.step {
  min-height: 190px;
  padding: 27px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(54, 104, 169, 0.12);
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(56, 86, 130, 0.08);
}

.step:nth-child(4n + 1) { border-top: 4px solid #f18a58; }
.step:nth-child(4n + 2) { border-top: 4px solid #26b9d4; }
.step:nth-child(4n + 3) { border-top: 4px solid #7c70df; }
.step:nth-child(4n) { border-top: 4px solid #45bea8; }

.step h3 {
  margin-top: 0;
}

.process-row {
  grid-template-columns: 1fr;
}

.project-card::after {
  display: none;
}

.expandable-card:hover .card-more,
.expandable-card:focus .card-more,
.expandable-card.is-expanded .card-more,
.expandable-card[aria-expanded="true"] .card-more {
  max-height: 430px;
}

.experience-board .expandable-card:hover .card-more,
.experience-board .expandable-card:focus .card-more,
.experience-board .expandable-card.is-expanded .card-more,
.experience-board .expandable-card[aria-expanded="true"] .card-more {
  max-height: 310px;
}

.experience-stat {
  justify-content: flex-start;
  gap: 18px;
}

.experience-stat .card-more p {
  font-size: 13px;
  line-height: 1.65;
}

.experience-catalog-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 164, 105, 0.14), transparent 29rem),
    radial-gradient(circle at 3% 86%, rgba(93, 199, 191, 0.11), transparent 29rem),
    linear-gradient(180deg, #f7fbff, #fffdfa);
}

.experience-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.experience-domain {
  min-height: 250px;
  padding: 31px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(54, 104, 169, 0.12);
  border-radius: 30px;
  box-shadow: 0 17px 44px rgba(56, 86, 130, 0.09);
}

.experience-domain:nth-child(4n + 1) { background: linear-gradient(145deg, #ffffff, #fff2ea); }
.experience-domain:nth-child(4n + 2) { background: linear-gradient(145deg, #ffffff, #eaf7ff); }
.experience-domain:nth-child(4n + 3) { background: linear-gradient(145deg, #ffffff, #eefaf6); }
.experience-domain:nth-child(4n) { background: linear-gradient(145deg, #ffffff, #f2efff); }

.experience-domain h3 {
  margin: 0 0 13px;
  color: #15335a;
  font-size: 23px;
  line-height: 1.22;
}

.experience-domain > p,
.experience-domain .card-more p {
  margin: 0;
  color: #5b7089;
}

.experience-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
  padding: 26px 28px;
  background: #ffffff;
  border: 1px solid rgba(54, 104, 169, 0.12);
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(56, 86, 130, 0.07);
}

.experience-note strong {
  color: #bd5d38;
}

.experience-note p {
  margin: 0;
  color: #566d86;
}

.film-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 163, 103, 0.16), transparent 27rem),
    radial-gradient(circle at 91% 88%, rgba(55, 188, 214, 0.15), transparent 28rem),
    #fffdfa;
}

.film-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: center;
}

.film-copy h2 {
  max-width: 650px;
}

.film-player {
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(48, 95, 151, 0.14);
  border-radius: 34px;
  box-shadow: 0 26px 70px rgba(50, 82, 130, 0.15);
}

.film-screen {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(47, 185, 215, 0.18), transparent 23rem),
    radial-gradient(circle at 15% 85%, rgba(255, 143, 83, 0.16), transparent 22rem),
    linear-gradient(145deg, #f7fbff, #fff9f5);
  border-radius: 24px;
}

.film-scene {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: 34px;
  visibility: hidden;
  opacity: 0;
  transform: translateX(20px) scale(0.985);
  transition: opacity 500ms ease, transform 500ms ease, visibility 500ms;
}

.film-scene.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.scene-label {
  width: max-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: #b85834;
  background: #fff0e7;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.film-scene h3 {
  max-width: 510px;
  margin: 0 0 8px;
  color: #15345d;
  font-size: 28px;
}

.film-scene p {
  max-width: 520px;
  margin: 0;
  color: #597089;
}

.scene-visual {
  position: absolute;
  top: 36px;
  right: 34px;
  left: 34px;
  height: 235px;
}

.person-shape {
  position: absolute;
  top: 22px;
  left: 12%;
  width: 86px;
  height: 132px;
  background: linear-gradient(160deg, #3d6edc, #23bbd6);
  border-radius: 48px 48px 30px 30px;
  box-shadow: 0 18px 40px rgba(48, 92, 165, 0.2);
}

.person-shape::before {
  position: absolute;
  top: -30px;
  left: 22px;
  width: 44px;
  height: 44px;
  content: "";
  background: #f5b28f;
  border-radius: 50%;
}

.idea-card,
.handover-card {
  position: absolute;
  top: 56px;
  right: 10%;
  padding: 22px 26px;
  color: #284b73;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(49, 100, 160, 0.14);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(58, 87, 130, 0.13);
  font-weight: 720;
}

.architecture-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  padding: 15px 10%;
}

.architecture-visual span {
  display: grid;
  place-items: center;
  color: #294f78;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(47, 108, 176, 0.14);
  border-radius: 18px;
  box-shadow: 0 13px 28px rgba(55, 87, 132, 0.09);
  font-weight: 700;
}

.architecture-visual span:nth-child(1) { background: #fff1e8; }
.architecture-visual span:nth-child(2) { background: #eaf7ff; }
.architecture-visual span:nth-child(3) { background: #eefaf5; }
.architecture-visual span:nth-child(4) { background: #f1edff; }

.board-shape,
.code-shape,
.tool-shape {
  position: absolute;
  top: 42px;
  width: 30%;
  height: 135px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(54, 88, 138, 0.13);
}

.board-shape { left: 2%; background: linear-gradient(145deg, #54cbb8, #249c91); }
.code-shape { left: 35%; background: linear-gradient(145deg, #4d80e5, #5365c5); }
.tool-shape { right: 2%; background: linear-gradient(145deg, #ffad75, #ef7650); }

.board-shape::after,
.code-shape::after,
.tool-shape::after {
  position: absolute;
  inset: 24px;
  content: "";
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 14px;
}

.prototype-shape,
.product-box {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 140px;
  height: 145px;
  background: linear-gradient(145deg, #f7fbff, #b9d4df);
  border: 6px solid #ffffff;
  border-radius: 28px;
  box-shadow: 0 22px 45px rgba(54, 88, 138, 0.18);
  transform: translateX(-50%);
}

.test-ring {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 220px;
  height: 220px;
  border: 2px dashed rgba(48, 160, 195, 0.3);
  border-radius: 50%;
  transform: translateX(-50%);
}

.check-shape {
  position: absolute;
  top: 22px;
  right: 20%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #41bd95;
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(51, 168, 127, 0.25);
  font-size: 22px;
  font-weight: 800;
}

.ready-visual .product-box {
  left: 30%;
  background: linear-gradient(145deg, #ffffff, #dbe9ef);
}

.ready-visual .handover-card {
  right: 5%;
}

.film-controls {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 8px 4px;
}

.film-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  color: #ffffff;
  background: linear-gradient(105deg, #ed7445, #ff9861);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(220, 96, 49, 0.2);
  font-weight: 720;
  cursor: pointer;
}

.film-play-icon {
  width: 22px;
  text-align: center;
}

.film-progress {
  display: flex;
  flex: 1;
  gap: 7px;
}

.film-progress span {
  height: 5px;
  flex: 1;
  background: #dce5ef;
  border-radius: 999px;
  transition: background 220ms ease;
}

.film-progress span.is-active {
  background: linear-gradient(90deg, #f08354, #29b8d2);
}

.film-caption {
  margin: 11px 8px 2px;
  color: #738399;
  font-size: 11px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 86px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(54, 104, 169, 0.14);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(55, 88, 137, 0.16);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav > a:not(.button) {
    padding: 10px 7px;
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .site-nav .button {
    margin-top: 8px;
  }

  .film-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .experience-catalog {
    grid-template-columns: 1fr;
  }

  .experience-note {
    grid-template-columns: 1fr;
  }

  .film-player {
    padding: 10px;
    border-radius: 25px;
  }

  .film-screen {
    min-height: 500px;
  }

  .film-scene {
    padding: 25px;
  }

  .scene-visual {
    top: 28px;
    right: 18px;
    left: 18px;
  }

  .film-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .film-toggle {
    justify-content: center;
  }
}

/* WebYAL2: warmer interaction, deeper trust and expandable detail */
:root {
  --warm-500: #f47a4a;
  --warm-400: #ff9568;
  --warm-100: #fff0e8;
  --gold-400: #f2b84b;
  --mint-100: #e9faf5;
  --violet-100: #f1edff;
}

.page-section .eyebrow,
.about-story .eyebrow {
  width: max-content;
  padding: 7px 12px;
  color: #c95831;
  background: var(--warm-100);
  border: 1px solid rgba(244, 122, 74, 0.16);
  border-radius: 999px;
  letter-spacing: 0.15em;
}

.hero-actions .button:first-child,
.cta-panel .button,
.contact-form .button {
  background: linear-gradient(105deg, #f27948, #ff9d66);
  box-shadow: 0 14px 30px rgba(228, 101, 54, 0.23);
}

.hero-actions .button:first-child:hover,
.cta-panel .button:hover,
.contact-form .button:hover {
  background: linear-gradient(105deg, #e96b39, #f88d55);
  box-shadow: 0 18px 38px rgba(228, 101, 54, 0.28);
}

.page-hero h1 .accent,
.about-story h2 .accent {
  background-image: linear-gradient(95deg, #315fce, #15b7d6 48%, #f07b4b 92%);
}

.expandable-card {
  position: relative;
  cursor: pointer;
  outline: none;
  isolation: isolate;
}

.expandable-card::before {
  position: absolute;
  inset: -2px;
  z-index: -1;
  content: "";
  opacity: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255, 149, 104, 0.35), transparent 44%),
    radial-gradient(circle at 92% 100%, rgba(32, 190, 217, 0.25), transparent 43%);
  border-radius: inherit;
  filter: blur(15px);
  transition: opacity 240ms ease;
}

.expandable-card:hover,
.expandable-card:focus,
.expandable-card.is-expanded,
.expandable-card[aria-expanded="true"] {
  z-index: 2;
  border-color: rgba(239, 125, 79, 0.34);
  box-shadow: 0 25px 62px rgba(83, 96, 134, 0.15), 0 0 0 5px rgba(255, 149, 104, 0.075);
  transform: translateY(-4px);
}

.expandable-card:hover::before,
.expandable-card:focus::before,
.expandable-card.is-expanded::before,
.expandable-card[aria-expanded="true"]::before {
  opacity: 1;
}

.card-more {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 380ms cubic-bezier(0.2, 0.72, 0.25, 1), margin 280ms ease, opacity 220ms ease, transform 280ms ease;
}

.expandable-card:hover .card-more,
.expandable-card:focus .card-more,
.expandable-card.is-expanded .card-more,
.expandable-card[aria-expanded="true"] .card-more {
  max-height: 290px;
  margin-top: 18px;
  opacity: 1;
  transform: none;
}

.card-more > div {
  padding-top: 16px;
  border-top: 1px solid rgba(65, 104, 155, 0.12);
}

.card-more p {
  color: #435f7d;
}

.expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #ba5c38;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.expand-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--warm-500), var(--warm-400));
  border-radius: 50%;
  box-shadow: 0 7px 16px rgba(228, 101, 54, 0.22);
  transition: transform 220ms ease;
}

.expandable-card:hover .expand-icon,
.expandable-card.is-expanded .expand-icon {
  transform: rotate(45deg);
}

.detail-stack .expandable-card:nth-child(4n + 2):hover,
.detail-stack .expandable-card:nth-child(4n + 2):focus {
  border-color: rgba(33, 179, 207, 0.34);
  box-shadow: 0 25px 62px rgba(83, 96, 134, 0.15), 0 0 0 5px rgba(33, 179, 207, 0.07);
}

.detail-stack .expandable-card:nth-child(4n + 3):hover,
.detail-stack .expandable-card:nth-child(4n + 3):focus {
  border-color: rgba(126, 103, 223, 0.31);
  box-shadow: 0 25px 62px rgba(83, 96, 134, 0.15), 0 0 0 5px rgba(126, 103, 223, 0.065);
}

.capability-grid .expandable-card:nth-child(4n + 1) .card-index {
  background: linear-gradient(135deg, #f17a48, #ffae70);
}

.capability-grid .expandable-card:nth-child(4n + 2) .card-index {
  background: linear-gradient(135deg, #2c75d8, #27bddd);
}

.capability-grid .expandable-card:nth-child(4n + 3) .card-index {
  background: linear-gradient(135deg, #7364df, #a17eed);
}

.capability-grid .expandable-card:nth-child(4n) .card-index {
  background: linear-gradient(135deg, #34b89f, #62d2bc);
}

.about-story-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 168, 117, 0.15), transparent 27rem),
    radial-gradient(circle at 88% 80%, rgba(50, 185, 215, 0.13), transparent 28rem),
    #fbfdff;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
}

.about-story h2 {
  max-width: 690px;
  margin-bottom: 26px;
}

.about-story > p:not(.eyebrow) {
  color: #536b86;
  font-size: 17px;
}

.experience-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.experience-stat {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  border: 1px solid rgba(55, 101, 158, 0.12);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(58, 88, 132, 0.09);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.experience-stat:hover {
  box-shadow: 0 24px 52px rgba(58, 88, 132, 0.14);
  transform: translateY(-4px) rotate(-0.5deg);
}

.experience-stat strong {
  color: #17375f;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.experience-stat span {
  color: #5d718a;
  font-size: 13px;
}

.experience-stat.warm { background: linear-gradient(145deg, #fffaf7, #ffe8dc); }
.experience-stat.blue { background: linear-gradient(145deg, #fbfdff, #e5f2ff); }
.experience-stat.mint { background: linear-gradient(145deg, #fbfffd, #dff8ef); }
.experience-stat.violet { background: linear-gradient(145deg, #fdfcff, #eee9ff); }

.trust-assurance,
.security-promise {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: linear-gradient(135deg, #fff7f1, #f2fbff);
  border: 1px solid rgba(232, 126, 76, 0.18);
  border-radius: 22px;
  box-shadow: 0 15px 38px rgba(69, 93, 132, 0.08);
}

.trust-assurance {
  margin: -16px 0 34px;
}

.trust-assurance p,
.security-promise p {
  margin: 0;
  color: #4c657f;
  font-size: 14px;
}

.assurance-badge {
  flex: 0 0 auto;
  padding: 7px 11px;
  color: #ffffff;
  background: linear-gradient(135deg, #e97040, #ff9c65);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.security-promise {
  margin: 25px 0 22px;
}

.security-promise-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #2fbaa6, #2aabd2);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(42, 171, 210, 0.2);
}

@media (max-width: 1040px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .experience-board {
    grid-template-columns: 1fr;
  }

  .experience-stat {
    min-height: 145px;
  }

  .trust-assurance,
  .security-promise {
    flex-direction: column;
  }

  .expandable-card:hover .card-more {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
  }

  .expandable-card.is-expanded .card-more,
  .expandable-card[aria-expanded="true"] .card-more,
  .expandable-card:focus .card-more {
    max-height: 360px;
    margin-top: 18px;
    opacity: 1;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Light, welcoming SmartLink visual system */
:root {
  --white: #10264a;
  --text: #203858;
  --muted: #62758f;
  --line: rgba(46, 88, 142, 0.14);
  --glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(50, 82, 130, 0.14);
  --cyan-500: #13bfe1;
  --cyan-400: #19b8df;
  --cyan-300: #42cbea;
  --blue-400: #466fe7;
  --violet: #806fe8;
  --mint: #56d7c2;
  --peach: #ffb58f;
  --radius-lg: 34px;
  --radius-md: 25px;
  --radius-sm: 15px;
}

html {
  background: #f7f9ff;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 88% 7%, rgba(68, 194, 238, 0.2), transparent 31rem),
    radial-gradient(circle at 6% 22%, rgba(128, 111, 232, 0.13), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, #f5f8ff 48%, #ffffff 100%);
}

body::before {
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(56, 106, 172, 0.12) 1px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

.site-header {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 34px rgba(63, 90, 133, 0.05);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(51, 94, 150, 0.12);
  box-shadow: 0 14px 38px rgba(63, 90, 133, 0.09);
}

.nav-wrap {
  min-height: 94px;
}

.brand-logo {
  position: relative;
  width: 194px;
  height: 73px;
  display: block;
  flex: 0 0 auto;
  background-image: url("logo-smartlink.png");
  background-repeat: no-repeat;
  background-position: 52.8% 50.2%;
  background-size: 174.7% auto;
}

.brand-logo.footer-logo {
  width: 238px;
  height: 90px;
}

.site-nav > a:not(.button) {
  color: #425b79;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  color: #173b74;
}

.site-nav > a:not(.button)::after {
  height: 2px;
  background: linear-gradient(90deg, var(--blue-400), var(--cyan-400));
  border-radius: 99px;
}

.button {
  min-height: 48px;
  padding-inline: 22px;
  color: #ffffff;
  background: linear-gradient(105deg, #3869df, #1abbdc);
  border-color: transparent;
  border-radius: 999px;
  box-shadow: 0 13px 28px rgba(47, 112, 217, 0.22);
}

.button:hover {
  color: #ffffff;
  background: linear-gradient(105deg, #2e5fd5, #12aecd);
  border-color: transparent;
  box-shadow: 0 17px 36px rgba(47, 112, 217, 0.27);
}

.button.secondary {
  color: #27508d;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(54, 104, 169, 0.2);
  box-shadow: 0 10px 30px rgba(47, 82, 126, 0.08);
}

.button.secondary:hover {
  color: #173b74;
  background: #ffffff;
  border-color: rgba(25, 184, 223, 0.45);
}

.nav-toggle {
  color: #214a83;
  background: #f1f6ff;
  border-color: rgba(54, 104, 169, 0.17);
}

.eyebrow {
  color: #2575c9;
}

.hero {
  min-height: 690px;
  padding-top: 72px;
}

.hero::before {
  top: -80px;
  left: 67%;
  width: min(760px, 76vw);
  background: radial-gradient(circle, rgba(58, 179, 234, 0.21), rgba(132, 116, 232, 0.08) 42%, transparent 70%);
  filter: blur(2px);
}

.hero::after {
  position: absolute;
  top: 8%;
  right: -8%;
  z-index: -1;
  width: 380px;
  height: 380px;
  content: "";
  background: linear-gradient(145deg, rgba(81, 214, 196, 0.17), rgba(113, 133, 237, 0.09));
  border-radius: 42% 58% 63% 37% / 43% 39% 61% 57%;
  filter: blur(3px);
  transform: rotate(18deg);
}

.hero h1,
.page-hero h1,
.section h2,
.page-section h2,
.path-card h3,
.step h3,
.capability-card h3,
.project-card h3,
.model-card h3,
.info-card h3,
.detail-card h3,
.process-row h3,
.control-header strong,
.footer-title {
  color: #132f57;
}

.hero h1 .accent,
.page-hero h1 .accent {
  color: transparent;
  background: linear-gradient(95deg, #315fce, #16b9dc 58%, #7669df);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead,
.page-lead {
  color: #566d88;
}

.hero-note,
.section-intro,
.path-card p,
.step p,
.capability-card p,
.project-card p,
.model-card p,
.info-card p,
.detail-card p,
.process-row p,
.footer-about,
.footer-links a,
.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.system-visual::before {
  position: absolute;
  inset: 8% 5% 7%;
  content: "";
  background:
    radial-gradient(circle at 25% 28%, rgba(81, 214, 196, 0.25), transparent 35%),
    radial-gradient(circle at 75% 74%, rgba(128, 111, 232, 0.18), transparent 37%),
    rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 42% 58% 54% 46% / 46% 43% 57% 54%;
  box-shadow: 0 30px 80px rgba(71, 107, 159, 0.12);
  transform: rotate(-4deg);
}

.system-orbit {
  border-color: rgba(63, 125, 205, 0.15);
}

.system-orbit::before,
.system-orbit::after {
  border-color: rgba(71, 119, 211, 0.17);
}

.system-core {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(235, 246, 255, 0.94));
  border-color: rgba(66, 131, 205, 0.22);
  box-shadow: 0 26px 65px rgba(56, 91, 139, 0.18), inset 0 1px #ffffff;
}

.core-top,
.core-subcaption {
  color: #6d8198;
}

.system-node {
  color: #26476c;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(63, 106, 161, 0.15);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(56, 91, 139, 0.13);
}

.trust-grid {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(56, 91, 139, 0.1);
}

.trust-value {
  color: #183861;
}

.section.alt,
.page-section.alt {
  background:
    radial-gradient(circle at 10% 20%, rgba(87, 213, 196, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 80%, rgba(122, 111, 226, 0.1), transparent 28rem),
    linear-gradient(180deg, rgba(234, 245, 255, 0.66), rgba(246, 248, 255, 0.82));
  border-block-color: rgba(54, 104, 169, 0.09);
}

.path-card,
.capability-card,
.project-card,
.model-card,
.info-card,
.detail-card,
.process-row {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(54, 104, 169, 0.13);
  box-shadow: 0 18px 48px rgba(60, 91, 137, 0.09);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.path-card:hover,
.capability-card:hover,
.project-card:hover,
.model-card:hover,
.detail-card:hover {
  border-color: rgba(46, 126, 207, 0.24);
  box-shadow: 0 24px 58px rgba(60, 91, 137, 0.14);
  transform: translateY(-4px);
}

.path-card:first-child {
  background: linear-gradient(145deg, #ffffff, #eef6ff 62%, #edf0ff);
}

.path-card:nth-child(2) {
  background: linear-gradient(145deg, #ffffff, #ecfbfb 60%, #f4efff);
}

.card-index {
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: linear-gradient(135deg, #3869df, #20c3d7);
  border: 0;
  border-radius: 17px;
  box-shadow: 0 10px 24px rgba(51, 109, 206, 0.19);
}

.capability-card:nth-child(3n + 2) .card-index,
.project-card:nth-child(3n + 2) .card-index {
  background: linear-gradient(135deg, #806fe8, #55a6ef);
}

.capability-card:nth-child(3n) .card-index,
.project-card:nth-child(3n) .card-index {
  background: linear-gradient(135deg, #35bfae, #22b5df);
}

.text-link,
.model-tag {
  color: #266cc0;
}

.step-number {
  color: #ffffff;
  background: linear-gradient(135deg, #3f69dc, #1ec2d7);
  border-color: #f7f9ff;
  box-shadow: 0 9px 22px rgba(48, 104, 200, 0.2);
}

.control-panel,
.contact-form,
.result-panel {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(54, 104, 169, 0.14);
  box-shadow: 0 24px 65px rgba(55, 88, 137, 0.13);
}

.server-row {
  color: #355371;
  background: #f7faff;
  border-color: rgba(54, 104, 169, 0.1);
}

.check-list li,
.model-card li {
  color: #526a84;
}

.check-list li::before {
  background: #dff8f5;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.model-card.featured {
  background: linear-gradient(145deg, #ffffff, #edf7ff 60%, #f1efff);
  border-color: rgba(54, 112, 211, 0.22);
}

.model-tag {
  background: #edf6ff;
  border-color: rgba(54, 104, 169, 0.13);
}

.project-card::after {
  color: #3373c6;
  background: #f0f6ff;
  border-color: rgba(54, 104, 169, 0.15);
}

.cta-panel {
  background:
    radial-gradient(circle at 88% 5%, rgba(126, 108, 231, 0.17), transparent 25rem),
    linear-gradient(125deg, #e9f8ff, #edf2ff 48%, #f5efff);
  border-color: rgba(64, 111, 185, 0.15);
  box-shadow: 0 24px 65px rgba(55, 88, 137, 0.13);
}

.cta-panel p {
  color: #5c718a;
}

.cta-panel::after {
  border-color: rgba(64, 111, 185, 0.1);
  box-shadow: 0 0 0 60px rgba(80, 180, 221, 0.05), 0 0 0 120px rgba(126, 108, 231, 0.035);
}

.site-footer {
  background: linear-gradient(180deg, rgba(242, 247, 255, 0.68), #edf5ff);
  border-color: rgba(54, 104, 169, 0.1);
}

.footer-bottom {
  color: #73849a;
  border-color: rgba(54, 104, 169, 0.12);
}

.page-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(51, 188, 226, 0.18), transparent 26rem),
    radial-gradient(circle at 12% 90%, rgba(126, 108, 231, 0.11), transparent 26rem),
    rgba(249, 252, 255, 0.74);
  border-color: rgba(54, 104, 169, 0.09);
}

.breadcrumb {
  color: #71849a;
}

.field label {
  color: #385474;
}

.field input,
.field select,
.field textarea {
  color: #203858;
  background: #f7faff;
  border-color: rgba(54, 104, 169, 0.17);
}

.field select {
  color-scheme: light;
}

.form-note,
.form-status {
  color: #647991;
}

.form-result {
  background:
    radial-gradient(circle at 85% 12%, rgba(49, 190, 224, 0.18), transparent 28rem),
    #f7faff;
}

@media (max-width: 840px) {
  .site-nav {
    top: 86px;
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(54, 104, 169, 0.14);
    box-shadow: 0 24px 60px rgba(55, 88, 137, 0.16);
  }
}

@media (max-width: 620px) {
  .nav-wrap {
    min-height: 82px;
  }

  .brand-logo {
    width: 158px;
    height: 60px;
  }

  .brand-logo.footer-logo {
    width: 210px;
    height: 79px;
  }

  .hero {
    padding-top: 44px;
  }

  .system-visual::before {
    inset: 10% 2%;
  }
}
