:root {
  --ink: #111614;
  --paper: #f5f2ec;
  --paper-strong: #fffaf0;
  --muted: #6b716b;
  --line: rgba(17, 22, 20, 0.14);
  --green: #17392f;
  --green-2: #0f251f;
  --steel: #b9c0bb;
  --gold: #b48b4f;
  --blue: #d7e8ea;
  --shadow: 0 26px 80px rgba(12, 18, 16, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px clamp(20px, 5vw, 64px);
  color: rgba(255, 250, 240, 0.88);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(245, 242, 236, 0.92);
  box-shadow: 0 10px 34px rgba(12, 18, 16, 0.08);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

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

.brand-text {
  font-size: 15px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: block;
  min-height: 92vh;
  overflow: hidden;
  color: var(--paper-strong);
}

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

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 12, 11, 0.92) 0%, rgba(7, 12, 11, 0.7) 42%, rgba(7, 12, 11, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 12, 11, 0.3) 0%, rgba(7, 12, 11, 0.12) 44%, rgba(7, 12, 11, 0.72) 100%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 104px);
  padding-top: clamp(118px, 14vh, 154px);
  padding-bottom: 32px;
}

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

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.08;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.84);
  font-size: clamp(16px, 1.8vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255, 250, 240, 0.34);
  font-size: 14px;
  font-weight: 700;
}

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

.button.secondary {
  color: var(--paper-strong);
}

.hero-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 34px;
  border-top: 1px solid rgba(255, 250, 240, 0.18);
}

.hero-metrics div {
  padding: 20px 22px;
  border-right: 1px solid rgba(255, 250, 240, 0.14);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  font-size: 18px;
}

.hero-metrics span {
  color: rgba(255, 250, 240, 0.68);
  font-size: 13px;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 124px) 0;
}

.intro,
.split,
.about {
  display: grid;
  grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}

.intro h2,
.split h2,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.18;
}

.intro-copy p,
.about-copy p {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.product-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--green-2);
  color: var(--paper-strong);
}

.mail-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  color: var(--green);
  font-weight: 800;
}

.product-stage {
  display: grid;
  gap: 16px;
  padding: 18px clamp(14px, 2vw, 24px) 24px;
  background: #f5f5f7;
}

.product-stage-heading {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 60px 20px 38px;
  text-align: center;
}

.product-stage-heading h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.04;
}

.product-stage-heading p:not(.section-kicker) {
  max-width: 620px;
  margin: 14px auto 0;
  color: #6e6e73;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.apple-product {
  display: grid;
  min-height: 780px;
  overflow: hidden;
  background: #fff;
  color: #1d1d1f;
  text-align: center;
}

.apple-product-alt {
  background: #fbfbfd;
}

.apple-copy {
  display: grid;
  justify-items: center;
  padding: clamp(48px, 7vw, 84px) 20px 22px;
}

.apple-copy span {
  color: #86868b;
  font-size: 17px;
  font-weight: 700;
}

.apple-copy h3 {
  margin: 8px 0 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.02;
}

.apple-copy p {
  max-width: 680px;
  margin: 14px 0 0;
  color: #515154;
  font-size: clamp(19px, 2.3vw, 28px);
  line-height: 1.32;
}

.product-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(720px, 100%);
  margin-top: 20px;
}

