:root {
  --ink: #132026;
  --ink-2: #26353b;
  --paper: #fbfaf4;
  --paper-2: #f1f7f4;
  --white: #ffffff;
  --mint: #35d0a2;
  --mint-dark: #138368;
  --amber: #f2b84b;
  --coral: #ff765f;
  --blue: #4d8cff;
  --grass: #74b857;
  --stone: #96a0a5;
  --line: #132026;
  --shadow: 8px 8px 0 rgba(19, 32, 38, 0.95);
  --soft-shadow: 0 24px 70px rgba(19, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(19, 32, 38, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 32, 38, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(22px, calc((100% - 1180px) / 2));
  border-bottom: 3px solid var(--line);
  background: rgba(251, 250, 244, 0.94);
  backdrop-filter: blur(12px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 128px;
  font-size: 1.05rem;
  font-weight: 900;
}

.brand-cube,
.button-icon,
.mini-block,
.timeline-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid var(--line);
  background: var(--mint);
  box-shadow:
    6px 0 0 var(--amber),
    0 6px 0 var(--grass);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 6px 12px;
  border: 2px solid transparent;
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--line);
  background: var(--amber);
  outline: none;
}

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  border-bottom: 4px solid var(--line);
  background: var(--ink);
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(19, 32, 38, 0.92) 0%, rgba(19, 32, 38, 0.76) 38%, rgba(19, 32, 38, 0.18) 72%),
    linear-gradient(0deg, rgba(19, 32, 38, 0.5), transparent 40%);
}

.hero-grid {
  opacity: 0.28;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 2px, transparent 2px);
  background-size: 38px 38px;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 92px 22px 132px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.92rem;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: 5rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 6px 6px 0 rgba(19, 32, 38, 0.95);
}

.hero-subtitle {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.2rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-shadow: 3px 3px 0 rgba(19, 32, 38, 0.75);
}

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

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 3px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--line);
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--line);
  outline: none;
}

.button.primary {
  background: var(--mint);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.84);
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.84);
}

.button.full {
  width: 100%;
}

.button-icon {
  width: 14px;
  height: 14px;
  border-width: 2px;
  box-shadow:
    5px 0 0 var(--white),
    0 5px 0 var(--amber);
}

.hero-strip {
  position: absolute;
  right: max(22px, calc((100% - 1180px) / 2));
  bottom: 26px;
  left: max(22px, calc((100% - 1180px) / 2));
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: rgba(19, 32, 38, 0.78);
}

.hero-strip span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 900;
  text-align: center;
}

.hero-strip span + span {
  border-left: 3px solid rgba(255, 255, 255, 0.9);
}

.section-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 82px 22px;
}

.section-heading {
  max-width: 640px;
}

.section-heading.wide {
  max-width: 820px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 1.05rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

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

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

.pixel-card,
.service-card,
.contact-panel {
  border: 3px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.pixel-card {
  min-height: 230px;
  padding: 22px;
}

.mini-block {
  margin-bottom: 20px;
}

.mini-block.mint {
  background: var(--mint);
}

.mini-block.amber {
  background: var(--amber);
  box-shadow:
    6px 0 0 var(--coral),
    0 6px 0 var(--mint);
}

.mini-block.coral {
  background: var(--coral);
  box-shadow:
    6px 0 0 var(--blue),
    0 6px 0 var(--amber);
}

.mini-block.blue {
  background: var(--blue);
  box-shadow:
    6px 0 0 var(--grass),
    0 6px 0 var(--coral);
}

.pixel-card h3,
.service-card h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.32;
  letter-spacing: 0;
}

.pixel-card p,
.service-card p,
.timeline p,
.fit-item p,
.contact-layout p,
.form-note {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.services-section {
  position: relative;
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
  background:
    linear-gradient(135deg, rgba(53, 208, 162, 0.16), transparent 32%),
    linear-gradient(315deg, rgba(255, 118, 95, 0.16), transparent 30%),
    var(--paper-2);
}

.services-section::before {
  position: absolute;
  right: 7%;
  top: 48px;
  width: 96px;
  height: 96px;
  content: "";
  background:
    linear-gradient(var(--amber), var(--amber)) 0 0 / 32px 32px no-repeat,
    linear-gradient(var(--mint), var(--mint)) 32px 32px / 32px 32px no-repeat,
    linear-gradient(var(--coral), var(--coral)) 64px 64px / 32px 32px no-repeat;
  opacity: 0.9;
}

.service-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.service-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
}

.service-index {
  width: 54px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 3px solid var(--line);
  background: var(--amber);
  box-shadow: 6px 6px 0 var(--line);
  font-weight: 950;
}

.service-card:nth-child(2) .service-index {
  background: var(--mint);
}

.service-card:nth-child(3) .service-index {
  background: var(--coral);
}

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

.service-card li {
  position: relative;
  min-height: 30px;
  padding-left: 26px;
  color: var(--ink);
  font-weight: 850;
}

.service-card li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--line);
  content: "";
  background: var(--mint);
}

