:root {
  color-scheme: light;
  --ink: #111b32;
  --muted: #5e6881;
  --soft: #f1f5ff;
  --line: #dfe5f2;
  --surface: #ffffff;
  --surface-2: #f8faff;
  --deep: #0d1830;
  --teal: #2fb99d;
  --blue: #4968ff;
  --gold: #e6a83f;
  --violet: #7d4cff;
  --red: #cc5964;
  --green: #65a68d;
  --shadow: 0 20px 50px rgba(20, 32, 68, 0.12);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f9ff;
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(9, 18, 38, 0.88);
  box-shadow: 0 12px 30px rgba(7, 14, 32, 0.24);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 188px;
  min-height: 40px;
  padding: 0;
}

.brand-logo {
  width: 184px;
  height: auto;
}

.brand-logo-black {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.8vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.nav-links a {
  padding: 8px 0;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #fff;
}

.theme-toggle {
  display: inline-grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.theme-icon {
  grid-area: 1 / 1;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: opacity 160ms ease, transform 160ms ease;
}

.theme-icon-moon {
  opacity: 0;
  transform: scale(0.76) rotate(-18deg);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action {
  min-width: 126px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.header-action svg,
.primary-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0b1830;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 35, 0.08), rgba(6, 16, 35, 0.26)),
    url("./assets/ai-solutions-hero.png") center / cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 14, 31, 0.68) 0%, rgba(7, 15, 32, 0.15) 43%, rgba(7, 15, 32, 0.58) 100%),
    linear-gradient(90deg, rgba(8, 17, 36, 0.4), rgba(8, 17, 36, 0), rgba(8, 17, 36, 0.38));
}

.hero-content {
  position: relative;
  width: min(1360px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(92px, 10vh, 118px) 0 clamp(38px, 5vh, 58px);
  color: #fff;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #5ed7c5;
  font-size: 14px;
  font-weight: 800;
}

.hero .eyebrow {
  color: rgba(216, 226, 255, 0.82);
  font-size: clamp(13px, 1.2vw, 17px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 86px);
  line-height: 1.07;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  line-height: 1.14;
  margin-bottom: -0.08em;
  padding-bottom: 0.08em;
  background: linear-gradient(90deg, #5367ff 0%, #8b45ff 54%, #a44ff5 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  max-width: 900px;
  margin: 20px auto 0;
  color: rgba(232, 238, 255, 0.84);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.58;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 880px;
  margin: 22px auto 0;
}

.tech-stack span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(216, 226, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(232, 238, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.header-action svg,
.primary-button svg,
.secondary-button svg {
  flex: 0 0 auto;
}

.primary-button {
  min-height: 58px;
  padding: 0 32px;
  background: linear-gradient(135deg, #5265ff, #8d3dff);
  color: #fff;
  box-shadow: 0 18px 36px rgba(93, 80, 255, 0.32);
  font-size: 17px;
}

.primary-button:hover {
  background: linear-gradient(135deg, #6072ff, #9850ff);
}

.secondary-button {
  min-height: 58px;
  padding: 0 32px;
  border: 1px solid rgba(216, 226, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 17px;
  backdrop-filter: blur(14px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 26px auto 0;
}

.hero-stats div {
  padding: 14px 18px;
  border: 1px solid rgba(216, 226, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-stats dt {
  font-size: 23px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: rgba(232, 238, 255, 0.72);
  font-size: 14px;
}

.section,
.intro-band,
.cta-section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.cta-grid h2 {
  margin: 0;
  font-size: clamp(31px, 4.5vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-grid p,
.section-heading p,
.scenario-main p,
.cta-grid p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section-heading.centered {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

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

.section-heading p {
  margin: 18px 0 0;
}

.alt {
  background: var(--soft);
}

.company-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 255, 0.96)),
    radial-gradient(circle at 14% 20%, rgba(73, 104, 255, 0.12), transparent 34%),
    radial-gradient(circle at 86% 70%, rgba(125, 76, 255, 0.1), transparent 38%);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.company-proof {
  display: grid;
  gap: 14px;
}

.company-proof div {
  position: relative;
  min-height: 120px;
  padding: 26px 28px 26px 32px;
  overflow: hidden;
  border: 1px solid rgba(73, 104, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.company-proof div::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, #5265ff, #8d3dff);
}

.company-proof strong {
  display: block;
  color: #172255;
  font-size: 22px;
  line-height: 1.2;
}

.company-proof span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.product-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #0a1428 0%, #111e3c 52%, #f1f5ff 52%, #f1f5ff 100%);
  color: #fff;
}

.product-section .section-heading p {
  color: rgba(232, 238, 255, 0.74);
}

.product-showcase {
  display: grid;
  gap: 24px;
}

.product-showcase figure {
  margin: 0;
}

.product-hero-shot,
.product-shot-grid figure {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.product-hero-shot img,
.product-shot-grid img {
  width: 100%;
  height: auto;
  background: #050505;
  transition: transform 260ms ease, filter 260ms ease;
}

.product-hero-shot img {
  display: block;
}

.product-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-shot-grid figure:hover img,
.product-hero-shot:hover img {
  transform: scale(1.015);
}

.product-shot {
  cursor: zoom-in;
}

.product-shot:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.42);
}

.shot-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.shot-label span {
  color: rgba(255, 255, 255, 0.5);
}

.shot-zoom {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 18px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.62);
  color: rgba(255, 255, 255, 0.86);
  cursor: zoom-in;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  padding: 0 12px;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  backdrop-filter: blur(12px);
}

.shot-zoom svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.product-shot:hover .shot-zoom,
.product-shot:focus-within .shot-zoom {
  opacity: 1;
  transform: translateY(0);
}

.shot-zoom:hover {
  background: rgba(0, 0, 0, 0.78);
}

.product-showcase figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 22px 20px;
  border-top: 1px solid rgba(216, 226, 255, 0.12);
  color: rgba(232, 238, 255, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.product-showcase figcaption strong {
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
}

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

.solution-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.solution-card.highlight {
  background: linear-gradient(180deg, #162555, #253580);
  color: #fff;
}

.solution-card.highlight p {
  color: rgba(232, 238, 255, 0.78);
}

.solution-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  border-radius: 8px;
  background: #eef2ff;
  color: #5265ff;
  font-weight: 900;
}

.solution-card.highlight .solution-number {
  background: rgba(255, 255, 255, 0.12);
  color: #9ce9d8;
}

.solution-card h3 {
  margin: 34px 0 14px;
  font-size: 24px;
  line-height: 1.25;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.dark-section {
  background:
    linear-gradient(180deg, rgba(13, 24, 48, 0.96), rgba(19, 30, 65, 0.96)),
    url("./assets/ai-solutions-hero.png") center / cover;
  color: #fff;
}

.dark-section .section-heading p,
.dark-section .architecture p {
  color: rgba(232, 238, 255, 0.76);
}

.dark-section .architecture article {
  border-color: rgba(216, 226, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.dark-section .architecture span {
  background: rgba(255, 255, 255, 0.12);
  color: #9ce9d8;
}

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

.architecture article,
.feature-card,
.scenario-list article,
.delivery-steps li,
.model-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.architecture article {
  min-height: 260px;
  padding: 30px;
}

.architecture span,
.delivery-steps span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #e4f3ef;
  color: #1f806c;
  font-weight: 900;
}

.architecture h3,
.capability-card h3,
.scenario-list h3,
.delivery-steps h3,
.scenario-main h3 {
  margin: 24px 0 12px;
  font-size: 24px;
  line-height: 1.28;
}

.architecture p,
.capability-card p,
.scenario-list p,
.delivery-steps p,
.model-row strong {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

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

.feature-card {
  min-height: 254px;
  padding: 28px;
}

.icon-chip {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
}

.icon-chip svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.teal { background: var(--teal); }
.blue { background: var(--blue); }
.gold { background: var(--gold); }
.violet { background: var(--violet); }
.red { background: var(--red); }
.green { background: var(--green); }

.model-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.model-panel {
  padding: 10px;
}

.model-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.model-row:last-child {
  border-bottom: 0;
}

.model-row span {
  color: var(--deep);
  font-weight: 900;
}

.scenario-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 18px;
}

.scenario-main {
  min-height: 430px;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 24, 48, 0.93), rgba(47, 56, 126, 0.82)),
    url("./assets/ai-solutions-hero.png") center / cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.scenario-main .section-kicker {
  color: #9be7d2;
}

.scenario-main h3 {
  max-width: 660px;
  margin-top: 0;
  font-size: clamp(30px, 4vw, 44px);
}

.scenario-main p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
}

.scenario-list {
  display: grid;
  gap: 18px;
}

.scenario-list article {
  padding: 28px;
}

.scenario-list h3 {
  margin-top: 0;
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.delivery-steps li {
  min-height: 272px;
  padding: 28px;
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(8, 18, 38, 0.96), rgba(37, 45, 106, 0.94)),
    url("./assets/ai-solutions-hero.png") center / cover;
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.cta-grid p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.76);
}

.primary-button.light {
  min-width: 268px;
  background: #fff;
  color: #111b32;
  box-shadow: none;
}

.site-footer {
  padding: 28px 0;
  background: #071124;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer-grid a {
  color: #9ce9d8;
}

body.lead-open {
  overflow: hidden;
}

.lead-modal[hidden] {
  display: none;
}

.shot-modal[hidden] {
  display: none;
}

.shot-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
}

.shot-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.78);
  backdrop-filter: blur(14px);
}

.shot-dialog {
  position: relative;
  display: grid;
  width: min(1480px, 100%);
  max-height: 92vh;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(9, 15, 28, 0.96);
  color: #fff;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.48);
}

.shot-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shot-toolbar h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
}

.shot-toolbar p:last-child {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(232, 238, 255, 0.72);
  line-height: 1.65;
}

.shot-close,
.shot-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.shot-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.shot-close svg,
.shot-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.shot-stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  padding: clamp(16px, 3vw, 30px);
}

.shot-stage img {
  max-width: 100%;
  max-height: calc(92vh - 150px);
  border-radius: 8px;
  object-fit: contain;
  background: #050b16;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.shot-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
}

.shot-nav.prev {
  left: 20px;
}

.shot-nav.next {
  right: 20px;
}

.shot-nav:hover,
.shot-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
}

.lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.72);
  backdrop-filter: blur(12px);
}

.lead-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(14, 23, 42, 0.96);
  color: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.4);
}

