:root {
  --ink: #17233d;
  --ink-deep: #101a30;
  --ink-soft: #263656;
  --red: #e44b3d;
  --red-dark: #c9382e;
  --gold: #f0b43b;
  --mint: #2f8f83;
  --blue: #4d74b8;
  --text: #1f2b43;
  --muted: #667085;
  --muted-light: #9aa5b5;
  --line: #dfe4ea;
  --line-dark: rgba(255, 255, 255, 0.14);
  --surface: #ffffff;
  --surface-soft: #f5f7f9;
  --surface-warm: #fbf7ef;
  --shell: 1200px;
  --header-height: 76px;
  --shadow-soft: 0 18px 55px rgba(20, 31, 54, 0.1);
  --shadow-card: 0 10px 28px rgba(20, 31, 54, 0.07);
}

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

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

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid rgba(228, 75, 61, 0.4);
  outline-offset: 3px;
}

::selection {
  color: var(--surface);
  background: var(--red);
}

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section-shell {
  padding: 100px 0;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.14em;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 228, 234, 0.85);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--shell));
  height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 10px 13px;
  color: #445069;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.nav-link:hover {
  color: var(--red);
  background: rgba(228, 75, 61, 0.06);
}

.nav-link.active {
  color: var(--red);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 4px;
  left: 13px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.header-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.header-cta:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

.menu-toggle .close-icon {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 82px;
  color: var(--surface);
  background: var(--ink-deep);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36%;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--red));
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.56;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  padding-bottom: 4px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: inline-flex;
  padding: 7px 11px;
  color: #ffd98a;
  background: rgba(240, 180, 59, 0.1);
  border: 1px solid rgba(240, 180, 59, 0.24);
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -0.035em;
}

.hero h1 strong {
  display: inline-block;
  color: #ffd274;
  font-weight: 800;
}

.hero-lead {
  max-width: 580px;
  margin-bottom: 30px;
  color: #c8d2e2;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--surface);
  background: var(--red);
  box-shadow: 0 10px 24px rgba(228, 75, 61, 0.24);
}

.button-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 12px 28px rgba(228, 75, 61, 0.3);
}

.button-ghost {
  color: #eef3fa;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.24);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 0;
  margin: 0 0 26px;
  color: #aebbd0;
  font-size: 13px;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-proof .icon {
  color: #70c8a9;
}

.hero-company {
  margin: 0;
  color: #718099;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  min-width: 0;
  animation: visual-enter 700ms 120ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.workbench-frame {
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.15);
}

.workbench {
  overflow: hidden;
  color: var(--text);
  background: #f7f8fa;
  border-radius: 6px;
}

.window-bar {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  color: #667085;
  background: #ffffff;
  border-bottom: 1px solid #e4e8ed;
  font-size: 10px;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  background: #d9dee6;
  border-radius: 50%;
}

.window-dots span:first-child {
  background: #ee7b70;
}

.window-dots span:nth-child(2) {
  background: #f2c66d;
}

.window-dots span:nth-child(3) {
  background: #74c7a9;
}

.window-title {
  font-weight: 650;
}

.window-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #398a73;
  font-weight: 650;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #3aa981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(58, 169, 129, 0.12);
}

.workbench-body {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 452px;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 10px 12px;
  background: #17233d;
}

.app-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 1px 5px 13px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.app-sidebar-brand img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  color: #8491aa;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 650;
}

.sidebar-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.sidebar-item .icon {
  width: 14px;
  height: 14px;
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 9px 6px 0;
  color: #7e8ca5;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 8px;
}

.signal-bars {
  display: flex;
  height: 9px;
  align-items: flex-end;
  gap: 2px;
}

.signal-bars i {
  display: block;
  width: 2px;
  background: #71c4a1;
  border-radius: 1px;
}

.signal-bars i:nth-child(1) {
  height: 3px;
}

.signal-bars i:nth-child(2) {
  height: 5px;
}

.signal-bars i:nth-child(3) {
  height: 7px;
}

.signal-bars i:nth-child(4) {
  height: 9px;
}

.app-workspace {
  min-width: 0;
  padding: 20px 20px 14px;
}

.workspace-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.workspace-kicker {
  display: block;
  margin-bottom: 2px;
  color: #8993a3;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.workspace-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.run-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  color: #2f806e;
  background: #e9f6f1;
  border: 1px solid #d3ede4;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.run-pill .icon {
  width: 9px;
  height: 9px;
}

.chat-bubble {
  font-size: 10px;
}

