:root {
  color-scheme: light;
  --ink: #10233d;
  --navy: #071a31;
  --blue: #0a7fd4;
  --blue-dark: #075da0;
  --green: #218657;
  --amber: #d49a20;
  --red: #c84b42;
  --paper: #ffffff;
  --soft: #eef3f7;
  --line: #ccd7e1;
  --muted: #5f6f80;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 10px max(24px, calc((100% - var(--shell)) / 2));
  border-bottom: 1px solid rgba(204, 215, 225, 0.9);
  background: rgba(255, 255, 255, 0.96);
}

.brand-link {
  display: block;
  width: 184px;
}

.brand-link img,
.site-footer img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-nav a {
  color: #35485d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, 38px);
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
}

.language-switch button {
  width: 38px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #526579;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.language-switch button:hover {
  color: var(--blue-dark);
}

.language-switch button[aria-pressed="true"] {
  background: #ffffff;
  color: var(--blue-dark);
  box-shadow: 0 1px 4px rgba(16, 35, 61, 0.14);
}

.language-switch button:focus-visible,
.header-warranty:focus-visible,
.header-login:focus-visible,
.repair-ad-primary:focus-visible,
.repair-ad-secondary:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(10, 127, 212, 0.32);
  outline-offset: 2px;
}

.header-login,
.header-warranty,
.action-primary,
.action-secondary,
.closing-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.header-login {
  border: 1px solid var(--blue);
  color: var(--blue-dark);
}

.header-warranty {
  border: 1px solid var(--blue-dark);
  background: var(--blue-dark);
  color: #ffffff;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(520px, 68svh, 680px);
  overflow: hidden;
  background: var(--navy) url("./assets/abcbox-operations-hero.webp") center / cover no-repeat;
  color: #ffffff;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 19, 36, 0.58);
}

.hero-inner {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 100px;
}

.hero-kicker,
.section-index {
  margin: 0 0 18px;
  color: #168fe2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-kicker {
  color: #9fd8ff;
}

.hero h1 {
  margin: 0;
  font-size: 112px;
  line-height: 0.86;
}

.hero-lead {
  max-width: 690px;
  margin: 30px 0 0;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
}

.hero-copy {
  max-width: 660px;
  margin: 18px 0 0;
  color: #e1ebf4;
  font-size: 16px;
  line-height: 1.7;
}

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

.action-primary {
  background: var(--blue);
  color: #ffffff;
}

.action-primary:hover {
  background: var(--blue-dark);
}

.action-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.hero-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(5, 19, 36, 0.78);
}

.hero-rail span {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.hero-rail span:last-child {
  border-right: 0;
}

.repair-ad {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  min-height: 520px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f2f6f7;
}

.repair-ad-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 72px 68px 72px max(32px, calc((100vw - var(--shell)) / 2 + 24px));
}

.repair-ad-copy-inner {
  width: min(620px, 100%);
}

.repair-ad-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.repair-ad h2 {
  max-width: 620px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.2;
  scroll-margin-top: 112px;
}

.repair-ad-intro {
  max-width: 610px;
  margin: 20px 0 0;
  color: #31465b;
  font-size: 17px;
  line-height: 1.75;
}

.repair-ad-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.repair-ad-points li {
  position: relative;
  padding: 11px 0 11px 18px;
  border-top: 1px solid rgba(16, 35, 61, 0.18);
  color: #213a52;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.repair-ad-points li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--blue);
  content: "";
}

.repair-ad-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.repair-ad-primary,
.repair-ad-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.repair-ad-primary {
  background: var(--blue-dark);
  color: #ffffff;
}

.repair-ad-primary:hover {
  background: var(--navy);
}

.repair-ad-secondary {
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.repair-ad-secondary:hover {
  background: #ffffff;
}

.repair-ad-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #dce7eb;
}

.repair-ad-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.repair-ad-visual-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  background: rgba(8, 30, 51, 0.9);
  color: #ffffff;
}