.lead-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
}

.lead-close svg,
.lead-submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.lead-dialog h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.lead-intro {
  max-width: 560px;
  margin: 16px 0 28px;
  color: rgba(232, 238, 255, 0.72);
  font-size: 16px;
  line-height: 1.78;
}

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

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label.full,
.lead-submit,
.lead-status {
  grid-column: 1 / -1;
}

.lead-form span {
  color: rgba(232, 238, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
  outline: none;
  padding: 0 14px;
}

.lead-form select option {
  background: #ffffff;
  color: #101522;
}

.lead-form textarea {
  min-height: 112px;
  resize: vertical;
  padding-block: 12px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(232, 238, 255, 0.42);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(111, 140, 255, 0.76);
  box-shadow: 0 0 0 4px rgba(111, 140, 255, 0.16);
}

.lead-submit {
  justify-self: start;
  margin-top: 6px;
}

.lead-status {
  min-height: 24px;
  margin: 0;
  color: #86f0d7;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    min-width: 48px;
    width: 48px;
    padding: 0;
  }

  .header-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hero {
    min-height: 780px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 15, 32, 0.72) 0%, rgba(7, 15, 32, 0.2) 48%, rgba(7, 15, 32, 0.68) 100%);
  }

  .hero-content {
    width: min(760px, calc(100% - 36px));
    margin: 0 auto;
    padding-bottom: 72px;
  }

  .intro-grid,
  .company-layout,
  .model-grid,
  .scenario-layout,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

  .architecture,
  .capability-grid,
  .delivery-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-grid {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: 152px;
    min-height: 34px;
  }

  .brand-logo {
    width: 150px;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-content {
    padding: 126px 0 52px;
  }

  .hero-stats,
  .architecture,
  .capability-grid,
  .delivery-steps,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    display: none;
  }

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

  .tech-stack {
    margin-top: 22px;
    justify-content: flex-start;
  }

  .tech-stack span {
    min-height: 32px;
    font-size: 13px;
  }

  .product-section {
    background:
      linear-gradient(180deg, #0a1428 0%, #111e3c 62%, #f1f5ff 62%, #f1f5ff 100%);
  }

  .product-showcase figcaption {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px;
  }

  .product-shot-grid {
    grid-template-columns: 1fr;
  }

  .shot-zoom {
    opacity: 1;
    transform: none;
  }

  .shot-modal {
    padding: 10px;
  }

  .shot-toolbar {
    padding: 16px;
  }

  .shot-stage {
    padding: 12px;
  }

  .shot-stage img {
    max-height: calc(92vh - 190px);
  }

  .shot-nav {
    bottom: 18px;
    top: auto;
    transform: none;
  }

  .shot-nav.prev {
    left: calc(50% - 58px);
  }

  .shot-nav.next {
    right: calc(50% - 58px);
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .model-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-grid {
    flex-direction: column;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .lead-submit {
    width: 100%;
  }
}

body[data-theme="mono-dark"] {
  --ink: #f6f6f6;
  --muted: #a6a6a6;
  --soft: #0d0d0d;
  --line: #262626;
  --surface: #101010;
  --surface-2: #151515;
  --deep: #ffffff;
  --teal: #ffffff;
  --blue: #e8e8e8;
  --gold: #c9c9c9;
  --violet: #ffffff;
  --red: #d7d7d7;
  --green: #ededed;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  color: var(--ink);
  background: #050505;
}

body[data-theme="mono-dark"] .site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-theme="mono-dark"] .hero {
  background: #050505;
}

body[data-theme="mono-dark"] .hero-media {
  filter: grayscale(1) contrast(1.18) brightness(0.54);
}

body[data-theme="mono-dark"] .hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.2) 42%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.1), transparent 42%);
}

