:root {
  --primary: #0a0a0a;
  --primary-active: #1f1f1f;
  --ink: #0a0a0a;
  --body: #37322c;
  --body-strong: #1a1a1a;
  --muted: #6f665a;
  --muted-soft: #9a9a9a;
  --hairline: #eadfce;
  --canvas: #fffaf6;
  --surface-soft: #fbf3e7;
  --surface-card: #f4ead9;
  --surface-strong: #eadfce;
  --surface-dark: #0a1a1a;
  --on-primary: #ffffff;
  --brand-pink: #efb5c7;
  --brand-teal: #2f4f4b;
  --brand-lavender: #d8cdec;
  --brand-peach: #f1c0a7;
  --brand-ochre: #d9bd78;
  --brand-mint: #d1e3da;
  --brand-coral: #e7a092;
  --max: 1280px;
  --header: 64px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--body);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--canvas);
  letter-spacing: 0;
}

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;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 12px 18px;
  color: var(--on-primary);
  background: var(--primary);
  border-radius: 0 0 var(--radius-md) 0;
  transform: translateY(-110%);
}

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

.section-shell {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}
#home,
#services,
#about,
#partners {
  scroll-margin-top: calc(var(--header) + 16px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: var(--header);
  padding: 0 24px;
  background: rgba(255, 250, 246, 0.95);
  border-bottom: 1px solid rgba(234, 223, 205, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
  gap: 0;
  color: var(--ink);
}


.brand-name {
  overflow: hidden;
  max-width: calc(100vw - 260px);
  font-size: clamp(14px, 1.35vw, 16px);
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  min-height: var(--header);
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 9999px;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 160ms ease, opacity 160ms 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 {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--header));
  overflow: hidden;
  align-items: center;
  padding: 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(233, 133, 167, 0.08), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(200, 222, 211, 0.16), transparent 30%),
    var(--canvas);
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  content: "";
  background: var(--brand-ochre);
  border-radius: 50%;
  opacity: 0.12;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-copy {
  max-width: 960px;
  padding: 86px 0 104px;
}

.hero-copy h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(30px, min(4.2vw, calc((100vw - 96px) / 16)), 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.hero-lead {
  max-width: 720px;
  margin-top: 28px;
  color: var(--body);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}








.services-section,
.about-section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 42px;
}

.section-index {
  display: inline-flex;
  width: 52px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  background: var(--surface-card);
  border-radius: 9999px;
}

.section-heading h2,
.partners-copy h2 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p,
.partners-copy p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

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

.service-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-xl);
}

.service-card-pink {
  color: var(--ink);
  background: var(--brand-pink);
}

.service-card-teal {
  color: var(--on-primary);
  background: var(--brand-teal);
}

.service-card-lavender {
  color: var(--ink);
  background: var(--brand-lavender);
}

.service-card-pink .service-number,
.service-card-pink li,
.service-card-lavender .service-number,
.service-card-lavender li {
  background: rgba(255, 255, 255, 0.36);
}

.service-number {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 30px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 9999px;
}

.service-card h3 {
  color: inherit;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.service-card p {
  margin-top: 22px;
  color: inherit;
  font-size: 16px;
  line-height: 1.68;
  opacity: 0.92;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 34px;
}

.service-card li {
  min-height: 38px;
  padding: 10px 14px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 9999px;
}

.about-section {
  background: var(--surface-soft);
}

.scope-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
}

.scope-ledger,
.license-panel,
.partners-block,
.partner-card {
  border-radius: var(--radius-xl);
}

.scope-ledger {
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--hairline);
}

.scope-ledger h3,
.license-panel h3 {
  padding: 30px 32px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.scope-row {
  display: grid;
  grid-template-columns: minmax(190px, 270px) minmax(0, 1fr);
  border-top: 1px solid var(--hairline);
}

.scope-row strong,
.scope-row p {
  padding: 24px 32px;
}

.scope-row strong {
  color: var(--body-strong);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  background: var(--surface-card);
}

.scope-row p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.68;
}

.license-panel {
  min-height: 100%;
  color: var(--on-primary);
  background: var(--brand-teal);
}

.license-panel h3 {
  color: var(--on-primary);
}

.license-panel p {
  padding: 0 32px 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

.partners-block {
  margin-top: 18px;
  padding: 34px;
  background: var(--surface-card);
}

.partners-copy {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

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

.partner-card {
  display: grid;
  min-height: 220px;
  align-content: center;
  justify-items: center;
  padding: 34px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
}

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

.partner-card figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  min-height: 408px;
  align-items: start;
  padding: 92px max(24px, calc((100vw - var(--max)) / 2)) 172px;
  color: var(--body);
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline);
}

.site-footer div {
  display: grid;
  gap: 10px;
}

.site-footer strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.site-footer span,
.site-footer small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1024px) {

  .hero-copy h1 {
    font-size: clamp(30px, min(7.4vw, calc((100vw - 72px) / 13)), 56px);
  }

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

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

  .scope-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) 44px;
    padding: 0 14px;
  }

  .brand-name {
    max-width: calc(100vw - 86px);
    font-size: clamp(12px, 3.45vw, 15px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    right: 12px;
    left: 12px;
    display: grid;
    min-height: 0;
    padding: 10px;
    visibility: hidden;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    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 {
    min-height: 44px;
    justify-content: flex-start;
  }

  .hero {
    min-height: calc(100svh - var(--header));
    padding: 0;
  }

  .hero-copy h1 {
    font-size: clamp(23px, calc((100vw - 44px) / 13), 36px);
  }

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

  .hero-copy {
    padding: 58px 0 72px;
  }




  .services-section,
  .about-section {
    padding: 68px 0;
  }

  .section-heading,
  .partners-copy {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-heading h2,
  .partners-copy h2 {
    font-size: 38px;
  }

  .service-card,
  .partners-block,
  .partner-card {
    padding: 24px;
  }

  .scope-row {
    grid-template-columns: 1fr;
  }

  .scope-ledger h3,
  .license-panel h3,
  .scope-row strong,
  .scope-row p,
  .license-panel p {
    padding-right: 24px;
    padding-left: 24px;
  }

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

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

  .partner-card img {
    height: 72px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    min-height: 340px;
    padding: 64px 16px 140px;
  }

  .site-footer strong {
    font-size: clamp(16px, 4.8vw, 20px);
  }
}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: clamp(22px, calc((100vw - 36px) / 13), 30px);
  }

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

@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;
  }
}