.chat-user {
  width: fit-content;
  max-width: 82%;
  margin: 0 0 11px auto;
  padding: 9px 11px;
  color: #ffffff;
  background: var(--ink-soft);
  border-radius: 8px 8px 2px 8px;
  line-height: 1.55;
}

.chat-time {
  display: block;
  margin-top: 3px;
  color: #aeb8c9;
  text-align: right;
  font-size: 7px;
}

.chat-assistant {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.assistant-avatar {
  display: grid;
  width: 31px;
  height: 31px;
  flex: none;
  place-items: center;
  overflow: hidden;
  background: #eef1f5;
  border-radius: 50%;
}

.assistant-avatar img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.assistant-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  color: #5f6b7f;
  background: #ffffff;
  border: 1px solid #e5e9ee;
  border-radius: 2px 8px 8px 8px;
  line-height: 1.5;
}

.assistant-copy strong {
  color: #29364e;
  font-size: 10px;
}

.execution-list {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e9ee;
  border-radius: 5px;
}

.execution-item {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px 11px;
  border-bottom: 1px solid #edf0f3;
}

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

.execution-marker {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #8792a3;
  background: #f0f3f6;
  border-radius: 4px;
}

.execution-marker .icon {
  width: 12px;
  height: 12px;
}

.execution-item.done .execution-marker {
  color: #ffffff;
  background: #3b9b7c;
}

.execution-item.running .execution-marker {
  color: var(--red);
  background: rgba(228, 75, 61, 0.1);
}

.execution-item div {
  min-width: 0;
}

.execution-item strong {
  display: block;
  overflow: hidden;
  color: #2a374e;
  font-size: 9px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.execution-item div > span {
  display: block;
  overflow: hidden;
  color: #8b95a5;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.execution-state {
  color: #919aa9;
  font-size: 7px;
  font-weight: 650;
  white-space: nowrap;
}

.execution-item.done .execution-state {
  color: #3b8e75;
}

.execution-item.running .execution-state {
  color: var(--red);
}

.workspace-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.device-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6d788a;
  font-size: 7px;
}

.device-chip .icon {
  width: 10px;
  height: 10px;
}

.progress-label {
  justify-self: end;
  color: #7f8999;
  font-size: 7px;
}

.progress-track {
  grid-column: 1 / -1;
  height: 3px;
  overflow: hidden;
  background: #e7eaee;
  border-radius: 3px;
}

.progress-track span {
  display: block;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: inherit;
}

.floating-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  color: #435069;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  font-size: 10px;
  line-height: 1.35;
}

.floating-note strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
}

.floating-note-top {
  top: -22px;
  right: -12px;
}

.floating-note-bottom {
  bottom: -24px;
  left: -20px;
}

.floating-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--red);
  background: rgba(228, 75, 61, 0.1);
  border-radius: 4px;
}

.floating-icon.gold {
  color: #9a6b08;
  background: rgba(240, 180, 59, 0.17);
}

/* About */
.about {
  background: var(--surface);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  gap: 82px;
  align-items: center;
}