body[data-theme="mono-dark"] .eyebrow,
body[data-theme="mono-dark"] .section-kicker {
  color: #f5f5f5;
}

body[data-theme="mono-dark"] .hero h1 span {
  background: linear-gradient(90deg, #ffffff, #bdbdbd);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-theme="mono-dark"] .hero-lede,
body[data-theme="mono-dark"] .hero-stats dd,
body[data-theme="mono-dark"] .tech-stack span {
  color: rgba(255, 255, 255, 0.72);
}

body[data-theme="mono-dark"] .primary-button {
  background: #ffffff;
  color: #050505;
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.13);
}

body[data-theme="mono-dark"] .primary-button:hover {
  background: #e8e8e8;
}

body[data-theme="mono-dark"] .secondary-button,
body[data-theme="mono-dark"] .header-action,
body[data-theme="mono-dark"] .tech-stack span,
body[data-theme="mono-dark"] .hero-stats div {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

body[data-theme="mono-dark"] .intro-band,
body[data-theme="mono-dark"] .section,
body[data-theme="mono-dark"] .alt,
body[data-theme="mono-dark"] .company-section {
  background: #050505;
}

body[data-theme="mono-dark"] .intro-grid p,
body[data-theme="mono-dark"] .section-heading p,
body[data-theme="mono-dark"] .scenario-main p,
body[data-theme="mono-dark"] .cta-grid p,
body[data-theme="mono-dark"] .architecture p,
body[data-theme="mono-dark"] .capability-card p,
body[data-theme="mono-dark"] .scenario-list p,
body[data-theme="mono-dark"] .delivery-steps p,
body[data-theme="mono-dark"] .solution-card p,
body[data-theme="mono-dark"] .model-row strong,
body[data-theme="mono-dark"] .company-proof span {
  color: #a8a8a8;
}

body[data-theme="mono-dark"] .solution-card,
body[data-theme="mono-dark"] .architecture article,
body[data-theme="mono-dark"] .feature-card,
body[data-theme="mono-dark"] .scenario-list article,
body[data-theme="mono-dark"] .delivery-steps li,
body[data-theme="mono-dark"] .model-panel,
body[data-theme="mono-dark"] .company-proof div {
  border-color: #242424;
  background: #101010;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

body[data-theme="mono-dark"] .solution-card.highlight,
body[data-theme="mono-dark"] .dark-section {
  background: #0b0b0b;
}

body[data-theme="mono-dark"] .architecture span,
body[data-theme="mono-dark"] .delivery-steps span,
body[data-theme="mono-dark"] .solution-number,
body[data-theme="mono-dark"] .icon-chip {
  background: #ffffff;
  color: #050505;
}

body[data-theme="mono-dark"] .teal,
body[data-theme="mono-dark"] .blue,
body[data-theme="mono-dark"] .gold,
body[data-theme="mono-dark"] .violet,
body[data-theme="mono-dark"] .red,
body[data-theme="mono-dark"] .green {
  background: #ffffff;
}

body[data-theme="mono-dark"] .model-row,
body[data-theme="mono-dark"] .product-showcase figcaption {
  border-color: #242424;
}

body[data-theme="mono-dark"] .model-row span,
body[data-theme="mono-dark"] .company-proof strong {
  color: #ffffff;
}

body[data-theme="mono-dark"] .product-section {
  background:
    linear-gradient(180deg, #050505 0%, #050505 58%, #101010 58%, #101010 100%);
}

body[data-theme="mono-dark"] .product-hero-shot,
body[data-theme="mono-dark"] .product-shot-grid figure {
  border-color: rgba(255, 255, 255, 0.12);
  background: #050505;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

body[data-theme="mono-dark"] .shot-label {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.68);
}

body[data-theme="mono-dark"] .scenario-main,
body[data-theme="mono-dark"] .cta-section {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 20, 0.88)),
    url("./assets/ai-solutions-hero.png") center / cover;
}

body[data-theme="mono-dark"] .site-footer {
  background: #050505;
  border-top: 1px solid #202020;
}

body[data-theme="mono-dark"] .footer-grid a {
  color: #ffffff;
}

body[data-theme="mono-light"] {
  --ink: #050505;
  --muted: #555555;
  --soft: #f3f3f3;
  --line: #dddddd;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --deep: #050505;
  --teal: #050505;
  --blue: #111111;
  --gold: #444444;
  --violet: #050505;
  --red: #333333;
  --green: #151515;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.1);
  color: var(--ink);
  background: #ffffff;
}

body[data-theme="mono-light"] .site-header {
  color: #050505;
}

body[data-theme="mono-light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body[data-theme="mono-light"] .brand {
  color: #050505;
}

body[data-theme="mono-light"] .brand-logo-white {
  display: none;
}

body[data-theme="mono-light"] .brand-logo-black {
  display: block;
}

body[data-theme="mono-light"] .nav-links {
  color: rgba(5, 5, 5, 0.68);
}

body[data-theme="mono-light"] .nav-links a:hover {
  color: #050505;
}

body[data-theme="mono-light"] .theme-toggle,
body[data-theme="mono-light"] .header-action {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #050505;
}

body[data-theme="mono-light"] .hero {
  background: #ffffff;
}

body[data-theme="mono-light"] .hero-media {
  filter: grayscale(1) contrast(0.95) brightness(1.55);
  opacity: 0.36;
}

body[data-theme="mono-light"] .hero-shade {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.18) 44%, rgba(255, 255, 255, 0.82) 100%),
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.08), transparent 44%);
}