.repair-ad-visual-label span {
  flex: 0 0 auto;
  color: #7fd5ac;
  font-size: 11px;
  font-weight: 900;
}

.repair-ad-visual-label strong {
  max-width: 430px;
  font-size: 16px;
  line-height: 1.45;
  text-align: right;
}

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

.intro-band,
.history-band,
.services-band,
.after-sales-band,
.system-band,
.workflow-band,
.closing-band {
  padding: 104px 0;
}

.intro-band {
  border-bottom: 1px solid var(--line);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1.65fr);
  gap: 48px;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4rem, 56px);
  line-height: 1.16;
}

.statement {
  max-width: 920px;
  margin: 24px 0 0;
  color: #31465b;
  font-size: 24px;
  line-height: 1.75;
}

.history-band {
  background: var(--soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--ink);
  list-style: none;
}

.timeline li {
  min-height: 300px;
  padding: 26px 28px 16px 0;
  border-right: 1px solid var(--line);
}

.timeline li + li {
  padding-left: 28px;
}

.timeline li:nth-child(1) {
  border-top: 7px solid var(--blue);
}

.timeline li:nth-child(2) {
  border-top: 7px solid var(--green);
}

.timeline li:nth-child(3) {
  border-top: 7px solid var(--amber);
}

.timeline li:nth-child(4) {
  border-top: 7px solid var(--red);
  border-right: 0;
}

.timeline-number {
  display: block;
  margin-bottom: 46px;
  color: #8594a3;
  font-size: 14px;
  font-weight: 900;
}

.timeline h3,
.service-list h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.timeline p,
.service-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.services-band {
  background: var(--navy);
  color: #ffffff;
}

.services-heading > p,
.services-band .service-list p {
  color: #aebed0;
}

.service-list {
  border-top: 1px solid #435369;
}

.service-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 140px;
  gap: 26px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid #435369;
}

.service-list article > span {
  color: #66baf3;
  font-weight: 900;
}

.service-list article > div {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1fr);
  gap: 36px;
}

.service-list p {
  margin-top: 0;
}

.service-list b {
  color: #7890a8;
  font-size: 12px;
  text-align: right;
}

.after-sales-band {
  border-bottom: 1px solid var(--line);
  background: #f2f7f5;
}

.after-sales-heading h2 {
  max-width: 760px;
}

.after-sales-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.after-sales-list article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid #cbd8d5;
  border-top: 5px solid var(--green);
  border-radius: 6px;
  background: #ffffff;
}

.after-sales-list article:nth-child(2),
.after-sales-list article:nth-child(5) {
  border-top-color: var(--blue);
}

.after-sales-list article:nth-child(3),
.after-sales-list article:nth-child(6) {
  border-top-color: var(--amber);
}

.after-sales-list span {
  color: #607f75;
  font-size: 13px;
  font-weight: 900;
}

.after-sales-list h3 {
  margin: 34px 0 0;
  font-size: 20px;
  line-height: 1.35;
}

.after-sales-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.after-sales-action {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 22px 24px;
  border-left: 5px solid var(--blue);
  background: #ffffff;
}

.after-sales-action p {
  margin: 0;
  color: #31465b;
  line-height: 1.65;
}

