:root {
  --ink: #10201d;
  --ink-2: #2f403b;
  --muted: #6b7672;
  --line: rgba(20, 45, 40, 0.14);
  --paper: #f8f6ef;
  --paper-2: #eee9dc;
  --forest: #0f3f38;
  --forest-2: #11312c;
  --teal: #1e7c70;
  --gold: #b8873b;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 30, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 40px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(5, 22, 20, 0.84), rgba(5, 22, 20, 0));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-solid {
  background: rgba(10, 28, 25, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  color: #f7dfb0;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.site-nav a:hover {
  color: #f8d79a;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-2);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 20, 18, 0.92) 0%, rgba(7, 28, 25, 0.72) 43%, rgba(8, 30, 28, 0.18) 100%),
    url("/assets/sjaitech-hero.png") center / cover;
}

.hero-content {
  position: relative;
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 180px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}

.button.primary {
  color: #18231f;
  background: #f3c56e;
}

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

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

.hero-proof {
  position: relative;
  display: grid;
  width: min(1060px, calc(100% - 48px));
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 86px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.hero-proof div {
  min-height: 176px;
  padding: 26px;
  background: rgba(8, 31, 28, 0.76);
  backdrop-filter: blur(8px);
}

.hero-proof span {
  color: #e0b65f;
  font-weight: 800;
}

.hero-proof strong {
  display: block;
  margin-top: 16px;
  font-size: 19px;
}

.hero-proof p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

.meaning {
  padding-top: 104px;
}

.meaning-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: start;
}

blockquote {
  margin: 28px 0 0;
  padding-left: 24px;
  border-left: 4px solid var(--gold);
  color: var(--forest);
  font-size: 28px;
  font-weight: 800;
}

.meaning-grid p {
  margin: 42px 0 0;
  color: var(--ink-2);
  font-size: 18px;
}

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

.service-card {
  min-height: 286px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-index {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--forest);
  font-weight: 800;
}

.service-card h3,
.scenario-list h3 {
  margin: 24px 0 12px;
  font-size: 21px;
  line-height: 1.28;
}

.service-card p,
.scenario-list p,
.delivery-steps p,
.contact-section p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  border-top: 1px solid var(--line);
}

.scenario-list {
  display: grid;
  gap: 18px;
}

.scenario-list div {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.scenario-list h3 {
  margin-top: 0;
}

.delivery {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - 1120px) / 2));
  padding-left: max(24px, calc((100vw - 1120px) / 2));
  background: var(--paper-2);
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(16, 32, 29, 0.16);
  background: rgba(16, 32, 29, 0.16);
}

.delivery-steps li {
  min-height: 236px;
  padding: 28px;
  background: var(--paper);
}

.delivery-steps span {
  color: var(--gold);
  font-weight: 900;
}

.delivery-steps strong {
  display: block;
  margin: 18px 0 12px;
  font-size: 22px;
}

.contact-section {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 96px auto;
  padding: 44px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 61, 54, 0.96), rgba(15, 31, 28, 0.96)),
    url("/assets/sjaitech-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.contact-section p {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 30px 40px;
  color: rgba(255, 255, 255, 0.72);
  background: #0b1815;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
    padding: 0 20px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 32px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(5, 20, 18, 0.94) 0%, rgba(7, 28, 25, 0.76) 58%, rgba(8, 30, 28, 0.48) 100%),
      url("/assets/sjaitech-hero.png") center / cover;
  }

  .hero-content {
    width: min(100% - 32px, 640px);
    padding-top: 132px;
  }

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

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

  .hero-proof,
  .meaning-grid,
  .service-grid,
  .split,
  .delivery-steps,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    width: min(100% - 32px, 640px);
    margin-top: 48px;
  }

  .section,
  .contact-section {
    width: min(100% - 32px, 640px);
  }

  .section {
    padding: 64px 0;
  }

  .meaning-grid {
    gap: 20px;
  }

  .meaning-grid p {
    margin-top: 0;
  }

  blockquote {
    font-size: 22px;
  }

  .delivery {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact-section {
    margin: 64px auto;
    padding: 30px;
  }

  .button {
    width: 100%;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .service-grid,
  .delivery-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