body[data-theme="mono-light"] .hero-content,
body[data-theme="mono-light"] .hero .eyebrow,
body[data-theme="mono-light"] .hero-lede {
  color: #050505;
}

body[data-theme="mono-light"] .hero h1 span {
  background: linear-gradient(90deg, #050505, #777777);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-theme="mono-light"] .hero-lede,
body[data-theme="mono-light"] .hero-stats dd,
body[data-theme="mono-light"] .tech-stack span {
  color: rgba(5, 5, 5, 0.68);
}

body[data-theme="mono-light"] .primary-button {
  background: #050505;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

body[data-theme="mono-light"] .primary-button:hover {
  background: #1a1a1a;
}

body[data-theme="mono-light"] .secondary-button,
body[data-theme="mono-light"] .tech-stack span,
body[data-theme="mono-light"] .hero-stats div {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.62);
  color: #050505;
}

body[data-theme="mono-light"] .intro-band,
body[data-theme="mono-light"] .section,
body[data-theme="mono-light"] .company-section {
  background: #ffffff;
}

body[data-theme="mono-light"] .alt {
  background: #f3f3f3;
}

body[data-theme="mono-light"] .section-kicker,
body[data-theme="mono-light"] .eyebrow {
  color: #050505;
}

body[data-theme="mono-light"] .solution-card.highlight,
body[data-theme="mono-light"] .dark-section {
  background: #0a0a0a;
  color: #ffffff;
}

body[data-theme="mono-light"] .architecture span,
body[data-theme="mono-light"] .delivery-steps span,
body[data-theme="mono-light"] .solution-number,
body[data-theme="mono-light"] .icon-chip {
  background: #050505;
  color: #ffffff;
}

body[data-theme="mono-light"] .teal,
body[data-theme="mono-light"] .blue,
body[data-theme="mono-light"] .gold,
body[data-theme="mono-light"] .violet,
body[data-theme="mono-light"] .red,
body[data-theme="mono-light"] .green {
  background: #050505;
}

body[data-theme="mono-light"] .company-proof div::before {
  background: #050505;
}

body[data-theme="mono-light"] .product-section {
  background:
    linear-gradient(180deg, #050505 0%, #050505 58%, #f3f3f3 58%, #f3f3f3 100%);
}

body[data-theme="mono-light"] .product-section .section-heading h2,
body[data-theme="mono-light"] .product-section .section-kicker {
  color: #ffffff;
}

body[data-theme="mono-light"] .product-section .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

body[data-theme="mono-light"] .product-hero-shot,
body[data-theme="mono-light"] .product-shot-grid figure {
  border-color: rgba(255, 255, 255, 0.16);
  background: #050505;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.2);
}

body[data-theme="mono-light"] .cta-section {
  background: #050505;
}

body[data-theme="mono-light"] .site-footer {
  background: #ffffff;
  border-top: 1px solid #dddddd;
  color: #555555;
}

body[data-theme="mono-light"] .footer-grid a {
  color: #050505;
}

/* Light on/off theme refinement: deep mode is not pure black, light mode is not stark white. */
body[data-theme="mono-dark"] {
  --ink: #f5f8ff;
  --muted: #a8b2ca;
  --soft: #10192c;
  --line: #263552;
  --surface: #121c31;
  --surface-2: #17233b;
  --deep: #f7faff;
  --teal: #52d6c7;
  --blue: #6f8cff;
  --gold: #d8b76a;
  --violet: #9a7cff;
  --red: #df7c86;
  --green: #82c9ac;
  --shadow: 0 26px 76px rgba(4, 10, 24, 0.42);
  background: #0b1220;
}

body[data-theme="mono-dark"] .site-header.is-scrolled {
  background: rgba(10, 18, 32, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="mono-dark"] .hero {
  background: #0b1220;
}

body[data-theme="mono-dark"] .hero-media {
  filter: saturate(0.92) contrast(1.04) brightness(0.72);
}

body[data-theme="mono-dark"] .hero-shade {
  background:
    linear-gradient(180deg, rgba(8, 14, 27, 0.76) 0%, rgba(11, 18, 32, 0.22) 44%, rgba(8, 14, 27, 0.72) 100%),
    radial-gradient(circle at 50% 42%, rgba(93, 128, 255, 0.16), transparent 44%);
}

body[data-theme="mono-dark"] .hero h1 span {
  background: linear-gradient(90deg, #80a4ff, #b18cff 58%, #5ee0d0);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-theme="mono-dark"] .primary-button {
  background: linear-gradient(135deg, #5f78ff, #8d55ff);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(95, 120, 255, 0.28);
}

body[data-theme="mono-dark"] .primary-button:hover {
  background: linear-gradient(135deg, #6e86ff, #9c68ff);
}

body[data-theme="mono-dark"] .intro-band,
body[data-theme="mono-dark"] .section,
body[data-theme="mono-dark"] .alt,
body[data-theme="mono-dark"] .company-section {
  background: #0b1220;
}

body[data-theme="mono-dark"] .solution-card,
body[data-theme="mono-dark"] .architecture article,
body[data-theme="mono-dark"] .feature-card,
body[data-theme="mono-dark"] .scenario-list article,
body[data-theme="mono-dark"] .delivery-steps li,
body[data-theme="mono-dark"] .model-panel,
body[data-theme="mono-dark"] .company-proof div {
  border-color: rgba(164, 184, 230, 0.14);
  background: rgba(18, 28, 49, 0.94);
  box-shadow: 0 26px 76px rgba(4, 10, 24, 0.32);
}

body[data-theme="mono-dark"] .solution-card.highlight,
body[data-theme="mono-dark"] .dark-section {
  background:
    linear-gradient(135deg, rgba(17, 29, 58, 0.98), rgba(35, 45, 88, 0.96)),
    url("./assets/ai-solutions-hero.png") center / cover;
}

body[data-theme="mono-dark"] .architecture span,
body[data-theme="mono-dark"] .delivery-steps span,
body[data-theme="mono-dark"] .solution-number,
body[data-theme="mono-dark"] .icon-chip {
  background: rgba(109, 138, 255, 0.16);
  color: #dfe7ff;
}

body[data-theme="mono-dark"] .teal { background: #2fb99d; }
body[data-theme="mono-dark"] .blue { background: #5f78ff; }
body[data-theme="mono-dark"] .gold { background: #d8a84c; }
body[data-theme="mono-dark"] .violet { background: #8d55ff; }
body[data-theme="mono-dark"] .red { background: #d86a76; }
body[data-theme="mono-dark"] .green { background: #65a68d; }

body[data-theme="mono-dark"] .product-section {
  background:
    linear-gradient(180deg, #0b1220 0%, #0e172a 58%, #10192c 58%, #10192c 100%);
}

body[data-theme="mono-dark"] .scenario-main,
body[data-theme="mono-dark"] .cta-section {
  background:
    linear-gradient(135deg, rgba(9, 17, 32, 0.92), rgba(33, 43, 83, 0.88)),
    url("./assets/ai-solutions-hero.png") center / cover;
}

body[data-theme="mono-dark"] .site-footer {
  background: #0b1220;
  border-top-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="mono-light"] {
  --ink: #101522;
  --muted: #5d687d;
  --soft: #eef3fb;
  --line: #dce4f2;
  --surface: #ffffff;
  --surface-2: #f7faff;
  --deep: #111827;
  --teal: #2f9f8c;
  --blue: #4f6fff;
  --gold: #c58b28;
  --violet: #7a55ef;
  --red: #bd5965;
  --green: #4f987d;
  --shadow: 0 24px 72px rgba(37, 54, 96, 0.12);
  background: #f7faff;
}

body[data-theme="mono-light"] .site-header.is-scrolled {
  background: rgba(248, 251, 255, 0.88);
  border-bottom-color: rgba(20, 31, 54, 0.1);
}

body[data-theme="mono-light"] .hero {
  background: #f7faff;
}

body[data-theme="mono-light"] .hero-media {
  filter: saturate(0.82) contrast(0.92) brightness(1.38);
  opacity: 0.46;
}

body[data-theme="mono-light"] .hero-shade {
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.78) 0%, rgba(247, 250, 255, 0.18) 45%, rgba(247, 250, 255, 0.82) 100%),
    radial-gradient(circle at 50% 42%, rgba(83, 111, 255, 0.1), transparent 44%);
}

body[data-theme="mono-light"] .hero h1 span {
  background: linear-gradient(90deg, #4f6fff, #7a55ef 58%, #2f9f8c);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-theme="mono-light"] .primary-button {
  background: linear-gradient(135deg, #4f6fff, #7a55ef);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(79, 111, 255, 0.22);
}

body[data-theme="mono-light"] .secondary-button,
body[data-theme="mono-light"] .tech-stack span,
body[data-theme="mono-light"] .hero-stats div {
  border-color: rgba(24, 39, 74, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

body[data-theme="mono-light"] .intro-band,
body[data-theme="mono-light"] .section,
body[data-theme="mono-light"] .company-section {
  background: #f7faff;
}

body[data-theme="mono-light"] .alt {
  background: #eef3fb;
}

body[data-theme="mono-light"] .solution-card.highlight,
body[data-theme="mono-light"] .dark-section {
  background:
    linear-gradient(135deg, rgba(16, 28, 58, 0.98), rgba(40, 53, 103, 0.96)),
    url("./assets/ai-solutions-hero.png") center / cover;
  color: #ffffff;
}

body[data-theme="mono-light"] .architecture span,
body[data-theme="mono-light"] .delivery-steps span,
body[data-theme="mono-light"] .solution-number,
body[data-theme="mono-light"] .icon-chip {
  background: #e8edff;
  color: #3f5eff;
}

body[data-theme="mono-light"] .teal { background: #2f9f8c; color: #fff; }
body[data-theme="mono-light"] .blue { background: #4f6fff; color: #fff; }
body[data-theme="mono-light"] .gold { background: #c58b28; color: #fff; }
body[data-theme="mono-light"] .violet { background: #7a55ef; color: #fff; }
body[data-theme="mono-light"] .red { background: #bd5965; color: #fff; }
body[data-theme="mono-light"] .green { background: #4f987d; color: #fff; }

body[data-theme="mono-light"] .product-section {
  background:
    linear-gradient(180deg, #101827 0%, #17213a 58%, #eef3fb 58%, #eef3fb 100%);
}

body[data-theme="mono-light"] .product-section .section-heading h2,
body[data-theme="mono-light"] .product-section .section-kicker {
  color: #ffffff;
}

body[data-theme="mono-light"] .product-section .section-heading p {
  color: rgba(236, 243, 255, 0.76);
}

body[data-theme="mono-light"] .cta-section {
  background:
    linear-gradient(135deg, rgba(16, 28, 58, 0.96), rgba(42, 56, 112, 0.92)),
    url("./assets/ai-solutions-hero.png") center / cover;
}

body[data-theme="mono-light"] .site-footer {
  background: #f7faff;
  border-top-color: #dce4f2;
  color: #5d687d;
}

body[data-theme="mono-light"] .footer-grid a {
  color: #263b84;
}

body[data-theme="mono-light"] .lead-backdrop {
  background: rgba(18, 28, 48, 0.42);
}

body[data-theme="mono-light"] .lead-dialog {
  border-color: rgba(16, 21, 34, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #101522;
  box-shadow: 0 34px 90px rgba(37, 54, 96, 0.2);
}

body[data-theme="mono-light"] .lead-intro,
body[data-theme="mono-light"] .lead-form span {
  color: #5d687d;
}

body[data-theme="mono-light"] .lead-close,
body[data-theme="mono-light"] .lead-form input,
body[data-theme="mono-light"] .lead-form select,
body[data-theme="mono-light"] .lead-form textarea {
  border-color: rgba(16, 21, 34, 0.14);
  background: rgba(247, 250, 255, 0.9);
  color: #101522;
}

body[data-theme="mono-light"] .lead-form input::placeholder,
body[data-theme="mono-light"] .lead-form textarea::placeholder {
  color: rgba(93, 104, 125, 0.52);
}

body[data-theme="mono-light"] .lead-status {
  color: #217b66;
}

/* Single icon theme toggle. Dark mode shows sun; light mode shows moon. */
.theme-toggle {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
}

body[data-theme="mono-dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

body[data-theme="mono-dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

body[data-theme="mono-dark"] .theme-icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

body[data-theme="mono-dark"] .theme-icon-moon {
  opacity: 0;
  transform: scale(0.76) rotate(-18deg);
}

body[data-theme="mono-light"] .theme-toggle {
  border-color: rgba(16, 21, 34, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: #101522;
  box-shadow: 0 10px 30px rgba(24, 39, 74, 0.1);
}

body[data-theme="mono-light"] .theme-toggle:hover {
  background: #ffffff;
}

body[data-theme="mono-light"] .theme-icon-sun {
  opacity: 0;
  transform: scale(0.76) rotate(18deg);
}

body[data-theme="mono-light"] .theme-icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Final light-theme review fixes */
body[data-theme="mono-light"] #solutions {
  background: #f7faff;
}

body[data-theme="mono-light"] .solution-card {
  border-color: #dce4f2;
  background: rgba(255, 255, 255, 0.94);
  color: #101522;
  box-shadow: 0 24px 72px rgba(37, 54, 96, 0.1);
}

body[data-theme="mono-light"] .solution-card.highlight {
  border-color: rgba(79, 111, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 255, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(79, 111, 255, 0.14), transparent 36%);
  color: #101522;
}

body[data-theme="mono-light"] .solution-card.highlight p {
  color: #5d687d;
}

body[data-theme="mono-light"] .solution-card.highlight .solution-number {
  background: linear-gradient(135deg, #4f6fff, #7a55ef);
  color: #ffffff;
}

body[data-theme="mono-light"] .solution-card .solution-number {
  background: #e8edff;
  color: #4f6fff;
}

/* Geist-inspired refinement based on Vercel design tokens. */
:root {
  --geist-radius-sm: 6px;
  --geist-radius-md: 12px;
  --geist-gap-1: 4px;
  --geist-gap-2: 8px;
  --geist-gap-3: 12px;
  --geist-gap-4: 16px;
  --geist-gap-6: 24px;
  --geist-gap-8: 32px;
  --geist-focus: #006bff;
  --geist-raised: 0 2px 2px rgba(0, 0, 0, 0.04);
  --geist-modal: 0 1px 1px rgba(0, 0, 0, 0.02), 0 8px 16px -4px rgba(0, 0, 0, 0.04), 0 24px 32px -8px rgba(0, 0, 0, 0.06);
  font-family:
    "Geist", "Geist Sans", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
    "Noto Sans CJK SC", Arial, sans-serif;
}

body[data-theme="mono-dark"] {
  --ink: #ededed;
  --muted: #a0a0a0;
  --soft: #1a1a1a;
  --line: #2e2e2e;
  --surface: #0a0a0a;
  --surface-2: #111111;
  --deep: #ededed;
  --blue: #006efe;
  --teal: #00aa95;
  --gold: #ffae00;
  --violet: #9440d5;
  --red: #e2162a;
  --green: #00ac3a;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
  background: #000000;
}

body[data-theme="mono-light"] {
  --ink: #171717;
  --muted: #4d4d4d;
  --soft: #fafafa;
  --line: #e5e5e5;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --deep: #171717;
  --blue: #006bff;
  --teal: #00ac96;
  --gold: #ffae00;
  --violet: #8500d1;
  --red: #ea001d;
  --green: #28a948;
  --shadow: var(--geist-raised);
  background: #ffffff;
}

body {
  color: var(--ink);
  background: var(--surface);
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
  letter-spacing: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.product-shot:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--geist-focus);
}

.site-header {
  padding: 16px clamp(16px, 4vw, 48px);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

body[data-theme="mono-dark"] .site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.86);
  border-bottom-color: #1f1f1f;
}

body[data-theme="mono-light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: #e6e6e6;
}

.nav-links {
  gap: clamp(16px, 2.6vw, 32px);
  font-size: 14px;
  font-weight: 500;
}

.header-action,
.primary-button,
.secondary-button {
  min-height: 40px;
  border-radius: var(--geist-radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 150ms cubic-bezier(0.175, 0.885, 0.32, 1.1),
    border-color 150ms cubic-bezier(0.175, 0.885, 0.32, 1.1),
    color 150ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.primary-button {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  box-shadow: none;
}

.primary-button:hover {
  background: color-mix(in srgb, var(--ink) 90%, var(--surface));
}

.secondary-button,
.header-action {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--ink);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.secondary-button:hover,
.header-action:hover {
  background: color-mix(in srgb, var(--surface-2) 88%, transparent);
  border-color: color-mix(in srgb, var(--muted) 36%, transparent);
}

body[data-theme="mono-dark"] .secondary-button,
body[data-theme="mono-dark"] .header-action {
  border-color: #2e2e2e;
  background: rgba(255, 255, 255, 0.06);
  color: #ededed;
}

body[data-theme="mono-dark"] .primary-button {
  border-color: #ededed;
  background: #ededed;
  color: #000000;
}

body[data-theme="mono-light"] .primary-button {
  border-color: #171717;
  background: #171717;
  color: #ffffff;
}

@media (max-width: 920px) {
  .header-action {
    width: 48px;
    min-width: 48px;
    padding: 0;
  }

  .header-action svg {
    width: 18px;
    min-width: 18px;
  }
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-color: color-mix(in srgb, var(--line) 88%, transparent);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--ink);
}

body[data-theme="mono-dark"] .theme-toggle {
  border-color: #2e2e2e;
  background: rgba(255, 255, 255, 0.08);
  color: #ededed;
}

body[data-theme="mono-light"] .theme-toggle {
  border-color: #e6e6e6;
  background: rgba(255, 255, 255, 0.9);
  color: #171717;
  box-shadow: none;
}

.hero {
  min-height: 92svh;
  background: var(--surface);
}

.hero-media {
  filter: grayscale(0.92) contrast(1.08);
}

body[data-theme="mono-dark"] .hero-media {
  filter: grayscale(0.9) contrast(1.1) brightness(0.48);
}

body[data-theme="mono-light"] .hero-media {
  filter: grayscale(0.96) contrast(0.95) brightness(1.42);
  opacity: 0.3;
}

.hero-shade,
body[data-theme="mono-dark"] .hero-shade,
body[data-theme="mono-light"] .hero-shade {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 82%, transparent) 0%, color-mix(in srgb, var(--surface) 18%, transparent) 45%, color-mix(in srgb, var(--surface) 88%, transparent) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--surface) 42%, transparent), transparent 28%, transparent 72%, color-mix(in srgb, var(--surface) 42%, transparent));
}

.hero-content {
  width: min(1200px, calc(100% - 32px));
  padding: clamp(96px, 12vh, 128px) 0 clamp(40px, 6vh, 64px);
}

.eyebrow,
.section-kicker,
.hero .eyebrow,
body[data-theme="mono-dark"] .eyebrow,
body[data-theme="mono-dark"] .section-kicker,
body[data-theme="mono-light"] .section-kicker,
body[data-theme="mono-light"] .eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 1120px;
  margin-inline: auto;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span,
body[data-theme="mono-dark"] .hero h1 span,
body[data-theme="mono-light"] .hero h1 span {
  background: none;
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
}

.hero-lede {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
}

body[data-theme="mono-dark"] .hero-lede,
body[data-theme="mono-dark"] .hero-stats dd,
body[data-theme="mono-dark"] .tech-stack span,
body[data-theme="mono-light"] .hero-lede,
body[data-theme="mono-light"] .hero-stats dd,
body[data-theme="mono-light"] .tech-stack span {
  color: var(--muted);
}

.hero-actions {
  gap: var(--geist-gap-3);
  margin-top: var(--geist-gap-8);
}

.tech-stack {
  gap: var(--geist-gap-2);
  margin-top: var(--geist-gap-6);
}

.tech-stack span,
.hero-stats div {
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: var(--geist-radius-sm);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  box-shadow: none;
}

body[data-theme="mono-dark"] .tech-stack span,
body[data-theme="mono-dark"] .hero-stats div {
  border-color: #2e2e2e;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
  gap: var(--geist-gap-3);
  max-width: 720px;
  margin-top: var(--geist-gap-6);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 600;
}

.section,
.intro-band,
.cta-section {
  padding: clamp(64px, 9vw, 96px) 0;
}

.section-inner {
  width: min(1200px, calc(100% - 32px));
}

.intro-band,
.section,
.alt,
.company-section,
body[data-theme="mono-dark"] .intro-band,
body[data-theme="mono-dark"] .section,
body[data-theme="mono-dark"] .alt,
body[data-theme="mono-dark"] .company-section,
body[data-theme="mono-light"] .intro-band,
body[data-theme="mono-light"] .section,
body[data-theme="mono-light"] .company-section,
body[data-theme="mono-light"] .alt {
  background: var(--surface);
}

.alt {
  border-block: 1px solid var(--line);
}

.company-section {
  background: var(--surface);
}

.intro-grid h2,
.section-heading h2,
.cta-grid h2 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-grid p,
.section-heading p,
.scenario-main p,
.cta-grid p,
.architecture p,
.capability-card p,
.scenario-list p,
.delivery-steps p,
.solution-card p,
.model-row strong,
.company-proof span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.company-proof div,
.solution-card,
.architecture article,
.feature-card,
.scenario-list article,
.delivery-steps li,
.model-panel,
.company-proof div,
.product-hero-shot,
.product-shot-grid figure {
  border: 1px solid var(--line);
  border-radius: var(--geist-radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
}

body[data-theme="mono-dark"] .solution-card,
body[data-theme="mono-dark"] .architecture article,
body[data-theme="mono-dark"] .feature-card,
body[data-theme="mono-dark"] .scenario-list article,
body[data-theme="mono-dark"] .delivery-steps li,
body[data-theme="mono-dark"] .model-panel,
body[data-theme="mono-dark"] .company-proof div {
  border-color: #2e2e2e;
  background: #0a0a0a;
  box-shadow: var(--shadow);
}

.company-proof div::before {
  background: var(--blue);
}

.company-proof strong,
.model-row span,
body[data-theme="mono-dark"] .company-proof strong,
body[data-theme="mono-dark"] .model-row span {
  color: var(--ink);
  font-weight: 600;
}

.solution-card.highlight,
body[data-theme="mono-light"] .solution-card.highlight,
body[data-theme="mono-dark"] .solution-card.highlight {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--ink);
}

.solution-card.highlight p,
body[data-theme="mono-light"] .solution-card.highlight p {
  color: var(--muted);
}

.architecture span,
.delivery-steps span,
.solution-number,
.icon-chip,
body[data-theme="mono-light"] .architecture span,
body[data-theme="mono-light"] .delivery-steps span,
body[data-theme="mono-light"] .solution-number,
body[data-theme="mono-light"] .icon-chip,
body[data-theme="mono-dark"] .architecture span,
body[data-theme="mono-dark"] .delivery-steps span,
body[data-theme="mono-dark"] .solution-number,
body[data-theme="mono-dark"] .icon-chip {
  border-radius: var(--geist-radius-sm);
  background: var(--surface-2);
  color: var(--ink);
}

.teal,
.blue,
.gold,
.violet,
.red,
.green,
body[data-theme="mono-light"] .teal,
body[data-theme="mono-light"] .blue,
body[data-theme="mono-light"] .gold,
body[data-theme="mono-light"] .violet,
body[data-theme="mono-light"] .red,
body[data-theme="mono-light"] .green,
body[data-theme="mono-dark"] .teal,
body[data-theme="mono-dark"] .blue,
body[data-theme="mono-dark"] .gold,
body[data-theme="mono-dark"] .violet,
body[data-theme="mono-dark"] .red,
body[data-theme="mono-dark"] .green {
  background: var(--ink);
  color: var(--surface);
}

.product-section,
body[data-theme="mono-light"] .product-section,
body[data-theme="mono-dark"] .product-section {
  background: var(--surface);
  color: var(--ink);
}

.product-section .section-heading h2,
.product-section .section-kicker,
body[data-theme="mono-light"] .product-section .section-heading h2,
body[data-theme="mono-light"] .product-section .section-kicker {
  color: var(--ink);
}

.product-section .section-heading p,
body[data-theme="mono-light"] .product-section .section-heading p {
  color: var(--muted);
}

.product-showcase {
  gap: var(--geist-gap-6);
}

.product-hero-shot,
.product-shot-grid figure,
body[data-theme="mono-light"] .product-hero-shot,
body[data-theme="mono-light"] .product-shot-grid figure,
body[data-theme="mono-dark"] .product-hero-shot,
body[data-theme="mono-dark"] .product-shot-grid figure {
  background: #000000;
  border-color: #2e2e2e;
  box-shadow: var(--shadow);
}

.product-shot:hover {
  border-color: color-mix(in srgb, var(--muted) 44%, transparent);
  box-shadow: var(--shadow);
}

.product-hero-shot img,
.product-shot-grid img {
  transition: transform 180ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.shot-label,
.shot-zoom {
  border-radius: var(--geist-radius-sm);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.72);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.scenario-main,
.cta-section,
body[data-theme="mono-light"] .cta-section,
body[data-theme="mono-dark"] .scenario-main,
body[data-theme="mono-dark"] .cta-section {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
}

.scenario-main .section-kicker,
.scenario-main p,
.cta-grid p {
  color: var(--muted);
}

body[data-theme="mono-light"] .dark-section {
  background: var(--surface);
  color: var(--ink);
}

body[data-theme="mono-light"] .dark-section .section-heading h2,
body[data-theme="mono-light"] .dark-section .architecture h3 {
  color: var(--ink);
}

body[data-theme="mono-light"] .dark-section .section-heading p,
body[data-theme="mono-light"] .dark-section .architecture p {
  color: var(--muted);
}

body[data-theme="mono-light"] .dark-section .architecture article {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

body[data-theme="mono-light"] .dark-section .architecture span {
  background: var(--surface-2);
  color: var(--ink);
}

.primary-button.light {
  background: var(--ink);
  color: var(--surface);
}

.site-footer,
body[data-theme="mono-light"] .site-footer,
body[data-theme="mono-dark"] .site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid a,
body[data-theme="mono-light"] .footer-grid a,
body[data-theme="mono-dark"] .footer-grid a {
  color: var(--ink);
}

.shot-dialog,
.lead-dialog {
  border-radius: var(--geist-radius-md);
  box-shadow: var(--geist-modal);
}

.lead-dialog,
body[data-theme="mono-light"] .lead-dialog {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

body[data-theme="mono-dark"] .lead-dialog {
  border-color: #2e2e2e;
  background: #0a0a0a;
  color: #ededed;
}

.lead-intro,
.lead-form span,
body[data-theme="mono-light"] .lead-intro,
body[data-theme="mono-light"] .lead-form span {
  color: var(--muted);
}

.lead-form span {
  font-weight: 500;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
body[data-theme="mono-light"] .lead-form input,
body[data-theme="mono-light"] .lead-form select,
body[data-theme="mono-light"] .lead-form textarea {
  min-height: 48px;
  border-color: var(--line);
  border-radius: var(--geist-radius-sm);
  background: var(--surface);
  color: var(--ink);
}

body[data-theme="mono-dark"] .lead-form input,
body[data-theme="mono-dark"] .lead-form select,
body[data-theme="mono-dark"] .lead-form textarea {
  border-color: #2e2e2e;
  background: #000000;
  color: #ededed;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--geist-focus);
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--geist-focus);
}

.lead-status {
  color: var(--green);
}

@media (max-width: 640px) {
  .lead-modal {
    padding: 12px;
  }

  .lead-dialog {
    max-height: calc(100svh - 24px);
    padding: 16px;
  }

  .lead-dialog .section-kicker {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .lead-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .lead-dialog h2 {
    max-width: calc(100% - 42px);
    font-size: 24px;
    line-height: 1.12;
  }

  .lead-intro {
    margin: 6px 0 10px;
    font-size: 14px;
    line-height: 1.5;
  }

  .lead-form {
    gap: 8px;
  }

  .lead-form label {
    gap: 4px;
  }

  .lead-form span {
    font-size: 13px;
  }

  .lead-form input,
  .lead-form select,
  .lead-form textarea,
  body[data-theme="mono-light"] .lead-form input,
  body[data-theme="mono-light"] .lead-form select,
  body[data-theme="mono-light"] .lead-form textarea {
    min-height: 44px;
  }

  .lead-form textarea {
    height: 76px;
    min-height: 76px;
  }

  .lead-submit {
    margin-top: 2px;
  }
}

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