*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --page: #050a12;
  --page-soft: #08111f;
  --surface: rgba(12, 20, 34, 0.9);
  --surface-solid: #0d1625;
  --surface-quiet: rgba(255, 255, 255, 0.035);
  --line: rgba(232, 239, 248, 0.13);
  --line-strong: rgba(232, 239, 248, 0.24);
  --text: #f6f8fb;
  --muted: #a7b2c3;
  --muted-strong: #c7d0dc;
  --blue: #2563eb;
  --blue-bright: #4f8cff;
  --cyan: #29c5ee;
  --amber: #f4a340;
  --green: #55d497;
  --danger: #ff7285;
  --max: 1240px;
  --header: 78px;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --font: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --page: #f4f7fb;
  --page-soft: #eaf0f7;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-quiet: rgba(20, 42, 72, 0.045);
  --line: rgba(15, 38, 67, 0.12);
  --line-strong: rgba(15, 38, 67, 0.23);
  --text: #0a1830;
  --muted: #536176;
  --muted-strong: #34445d;
  --shadow: 0 24px 70px rgba(28, 48, 78, 0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, transparent 0, rgba(37, 99, 235, 0.035) 48%, transparent 100%),
    var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(79, 140, 255, 0.35);
  color: var(--text);
}

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(5, 10, 18, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

html[data-theme="light"] .topbar {
  background: rgba(244, 247, 251, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.brand img {
  width: 62px;
  height: 38px;
  flex: 0 0 62px;
  display: block;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
}

html[data-theme="light"] .brand img {
  filter: grayscale(1) brightness(0.3) contrast(1.42);
}

.brand-lockup {
  display: grid;
  gap: 2px;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 30px);
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  position: relative;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

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

.nav-contact {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(79, 140, 255, 0.68);
  border-radius: 6px;
  color: var(--text);
  transition: background 180ms ease, border-color 180ms ease;
}

.nav-contact:hover {
  background: rgba(37, 99, 235, 0.14);
  border-color: var(--blue-bright);
}

.nav .nav-contact {
  min-height: auto;
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.nav .nav-contact:hover {
  border: 0;
  background: transparent;
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.menu-toggle {
  min-width: 42px;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-quiet);
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.menu-toggle {
  display: none;
}

.theme-toggle {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #efd995;
}

html[data-theme="light"] .theme-toggle {
  color: #151a20;
}

.theme-toggle:hover {
  border-color: transparent;
  background: rgba(239, 217, 149, 0.08);
  color: #ffe9a7;
}

html[data-theme="light"] .theme-toggle:hover {
  background: rgba(17, 24, 39, 0.055);
  color: #05080c;
}

.theme-icon {
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.theme-toggle[data-icon="sun"] .theme-icon {
  -webkit-mask-image: url("/assets/icons/sun.svg");
  mask-image: url("/assets/icons/sun.svg");
}

.theme-toggle[data-icon="moon"] .theme-icon {
  -webkit-mask-image: url("/assets/icons/moon.svg");
  mask-image: url("/assets/icons/moon.svg");
}

main {
  display: block;
}

.home-hero {
  position: relative;
  min-height: min(810px, calc(100vh - var(--header)));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background-image: url("assets/zhengzhou-blue-hour-hero.webp");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 15, 0.96) 0%, rgba(2, 7, 15, 0.82) 37%, rgba(2, 7, 15, 0.28) 68%, rgba(2, 7, 15, 0.22) 100%),
    linear-gradient(180deg, rgba(2, 7, 15, 0.15), rgba(2, 7, 15, 0.12) 62%, rgba(2, 7, 15, 0.96) 100%);
}

html[data-theme="light"] .home-hero {
  background-image: url("assets/zhengzhou-daylight-skyline.jpg");
}

html[data-theme="light"] .home-hero::before {
  background:
    linear-gradient(90deg, rgba(244, 247, 251, 0.97) 0%, rgba(244, 247, 251, 0.9) 38%, rgba(244, 247, 251, 0.28) 72%, rgba(244, 247, 251, 0.18) 100%),
    linear-gradient(180deg, rgba(244, 247, 251, 0.08), rgba(244, 247, 251, 0.22) 64%, rgba(244, 247, 251, 0.98) 100%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  min-height: 100%;
  margin: 0 auto;
  display: grid;
  align-content: center;
  padding: clamp(84px, 10vw, 142px) 0 clamp(164px, 18vw, 210px);
}

.hero-copy {
  width: min(850px, 70vw);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--blue-bright);
}

.home-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(46px, 5.5vw, 80px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.home-hero .lead {
  max-width: 710px;
  margin: 28px 0 0;
  color: #d4dbe5;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

html[data-theme="light"] .home-hero .lead {
  color: #34445d;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(4, 10, 20, 0.36);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

html[data-theme="light"] .btn {
  background: rgba(255, 255, 255, 0.7);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--blue-bright);
}

.btn.primary,
.btn.experience {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

html[data-theme="light"] .btn.primary,
html[data-theme="light"] .btn.experience {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.btn.primary:hover,
.btn.experience:hover {
  background: #1d4ed8;
}

.hero-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.proof-rail {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 10, 19, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

html[data-theme="light"] .proof-rail {
  border-top-color: rgba(15, 38, 67, 0.12);
  background: rgba(244, 247, 251, 0.88);
}

.proof-rail-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 130px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  border-left: 1px solid var(--line);
}

.proof-item strong {
  color: var(--text);
  font-size: 17px;
}

.proof-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.proof-item:nth-child(2) strong,
.proof-item:nth-child(4) strong {
  color: var(--amber);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-wide {
  width: min(var(--max), calc(100% - 48px));
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: clamp(36px, 8vw, 120px);
  margin-bottom: clamp(42px, 6vw, 72px);
}

.section h2,
.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head p,
.section > .desc,
.section > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-head p {
  justify-self: end;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.business-item {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.business-item:first-child {
  border-left: 1px solid var(--line);
}

.business-index {
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 800;
}

.business-item h3 {
  margin: 48px 0 14px;
  font-size: 24px;
  line-height: 1.2;
}

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

.text-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 28px;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  font-family: inherit;
  text-align: left;
}

.text-link:hover {
  color: var(--blue-bright);
}

.projects-list {
  border-top: 1px solid var(--line);
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.project-feature:nth-child(even) .project-media {
  order: 2;
}

.project-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.project-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.project-copy {
  min-width: 0;
}

.project-state {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.project-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.2;
}

.project-copy p {
  margin: 0;
  color: var(--muted);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.project-actions a,
.project-actions button {
  margin: 0;
  padding: 0;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 750;
}

.project-actions a:hover,
.project-actions button:hover {
  color: var(--blue-bright);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.method-step {
  min-height: 238px;
  padding: 26px 24px 24px 0;
  border-bottom: 1px solid var(--line);
}

.method-step + .method-step {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.method-step span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.method-step h3 {
  margin: 38px 0 12px;
  font-size: 20px;
}

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

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.about-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
}

.principles {
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.principle span {
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 800;
}

.principle strong {
  display: block;
  margin-bottom: 4px;
}

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

.insight-list {
  border-top: 1px solid var(--line);
}

.insight-link {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.insight-link time,
.insight-link span {
  color: var(--muted);
  font-size: 12px;
}

.insight-link strong {
  font-size: 18px;
}

.insight-link:hover strong {
  color: var(--blue-bright);
}

.contact-band {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.18), transparent 55%),
    var(--surface);
}

.contact-band h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
}

.contact-band p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* Shared service, pricing, case and article pages */
.hero {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 132px) 0 54px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.hero h1 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(42px, 5.3vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 span,
.section h2 span {
  color: var(--blue-bright);
}

.lead {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-preview {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.hero-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.preview-copy {
  display: block;
  padding: 18px 20px 20px;
}

.preview-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
}

.preview-copy span {
  color: var(--muted);
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  min-height: 170px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.card:first-child {
  border-left: 1px solid var(--line);
}

.card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 17px;
}

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

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

.screenshot-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.screenshot-card.wide {
  grid-column: 1 / -1;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.shot-copy {
  display: block;
  padding: 20px;
}

.shot-copy strong {
  display: block;
  margin-bottom: 7px;
}

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

.answer-box,
.note {
  padding: 22px 24px;
  border-left: 3px solid var(--blue-bright);
  background: var(--surface-quiet);
}

.answer-box p,
.note p {
  margin: 0;
  color: var(--muted-strong);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
  font-size: 13px;
}

td {
  color: var(--muted);
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.steps {
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 800;
}

.step strong {
  display: block;
  margin-bottom: 5px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.meta {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.article {
  max-width: 790px;
}

.article h2 {
  margin-top: 56px;
  font-size: clamp(26px, 3.2vw, 38px);
}

.article h3 {
  margin-top: 34px;
}

.article p,
.article li {
  color: var(--muted-strong);
}

.checklist {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.check {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}

.footer-brand strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}

.footer-links a:hover {
  color: var(--blue-bright);
}

/* AI business concierge */
.ai-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 220;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 13px 6px 6px;
  border: 1px solid rgba(79, 140, 255, 0.54);
  border-radius: 8px;
  background: rgba(7, 14, 25, 0.92);
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease,
    visibility 180ms ease;
}

.ai-launcher:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.ai-launcher img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

.ai-launcher span {
  font-size: 13px;
  font-weight: 800;
}

.ai-panel {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 219;
  width: min(390px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 118px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(79, 140, 255, 0.38);
  border-radius: 8px;
  background: rgba(8, 14, 24, 0.97);
  color: #f6f8fb;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.ai-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ai-panel-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.ai-panel-head img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: cover;
  object-position: center 23%;
  border-radius: 50%;
  border: 1px solid rgba(199, 205, 214, 0.28);
}

.ai-panel-title {
  display: grid;
  gap: 1px;
}

.ai-panel-title strong {
  font-size: 14px;
}

.ai-panel-title span {
  color: #9aa8bb;
  font-size: 11px;
}

.ai-close {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  background: transparent;
  color: #b7c1cf;
  cursor: pointer;
  font-size: 12px;
}

.ai-close:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.ai-message {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-bottom: 14px;
}

.ai-message.user {
  grid-template-columns: minmax(0, 1fr);
  padding-left: 44px;
}

.ai-message-avatar {
  width: 28px;
  height: 28px;
  object-fit: cover;
  object-position: center 22%;
  border: 1px solid rgba(199, 205, 214, 0.24);
  border-radius: 50%;
}

.ai-bubble {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #dbe2eb;
  font-size: 13px;
  line-height: 1.65;
}

.ai-message.user .ai-bubble {
  justify-self: end;
  max-width: 90%;
  border-color: rgba(79, 140, 255, 0.34);
  background: rgba(37, 99, 235, 0.18);
  color: #ffffff;
}

.ai-bubble.is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 3px;
  background: var(--cyan);
  vertical-align: -0.12em;
  animation: caret 760ms steps(1) infinite;
}

.ai-overview {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 13px;
  align-items: center;
  margin: 4px 0 15px 37px;
  padding: 13px;
  border: 1px solid rgba(79, 140, 255, 0.2);
  border-radius: 6px;
  background:
    linear-gradient(130deg, rgba(37, 99, 235, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.025);
}

.ai-overview img {
  width: 92px;
  height: 108px;
  display: block;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 5px;
}

.ai-overview strong {
  display: block;
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.45;
}

.ai-overview p {
  margin: 0;
  color: #9eabbd;
  font-size: 11px;
  line-height: 1.6;
}

.ai-overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.ai-overview-links a {
  color: #bcd0ff;
  font-size: 10px;
  font-weight: 750;
}

.ai-overview-links a:hover {
  color: #ffffff;
}

@keyframes caret {
  50% { opacity: 0; }
}

.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ai-knowledge {
  display: grid;
  gap: 4px;
  margin-top: 9px;
  padding: 8px 10px;
  border-left: 2px solid rgba(188, 196, 207, 0.46);
  color: #929eae;
}

.ai-knowledge span {
  color: #c7ced8;
  font-size: 10px;
  font-weight: 750;
}

.ai-knowledge p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
}

.ai-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(79, 140, 255, 0.32);
  border-radius: 5px;
  color: #c8d8ff;
  font-size: 11px;
  font-weight: 750;
}

.ai-actions a:hover {
  border-color: var(--blue-bright);
  color: #ffffff;
}

.ai-suggestions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 0 16px 13px;
}

.ai-suggestion {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
  color: #c7d0dc;
  cursor: pointer;
  text-align: left;
  font-size: 11px;
}

.ai-suggestion:hover {
  color: #ffffff;
  border-color: rgba(79, 140, 255, 0.46);
}

.ai-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.ai-form input {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  outline: none;
}

.ai-form input::placeholder {
  color: #748197;
}

.ai-form input:focus {
  border-color: var(--blue-bright);
}

.ai-form button {
  min-width: 58px;
  height: 42px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.ai-form button:disabled,
.ai-form input:disabled {
  cursor: wait;
  opacity: 0.58;
}

@media (max-width: 1080px) {
  .topbar {
    padding-right: 22px;
    padding-left: 22px;
  }

  .nav {
    gap: 17px;
  }

  .nav a:nth-child(5),
  .nav a:nth-child(6) {
    display: none;
  }

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

  .business-item:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .section-head,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-head p {
    justify-self: start;
  }
}

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

  .topbar {
    min-height: var(--header);
    padding: 10px 16px;
  }

  .brand {
    font-size: 15px;
  }

  .brand img {
    width: 54px;
    height: 34px;
    flex-basis: 54px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    inset: var(--header) 0 auto;
    max-height: calc(100vh - var(--header));
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px 18px 22px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #050a12;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  html[data-theme="light"] .nav {
    background: #f4f7fb;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a,
  .nav a:nth-child(5),
  .nav a:nth-child(6) {
    display: flex;
    align-items: center;
    min-height: 50px;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .nav-contact {
    margin-top: 10px;
    border: 1px solid rgba(79, 140, 255, 0.52) !important;
  }

  .home-hero {
    min-height: 830px;
    background-position: 61% center;
  }

  .home-hero::before {
    background:
      linear-gradient(90deg, rgba(2, 7, 15, 0.92), rgba(2, 7, 15, 0.57)),
      linear-gradient(180deg, rgba(2, 7, 15, 0.08), rgba(2, 7, 15, 0.23) 50%, rgba(2, 7, 15, 0.98) 100%);
  }

  html[data-theme="light"] .home-hero::before {
    background:
      linear-gradient(90deg, rgba(244, 247, 251, 0.93), rgba(244, 247, 251, 0.55)),
      linear-gradient(180deg, rgba(244, 247, 251, 0.1), rgba(244, 247, 251, 0.28) 50%, rgba(244, 247, 251, 0.98) 100%);
  }

  .home-hero-inner {
    width: min(100% - 32px, var(--max));
    align-content: start;
    padding-top: 96px;
    padding-bottom: 310px;
  }

  .hero-copy {
    width: 100%;
  }

  .home-hero h1 {
    max-width: 650px;
    font-size: clamp(40px, 9vw, 58px);
  }

  .proof-rail-inner {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .proof-item {
    min-height: 122px;
  }

  .proof-item:nth-child(odd) {
    border-left: 0;
  }

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

  .hero,
  .hero-split {
    grid-template-columns: 1fr;
  }

  .project-feature {
    grid-template-columns: 1fr;
  }

  .project-feature:nth-child(even) .project-media {
    order: 0;
  }

  .grid,
  .grid.two,
  .grid.four,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .card {
    border-left: 1px solid var(--line);
  }

  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand-lockup small {
    display: none;
  }

  .brand {
    gap: 9px;
    font-size: 14px;
  }

  .brand img {
    width: 50px;
    height: 32px;
    flex-basis: 50px;
  }

  .header-actions {
    gap: 6px;
  }

  .theme-toggle {
    min-width: 46px;
    padding: 0 8px;
  }

  .home-hero {
    min-height: 850px;
  }

  .home-hero-inner {
    padding-top: 74px;
  }

  .home-hero h1 {
    font-size: clamp(36px, 11vw, 46px);
  }

  .home-hero .lead {
    font-size: 16px;
  }

  .proof-item {
    padding: 16px;
  }

  .proof-item strong {
    font-size: 15px;
  }

  .section,
  .section-wide,
  .hero,
  .footer,
  .contact-band {
    width: min(100% - 32px, var(--max));
  }

  .business-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .business-item,
  .business-item:first-child,
  .business-item:nth-child(3) {
    min-height: 250px;
    border-left: 1px solid var(--line);
  }

  .method-step,
  .method-step + .method-step {
    padding: 24px 0;
    border-left: 0;
  }

  .insight-link {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-band {
    padding: 32px 24px;
  }

  .ai-launcher {
    right: 12px;
    bottom: 12px;
  }

  .ai-launcher span {
    display: none;
  }

  .ai-launcher {
    width: 54px;
    padding-right: 6px;
  }

  .ai-panel {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(78vh, 680px);
    max-height: calc(100vh - 24px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
  }

  .ai-panel.is-open + .ai-launcher {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .ai-suggestions {
    grid-template-columns: 1fr;
  }

  .ai-overview {
    grid-template-columns: 74px 1fr;
    margin-left: 37px;
  }

  .ai-overview img {
    width: 74px;
    height: 88px;
  }
}

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

/* 2026 investor and client homepage */
body.home-page {
  --home-ink: #0b1830;
  --home-muted: #53647d;
  --home-line: #d8e2ee;
  --home-blue: #1f63e9;
  --home-cyan: #0ca6c8;
  background: #edf3fa;
  color: var(--home-ink);
}

.home-page .site-shell {
  background: #edf3fa;
}

.home-page .topbar {
  background: rgba(5, 13, 25, 0.9);
  border-bottom-color: rgba(222, 235, 249, 0.13);
}

.home-page .topbar .brand,
.home-page .topbar .nav a,
.home-page .topbar .theme-toggle,
.home-page .topbar .menu-toggle {
  color: #f7fbff;
}

.home-page .topbar .brand-lockup small {
  color: #98a8be;
}

.home-page .topbar .nav-contact {
  border-color: rgba(112, 177, 255, 0.62);
}

.home-page .topbar .theme-toggle,
.home-page .topbar .menu-toggle {
  border-color: rgba(222, 235, 249, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

html[data-theme="light"] .home-page .topbar {
  background: rgba(247, 250, 254, 0.9);
  border-bottom-color: rgba(24, 52, 88, 0.12);
}

html[data-theme="light"] .home-page .topbar .brand,
html[data-theme="light"] .home-page .topbar .nav a,
html[data-theme="light"] .home-page .topbar .theme-toggle,
html[data-theme="light"] .home-page .topbar .menu-toggle {
  color: #0b1830;
}

html[data-theme="light"] .home-page .topbar .brand-lockup small {
  color: #607089;
}

.home-page main {
  background: #edf3fa;
}

.home-page .home-hero {
  position: relative;
  height: calc(100dvh - var(--header));
  min-height: 640px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-bottom: 0;
  background: #061121;
  color: #f7fbff;
}

.home-page .home-hero::before {
  display: none;
}

.hero-backdrop,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  background-image: url("/assets/zhengzhou-blue-hour-hero.webp");
  background-position: center;
  background-size: cover;
  transform: translateX(-4%) scale(1.1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 12, 24, 0.96) 0%, rgba(4, 12, 24, 0.78) 44%, rgba(4, 12, 24, 0.32) 72%, rgba(4, 12, 24, 0.54) 100%),
    linear-gradient(180deg, rgba(5, 13, 25, 0.16) 0%, rgba(5, 13, 25, 0.1) 58%, rgba(5, 13, 25, 0.92) 100%);
}

html[data-theme="light"] .hero-backdrop {
  background-image: url("/assets/zhengzhou-daylight-skyline.jpg");
}

html[data-theme="light"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.97) 0%, rgba(248, 251, 255, 0.89) 46%, rgba(248, 251, 255, 0.2) 76%, rgba(248, 251, 255, 0.32) 100%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.12) 0%, rgba(248, 251, 255, 0.06) 57%, rgba(239, 245, 252, 0.96) 100%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.62fr);
  gap: 88px;
  align-items: center;
  margin: 0 auto;
  padding: 84px 0 74px;
}

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

.hero-credential {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #9fc9ff;
  font-size: 13px;
  font-weight: 750;
}

.hero-credential span {
  width: 30px;
  height: 1px;
  background: #4f9cff;
}

.home-page .home-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #f8fbff;
  font-size: 68px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0;
}

.home-page .home-hero h1 em {
  color: #8fdcff;
  font-style: normal;
}

.home-page .home-hero .lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: #c4d2e4;
  font-size: 20px;
  line-height: 1.8;
}

html[data-theme="light"] .home-page .home-hero,
html[data-theme="light"] .home-page .home-hero h1 {
  color: #091831;
}

html[data-theme="light"] .home-page .home-hero h1 {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

html[data-theme="light"] .home-page .home-hero h1 em {
  color: #056da7;
}

html[data-theme="light"] .hero-credential {
  color: #135fb6;
}

html[data-theme="light"] .home-page .home-hero .lead {
  color: #334a67;
}

.home-page .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-page .btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(229, 239, 252, 0.28);
  border-radius: 6px;
  background: rgba(7, 18, 34, 0.35);
  color: #f7fbff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-page .btn:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 239, 252, 0.55);
  background: rgba(7, 18, 34, 0.58);
}

.home-page .btn.primary {
  border-color: #2c72f1;
  background: #2468e8;
  color: #ffffff;
}

.home-page .btn.primary:hover {
  border-color: #4d8bff;
  background: #1b5fdc;
}

html[data-theme="light"] .home-page .home-hero .btn.ghost {
  border-color: rgba(23, 57, 94, 0.24);
  background: rgba(255, 255, 255, 0.58);
  color: #0b1830;
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid rgba(226, 238, 252, 0.17);
  border-bottom: 1px solid rgba(226, 238, 252, 0.17);
}

.hero-signals span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 18px 18px 18px 0;
  color: #91a2b7;
  font-size: 12px;
  line-height: 1.5;
}

.hero-signals span + span {
  padding-left: 18px;
  border-left: 1px solid rgba(226, 238, 252, 0.17);
}

.hero-signals strong {
  color: #eaf3ff;
  font-size: 13px;
}

html[data-theme="light"] .hero-signals {
  border-color: rgba(18, 49, 84, 0.15);
}

html[data-theme="light"] .hero-signals span + span {
  border-color: rgba(18, 49, 84, 0.15);
}

html[data-theme="light"] .hero-signals span {
  color: #5b6d84;
}

html[data-theme="light"] .hero-signals strong {
  color: #0c1e38;
}

.hero-ai-guide {
  align-self: center;
  width: 100%;
  max-width: 360px;
  justify-self: end;
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(159, 207, 255, 0.28);
  border-radius: 8px;
  background: rgba(7, 16, 29, 0.8);
  color: #f5f9ff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: opacity 160ms ease, transform 200ms ease, border-color 200ms ease;
}

.hero-ai-guide:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 177, 255, 0.68);
}

.home-page.ai-panel-open .hero-ai-guide {
  opacity: 0;
  pointer-events: none;
}

.guide-head {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(220, 235, 251, 0.11);
}

.guide-head img {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

.guide-head > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.guide-head strong {
  font-size: 15px;
}

.guide-head small {
  color: #92a4ba;
  font-size: 11px;
}

.guide-live {
  color: #5fe0b1;
  font-size: 10px;
  font-weight: 800;
}

.guide-question {
  margin: 18px 18px 0;
  padding: 14px 15px;
  border-left: 2px solid #46bfff;
  background: rgba(255, 255, 255, 0.055);
  color: #f5f9ff;
  font-size: 14px;
  line-height: 1.65;
}

.guide-answer {
  padding: 16px 18px 20px;
  color: #aebbc9;
  font-size: 13px;
  line-height: 1.7;
}

.guide-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid rgba(220, 235, 251, 0.11);
  color: #a9d8ff;
  font-size: 12px;
  font-weight: 700;
}

.guide-action b {
  font-size: 17px;
  font-weight: 500;
}

html[data-theme="light"] .hero-ai-guide {
  border-color: rgba(17, 61, 111, 0.18);
  background: rgba(250, 253, 255, 0.88);
  color: #0b1830;
  box-shadow: 0 28px 80px rgba(24, 57, 94, 0.17);
}

html[data-theme="light"] .guide-head,
html[data-theme="light"] .guide-action {
  border-color: rgba(17, 61, 111, 0.1);
}

html[data-theme="light"] .guide-head small,
html[data-theme="light"] .guide-answer {
  color: #586a82;
}

html[data-theme="light"] .guide-question {
  background: rgba(30, 100, 210, 0.055);
  color: #132946;
}

html[data-theme="light"] .guide-action {
  color: #1762bc;
}

.hero-bridge {
  position: relative;
  z-index: 2;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(226, 238, 252, 0.13);
  background: rgba(5, 13, 25, 0.86);
  color: #aebdd0;
}

.hero-bridge p {
  margin: 0;
  font-size: 14px;
}

.hero-bridge strong {
  color: #f7fbff;
}

.hero-bridge a {
  flex: 0 0 auto;
  color: #9fd7ff;
  font-size: 13px;
  font-weight: 700;
}

html[data-theme="light"] .hero-bridge {
  border-color: rgba(19, 48, 84, 0.12);
  background: rgba(239, 245, 252, 0.92);
  color: #5b6b80;
}

html[data-theme="light"] .hero-bridge strong {
  color: #0b1830;
}

html[data-theme="light"] .hero-bridge a {
  color: #165fae;
}

.home-surface {
  background:
    linear-gradient(180deg, #edf3fa 0, #ffffff 760px, #f5f8fc 100%);
}

.home-section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 126px 0;
  scroll-margin-top: calc(var(--header) + 24px);
}

.editorial-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.62fr);
  gap: 110px;
  align-items: end;
  margin-bottom: 64px;
}

.editorial-head.compact {
  margin-bottom: 48px;
}

.section-label {
  margin: 0 0 18px;
  color: #1769c4;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.editorial-head h2,
.about-statement h2,
.method-inner h2,
.home-contact h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 52px;
  font-weight: 820;
  line-height: 1.18;
  letter-spacing: 0;
}

.editorial-head > p {
  margin: 0 0 4px;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.85;
}

.outcome-architecture {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.outcome-architecture article {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 30px;
}

.outcome-architecture article + article {
  border-left: 1px solid var(--home-line);
}

.outcome-architecture article > span {
  color: #6c7d93;
  font-size: 12px;
  font-weight: 750;
}

.outcome-architecture h3 {
  margin: 42px 0 12px;
  color: var(--home-ink);
  font-size: 24px;
  line-height: 1.35;
}

.outcome-architecture p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.8;
}

.outcome-architecture a {
  margin-top: auto;
  padding-top: 26px;
  color: #1769c4;
  font-size: 13px;
  font-weight: 750;
}

.projects-section {
  padding-top: 70px;
}

.project-editorial-list {
  border-top: 1px solid var(--home-line);
}

.project-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 82px;
  align-items: center;
  padding: 86px 0;
  border-bottom: 1px solid var(--home-line);
}

.project-story:nth-child(even) .project-visual {
  order: 2;
}

.project-story:nth-child(even) .project-story-copy {
  order: 1;
}

.project-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5dfeb;
  border-radius: 6px;
  background: #eef4fa;
  box-shadow: 0 30px 70px rgba(32, 65, 104, 0.13);
}

.project-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
}

.project-visual figcaption {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 13px;
  border-top: 1px solid #d5dfeb;
  color: #6a7a8e;
  font-size: 10px;
  line-height: 1.45;
}

.project-visual figcaption span {
  flex: 0 0 auto;
  color: #1769c4;
  font-weight: 800;
}

.project-story-copy {
  max-width: 510px;
}

.project-state {
  margin: 0 0 15px;
  color: #138368;
  font-size: 12px;
  font-weight: 800;
}

.project-state.is-planning {
  color: #a86b0c;
}

.project-story h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 40px;
  font-weight: 820;
  line-height: 1.22;
}

.project-story-copy > p:not(.project-state) {
  margin: 22px 0 0;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.9;
}

.project-story ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--home-line);
  color: #3d5069;
  font-size: 13px;
  line-height: 1.65;
  list-style: none;
}

.project-story li {
  position: relative;
  padding-left: 16px;
}

.project-story li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1f72d4;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 30px;
}

.story-actions a,
.story-actions button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2b4a6d;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.story-actions .story-primary {
  padding: 0 16px;
  border: 1px solid #1769c4;
  border-radius: 5px;
  background: #1769c4;
  color: #ffffff;
}

.story-actions a:hover,
.story-actions button:hover {
  color: #1769c4;
}

.story-actions .story-primary:hover {
  background: #0f5cad;
  color: #ffffff;
}

.method-section {
  scroll-margin-top: calc(var(--header) + 24px);
  background: #071528;
  color: #f5f9ff;
}

.method-inner {
  width: min(var(--max), calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 100px;
  margin: 0 auto;
  padding: 112px 0;
}

.method-inner .section-label {
  color: #6cb8ff;
}

.method-inner h2 {
  color: #f6f9fd;
  font-size: 46px;
}

.method-inner header > p:last-child {
  margin: 24px 0 0;
  color: #9eafc4;
  font-size: 15px;
  line-height: 1.85;
}

.method-path {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(219, 234, 251, 0.15);
  list-style: none;
}

.method-path li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(219, 234, 251, 0.15);
}

.method-path li > span {
  color: #67b6ff;
  font-size: 11px;
  font-weight: 800;
}

.method-path strong {
  color: #f3f7fc;
  font-size: 17px;
}

.method-path p {
  margin: 6px 0 0;
  color: #94a6bb;
  font-size: 13px;
  line-height: 1.7;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(400px, 0.78fr);
  gap: 120px;
  align-items: start;
}

.about-statement h2 {
  font-size: 48px;
}

.about-narrative > p {
  margin: 0 0 18px;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.85;
}

.about-narrative .about-lead {
  color: #1a3150;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.7;
}

.about-principles {
  margin: 32px 0 26px;
  border-top: 1px solid var(--home-line);
}

.about-principles > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--home-line);
}

.about-principles strong {
  color: #153252;
  font-size: 14px;
}

.about-principles span {
  color: #617288;
  font-size: 13px;
}

.inline-link {
  color: #1769c4;
  font-size: 13px;
  font-weight: 750;
}

.insights-section {
  padding-top: 84px;
}

.home-page .insight-list {
  border-top: 1px solid var(--home-line);
}

.home-page .insight-link {
  color: var(--home-ink);
  border-bottom-color: var(--home-line);
}

.home-page .insight-link time,
.home-page .insight-link span {
  color: #738399;
}

.home-page .insight-link:hover {
  color: #1769c4;
}

.home-contact {
  width: min(var(--max), calc(100% - 48px));
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  margin: 0 auto 110px;
  padding: 44px 48px;
  border: 1px solid #1c5ec7;
  border-radius: 8px;
  background: #0e4cad;
  color: #ffffff;
}

.home-contact .section-label {
  margin: 0;
  color: #a9d5ff;
}

.home-contact h2 {
  color: #ffffff;
  font-size: 36px;
}

.home-contact p {
  max-width: 650px;
  margin: 12px 0 0;
  color: #cee3ff;
  font-size: 14px;
  line-height: 1.75;
}

.home-contact .contact-actions {
  margin: 0;
}

.home-contact .btn {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(4, 34, 52, 0.28);
  color: #ffffff;
}

.home-page .home-contact .btn.primary {
  border-color: #ffffff;
  background: #f6fffd;
  color: #075f66;
}

.home-page .home-contact .btn:not(.primary) {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(4, 43, 63, 0.44);
  color: #ffffff;
}

.home-page .footer {
  margin-top: 0;
  padding-top: 44px;
  padding-bottom: 44px;
  background: #06101f;
  color: #d9e3ef;
}

.home-page .footer-brand > div:last-child,
.home-page .footer-links {
  color: #8495aa;
}

.home-page .ai-bubble {
  white-space: pre-wrap;
}

.home-page .ai-overview {
  display: none;
}

.home-page .ai-panel {
  width: min(420px, calc(100vw - 32px));
  height: min(680px, calc(100vh - 118px));
  border-color: rgba(85, 158, 255, 0.34);
  background: rgba(6, 14, 26, 0.98);
}

.home-page .ai-panel-title span {
  color: #68cfae;
}

.home-page .ai-panel.is-open + .ai-launcher {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-page .ai-suggestions {
  grid-template-columns: 1fr;
}

.home-page .ai-suggestion {
  min-height: 36px;
}

html[data-theme="dark"] body.home-page {
  --home-ink: #edf5ff;
  --home-muted: #9eafc4;
  --home-line: rgba(202, 220, 241, 0.14);
  background: #050c16;
  color: var(--home-ink);
}

html[data-theme="dark"] .home-page .site-shell,
html[data-theme="dark"] .home-page main {
  background: #050c16;
}

html[data-theme="dark"] .home-surface {
  background:
    linear-gradient(180deg, #07111f 0, #0a1525 760px, #060d18 100%);
}

html[data-theme="dark"] .outcome-architecture article > span,
html[data-theme="dark"] .home-page .insight-link time,
html[data-theme="dark"] .home-page .insight-link span {
  color: #8193aa;
}

html[data-theme="dark"] .project-visual {
  border-color: rgba(190, 213, 239, 0.16);
  background: #0b1727;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .project-visual figcaption {
  border-top-color: rgba(190, 213, 239, 0.14);
  background: #0a1524;
  color: #899bb1;
}

html[data-theme="dark"] .project-visual figcaption span,
html[data-theme="dark"] .outcome-architecture a,
html[data-theme="dark"] .inline-link,
html[data-theme="dark"] .home-page .insight-link:hover {
  color: #69b9ff;
}

html[data-theme="dark"] .project-story ul,
html[data-theme="dark"] .story-actions a,
html[data-theme="dark"] .story-actions button {
  color: #a8b8ca;
}

html[data-theme="dark"] .about-narrative .about-lead,
html[data-theme="dark"] .about-principles strong {
  color: #e8f2fd;
}

html[data-theme="dark"] .about-principles span {
  color: #98aabd;
}

html[data-theme="dark"] .home-contact {
  border-color: #2b71e8;
  background: #124a9c;
}

@media (min-width: 901px) {
  .home-page.hero-in-view .ai-launcher {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 42px;
  }

  .home-page .home-hero h1 {
    font-size: 56px;
  }

  .editorial-head {
    gap: 64px;
  }

  .project-story {
    gap: 50px;
  }

  .home-contact {
    grid-template-columns: 1fr auto;
  }

  .home-contact > .section-label {
    grid-column: 1 / -1;
  }
}

@media (min-width: 901px) and (max-height: 850px) {
  .hero-layout {
    gap: 56px;
    padding: 30px 0 22px;
  }

  .hero-credential {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .home-page .home-hero h1 {
    font-size: 54px;
    line-height: 1.06;
  }

  .home-page .home-hero .lead {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.65;
  }

  .home-page .cta-row {
    margin-top: 22px;
  }

  .home-page .btn {
    min-height: 46px;
  }

  .hero-signals {
    margin-top: 24px;
  }

  .hero-signals span {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero-ai-guide {
    align-self: start;
    max-width: 342px;
    margin-top: 28px;
  }

  .guide-head {
    grid-template-columns: 44px 1fr auto;
    padding: 13px;
  }

  .guide-head img {
    width: 44px;
    height: 44px;
  }

  .guide-question {
    margin: 13px 14px 0;
    padding: 11px 13px;
    font-size: 13px;
  }

  .guide-answer {
    padding: 12px 15px 14px;
    line-height: 1.6;
  }

  .guide-action {
    padding: 11px 15px;
  }

  .hero-bridge {
    min-height: 76px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

@media (max-width: 900px) {
  .home-page .home-hero {
    height: auto;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 74px 0 58px;
  }

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

  .hero-ai-guide {
    max-width: 560px;
  }

  .hero-signals {
    max-width: 760px;
  }

  .editorial-head,
  .about-section,
  .method-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .outcome-architecture {
    grid-template-columns: 1fr 1fr;
  }

  .outcome-architecture article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }

  .outcome-architecture article:nth-child(4) {
    border-top: 1px solid var(--home-line);
  }

  .project-story,
  .project-story:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-story:nth-child(even) .project-visual,
  .project-story:nth-child(even) .project-story-copy {
    order: initial;
  }

  .project-story-copy {
    max-width: 720px;
  }

  .method-inner {
    padding: 92px 0;
  }

  .home-contact {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .home-page .topbar {
    min-height: 68px;
  }

  .home-page .brand img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .home-page .brand-lockup > span {
    font-size: 15px;
  }

  .home-page .brand-lockup small {
    font-size: 8px;
  }

  .home-page .home-hero {
    min-height: auto;
  }

  .hero-backdrop {
    background-position: 60% center;
    transform: scale(1.02);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 12, 24, 0.78) 0%, rgba(4, 12, 24, 0.7) 34%, rgba(4, 12, 24, 0.96) 100%);
  }

  html[data-theme="light"] .hero-shade {
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.82) 0%, rgba(248, 251, 255, 0.72) 38%, rgba(239, 245, 252, 0.97) 100%);
  }

  .hero-layout,
  .home-section,
  .method-inner,
  .home-contact {
    width: min(100% - 32px, var(--max));
  }

  .hero-layout {
    gap: 36px;
    padding: 58px 0 44px;
  }

  .hero-credential {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .home-page .home-hero h1 {
    font-size: 39px;
    line-height: 1.16;
  }

  .home-page .home-hero .lead {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.75;
  }

  .home-page .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .btn {
    width: 100%;
  }

  .hero-signals {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-signals span,
  .hero-signals span + span {
    padding: 13px 0;
    border-left: 0;
    border-top: 1px solid rgba(226, 238, 252, 0.14);
  }

  .hero-signals span:first-child {
    border-top: 0;
  }

  .hero-ai-guide {
    display: none;
  }

  .hero-bridge {
    min-height: 88px;
    align-items: flex-start;
    padding: 20px 16px;
  }

  .hero-bridge a {
    display: none;
  }

  .home-section {
    padding: 84px 0;
  }

  .editorial-head {
    gap: 26px;
    margin-bottom: 42px;
  }

  .editorial-head h2,
  .about-statement h2,
  .method-inner h2 {
    font-size: 36px;
  }

  .editorial-head > p {
    font-size: 15px;
  }

  .outcome-architecture {
    grid-template-columns: 1fr;
  }

  .outcome-architecture article,
  .outcome-architecture article + article,
  .outcome-architecture article:nth-child(3),
  .outcome-architecture article:nth-child(4) {
    min-height: 230px;
    padding: 24px 0;
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .outcome-architecture article:first-child {
    border-top: 0;
  }

  .outcome-architecture h3 {
    margin-top: 26px;
  }

  .project-story {
    gap: 30px;
    padding: 56px 0;
  }

  .project-story h3 {
    font-size: 32px;
  }

  .project-story-copy > p:not(.project-state) {
    font-size: 15px;
  }

  .project-visual figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .story-actions {
    gap: 14px;
  }

  .story-actions a,
  .story-actions button {
    min-height: 42px;
  }

  .method-inner {
    padding: 76px 0;
  }

  .method-path li {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .about-principles > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .home-page .insight-link {
    grid-template-columns: 1fr;
  }

  .home-contact {
    margin-bottom: 72px;
    padding: 32px 24px;
  }

  .home-contact h2 {
    font-size: 30px;
  }

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

  .home-page .ai-panel {
    width: 100%;
    height: min(82vh, 720px);
  }
}

/* Homepage typography, unified enterprise palette, and adviser placement refinement */
body.home-page {
  --home-muted: #425873;
  --home-line: #cbd8e7;
  --home-surface: #f4f7fa;
  --home-surface-strong: #edf2f6;
  --home-accent: #1769c4;
  --home-accent-strong: #0f5cad;
  font-weight: 500;
}

.home-page .nav {
  font-size: 15px;
  font-weight: 700;
}

.home-page .theme-toggle,
.home-page .menu-toggle {
  font-size: 14px;
  font-weight: 700;
}

.home-page .btn {
  font-size: 15px;
}

.hero-credential {
  font-size: 14px;
}

.hero-signals span {
  color: #9cacc0;
  font-size: 14px;
  font-weight: 500;
}

.hero-signals strong {
  font-size: 15px;
  font-weight: 750;
}

.hero-bridge p {
  font-size: 16px;
  line-height: 1.65;
}

.hero-bridge a {
  font-size: 14px;
}

.home-surface {
  background: var(--home-surface);
}

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

.outcomes-section,
.projects-section,
.about-section,
.insights-section {
  position: relative;
  isolation: isolate;
}

.outcomes-section::before,
.projects-section::before,
.about-section::before,
.insights-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--home-surface);
}

.editorial-head {
  gap: 88px;
  margin-bottom: 52px;
}

.editorial-head.compact {
  margin-bottom: 40px;
}

.section-label {
  margin-bottom: 16px;
  color: #145fac;
  font-size: 13px;
  font-weight: 850;
}

.editorial-head > p {
  color: #405570;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

.outcome-architecture article {
  min-height: 258px;
  border-top: 0;
  background: transparent;
}

.outcome-architecture article > span {
  color: #536a85;
  font-size: 13px;
}

.outcome-architecture h3 {
  margin-top: 34px;
  font-size: 25px;
}

.outcome-architecture p {
  color: #425873;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

.outcome-architecture a {
  color: var(--home-accent);
  font-size: 14px;
}

.projects-section {
  padding-top: 76px;
}

.project-story {
  --story-accent: var(--home-accent);
  position: relative;
  isolation: isolate;
  padding: 82px 0;
  border-bottom: 1px solid var(--home-line);
}

.project-story::before {
  display: none;
}

.project-visual figcaption {
  color: #53677f;
  font-size: 12px;
  font-weight: 550;
}

.project-visual figcaption span,
.project-state {
  color: var(--story-accent);
}

.home-page .project-state.is-planning {
  color: var(--story-accent);
}

.project-state {
  font-size: 14px;
}

.project-story-copy > p:not(.project-state) {
  color: #405570;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.82;
}

.project-story ul {
  color: #324a65;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.project-story li::before {
  background: var(--story-accent);
}

.story-actions a,
.story-actions button {
  color: #294767;
  font-size: 14px;
}

.home-page .project-story .story-primary {
  border-color: var(--story-accent);
  background: var(--story-accent);
  color: #ffffff;
}

.home-page .project-story .story-primary:hover {
  border-color: var(--story-accent);
  background: var(--story-accent);
  filter: brightness(0.92);
}

.method-section {
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: var(--home-surface-strong);
  color: var(--home-ink);
}

.method-inner {
  gap: 88px;
  padding: 96px 0;
}

.method-inner .section-label {
  color: var(--home-accent);
}

.method-inner h2 {
  color: var(--home-ink);
}

.method-inner header > p:last-child {
  color: var(--home-muted);
  font-size: 17px;
  font-weight: 500;
}

.method-path {
  border-top-color: var(--home-line);
}

.method-path li {
  border-bottom-color: var(--home-line);
}

.method-path li > span {
  color: var(--home-accent);
  font-size: 13px;
}

.method-path strong {
  color: var(--home-ink);
  font-size: 19px;
}

.method-path p {
  color: var(--home-muted);
  font-size: 15px;
  font-weight: 500;
}

.about-narrative > p {
  color: #405570;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

.about-narrative .about-lead {
  color: #16314f;
  font-size: 22px;
  font-weight: 700;
}

.about-principles strong {
  color: #153c55;
  font-size: 15px;
}

.about-principles span {
  color: #405b72;
  font-size: 15px;
  font-weight: 500;
}

.inline-link {
  color: var(--home-accent);
  font-size: 15px;
}

.insights-section {
  padding: 88px 0 74px;
}

.home-page .insight-link {
  padding: 28px 0;
}

.home-page .insight-link time,
.home-page .insight-link span {
  color: #536a85;
  font-size: 14px;
  font-weight: 650;
}

.home-page .insight-link strong {
  font-size: 19px;
  font-weight: 750;
}

.home-contact {
  width: 100%;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  margin: 0;
  padding: 64px max(24px, calc((100vw - var(--max)) / 2));
  border-width: 1px 0;
  border-color: rgba(137, 171, 207, 0.22);
  border-radius: 0;
  background: #0b1a2b;
  box-shadow: none;
}

.home-contact .section-label {
  color: #78bfff;
  font-size: 13px;
}

.home-contact h2 {
  font-size: 38px;
}

.home-contact p {
  color: #e0eef7;
  font-size: 16px;
  font-weight: 500;
}

.home-page .footer {
  width: 100%;
  margin: 0;
  padding: 48px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(137, 171, 207, 0.16);
  background: #07111d;
  color: #c4d4df;
  font-size: 14px;
}

.home-page .footer-brand strong {
  color: #f3f8fb;
  font-size: 16px;
}

.home-page .footer-brand > div:first-child > div {
  margin-top: 5px;
  color: #b2c4d0;
}

.home-page .footer-brand > div:last-child,
.home-page .footer-links,
.home-page .footer-links a {
  color: #9fb4c2;
}

.home-page .footer-links a:hover {
  color: #78bfff;
}

html[data-theme="dark"] body.home-page {
  --home-muted: #b0bfd0;
  --home-line: rgba(196, 217, 238, 0.18);
  --home-surface: #07111d;
  --home-surface-strong: #091522;
  --home-accent: #69b9ff;
  --home-accent-strong: #8bcbff;
}

html[data-theme="dark"] .home-surface {
  background: var(--home-surface);
}

html[data-theme="dark"] .outcomes-section::before,
html[data-theme="dark"] .projects-section::before,
html[data-theme="dark"] .about-section::before,
html[data-theme="dark"] .insights-section::before {
  background: var(--home-surface);
}

html[data-theme="dark"] .editorial-head > p,
html[data-theme="dark"] .outcome-architecture p,
html[data-theme="dark"] .project-story-copy > p:not(.project-state),
html[data-theme="dark"] .about-narrative > p {
  color: #b0bfd0;
}

html[data-theme="dark"] .outcome-architecture article {
  background: transparent;
}

html[data-theme="dark"] .outcome-architecture article > span,
html[data-theme="dark"] .home-page .insight-link time,
html[data-theme="dark"] .home-page .insight-link span {
  color: #9eb0c4;
}

html[data-theme="dark"] .outcome-architecture a {
  color: var(--home-accent);
}

html[data-theme="dark"] .method-section {
  background: var(--home-surface-strong);
  color: var(--home-ink);
}

html[data-theme="dark"] .method-inner h2,
html[data-theme="dark"] .method-path strong {
  color: var(--home-ink);
}

html[data-theme="dark"] .method-inner header > p:last-child,
html[data-theme="dark"] .method-path p {
  color: var(--home-muted);
}

html[data-theme="dark"] .project-visual figcaption,
html[data-theme="dark"] .project-story ul,
html[data-theme="dark"] .story-actions a,
html[data-theme="dark"] .story-actions button,
html[data-theme="dark"] .about-principles span {
  color: #b3c1d0;
}

html[data-theme="dark"] .about-narrative .about-lead,
html[data-theme="dark"] .about-principles strong {
  color: #edf6fb;
}

html[data-theme="dark"] .home-contact {
  border-color: rgba(137, 171, 207, 0.2);
  background: #0a1726;
}

@media (min-width: 1181px) {
  .hero-layout {
    grid-template-columns: minmax(0, 820px) 1fr;
    gap: 0;
  }

  .hero-ai-guide {
    position: absolute;
    top: clamp(30px, 6vh, 64px);
    right: calc((var(--max) - 100vw) / 2 + 36px);
    width: 300px;
    max-width: none;
    align-self: auto;
    margin: 0;
    border-color: rgba(74, 179, 207, 0.42);
    background: rgba(6, 21, 34, 0.82);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
  }

  .guide-question,
  .guide-answer {
    display: none;
  }

  .guide-head {
    grid-template-columns: 44px 1fr auto;
    padding: 13px 14px;
    border-bottom: 0;
  }

  .guide-head img {
    width: 44px;
    height: 44px;
  }

  .guide-head strong {
    font-size: 14px;
  }

  .guide-head small {
    font-size: 12px;
  }

  .guide-action {
    padding: 12px 14px;
    color: #8fe5d2;
    font-size: 13px;
  }

  html[data-theme="light"] .hero-ai-guide {
    border-color: rgba(12, 116, 135, 0.26);
    background: rgba(248, 253, 254, 0.91);
    box-shadow: 0 18px 50px rgba(22, 70, 105, 0.15);
  }

  html[data-theme="light"] .guide-action {
    color: #087f73;
  }
}

@media (max-width: 1100px) {
  .home-contact {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 40px;
  }

  .home-contact > .section-label {
    grid-column: 1 / -1;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .hero-ai-guide {
    display: none;
  }

  .home-page.hero-in-view .ai-launcher {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .hero-ai-guide {
    display: none;
  }

  .home-section {
    padding: 82px 0;
  }

  .editorial-head > p,
  .project-story-copy > p:not(.project-state),
  .about-narrative > p {
    font-size: 17px;
  }

  .project-story {
    padding: 62px 0;
  }

  .home-contact {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .home-page .nav {
    font-size: 16px;
  }

  .hero-credential {
    font-size: 12px;
  }

  .hero-signals span {
    font-size: 14px;
  }

  .hero-signals strong {
    font-size: 15px;
  }

  .hero-bridge p {
    font-size: 15px;
  }

  .home-section {
    padding: 70px 0;
  }

  .section-label {
    font-size: 12px;
  }

  .editorial-head h2,
  .about-statement h2,
  .method-inner h2 {
    font-size: 34px;
  }

  .editorial-head > p,
  .project-story-copy > p:not(.project-state),
  .about-narrative > p {
    font-size: 16px;
  }

  .outcome-architecture article {
    min-height: 220px;
    padding: 24px 0;
  }

  .outcome-architecture p,
  .project-story ul,
  .method-path p,
  .about-principles span {
    font-size: 15px;
  }

  .project-story {
    padding: 52px 0;
  }

  .project-story h3 {
    font-size: 30px;
  }

  .method-inner {
    padding: 70px 0;
  }

  .method-inner header > p:last-child {
    font-size: 16px;
  }

  .home-page .insight-link strong {
    font-size: 17px;
  }

  .home-contact {
    margin: 0;
    padding: 52px 16px;
  }

  .home-contact h2 {
    font-size: 30px;
  }

  .home-page .footer {
    padding: 38px 16px 80px;
    font-size: 14px;
  }

  .home-page .footer-brand {
    display: grid;
    gap: 18px;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    inset: var(--header) 0 auto;
    max-height: calc(100vh - var(--header));
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 14px 24px 24px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #050a12;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  html[data-theme="light"] .nav {
    background: #f4f7fb;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a,
  .nav a:nth-child(5),
  .nav a:nth-child(6) {
    min-height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .nav-contact {
    margin-top: 10px;
  }
}

/* Unified public-facing secondary pages */
body.service-page {
  --page: #050c16;
  --page-soft: #081321;
  --surface: rgba(15, 27, 44, 0.9);
  --surface-solid: #0d1929;
  --surface-quiet: rgba(139, 188, 244, 0.055);
  --line: rgba(205, 222, 241, 0.13);
  --line-strong: rgba(205, 222, 241, 0.24);
  --text: #eef5fd;
  --muted: #9cafc4;
  --muted-strong: #c3cfdd;
  --accent: #68b7ff;
  --accent-strong: #2c75e8;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  background: var(--page);
  color: var(--text);
}

html[data-theme="light"] body.service-page {
  --page: #eef4fa;
  --page-soft: #e5edf6;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-solid: #ffffff;
  --surface-quiet: rgba(25, 86, 160, 0.055);
  --line: rgba(21, 55, 94, 0.13);
  --line-strong: rgba(21, 55, 94, 0.24);
  --text: #0b1830;
  --muted: #596b83;
  --muted-strong: #334a66;
  --accent: #1769c4;
  --accent-strong: #1769c4;
  --shadow: 0 28px 70px rgba(34, 67, 106, 0.13);
  background: var(--page);
}

.service-page .site-shell,
.service-page main {
  background:
    linear-gradient(180deg, #07111f 0, #0a1525 720px, #060d18 100%);
}

html[data-theme="light"] .service-page .site-shell,
html[data-theme="light"] .service-page main {
  background:
    linear-gradient(180deg, #edf4fb 0, #ffffff 720px, #f5f8fc 100%);
}

.service-page .topbar {
  background: rgba(5, 13, 25, 0.92);
  border-bottom-color: rgba(222, 235, 249, 0.13);
}

.service-page .topbar .brand,
.service-page .topbar .nav a,
.service-page .topbar .theme-toggle,
.service-page .topbar .menu-toggle {
  color: #f7fbff;
}

.service-page .topbar .brand-lockup small {
  color: #98a8be;
}

.service-page .topbar .nav-contact {
  border-color: rgba(112, 177, 255, 0.62);
}

.service-page .topbar .theme-toggle,
.service-page .topbar .menu-toggle {
  border-color: rgba(222, 235, 249, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

html[data-theme="light"] .service-page .topbar {
  background: rgba(247, 250, 254, 0.92);
  border-bottom-color: rgba(24, 52, 88, 0.12);
}

html[data-theme="light"] .service-page .topbar .brand,
html[data-theme="light"] .service-page .topbar .nav a,
html[data-theme="light"] .service-page .topbar .theme-toggle,
html[data-theme="light"] .service-page .topbar .menu-toggle {
  color: #0b1830;
}

html[data-theme="light"] .service-page .topbar .brand-lockup small {
  color: #607089;
}

.service-page .hero {
  padding: 104px 0 82px;
  border-bottom: 1px solid var(--line);
}

.service-page .hero-split > * {
  min-width: 0;
}

.service-page .hero-split .hero-copy {
  width: 100%;
  max-width: 100%;
}

.service-digital-human .hero-split {
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.75fr);
  gap: clamp(44px, 5vw, 72px);
}

.service-digital-human .hero .lead {
  max-width: 100%;
}

.service-page .hero h1 {
  margin-bottom: 26px;
  color: var(--text);
  font-size: 58px;
  font-weight: 830;
  line-height: 1.14;
}

.service-page .hero h1 span,
.service-page .section h2 span {
  color: var(--accent);
}

.service-page .hero .eyebrow {
  color: var(--accent);
}

.service-page .hero .lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.service-page .hero-preview {
  border-color: var(--line);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.service-page .hero-preview img {
  aspect-ratio: 3 / 2;
  border-bottom-color: var(--line);
}

.service-page .preview-copy strong {
  color: var(--text);
}

.service-page .preview-copy span {
  color: var(--muted);
  line-height: 1.65;
}

.service-page .btn {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.service-page .btn:hover {
  border-color: var(--accent);
  background: var(--surface-solid);
}

.service-page .btn.primary,
.service-page .btn.experience {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #ffffff;
}

.service-page .section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.service-page .section + .section {
  border-top: 1px solid var(--line);
}

.service-page .section h2 {
  color: var(--text);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
}

.service-page .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.service-page .section-heading h2 {
  max-width: 760px;
  margin: 0;
  text-wrap: balance;
}

.service-page .section-heading .section-kicker {
  margin-bottom: 12px;
  color: var(--accent);
}

.service-page .section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.8;
}

.service-page .section > .desc,
.service-page .section > p {
  color: var(--muted);
}

.service-page .card {
  background: var(--surface-quiet);
}

.service-page .card strong {
  color: var(--text);
}

.service-page .screenshot-card {
  border-color: var(--line);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}

.service-page .screenshot-card img {
  border-bottom-color: var(--line);
}

.service-page .shot-copy strong {
  color: var(--text);
}

.service-page .answer-box,
.service-page .note {
  border-left-color: var(--accent);
  background: var(--surface);
}

.service-page .tag {
  border-color: var(--line-strong);
  color: var(--accent);
}

.service-page .tag:hover {
  border-color: var(--accent);
  background: var(--surface-quiet);
}

.service-page .table-wrap {
  background: var(--surface-quiet);
}

.service-page th {
  color: var(--text);
}

.service-page .faq-item h3,
.service-page .step strong {
  color: var(--text);
}

.service-page .footer {
  margin-top: 0;
  padding-top: 44px;
  padding-bottom: 44px;
  background: #06101f;
  color: #d9e3ef;
}

.service-page .footer-links {
  color: #8ea0b5;
}

.portfolio-visuals .screenshot-card img {
  aspect-ratio: 3 / 2;
}

.case-narratives {
  border-top: 1px solid var(--line);
}

.case-narratives > article {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.case-heading {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.case-heading > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.case-heading strong {
  display: block;
  color: var(--text);
  font-size: 26px;
}

.case-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.case-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-left: 78px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-flow > div {
  min-height: 150px;
  padding: 24px;
}

.case-flow > div + div {
  border-left: 1px solid var(--line);
}

.case-flow strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

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

.case-cta .answer-box {
  padding: 38px 42px;
  border-left-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-solid);
}

.case-cta .answer-box h2 {
  margin-top: 0;
}

.case-cta .answer-box p {
  max-width: 760px;
}

@media (max-width: 1100px) {
  .service-digital-human .hero-split {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .service-digital-human .hero-preview {
    width: min(100%, 820px);
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .service-page .hero h1 {
    font-size: 48px;
  }

  .service-page .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .case-flow {
    grid-template-columns: 1fr;
  }

  .case-flow > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .service-page .hero {
    width: min(100% - 32px, var(--max));
    padding: 68px 0 48px;
  }

  .service-page .hero h1 {
    font-size: 36px;
  }

  .service-page .hero .lead {
    font-size: 15px;
  }

  .service-page .section {
    width: min(100% - 32px, var(--max));
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .service-page .section h2 {
    font-size: 30px;
  }

  .case-heading {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .case-heading strong {
    font-size: 22px;
  }

  .case-flow {
    margin-left: 0;
  }

  .case-flow > div {
    min-height: 0;
    padding: 20px 0;
  }

  .case-cta .answer-box {
    padding: 28px 22px;
  }
}

/* Brand controls stay visually quiet across legacy page shells. */
.home-page .topbar .theme-toggle,
.service-page .topbar .theme-toggle {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #efd995;
}

.home-page .topbar .theme-toggle:hover,
.service-page .topbar .theme-toggle:hover {
  border-color: transparent;
  background: rgba(239, 217, 149, 0.08);
  color: #ffe9a7;
}

html[data-theme="light"] .home-page .topbar .theme-toggle,
html[data-theme="light"] .service-page .topbar .theme-toggle {
  border: 0;
  background: transparent;
  color: #151a20;
}

html[data-theme="light"] .home-page .topbar .theme-toggle:hover,
html[data-theme="light"] .service-page .topbar .theme-toggle:hover {
  background: rgba(17, 24, 39, 0.055);
  color: #05080c;
}

.home-page .topbar .nav .nav-contact,
.service-page .topbar .nav .nav-contact {
  min-height: auto;
  display: inline;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.home-page .topbar .nav .nav-contact:hover,
.service-page .topbar .nav .nav-contact:hover {
  border: 0;
  background: transparent;
  color: var(--text);
}