.product-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 999px;
  color: #515154;
  background: rgba(245, 245, 247, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.apple-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.apple-actions a {
  color: #0066cc;
  font-size: 18px;
  font-weight: 500;
}

.apple-actions a::after {
  content: ">";
  padding-left: 5px;
}

.apple-visual {
  display: grid;
  gap: 18px;
  align-self: end;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto 44px;
}

.apple-visual > picture img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.product-thumbs {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(240px, 0.45fr);
  gap: 22px;
  align-items: center;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 22px;
  background: #f5f5f7;
}

.product-thumbs img {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
  background: #fff;
}

.product-thumbs p {
  margin: 0;
  color: #6e6e73;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}

.product-band article {
  min-height: 330px;
  padding: clamp(32px, 5vw, 58px);
  border-right: 1px solid rgba(255, 250, 240, 0.12);
}

.product-band article:last-child {
  border-right: 0;
}

.product-band span {
  color: var(--gold);
  font-weight: 800;
}

.product-band h3 {
  margin: 78px 0 14px;
  font-size: 28px;
  line-height: 1.25;
}

.product-band p,
.solution-item p,
.capability-grid p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.product-band p {
  color: rgba(255, 250, 240, 0.68);
}

.split {
  align-items: start;
}

.solution-list {
  border-top: 1px solid var(--line);
}

.solution-item {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.solution-item h3 {
  margin: 0;
  font-size: 22px;
}

.statement {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 64px 20px;
  background: linear-gradient(135deg, #10251f 0%, #18241f 55%, #2b2a23 100%);
  color: var(--paper-strong);
  text-align: center;
}

.statement p {
  width: min(920px, 100%);
  margin: 0;
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.2;
}

.capability {
  position: relative;
  display: grid;
  gap: 36px;
}

.section-watermark {
  position: absolute;
  top: 72px;
  right: max(0px, calc((100% - 1160px) / 2));
  z-index: 0;
  width: clamp(180px, 24vw, 320px);
  opacity: 0.045;
  pointer-events: none;
}

.section-heading,
.capability-grid,
.about > div {
  position: relative;
  z-index: 1;
}

.section-heading {
  width: min(780px, 100%);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability-grid div {
  min-height: 250px;
  padding: 28px;
  background: var(--paper-strong);
}

.capability-grid strong {
  display: block;
  margin-bottom: 66px;
  color: var(--green);
  font-size: 21px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: clamp(28px, 7vw, 90px);
  align-items: center;
  padding: clamp(56px, 8vw, 92px) clamp(20px, 5vw, 64px);
  background: var(--green);
  color: var(--paper-strong);
}

.contact .section-kicker {
  color: rgba(255, 250, 240, 0.72);
}

.contact p {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 250, 240, 0.72);
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 240, 0.22);
}

.contact-panel img {
  width: min(190px, 48vw);
  margin-bottom: 10px;
}

.contact-panel .mail-link {
  margin-top: 0;
  color: var(--paper-strong);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  word-break: break-word;
}

.contact-panel span {
  color: rgba(255, 250, 240, 0.7);
  font-size: 14px;
}

.contact-form-section {
  display: block;
  padding: clamp(70px, 9vw, 110px) clamp(15px, 4vw, 58px);
  background: #141414;
}

.contact-heading {
  width: min(780px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.contact-heading h2 {
  font-size: 24px;
  font-weight: 500;
}

.contact-heading p {
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
}

.form-column {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
}

.contact-form label span {
  position: static;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.4;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  outline: 0;
  background: #1d1d1d;
  color: var(--paper-strong);
  font: inherit;
}

.contact-form select {
  appearance: none;
  padding-right: 42px;
  color: rgba(255, 255, 255, 0.86);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.52) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.52) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 21px,
    calc(100% - 15px) 21px;
  background-size:
    7px 7px,
    7px 7px;
  background-repeat: no-repeat;
}

.contact-form textarea {
  min-height: 190px;
  padding: 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(214, 255, 0, 0.72);
}

.message-field {
  min-height: 220px;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
}

.captcha-row img {
  width: 82px;
  height: 32px;
  object-fit: contain;
  background: #f8f8f8;
}

.captcha-refresh {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.form-submit {
  min-height: 46px;
  border: 1px solid #d9ff00;
  background: transparent;
  color: #d9ff00;
  font: inherit;
  cursor: pointer;
}

.form-submit:hover,
.captcha-refresh:hover {
  color: var(--paper-strong);
}

.contact .form-status {
  min-height: 26px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.contact .form-status.is-error {
  color: #ff9f9f;
}

.contact .form-status.is-success {
  color: #d9ff00;
}

.product-detail-page {
  background: #f5f5f7;
  color: #1d1d1f;
}

.product-detail-page .site-header {
  color: #1d1d1f;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(18px);
}

.detail-hero {
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 130px 20px 70px;
  text-align: center;
}

.detail-hero span {
  color: #86868b;
  font-size: 18px;
  font-weight: 800;
}

.detail-hero h1 {
  max-width: 900px;
  margin: 10px auto 0;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.02;
}

.detail-hero p {
  max-width: 720px;
  margin: 20px auto 0;
  color: #515154;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.42;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.detail-actions a {
  color: #0066cc;
  font-size: 18px;
  font-weight: 600;
}

.detail-actions a::after {
  content: ">";
  padding-left: 5px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 16px;
}

.detail-gallery figure {
  display: grid;
  align-content: center;
  min-height: 460px;
  margin: 0;
  padding: clamp(24px, 5vw, 56px);
  background: #fff;
}

.detail-gallery img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.detail-gallery figcaption {
  margin-top: 22px;
  color: #6e6e73;
  font-size: 15px;
  text-align: center;
}

.detail-info {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.5fr);
  gap: 16px;
  padding: 0 16px 16px;
}

.detail-info-card,
.detail-spec-card {
  min-height: 360px;
  padding: clamp(34px, 5vw, 64px);
  background: #fff;
}

.detail-info-card h2,
.detail-spec-card h2 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.12;
}

.detail-info-card p {
  max-width: 760px;
  margin: 20px 0 0;
  color: #515154;
  font-size: 20px;
}

.detail-spec-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.detail-spec-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.12);
}

.detail-spec-list strong {
  font-size: 16px;
}

.detail-spec-list span {
  color: #6e6e73;
}

.detail-contact {
  margin: 0 16px 16px;
  padding: clamp(38px, 6vw, 70px);
  background: var(--green);
  color: var(--paper-strong);
  text-align: center;
}

.detail-contact h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.1;
}