.about h2,
.section-heading h2,
.solutions-heading h2,
.contact h2,
.site-dialog h2 {
  color: var(--ink);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.about h2 {
  margin-bottom: 22px;
}

.section-lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.advantage-list {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}

.advantage-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 17px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.advantage-number {
  padding-top: 3px;
  color: var(--red);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.advantage-item h3 {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
}

.advantage-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.about-visual {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  padding: 24px;
  color: #ffffff;
  background: var(--ink-deep);
  border: 1px solid #2b3a58;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.visual-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #71819e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #86d0b4;
}

.live-label i {
  width: 6px;
  height: 6px;
  background: #5cc59f;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(92, 197, 159, 0.12);
}

.mascot-stage {
  position: relative;
  display: grid;
  min-height: 400px;
  place-items: center;
}

.mascot-halo {
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(240, 180, 59, 0.22);
  border-radius: 50%;
}

.mascot-halo::before,
.mascot-halo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.mascot-halo::before {
  inset: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.mascot-halo::after {
  inset: 65px;
  background: rgba(240, 180, 59, 0.045);
}

.about-mascot {
  position: relative;
  z-index: 1;
  width: min(76%, 330px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.32));
  animation: mascot-float 5.5s ease-in-out infinite;
}

.mascot-message {
  position: absolute;
  right: 0;
  bottom: 37px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 150px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 5px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.mascot-message span {
  color: #8791a2;
  font-size: 9px;
}

.mascot-message strong {
  color: #25334d;
  font-size: 12px;
}

.visual-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.visual-metrics > div {
  padding: 18px 14px 2px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.visual-metrics > div:last-child {
  border-right: 0;
}

.visual-metrics strong {
  display: block;
  color: #ffd274;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
}

.visual-metrics span {
  color: #8593aa;
  font-size: 10px;
}

/* Capabilities */
.capabilities {
  padding: 100px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    var(--surface-soft);
  border-top: 1px solid #e9edf1;
  border-bottom: 1px solid #e9edf1;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

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

.capability-card {
  position: relative;
  min-height: 288px;
  padding: 27px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.capability-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width 260ms ease;
}

.capability-card:hover {
  border-color: #c9d0da;
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

.capability-card:hover::after {
  width: 100%;
}

.capability-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.capability-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 7px;
}

.capability-icon .icon {
  width: 22px;
  height: 22px;
}

.icon-red {
  color: var(--red);
  background: rgba(228, 75, 61, 0.09);
}

.icon-blue {
  color: var(--blue);
  background: rgba(77, 116, 184, 0.1);
}

.icon-gold {
  color: #a46d00;
  background: rgba(240, 180, 59, 0.15);
}

.icon-mint {
  color: var(--mint);
  background: rgba(47, 143, 131, 0.1);
}

.capability-index {
  color: #b1bac6;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
}

.capability-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
}

.capability-card > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.capability-tags span {
  padding: 4px 8px;
  color: #697386;
  background: #f4f6f8;
  border: 1px solid #e7eaee;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 650;
}

/* Solutions */
.solutions {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: #ffffff;
  background: var(--ink);
}

.solutions::before {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  width: 260px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.solutions::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to right, transparent 20%, black 55%, transparent 100%);
}

.solutions .page-shell {
  position: relative;
  z-index: 1;
}

.eyebrow-light {
  color: #ffd274;
}

.solutions-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.68fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}

.solutions-heading h2 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: 42px;
}

.solutions-heading > p {
  margin: 0 0 4px;
  color: #aeb9cc;
  line-height: 1.85;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 54px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.flow-step {
  position: relative;
  min-height: 235px;
  padding: 31px 30px 28px;
  border-right: 1px solid var(--line-dark);
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 64px;
  right: -6px;
  z-index: 2;
  width: 11px;
  height: 11px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.flow-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  color: #ffd274;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
}

.flow-icon .icon {
  width: 21px;
  height: 21px;
}

.flow-number {
  position: absolute;
  top: 30px;
  right: 28px;
  color: #5b6880;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 14px;
}

.flow-step h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 750;
}

.flow-step p {
  max-width: 300px;
  margin: 0;
  color: #90a0ba;
  font-size: 13px;
  line-height: 1.8;
}

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

.scenario-item {
  display: flex;
  gap: 12px;
  padding: 17px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.scenario-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  color: #ffd274;
  background: rgba(240, 180, 59, 0.09);
  border-radius: 4px;
}

.scenario-icon .icon {
  width: 16px;
  height: 16px;
}

.scenario-item strong {
  display: block;
  margin-bottom: 2px;
  color: #f4f7fb;
  font-size: 13px;
}

.scenario-item span {
  display: block;
  color: #8f9db4;
  font-size: 10px;
  line-height: 1.6;
}

/* Agreement */
.agreement {
  background: var(--surface-warm);
}

.section-heading.compact {
  max-width: 680px;
  margin-bottom: 36px;
}

.agreement-panel {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #e6e0d4;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(50, 42, 27, 0.05);
}

.agreement-panel details {
  border-bottom: 1px solid #ece7dd;
}

.agreement-panel details:last-of-type {
  border-bottom: 0;
}

.agreement-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  transition: background-color 180ms ease;
}

.agreement-panel summary::-webkit-details-marker {
  display: none;
}

.agreement-panel summary:hover {
  background: #faf8f3;
}

.agreement-panel summary span {
  display: flex;
  align-items: center;
  gap: 15px;
}

.agreement-panel summary b {
  color: var(--red);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 12px;
}

.accordion-icon {
  width: 17px;
  height: 17px;
  color: #8791a2;
  transition: transform 180ms ease;
}

.agreement-panel details[open] .accordion-icon {
  transform: rotate(180deg);
}

.agreement-content {
  padding: 0 24px 23px 65px;
}

.agreement-content p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.agreement-updated {
  margin: 0;
  padding: 16px 24px;
  color: #8c8578;
  background: #faf8f3;
  border-top: 1px solid #ece7dd;
  font-size: 11px;
}