.service-card:nth-child(2) li::before {
  background: var(--blue);
}

.service-card:nth-child(3) li::before {
  background: var(--amber);
}

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

.method-section .section-heading h2,
.method-section .section-heading p:not(.section-kicker) {
  color: var(--white);
}

.method-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 0;
  border: 3px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
}

.timeline article {
  position: relative;
  min-height: 136px;
  padding: 26px 28px 26px 72px;
}

.timeline article + article {
  border-top: 3px solid rgba(255, 255, 255, 0.88);
}

.timeline strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
}

.timeline p {
  color: rgba(255, 255, 255, 0.82);
}

.timeline-dot {
  position: absolute;
  top: 32px;
  left: 28px;
  width: 16px;
  height: 16px;
  border-color: var(--white);
  background: var(--amber);
  box-shadow:
    5px 0 0 var(--mint),
    0 5px 0 var(--coral);
}

.fit-section {
  border-bottom: 4px solid var(--line);
  background: var(--paper);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.fit-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  min-height: 126px;
  align-items: stretch;
  border: 3px solid var(--line);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--line);
}

.fit-item span {
  display: grid;
  place-items: center;
  border-right: 3px solid var(--line);
  background: var(--mint);
  font-weight: 950;
}

.fit-item:nth-child(2) span {
  background: var(--amber);
}

.fit-item:nth-child(3) span {
  background: var(--coral);
}

.fit-item:nth-child(4) span {
  background: var(--blue);
  color: var(--white);
}

.fit-item p {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 18px;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(77, 140, 255, 0.12), transparent 34%),
    linear-gradient(270deg, rgba(242, 184, 75, 0.18), transparent 34%),
    var(--paper-2);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 46px;
  align-items: center;
}

.contact-layout h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.contact-layout > div > p:not(.section-kicker) {
  max-width: 560px;
  font-size: 1.05rem;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-panel label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.contact-panel input,
.contact-panel textarea {
  width: 100%;
  border: 3px solid var(--line);
  border-radius: 0;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 700;
  resize: vertical;
}

.contact-panel input:focus,
.contact-panel textarea:focus {
  outline: 4px solid rgba(53, 208, 162, 0.35);
}

.form-note {
  min-height: 28px;
  margin-top: 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px max(22px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  font-weight: 900;
}

.site-footer a {
  font-weight: 900;
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .nav-links a {
    justify-content: center;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-content {
    padding-top: 72px;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-strip,
  .problem-grid,
  .service-lanes,
  .fit-grid,
  .method-layout,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .method-layout,
  .contact-layout {
    gap: 32px;
  }

  .services-section::before {
    display: none;
  }
}

@media (max-width: 640px) {
  body::before {
    background-size: 18px 18px;
  }

  .site-header {
    width: 100vw;
    max-width: 100%;
    min-height: 94px;
    padding: 12px 16px;
  }

  .brand-mark {
    min-width: 0;
  }

  .nav-links a {
    min-height: 34px;
    padding: 4px 5px;
    font-size: 0.86rem;
  }

  .nav-links {
    width: auto;
    max-width: calc(100vw - 32px);
    grid-template-columns: repeat(4, 62px);
    justify-content: start;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(19, 32, 38, 0.94), rgba(19, 32, 38, 0.72)),
      linear-gradient(0deg, rgba(19, 32, 38, 0.42), transparent 40%);
  }

  .hero-content {
    width: 100vw;
    max-width: 100%;
    padding: 48px 16px 150px;
  }

  .hero h1 {
    max-width: calc(100vw - 32px);
    font-size: 2.9rem;
  }

  .hero-subtitle {
    width: min(330px, calc(100vw - 48px));
    max-width: 100%;
    word-break: break-all;
  }

  .hero-actions {
    width: min(330px, calc(100vw - 48px));
  }

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

  .button {
    box-shadow: 4px 4px 0 var(--line);
  }

  .button:hover,
  .button:focus-visible {
    box-shadow: 2px 2px 0 var(--line);
  }

  .hero-strip {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: calc(100vw - 32px);
    grid-template-columns: 1fr 1fr;
  }

  .hero-strip span {
    min-height: 44px;
    font-size: 0.85rem;
  }

  .hero-strip span:nth-child(3) {
    border-left: 0;
    border-top: 3px solid rgba(255, 255, 255, 0.9);
  }

  .hero-strip span:nth-child(4) {
    border-top: 3px solid rgba(255, 255, 255, 0.9);
  }

  .section-inner {
    padding: 58px 16px;
  }

  .section-heading h2,
  .contact-layout h2 {
    font-size: 1.8rem;
  }

  .problem-grid,
  .service-lanes,
  .fit-grid,
  .method-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .pixel-card,
  .service-card {
    min-height: auto;
  }

  .timeline article {
    padding: 24px 22px 24px 62px;
  }

  .timeline-dot {
    left: 22px;
  }

  .fit-item {
    min-height: 102px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 16px;
  }
}

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