.detail-contact p {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(255, 250, 240, 0.72);
}

.detail-contact .mail-link {
  margin-top: 26px;
  color: var(--paper-strong);
  font-size: clamp(24px, 3vw, 34px);
  word-break: break-word;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 20px;
  }

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    display: grid;
    width: min(240px, calc(100vw - 40px));
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(17, 22, 20, 0.1);
    background: rgba(255, 250, 240, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 10px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 12, 11, 0.5) 0%, rgba(7, 12, 11, 0.88) 100%),
      linear-gradient(90deg, rgba(7, 12, 11, 0.72) 0%, rgba(7, 12, 11, 0.08) 100%);
  }

  .hero-content {
    margin: 0 auto;
    padding: 120px 0 38px;
  }

  .hero-metrics,
  .intro,
  .split,
  .about,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

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

  .contact-form-section {
    padding-inline: 20px;
  }

  .message-field {
    min-height: auto;
  }

  .hero-metrics {
    gap: 0;
    margin-bottom: 28px;
  }

  .hero-metrics div {
    padding: 12px 0;
    border-right: 0;
  }

  .product-band,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .apple-product {
    min-height: auto;
  }

  .product-thumbs {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .product-thumbs p {
    text-align: center;
  }

  .section-watermark {
    top: 38px;
    right: 18px;
    width: 170px;
  }

  .product-band article {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  }

  .product-band h3 {
    margin-top: 42px;
  }

  .solution-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .capability-grid div {
    min-height: auto;
  }

  .capability-grid strong {
    margin-bottom: 24px;
  }

  .detail-gallery,
  .detail-info {
    grid-template-columns: 1fr;
  }

  .detail-gallery figure {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .brand-text {
    max-width: 220px;
    white-space: normal;
    line-height: 1.2;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, 1160px);
  }

  .contact {
    padding-inline: 14px;
  }
}
