:root {
  --bg: #f5f5f7;
  --bg-2: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0071e3;
  --blue-2: #0077ed;
  --link: #0066cc;
  --line: rgba(0, 0, 0, 0.08);
  --header-h: 48px;
  --max: 980px;
  --wide: 1120px;
  --bleed: 1380px;
  --font: "Inter", "SF Pro Display", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.47;
  letter-spacing: -0.011em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
label { display: block; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }
.container { width: min(var(--wide), calc(100% - 40px)); margin-inline: auto; }
.kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.display { font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 13px; text-align: center; margin-top: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(var(--bleed), calc(100% - 40px));
  margin-inline: auto;
}
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { display: none; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; line-height: 1.2; }
.brand-cn { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink); display: block; margin: 0; padding: 0; text-align: left; }
.brand-en { font-size: 9px; letter-spacing: 0.18em; color: var(--muted); white-space: nowrap; display: block; margin: 0; padding: 0; text-align: left; }
.nav { display: flex; gap: 0; margin-left: auto; }
.nav a {
  padding: 6px 9px;
  font-size: 12px;
  color: var(--ink);
  opacity: 0.8;
  text-decoration: none;
}
.nav a:hover, .nav a.is-active { opacity: 1; text-decoration: none; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; gap: 2px; }
.lang button {
  padding: 4px 8px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 999px;
}
.lang button.is-active { color: var(--ink); background: rgba(0, 0, 0, 0.06); }
.header-tools .btn-apple {
  min-height: 28px;
  height: 28px;
  padding: 0 13px;
  font-size: 12px;
  text-decoration: none;
}
.menu-btn { display: none; width: 36px; height: 36px; }
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.btn, .btn-apple, .btn-copper, .btn-dark, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
}
.btn:hover, .btn-apple:hover, .btn-copper:hover, .btn-dark:hover, .btn-ghost:hover {
  text-decoration: none;
}
.btn-apple, .btn-copper { background: var(--blue); color: #fff; }
.btn-apple:hover, .btn-copper:hover { background: var(--blue-2); color: #fff; }
.btn-ghost { color: var(--blue); background: transparent; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-row { display: flex; gap: 18px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* Home / category panels */
.ap-hero {
  text-align: center;
  padding: 88px 24px 64px;
  background: var(--bg);
}
.ap-hero .kicker { margin-bottom: 14px; }
.ap-hero h1 {
  font-size: clamp(36px, 6.4vw, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
  max-width: 14em;
  margin: 0 auto;
  text-wrap: balance;
}
.ap-hero .ap-lead {
  margin: 18px auto 0;
  max-width: 32em;
  font-size: 21px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
  text-wrap: pretty;
}
.ap-hero .ap-links { margin-top: 22px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.ap-hero .ap-links a { font-size: 19px; text-decoration: none; }
.ap-hero .ap-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ap-hero .ap-links a::after { content: " ›"; }

.ap-panel {
  margin: 14px auto;
  width: min(var(--bleed), calc(100% - 28px));
  border-radius: var(--radius);
  min-height: 480px;
  padding: 72px 40px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ap-panel h2 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.04em;
  font-weight: 600;
}
.ap-panel p { margin: 12px auto 0; max-width: 30em; font-size: 19px; line-height: 1.47; }
.ap-panel .ap-more { display: inline-block; margin-top: 18px; font-size: 19px; text-decoration: none; }
.ap-panel .ap-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.ap-panel .ap-more::after { content: " ›"; }
.ap-panel--dark { background: #000; color: #f5f5f7; }
.ap-panel--dark .kicker { color: #a1a1a6; }
.ap-panel--dark p { color: #a1a1a6; }
.ap-panel--dark a { color: #2997ff; }
.ap-panel--light { background: #fff; color: var(--ink); }
.ap-panel--light p { color: var(--muted); }
.ap-panel--blue { background: #0071e3; color: #fff; min-height: 320px; padding: 72px 40px; }
.ap-panel--blue p { color: rgba(255, 255, 255, 0.82); }
.ap-panel--blue a.btn-apple { background: #fff; color: var(--ink); }
.ap-panel--blue a.btn-apple:hover { background: #f5f5f7; color: var(--ink); }
.ap-panel--compact { min-height: 0; padding: 64px 40px 56px; }

.ap-viz {
  position: relative;
  width: min(460px, 86%);
  height: 188px;
  margin: 52px auto 0;
  border-radius: 22px;
  overflow: hidden;
}
.ap-viz--conn {
  background:
    radial-gradient(circle at 28% 42%, #3a3a3c 0, transparent 42%),
    linear-gradient(180deg, #2c2c2e, #111);
}
.ap-viz--conn::before,
.ap-viz--conn::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}
.ap-viz--conn::before {
  width: 168px;
  height: 42px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: -56px 0 0 -18px rgba(41, 151, 255, 0.55), 56px 0 0 -18px rgba(41, 151, 255, 0.55);
}
.ap-viz--conn::after {
  width: 18px;
  height: 18px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #2997ff;
}
.ap-viz--fuse {
  background: linear-gradient(180deg, #ececef, #d2d2d7);
}
.ap-viz--fuse::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: #1d1d1f;
  box-shadow: inset 0 0 0 2px #3a3a3c;
}
.ap-viz--fuse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 4px;
  background: #f5c518;
}
.ap-viz--box {
  background: linear-gradient(180deg, #ececef, #d8d8dc);
}
.ap-viz--box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150px;
  height: 96px;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.ap-viz--box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 92px;
  height: 8px;
  transform: translate(-50%, -18px);
  border-radius: 4px;
  background: #d2d2d7;
  box-shadow: 0 16px 0 #d2d2d7, 0 32px 0 #d2d2d7;
}

.ap-duo {
  width: min(var(--bleed), calc(100% - 28px));
  margin: 14px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ap-duo .ap-panel { width: 100%; margin: 0; min-height: 420px; padding: 56px 32px 40px; }

.ap-grid {
  width: min(var(--bleed), calc(100% - 28px));
  margin: 14px auto 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.ap-grid--2 { grid-template-columns: 1fr 1fr; }
.ap-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ap-tile {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px 36px;
  min-height: 240px;
}
.ap-tile h3 { font-size: 28px; letter-spacing: -0.03em; margin: 8px 0 10px; font-weight: 600; }
.ap-tile .idx { color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; }
.ap-tile--sm { min-height: 200px; padding: 32px 28px 28px; }
.ap-tile--sm h3 { font-size: 22px; }

.ap-cta {
  text-align: center;
  padding: 72px 24px 96px;
}
.ap-cta h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.035em; }
.ap-cta .muted { margin-top: 12px; max-width: 32em; margin-inline: auto; }

.ap-logos {
  width: min(var(--bleed), calc(100% - 28px));
  margin: 0 auto 14px;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.logo-plate {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg);
  border-radius: 18px;
  padding: 16px 10px;
}
.logo-plate img { max-height: 36px; max-width: 78%; object-fit: contain; }
.logo-plate span { font-size: 12px; color: var(--muted); }
.logo-plate--dark { background: #1d1d1f; color: #f5f5f7; }

.ap-quote {
  width: min(var(--bleed), calc(100% - 28px));
  margin: 14px auto 48px;
  background: #000;
  color: #f5f5f7;
  border-radius: var(--radius);
  padding: 72px 40px;
  text-align: center;
}
.ap-quote p { font-size: clamp(24px, 3.2vw, 36px); letter-spacing: -0.03em; font-weight: 600; }
.ap-quote .by { margin-top: 16px; color: #a1a1a6; font-size: 15px; font-weight: 400; }

.ap-contact {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}
.form, .contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
}
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid transparent;
  padding: 12px 14px;
  border-radius: 12px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
}
textarea { min-height: 130px; resize: vertical; }
.contact-card h3 { font-size: 15px; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 15px; line-height: 1.55; }
.form-success { display: none; padding: 12px 14px; background: #eaf3de; border-radius: 12px; font-size: 14px; }
.form-success.is-on { display: block; }

.check-list { width: min(720px, 100%); margin: 20px auto 0; text-align: left; }
.check-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  font-size: 17px;
}
.check-list b { color: var(--blue); font-size: 13px; letter-spacing: 0.08em; padding-top: 3px; }

.site-footer {
  background: #f5f5f7;
  color: var(--muted);
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer h4 { color: var(--ink); margin-bottom: 10px; font-size: 12px; letter-spacing: 0.06em; }
.site-footer li { margin: 6px 0; font-size: 13px; line-height: 1.5; }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.ver-tag {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 980px;
  text-decoration: none;
}
.ver-tag:hover { color: #fff; text-decoration: none; opacity: 0.88; }

@media (max-width: 960px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 17px; padding: 10px 4px; }
  .menu-btn { display: grid; place-items: center; }
  .header-inner .btn-apple { display: none; }
  .ap-grid, .ap-grid--4, .footer-grid, .form-row, .ap-contact { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .ap-duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ap-grid, .ap-grid--2, .ap-grid--4, .footer-grid, .logo-grid, .form-row, .ap-contact {
    grid-template-columns: 1fr;
  }
  .ap-hero { padding: 64px 20px 48px; }
  .ap-hero h1 { font-size: 34px; }
  .ap-hero .ap-lead { font-size: 17px; }
  .ap-panel { min-height: 0; padding: 48px 22px 36px; }
  .ap-panel h2 { font-size: 32px; }
  .ap-panel p { font-size: 16px; }
  .legal { flex-direction: column; }
  .header-inner { width: calc(100% - 24px); }
  .ver-tag { left: 12px; right: auto; }
  main { padding-bottom: 28px; }
  .form .btn-apple { width: 100%; margin-bottom: 56px; }
  .ap-contact { margin-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