.after-sales-action a {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.after-sales-action a:hover {
  background: var(--ink);
  color: #ffffff;
}

.system-band {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 80px;
  align-items: center;
}

.system-layout > div:first-child > p:not(.section-index) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.system-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.map-stage {
  display: grid;
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-stage span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.map-stage strong {
  align-self: end;
  font-size: 22px;
}

.map-stage small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.workflow-band {
  background: #f7f9fb;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  min-height: 230px;
  padding: 24px 20px;
  border-top: 5px solid var(--blue);
  background: #ffffff;
}

.workflow-list li:nth-child(2) { border-color: var(--green); }
.workflow-list li:nth-child(3) { border-color: var(--amber); }
.workflow-list li:nth-child(4) { border-color: var(--red); }
.workflow-list li:nth-child(5) { border-color: #6e58a8; }

.workflow-list span {
  display: block;
  margin-bottom: 60px;
  color: #8a98a6;
  font-size: 13px;
  font-weight: 900;
}

.workflow-list strong {
  font-size: 18px;
}

.workflow-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.closing-band {
  background: #dcefe6;
}

.closing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.closing-layout h2 {
  max-width: 850px;
}

.closing-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.closing-email {
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.closing-email:hover,
.footer-email:hover {
  text-decoration: underline;
}

.closing-action {
  background: var(--ink);
  color: #ffffff;
}

.site-footer {
  display: grid;
  grid-template-columns: 170px 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding: 34px max(24px, calc((100% - var(--shell)) / 2));
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.footer-email {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 160px 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .header-login {
    justify-self: end;
  }

  .header-actions {
    justify-self: end;
  }

  .intro-layout,
  .section-heading,
  .system-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline li:nth-child(2) {
    border-right: 0;
  }

  .workflow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-layout {
    align-items: start;
  }

  .after-sales-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .repair-ad {
    grid-template-columns: 1fr;
  }

  .repair-ad-copy {
    order: 2;
    justify-content: flex-start;
    padding: 58px 36px 64px;
  }

  .repair-ad-copy-inner {
    width: min(680px, 100%);
    margin: 0 auto;
  }

  .repair-ad-visual {
    order: 1;
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: minmax(120px, 1fr) auto;
    min-height: 104px;
    padding: 9px 16px;
  }

  .brand-link {
    width: 142px;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
    justify-self: stretch;
    width: 100%;
  }

  .header-login,
  .header-warranty {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .language-switch {
    grid-template-columns: repeat(3, 36px);
  }

  .language-switch button {
    width: 36px;
    min-height: 32px;
  }

  .hero {
    min-height: 690px;
    background-position: 62% center;
  }

  .hero-shade {
    background: rgba(5, 19, 36, 0.68);
  }

  .hero-inner,
  .section-shell {
    width: min(100% - 32px, var(--shell));
  }

  .hero-inner {
    padding: 70px 0 150px;
  }

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

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

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 260px);
  }

  .hero-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-rail span {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 12px;
  }

  .repair-ad {
    display: grid;
  }

  .repair-ad-visual {
    min-height: 240px;
  }

  .repair-ad-copy {
    padding: 44px 16px 52px;
  }

  .repair-ad-copy-inner {
    width: 100%;
  }

  .repair-ad h2 {
    font-size: 32px;
  }

  .repair-ad-intro {
    font-size: 16px;
  }

  .repair-ad-points {
    grid-template-columns: 1fr;
  }

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

  .repair-ad-visual-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
  }

  .repair-ad-visual-label strong {
    font-size: 14px;
    text-align: left;
  }

  .intro-band,
  .history-band,
  .services-band,
  .after-sales-band,
  .system-band,
  .workflow-band,
  .closing-band {
    padding: 72px 0;
  }

  h2 {
    font-size: 36px;
  }

  .statement {
    font-size: 20px;
  }

  .timeline,
  .workflow-list,
  .system-map {
    grid-template-columns: 1fr;
  }

  .timeline li,
  .timeline li + li {
    min-height: 0;
    padding: 24px 0 30px;
    border-right: 0;
  }

  .timeline-number {
    margin-bottom: 26px;
  }

  .service-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .service-list article > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-list b {
    display: none;
  }

  .after-sales-list {
    grid-template-columns: 1fr;
  }

  .after-sales-list article {
    min-height: 0;
  }

  .after-sales-action {
    align-items: stretch;
    flex-direction: column;
  }

  .after-sales-action a {
    text-align: center;
  }

  .workflow-list li {
    min-height: 190px;
  }

  .closing-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .closing-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    gap: 14px;
    padding: 30px 16px;
  }

  .site-footer img {
    width: 150px;
  }
}

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