/* Contact */
.contact {
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.78fr);
  gap: 84px;
  align-items: start;
}

.contact-copy {
  padding-top: 14px;
}

.contact h2 {
  margin-bottom: 22px;
}

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

.contact-detail {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--red);
  background: rgba(228, 75, 61, 0.07);
  border-radius: 4px;
}

.contact-icon .icon {
  width: 18px;
  height: 18px;
}

.contact-detail div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.contact-detail div span {
  color: #8a94a4;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.contact-detail strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.contact-form-shell {
  padding: 30px;
  background: #f8f9fb;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.form-heading {
  padding-bottom: 21px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e1e5ea;
}

.form-heading span {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 15px;
}

.field > span {
  color: #4c5870;
  font-size: 12px;
  font-weight: 700;
}

.field em {
  color: var(--red);
  font-style: normal;
}

.field input,
.field textarea {
  width: 100%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid #d9dee5;
  border-radius: 5px;
  outline: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.field input {
  height: 46px;
  padding: 0 13px;
}

.field textarea {
  min-height: 118px;
  padding: 11px 13px;
  line-height: 1.65;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a4adba;
  font-size: 12px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(228, 75, 61, 0.09);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
}

.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 2px 0 18px;
  color: #717b8c;
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
}

.consent input {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--red);
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #2f806e;
  font-size: 12px;
  text-align: center;
}

.form-status.error {
  color: var(--red);
}

