:root {
  --ink: #111111;
  --ink-soft: #343434;
  --paper: #f6f3ec;
  --paper-deep: #ebe4d8;
  --white: #ffffff;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.24);
  --lime: #c8ff3d;
  --teal: #1fb7a6;
  --coral: #ff6d4d;
  --gold: #d8a33d;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(20, 18, 14, 0.16);
  --page-max: 1180px;
  --page-gutter: max(18px, calc((100vw - var(--page-max)) / 2 + 24px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px var(--page-gutter);
  background: rgba(246, 243, 236, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  background: transparent;
}

.brand-logo {
  display: block;
  width: 184px;
  height: auto;
  background: transparent;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-name {
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  font-size: 14px;
  color: rgba(17, 17, 17, 0.72);
}

.site-nav a,
.footer-links a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

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

.language-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-btn {
  min-width: 48px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(17, 17, 17, 0.64);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
}

.lang-btn.is-active {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 820;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    background-color 170ms ease;
}

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

.button-primary {
  background: var(--lime);
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.16);
  box-shadow: 0 14px 30px rgba(160, 213, 43, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  height: min(760px, calc(100svh - 74px));
  overflow: hidden;
  isolation: isolate;
  padding: clamp(46px, 7vw, 90px) var(--page-gutter);
  background: #12110f;
  color: var(--white);
}

.flow-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background:
    linear-gradient(rgba(17, 17, 17, 0.5), rgba(17, 17, 17, 0.78)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 92px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 92px
    ),
    #12110f;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.88), transparent);
  pointer-events: none;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(600px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 600px;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 740;
}

.hero-visual {
  position: absolute;
  right: var(--page-gutter);
  bottom: clamp(24px, 5vw, 72px);
  z-index: 2;
  width: min(520px, 40vw);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(20, 20, 18, 0.82);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(10px);
  transform: rotate(-1.2deg);
}

.console-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.window-dot:nth-child(1) {
  background: var(--coral);
}

.window-dot:nth-child(2) {
  background: var(--gold);
}

.window-dot:nth-child(3) {
  background: var(--teal);
}

.console-title {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 760;
}

.console-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  padding: 14px;
}

.console-panel {
  min-height: 130px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.console-panel-large {
  grid-row: span 2;
  min-height: 272px;
}

.panel-heading,
.dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-heading span,
.metric-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.panel-heading strong {
  color: var(--lime);
  font-size: 22px;
}

.route-map {
  position: relative;
  height: 206px;
  margin-top: 10px;
}

.node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 78px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #22221f;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 850;
}

.node-live {
  top: 74px;
  left: 24px;
  background: var(--lime);
  color: var(--ink);
}

.node:nth-child(2) {
  top: 18px;
  right: 28px;
}

.node:nth-child(3) {
  top: 86px;
  right: 2px;
}

.node:nth-child(4) {
  right: 36px;
  bottom: 14px;
}

.route-line {
  position: absolute;
  left: 96px;
  width: 55%;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(255, 255, 255, 0.16));
  transform-origin: left center;
}

.line-a {
  top: 66px;
  transform: rotate(-15deg);
}

.line-b {
  top: 112px;
  width: 62%;
}

.line-c {
  top: 152px;
  transform: rotate(16deg);
}

.metric-value {
  display: block;
  margin-top: 12px;
  font-size: 32px;
  line-height: 1;
}

.metric-trend {
  display: inline-flex;
  margin-top: 12px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.metric-warn {
  color: var(--gold);
}

.console-code {
  grid-column: 1 / -1;
  min-height: 0;
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 var(--page-gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  min-height: 124px;
  padding: 26px 28px;
  background: var(--paper);
  border-left: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 1px solid var(--line);
}

.trust-band strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.trust-band span {
  color: rgba(17, 17, 17, 0.68);
}

.section {
  padding: clamp(72px, 9vw, 124px) var(--page-gutter);
}

.section-muted {
  background: var(--paper-deep);
}

.section-ink {
  background: var(--ink);
  color: var(--white);
}

.section-header {
  width: min(860px, 100%);
  margin-bottom: clamp(34px, 5vw, 54px);
}

.section-header-light p {
  color: rgba(255, 255, 255, 0.72);
}

.section h2,
.contact-section h2 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

.section-header > p:not(.eyebrow),
.split-layout p,
.api-copy p,
.faq-layout p,
.contact-inner p:not(.eyebrow) {
  color: rgba(17, 17, 17, 0.68);
  font-size: 17px;
}

.section-ink .section-header > p:not(.eyebrow),
.section-ink .solution-card p {
  color: rgba(255, 255, 255, 0.7);
}

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

.feature-card,
.solution-card,
.timeline-item,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.feature-card p,
.timeline-item p {
  margin: 0;
  color: rgba(17, 17, 17, 0.66);
}

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

.solution-card {
  min-height: 260px;
  padding: 28px;
  background: #1c1b18;
  border-color: rgba(255, 255, 255, 0.14);
}

.solution-card:nth-child(2) {
  background: #24211b;
}

.solution-card:nth-child(3) {
  background: #182522;
}

.solution-kicker {
  margin: 0;
  color: var(--lime) !important;
  font-size: 13px;
  font-weight: 900;
}

.solution-card h3 {
  color: var(--white);
}

.split-layout,
.api-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.coverage-list span,
.mini-list span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.api-layout {
  align-items: center;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.code-window {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 8px;
  background: #141412;
  color: var(--white);
  box-shadow: var(--shadow);
}

.code-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.code-status {
  color: var(--lime);
}

.code-window pre {
  padding: 24px;
  overflow-x: auto;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.dash-sidebar {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  gap: 6px;
  padding: 24px 16px;
  background: var(--ink);
  color: var(--white);
}

.dash-sidebar span {
  margin-bottom: 18px;
  font-weight: 900;
}

.dash-sidebar a {
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 780;
}

.dash-sidebar a:first-of-type {
  background: rgba(200, 255, 61, 0.14);
  color: var(--lime);
}

.dash-main {
  padding: 24px;
}

.dash-toolbar {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.dash-toolbar .metric-label {
  color: rgba(17, 17, 17, 0.56);
}

.dash-toolbar strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

.dash-toolbar button {
  min-width: 80px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 820;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.dash-cards div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.dash-cards span,
.dash-table .table-head {
  color: rgba(17, 17, 17, 0.56);
  font-size: 13px;
  font-weight: 800;
}

.dash-cards strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.dash-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr 0.8fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

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

.status-ok,
.status-review {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 880;
}

.status-ok {
  background: rgba(31, 183, 166, 0.14);
  color: #0b756a;
}

.status-review {
  background: rgba(216, 163, 61, 0.18);
  color: #8d6110;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline-item {
  min-height: 250px;
  padding: 24px;
}

.timeline-item span {
  display: inline-flex;
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 860;
}

.faq-list p {
  margin: 12px 0 0;
}

.contact-section {
  padding: clamp(72px, 9vw, 126px) var(--page-gutter);
  background: var(--ink);
  color: var(--white);
}

.contact-inner {
  width: min(850px, 100%);
}

.contact-inner p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-actions .button-dark {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(240px, 0.8fr);
  gap: 24px;
  align-items: start;
  padding: 34px var(--page-gutter);
  background: #090908;
  color: var(--white);
}

.site-footer p,
.footer-note {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-note {
  margin: 0;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
    grid-column: 3;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 12px;
    border-radius: 6px;
  }

  .site-nav a:hover {
    background: var(--paper);
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-visual {
    opacity: 0.74;
    width: min(560px, 58vw);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand {
    grid-column: 1;
  }

  .nav-toggle {
    grid-column: 2;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
  }

  .hero {
    align-items: flex-start;
    height: auto;
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 40px;
  }

  .hero-visual {
    right: -96px;
    bottom: 18px;
    width: 520px;
    opacity: 0.42;
  }

  h1 {
    font-size: clamp(44px, 13vw, 78px);
  }

  .trust-band,
  .feature-grid,
  .solution-grid,
  .timeline,
  .dash-cards {
    grid-template-columns: 1fr;
  }

  .split-layout,
  .api-layout,
  .faq-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    min-height: auto;
    flex-direction: row;
    overflow-x: auto;
  }

  .dash-sidebar span {
    display: none;
  }
}

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

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

  .brand-logo {
    width: 172px;
  }

  .header-actions .button {
    flex: 1;
  }

  .language-switch {
    flex: 0 0 auto;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .button {
    flex: 1 1 150px;
    padding-inline: 13px;
  }

  .hero-proof {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-proof span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero-proof span {
    font-size: 12px;
  }

  .hero-visual {
    right: -174px;
    bottom: 8px;
    width: 500px;
  }

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

  .console-panel-large,
  .console-code {
    grid-column: auto;
    grid-row: auto;
  }

  .section,
  .contact-section {
    padding-inline: 16px;
  }

  .section h2,
  .contact-section h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .feature-card,
  .solution-card,
  .timeline-item {
    min-height: auto;
  }

  .dash-main {
    padding: 16px;
  }

  .table-row {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    padding: 12px;
  }
}
