:root {
  --ink: #000000;
  --canvas: #ffffff;
  --soft: #f7f7f5;
  --line: #e6e6e6;
  --line-soft: #f1f1f1;
  --lime: #dceeb1;
  --lilac: #c5b0f4;
  --cream: #f4ecd6;
  --mint: #c8e6cd;
  --pink: #efd4d4;
  --coral: #f3c9b6;
  --navy: #1f1d3d;
  --max: 1280px;
  --header: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--canvas);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  padding: 10px clamp(18px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-name {
  overflow: hidden;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--soft);
  border-radius: 999px;
}

.site-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 560;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--canvas);
  background: var(--ink);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  background: var(--soft);
  border: 0;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.nav-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  padding: clamp(54px, 8vw, 94px) clamp(18px, 4vw, 44px) 34px;
  background: var(--canvas);
}

.hero-shell {
  display: grid;
  width: min(100%, var(--max));
  min-height: calc(100svh - var(--header) - 34px);
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.58fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  margin: 0 auto;
}

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

.mono-label {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 520;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .mono-label,
.section-heading .mono-label,
.about-title .mono-label,
.scope-intro .mono-label,
.partners-copy .mono-label {
  margin-bottom: 18px;
}

h1 {
  max-width: 920px;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 350;
  line-height: 1.04;
  white-space: nowrap;
}

.hero-lead {
  max-width: 700px;
  margin-top: 28px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 340;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 560;
  border: 1px solid var(--ink);
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

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

.button-secondary {
  color: var(--ink);
  background: var(--canvas);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--canvas);
  background: var(--ink);
}

.hero-visual {
  min-width: 0;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  max-height: min(620px, calc(100svh - var(--header) - 92px));
  object-fit: contain;
  border-radius: 36px;
}

.marquee-strip {
  overflow: hidden;
  color: var(--canvas);
  background: var(--ink);
}

.marquee-strip div {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: marquee 24s linear infinite;
}

.marquee-strip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 22px;
  font-size: 14px;
  white-space: nowrap;
}

.marquee-strip span::before {
  width: 6px;
  height: 6px;
  margin-right: 22px;
  content: "";
  background: var(--canvas);
  border-radius: 50%;
}

.section-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.services-section {
  padding: 104px clamp(18px, 4vw, 44px) 116px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

h2 {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 350;
  line-height: 1.05;
}

.service-stack {
  display: grid;
  gap: 18px;
}

.service-panel {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 24px;
}

.service-panel-lime {
  background: var(--lime);
}

.service-panel-lilac {
  background: var(--lilac);
}

.service-panel-navy {
  color: var(--canvas);
  background: var(--navy);
}

.service-index {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 320;
  line-height: 0.9;
}

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

.service-copy h3,
.scope-intro h3,
.partners-copy h3 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 360;
  line-height: 1.05;
}

.service-copy p {
  max-width: 720px;
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 340;
  line-height: 1.5;
}

.service-copy p + p {
  margin-top: 16px;
}

.service-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
}

.service-points li {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 560;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
}

.service-panel-navy .service-points li {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.about-section {
  padding: 104px clamp(18px, 4vw, 44px) 118px;
  background: var(--soft);
}

.about-shell {
  display: grid;
  gap: 24px;
}

.about-title {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  padding: 0 0 32px;
}

.about-title h2 {
  justify-self: end;
}

.scope-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 36px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--mint);
  border-radius: 24px;
}

.scope-intro p:last-child,
.partners-copy p {
  font-size: 18px;
  font-weight: 340;
  line-height: 1.58;
}

.scope-rows {
  display: grid;
  gap: 0;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}

.scope-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

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

.scope-row strong {
  font-size: 18px;
  line-height: 1.35;
}

.scope-row span {
  font-size: 16px;
  line-height: 1.65;
}

.partners-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 52px);
  background: var(--pink);
  border-radius: 24px;
}

.partners-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.partner-card {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 26px;
  background: var(--canvas);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}

.partner-card img {
  width: min(100%, 360px);
  max-height: 96px;
  object-fit: contain;
}

.partner-card:nth-child(2) img {
  max-height: 74px;
}

.partner-card figcaption {
  align-self: end;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 560;
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 46px 20px;
  color: var(--canvas);
  text-align: center;
  background: var(--ink);
}

.site-footer strong {
  font-size: 18px;
  font-weight: 620;
}

.site-footer span,
.site-footer small {
  font-size: 13px;
  line-height: 1.5;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1060px) {
  .hero-shell,
  .scope-block,
  .partners-block {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
  }


  .service-panel {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .service-points {
    grid-column: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-title {
    grid-template-columns: 1fr;
  }

  .about-title h2 {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 60px;
  }

  .site-header {
    padding: 8px 16px;
  }

    .brand-name {
    max-width: 216px;
    font-size: 15px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    right: 12px;
    left: 12px;
    display: grid;
    gap: 4px;
    padding: 10px;
    visibility: hidden;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.14);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

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

  .site-nav a {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 16px;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(30px, 8.2vw, 42px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }




  .services-section,
  .about-section {
    padding-top: 74px;
    padding-bottom: 82px;
  }

  .section-heading {
    display: grid;
    gap: 12px;
    align-items: start;
  }

  .service-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    border-radius: 18px;
  }

  .service-points {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .service-points li {
    border-radius: 8px;
  }

  .scope-block,
  .partners-block {
    padding: 24px;
    border-radius: 18px;
  }

  .scope-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .partner-logos {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 170px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    max-width: 184px;
  }

  h1 {
    font-size: 31px;
  }

  .hero-copy .mono-label {
    margin-bottom: 14px;
  }

}

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

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