/* Footer */
.site-footer {
  padding: 66px 0 23px;
  color: #ffffff;
  background: var(--ink-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(130px, 0.52fr) minmax(130px, 0.52fr);
  gap: 70px;
  padding-bottom: 46px;
}

.brand-footer .brand-copy strong {
  color: #ffffff;
}

.brand-footer .brand-copy span {
  color: #8694ab;
}

.footer-brand > p {
  max-width: 430px;
  margin: 20px 0 18px;
  color: #8f9caf;
  font-size: 13px;
  line-height: 1.8;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffd274;
  font-size: 12px;
  font-weight: 700;
}

.footer-contact-link:hover {
  color: #ffffff;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  position: relative;
  margin: 2px 0 12px;
  padding-bottom: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.footer-column a,
.footer-column button {
  padding: 0;
  color: #8f9caf;
  background: transparent;
  border: 0;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  transition: color 160ms ease;
}

.footer-column a:hover,
.footer-column button:hover {
  color: #ffd274;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 21px;
  color: #77859b;
  border-top: 1px solid #283650;
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #a9b4c5;
}

.footer-bottom a:hover {
  color: #ffd274;
}

/* Floating controls and dialogs */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: 5px;
  box-shadow: 0 9px 24px rgba(19, 32, 55, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red);
}

.site-dialog {
  width: min(calc(100% - 32px), 660px);
  max-height: min(82vh, 760px);
  padding: 0;
  color: var(--text);
  background: var(--surface);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(10, 20, 40, 0.28);
}

.site-dialog::backdrop {
  background: rgba(9, 16, 30, 0.72);
  backdrop-filter: blur(3px);
}

.site-dialog[open] {
  animation: dialog-enter 180ms ease-out;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px 20px;
  border-bottom: 1px solid var(--line);
}

.dialog-heading span {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.dialog-heading h2 {
  margin: 2px 0 0;
  font-size: 26px;
}

.dialog-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  padding: 0;
  color: #6d7788;
  background: #f4f6f8;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.dialog-close:hover {
  color: var(--red);
}

.dialog-body {
  max-height: calc(82vh - 108px);
  overflow-y: auto;
  padding: 25px 28px 30px;
}

.dialog-body h3 {
  margin: 22px 0 7px;
  color: var(--ink);
  font-size: 15px;
}

.dialog-body h3:first-child {
  margin-top: 0;
}

.dialog-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.faq-body h3 {
  padding-bottom: 9px;
  border-bottom: 1px solid #edf0f3;
}

/* Motion */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.capability-card:nth-child(2),
.capability-card:nth-child(5) {
  transition-delay: 70ms;
}

.capability-card:nth-child(3),
.capability-card:nth-child(6) {
  transition-delay: 140ms;
}

@keyframes visual-enter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mascot-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 1180px) {
  .nav-shell,
  .page-shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .primary-nav {
    gap: 1px;
  }

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

  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
    gap: 38px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .about-layout {
    gap: 52px;
  }

  .contact-layout {
    gap: 54px;
  }
}

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

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

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

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

  .hero h1 {
    font-size: 54px;
  }

  .hero-visual {
    width: min(100%, 700px);
    margin-inline: auto;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-visual {
    min-height: 520px;
  }

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

  .solutions-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .solutions-heading > p {
    max-width: 640px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-copy {
    max-width: 720px;
  }

  .contact-form-shell {
    max-width: 720px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    gap: 16px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    max-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid transparent;
    box-shadow: 0 16px 30px rgba(20, 31, 54, 0.1);
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 240ms ease,
      padding 240ms ease,
      opacity 180ms ease,
      border-color 180ms ease;
  }

  .primary-nav.open {
    max-height: 390px;
    padding: 12px 20px 18px;
    border-color: var(--line);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 14px 12px;
    border-bottom: 1px solid #edf0f3;
    border-radius: 0;
    font-size: 15px;
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .nav-link.active::after {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 0;
    width: 3px;
    height: 20px;
    transform: translateY(-50%);
  }

  .menu-open .menu-toggle .menu-icon {
    display: none;
  }

  .menu-open .menu-toggle .close-icon {
    display: block;
  }

  .section-shell,
  .capabilities,
  .solutions {
    padding: 78px 0;
  }

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

  .flow-step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .flow-step:last-child {
    border-bottom: 0;
  }

  .flow-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -6px;
    left: 51px;
  }

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

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

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .nav-shell,
  .page-shell {
    width: min(calc(100% - 30px), var(--shell));
  }

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

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy span {
    font-size: 9px;
  }

  .hero {
    padding: 28px 0 34px;
  }

  .hero-layout {
    gap: 32px;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-lead {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: row;
    margin-bottom: 18px;
  }

  .hero-actions .button {
    min-width: 0;
    flex: 1;
    padding-inline: 12px;
  }

  .hero-proof {
    display: none;
    gap: 8px 15px;
    font-size: 12px;
  }

  .hero-company {
    display: none;
  }

  .workbench-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-sidebar {
    display: none;
  }

  .app-workspace {
    padding: 12px 14px 10px;
  }

  .window-bar {
    height: 38px;
    padding-inline: 11px;
  }

  .window-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .window-status {
    flex: none;
    font-size: 8px;
  }

  .chat-user {
    max-width: 91%;
    margin-bottom: 6px;
    padding-block: 8px;
  }

  .hero .chat-assistant {
    display: none;
  }

  .hero .execution-item:nth-child(3) {
    display: none;
  }

  .hero .workspace-footer {
    display: none;
  }

  .execution-item {
    grid-template-columns: 25px minmax(0, 1fr);
    padding-block: 8px;
  }

  .execution-state {
    display: none;
  }

  .floating-note {
    display: none;
  }

  .section-shell,
  .capabilities,
  .solutions {
    padding: 64px 0;
  }

  .about h2,
  .section-heading h2,
  .solutions-heading h2,
  .contact h2,
  .site-dialog h2 {
    font-size: 29px;
  }

  .section-heading {
    margin-bottom: 34px;
    text-align: left;
  }

  .section-heading .eyebrow {
    justify-content: flex-start;
  }

  .about-layout {
    gap: 38px;
  }

  .advantage-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .about-visual {
    min-height: 480px;
    padding: 18px;
  }

  .mascot-stage {
    min-height: 335px;
  }

  .mascot-halo {
    width: 230px;
    height: 230px;
  }

  .about-mascot {
    width: 80%;
  }

  .mascot-message {
    right: 2px;
    bottom: 18px;
  }

  .visual-metrics > div {
    padding-inline: 8px;
  }

  .visual-metrics strong {
    font-size: 22px;
  }

  .visual-metrics span {
    font-size: 9px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 0;
  }

  .solutions-heading {
    margin-bottom: 38px;
  }

  .solutions-heading h2 {
    line-height: 1.32;
  }

  .flow-step {
    padding: 26px 20px;
  }

  .flow-number {
    top: 25px;
    right: 20px;
  }

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

  .agreement-panel summary {
    padding: 17px;
    font-size: 14px;
  }

  .agreement-content {
    padding: 0 17px 18px;
  }

  .contact-details {
    margin-top: 28px;
  }

  .contact-form-shell {
    padding: 22px 17px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 34px;
  }

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

  .footer-column {
    padding-top: 4px;
  }

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

  .back-to-top {
    right: 15px;
    bottom: 15px;
  }

  .dialog-heading,
  .dialog-body {
    padding-inline: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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