/* ============================================================
   comcomAI · 联系我们
   Brand: green #106847 / orange #F08200 / neutral #898989
   ============================================================ */

:root {
  /* brand green */
  --g-50: #ECF6F1;
  --g-100: #D3EADF;
  --g-200: #A6D5C0;
  --g-300: #71BB9D;
  --g-400: #3F9D7A;
  --g-500: #1C8158;
  --g-600: #106847;
  --g-700: #0B4F35;
  --g-800: #073A27;
  --g-900: #04251A;

  /* brand orange */
  --o-50: #FFF6E8;
  --o-100: #FFE8C4;
  --o-200: #FFD18C;
  --o-400: #FF9F22;
  --o-500: #F08200;
  --o-600: #CC6C00;

  /* neutral */
  --n-0: #FFFFFF;
  --n-25: #FBFCFB;
  --n-50: #F6F8F7;
  --n-100: #EDF1EF;
  --n-200: #DEE5E1;
  --n-300: #C6D0CB;
  --n-400: #A3AFAA;
  --n-500: #898989;
  --n-600: #666F6B;
  --n-700: #4A514D;
  --n-800: #2F3531;
  --n-900: #171A18;

  --error: #D93025;

  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --shell: 1180px;
  --radius: 4px;
  --hairline: 1px solid var(--n-200);
  --shadow-card: 0 1px 2px rgba(4, 37, 26, 0.04), 0 18px 40px -28px rgba(4, 37, 26, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--n-0);
  color: var(--n-700);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

::selection {
  background: var(--g-100);
  color: var(--g-800);
}

:focus-visible {
  outline: 2px solid var(--g-500);
  outline-offset: 3px;
}

.shell {
  width: min(var(--shell), calc(100% - 96px));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  left: 24px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--g-600);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  border-radius: 3px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--n-100);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--n-200), 0 10px 24px -24px rgba(4, 37, 26, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-word {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--g-600);
  line-height: 1;
}
.brand-ai {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 21px;
  padding: 0 4px;
  background: var(--o-500);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 3px;
  line-height: 1;
}
.brand-cn {
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--n-200);
  font-size: 12px;
  color: var(--n-500);
  letter-spacing: 0.04em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  font-size: 14px;
  color: var(--n-600);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.18s var(--ease);
}
.site-nav a:hover { color: var(--g-600); }
.site-nav a.is-current { color: var(--g-700); font-weight: 500; }
.site-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 4px;
  height: 4px;
  background: var(--o-500);
  transform: translateX(-50%);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--n-200);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: var(--n-800);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  border-top: 1px solid var(--n-100);
  padding: 8px 24px 24px;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.mobile-nav a {
  padding: 13px 0;
  font-size: 15px;
  color: var(--n-700);
  text-decoration: none;
  border-bottom: 1px solid var(--n-100);
}
.mobile-nav a[aria-current="page"] { color: var(--g-700); font-weight: 500; }
.mobile-nav .btn {
  margin-top: 18px;
  border-bottom: 0;
  justify-content: center;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }

.btn-primary {
  background: var(--g-600);
  border-color: var(--g-600);
  color: #fff;
}
.btn-primary:hover { background: var(--g-700); border-color: var(--g-700); }

.btn-outline {
  background: transparent;
  border-color: var(--n-300);
  color: var(--g-700);
}
.btn-outline:hover { border-color: var(--g-500); background: var(--g-50); }

.btn-ghost {
  background: transparent;
  border-color: var(--n-200);
  color: var(--n-700);
}
.btn-ghost:hover { border-color: var(--g-300); color: var(--g-700); }

.icon-arrow {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.2s var(--ease);
}
.btn:hover .icon-arrow { transform: translateX(3px); }

/* ---------------- eyebrow ---------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--n-500);
}
.eyebrow-mark {
  width: 6px;
  height: 6px;
  background: var(--o-500);
  flex: none;
}
.eyebrow-rule {
  width: 48px;
  height: 1px;
  background: var(--n-200);
  flex: none;
}
.eyebrow-cn {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--n-500);
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--n-100);
  background: linear-gradient(180deg, var(--n-25) 0%, #fff 92%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(16, 104, 71, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 104, 71, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(120% 80% at 78% 22%, #000 0%, transparent 68%);
  mask-image: radial-gradient(120% 80% at 78% 22%, #000 0%, transparent 68%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 396px;
  gap: 84px;
  align-items: start;
  padding: 92px 0 100px;
}

.hero-copy h1 {
  margin: 26px 0 24px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 7.2vw, 92px);
  line-height: 1.06;
  letter-spacing: 0.015em;
  color: var(--g-700);
}
.hero-lead {
  font-size: 19px;
  line-height: 1.85;
  color: var(--n-600);
  max-width: 30em;
  text-wrap: pretty;
}

#top,
#form,
#qr { scroll-margin-top: 88px; }

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--n-200);
  max-width: 620px;
}
.hero-meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--n-400);
  text-transform: uppercase;
}
.hero-meta dd {
  margin: 7px 0 0;
  font-size: 13px;
  color: var(--n-700);
  letter-spacing: 0.01em;
}

/* office card */
.office-card {
  background: #fff;
  border: 1px solid var(--n-200);
  border-radius: 6px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.office-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--n-500);
}
.office-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--o-500);
  box-shadow: 0 0 0 4px rgba(240, 130, 0, 0.1);
}
.site-plan {
  display: block;
  width: 100%;
  height: auto;
  margin: 16px 0 20px;
  border: 1px solid var(--n-100);
  background: var(--n-25);
}
.plan-pin circle:first-child {
  transform-box: fill-box;
  transform-origin: center;
  animation: pin-pulse 3.2s var(--ease) infinite;
}
@keyframes pin-pulse {
  0%, 70%, 100% { opacity: 0.9; transform: scale(1); }
  85% { opacity: 0.25; transform: scale(1.5); }
}
.office-body {
  padding-top: 16px;
  border-top: 1px solid var(--n-100);
}
.office-label {
  font-size: 10px;
  color: var(--n-400);
  margin-bottom: 8px;
}
.office-address {
  font-size: 15px;
  line-height: 1.75;
  color: var(--n-800);
}
