/* ============================================================
   ClooX — B2B Brand Website
   Design system / global styles
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }  /* 防止 width/height 属性在窄屏被 max-width 压缩时高度不跟随 → 拉伸变形 */
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }

/* ---------- 2. Tokens ---------- */
:root {
  --bg:            #0A0B0D;
  --bg-soft:       #101216;
  --surface:       #15171C;
  --surface-2:     #1C1F26;
  --line:          rgba(255,255,255,.09);
  --line-strong:   rgba(255,255,255,.18);

  --text:          #F4F5F7;
  --text-2:        #A3AAB5;
  --text-3:        #6B7280;

  --accent:        #8FB6DE;
  --accent-dim:    rgba(143,182,222,.14);
  --accent-line:   rgba(143,182,222,.42);
  --warn:          #C9A227;

  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     22px;

  --container:     1200px;
  --gutter:        24px;

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 3. Base ---------- */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

::selection { background: var(--accent); color: #0A0B0D; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 4. Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.14; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent-line);
}
.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--text-2);
  line-height: 1.7;
}
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.tiny  { font-size: .78rem; color: var(--text-3); }

/* ---------- 5. Layout ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin: 14px 0 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.divider { height: 1px; background: var(--line); border: 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,11,13,.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(10,11,13,.9); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }
.brand-sub {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-3); padding-left: 10px; border-left: 1px solid var(--line-strong);
  line-height: 1.2; margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 400; color: var(--text-2);
  transition: color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a.is-active { color: var(--text); }

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

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--text);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top: 5px; }

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px;
  font-size: .92rem; font-weight: 500; letter-spacing: -.005em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--text); color: #0A0B0D; }
.btn--primary:hover { background: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,.04); }
.btn--accent { background: var(--accent); color: #0A0B0D; }
.btn--accent:hover { background: #A6C7E8; }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- 8. Age gate ---------- */
/* 贸易/年龄门：合规必须有，但不能变成"整屏遮罩"——遮罩过实会被判成侵入式插屏，
   也会让首屏正文在爬虫眼里等于不存在。这里把底色压淡、模糊减弱，
   移动端另见下方 @media：改成底部半屏面板，顶部留出正文。 */
.age-gate {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,7,8,.84);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.age-gate[hidden] { display: none; }
.age-gate__panel {
  width: 100%; max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
}
.age-gate__panel img { height: 30px; margin: 0 auto 26px; }
.age-gate h2 { font-size: 1.6rem; margin-bottom: 14px; }
.age-gate p { color: var(--text-2); font-size: .95rem; }
.age-gate__actions { display: flex; gap: 12px; margin-top: 30px; }
.age-gate__actions .btn { flex: 1; }
.age-gate__note {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .76rem; color: var(--text-3); line-height: 1.6;
}
body.gate-passed .age-gate { display: none; }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 0;
  background:
    radial-gradient(1100px 520px at 50% -6%, rgba(143,182,222,.15), transparent 66%),
    linear-gradient(180deg, #0B0D10 0%, var(--bg) 62%);
}
.hero__intro { text-align: center; max-width: 860px; margin: 0 auto; }
.hero h1 { margin: 20px 0 22px; }
.hero h1 .grad {
  background: linear-gradient(96deg, #FFFFFF 12%, #9FC0E2 54%, #6E86A0 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 660px; margin: 0 auto; }
.hero__actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px;
}
.hero__badges {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 38px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-size: .78rem; color: var(--text-2); letter-spacing: .01em;
}
.badge::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

.hero__stage {
  position: relative; margin-top: clamp(40px, 5vw, 68px);
  padding-bottom: 24px;
}
.hero__stage::after {
  content: ""; position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%);
  width: min(760px, 88%); height: 190px;
  background: radial-gradient(ellipse at center, rgba(143,182,222,.16), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero__stage img { position: relative; z-index: 1; margin: 0 auto; max-height: 520px; width: auto; }

/* ---------- 10. Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.card--hover:hover { border-color: var(--line-strong); transform: translateY(-3px); background: var(--surface-2); }
.card__index {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  color: var(--accent); margin-bottom: 16px; display: block;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: .94rem; }
.card__icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent-dim); border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card__icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.4; }

/* ---------- 11. Split (text + image) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__body h2 { margin: 14px 0 18px; }
.split__media { position: relative; display: flex; align-items: center; justify-content: center; }
.split__media img { width: auto; max-height: 480px; }
.split__media--glow::before {
  content: ""; position: absolute; inset: 12% 6%;
  background: radial-gradient(ellipse at center, rgba(143,182,222,.14), transparent 68%);
  pointer-events: none;
}

/* ---------- 12. Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 26px 22px; }
.stat__num { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.03em; }
.stat__label { font-size: .82rem; color: var(--text-3); margin-top: 6px; }

/* ---------- 13. Color swatches ---------- */
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  font-size: .86rem; color: var(--text-2);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.swatch:hover { border-color: var(--line-strong); color: var(--text); }
.swatch.is-active { border-color: var(--text); color: var(--text); background: rgba(255,255,255,.05); }
.swatch__dot {
  width: 18px; height: 18px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  flex-shrink: 0;
}

/* ---------- 14. Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th {
  text-align: left; font-weight: 400; color: var(--text-3);
  padding: 15px 20px 15px 0; width: 46%; vertical-align: top;
}
.spec-table td { padding: 15px 0; color: var(--text); }

/* ---------- 15. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -1px; left: 0;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  color: var(--accent); background: var(--bg); padding-right: 12px;
  transform: translateY(-50%);
}
.section--soft .step::before { background: var(--bg-soft); }
.step h4 { margin-bottom: 8px; }
.step p { font-size: .89rem; color: var(--text-2); }

/* ---------- 16. List ---------- */
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; font-size: .94rem; color: var(--text-2); align-items: flex-start; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 17px; height: 17px; margin-top: 4px;
  border-radius: 50%; background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.4l2.2 2.2 4.6-5' fill='none' stroke='%238FB6DE' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* ---------- 17. Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.gallery figure {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; padding: 18px;
  transition: border-color .25s var(--ease);
}
.gallery figure:hover { border-color: var(--line-strong); }
.gallery img { max-height: 100%; width: auto; object-fit: contain; }

/* ---------- 17b. Demo video ---------- */
.video-frame {
  max-width: 860px; margin: 36px auto 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.video-frame video { width: 100%; height: auto; background: #000; }
.video-frame figcaption { padding: 12px 18px; border-top: 1px solid var(--line); color: var(--text-2); }

/* ---------- 18. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--text-2); font-weight: 500; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 13px 15px;
  font-size: .93rem; color: var(--text); width: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-line); background: var(--bg-soft);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6.5l4 4 4-4' fill='none' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 15px; padding-right: 40px;
}
.form-note { font-size: .78rem; color: var(--text-3); line-height: 1.6; }
.form-success {
  display: none; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--accent-dim); border: 1px solid var(--accent-line);
  color: var(--text); font-size: .9rem; margin-bottom: 20px;
}
.form-success.is-visible { display: block; }
.form-error {
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: rgba(226,75,74,.10); border: 1px solid rgba(226,75,74,.38);
  color: #F5BDBD; font-size: .9rem; margin-bottom: 20px;
}
.form-error[hidden] { display: none; }

/* ---------- 19. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #171A20 0%, #0D0F13 100%);
  padding: clamp(40px, 5.5vw, 68px);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 640px; height: 420px;
  background: radial-gradient(ellipse at center, rgba(143,182,222,.16), transparent 68%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { max-width: 560px; margin: 0 auto 32px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 20. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: clamp(52px, 6vw, 76px) 0 34px;
  margin-top: clamp(72px, 8vw, 120px);
}
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 24px; margin-bottom: 18px; }
.footer-brand p { font-size: .87rem; color: var(--text-3); max-width: 300px; line-height: 1.7; }
.footer-col h5 {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); font-weight: 500; margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .88rem; color: var(--text-2); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--text); }

.footer-warning {
  margin-top: 48px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(201,162,39,.05);
  font-size: .78rem; color: var(--text-2); line-height: 1.7;
}
.footer-warning strong { color: var(--warn); font-weight: 500; }
.footer-bottom {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: .79rem; color: var(--text-3);
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 21. Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(143,182,222,.13), transparent 68%),
    linear-gradient(180deg, #0B0D10 0%, var(--bg) 78%);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: 780px; }
.page-hero h1 { margin: 18px 0 20px; font-size: clamp(2rem, 4vw, 3.1rem); }
.breadcrumb { font-size: .8rem; color: var(--text-3); display: flex; gap: 9px; align-items: center; }
.breadcrumb a:hover { color: var(--text-2); }

/* ---------- 22. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 23. Utility ---------- */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.max-640 { max-width: 640px; }
.max-720 { max-width: 720px; }
.mx-auto { margin-inline: auto; }
.placeholder {
  color: var(--warn); border-bottom: 1px dashed rgba(201,162,39,.5);
  font-size: .95em; white-space: nowrap;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- 24. Colour picker & product showcase ---------- */
html.gate-passed .age-gate { display: none; }

.color-picker { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.product-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.product-showcase__media {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 440px;
}
.product-showcase__media::before {
  content: ""; position: absolute; inset: 8% 4%;
  background: radial-gradient(ellipse at center, rgba(143,182,222,.13), transparent 68%);
  pointer-events: none;
}
.color-img { display: none; width: auto; max-height: 520px; position: relative; z-index: 1; }
.color-img.is-active { display: block; animation: colourIn .5s var(--ease); }
@keyframes colourIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 25. Diagram / technical figures ---------- */
.diagram-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(22px, 3.2vw, 42px);
}
.diagram-card svg { width: 100%; height: auto; display: block; }
.diagram-caption {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--text-3); display: flex; gap: 26px; flex-wrap: wrap;
}
.legend { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: block; flex-shrink: 0; }
.chamber-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- 26. Timeline ---------- */
.timeline { display: grid; }
.timeline__item {
  display: grid; grid-template-columns: 104px 1fr; gap: 24px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.timeline__item:last-child { border-bottom: 0; }
.timeline__year { font-size: .8rem; letter-spacing: .1em; color: var(--accent); font-weight: 500; padding-top: 3px; }
.timeline__item h4 { margin-bottom: 6px; }
.timeline__item p { font-size: .9rem; color: var(--text-2); }

/* ---------- 27. Long-form legal ---------- */
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 1.5rem; margin: 46px 0 16px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin: 26px 0 10px; }
.legal-content p { color: var(--text-2); font-size: .94rem; margin-bottom: 13px; }
.legal-content ul { padding-left: 20px; list-style: disc; margin-bottom: 13px; }
.legal-content li { color: var(--text-2); font-size: .94rem; margin-bottom: 8px; }
.legal-content a { color: var(--accent); }

/* ---------- 28. Contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 370px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-side { display: grid; gap: 16px; }
.contact-item { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-item h5 {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 10px; font-weight: 500;
}
.contact-item p { font-size: .92rem; color: var(--text-2); }
.contact-item a { color: var(--text); }

/* ---------- 29. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary {
  padding: 19px 24px; cursor: pointer; font-weight: 500; font-size: .95rem;
  list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-size: 1.15rem; line-height: 1.15; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq__body { padding: 18px 24px 22px; }
.faq .faq__body p { color: var(--text-2); font-size: .92rem; }
.faq .faq__body p + p { margin-top: 12px; }

/* ---------- 30. Layout safety ----------
   Grid tracks default to a min-content floor, so a single unbreakable run of
   text (long placeholder, long spec value) can blow a track out and collapse
   its neighbour. Pin every multi-column track to minmax(0, 1fr). */
.split,
.product-showcase,
.chamber-compare,
.form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.contact-layout { grid-template-columns: minmax(0, 1fr) 370px; }

.footer-top {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.timeline__item { grid-template-columns: 104px minmax(0, 1fr); }

.split__body,
.split__media,
.product-showcase__body,
.product-showcase__media,
.contact-layout > *,
.footer-top > * { min-width: 0; }

/* placeholders are prose, not UI tokens — they must be allowed to wrap */
.placeholder { white-space: normal; }

/* ---------- 31. Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 20px; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    background: rgba(10,11,13,.98);
    backdrop-filter: blur(18px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero__stage img { max-height: 340px; }
  .product-showcase { grid-template-columns: 1fr; }
  .product-showcase__media { min-height: 340px; }
  .chamber-compare { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- 31b. 年龄门：移动端改底部半屏面板（SEO 用） ----------
   原来移动端也是 inset:0 居中大面板 → 整屏遮住正文，属于搜索引擎明确会
   降权的"侵入式全屏插屏"。改成底部面板后顶部约 40vh 的正文（H1、首屏）
   始终可见可读，既保留贸易确认，又不遮挡内容。 */
@media (max-width: 860px) {
  .age-gate { align-items: flex-end; padding: 0; }
  .age-gate__panel {
    max-width: none; width: 100%;
    max-height: min(58vh, 430px); overflow-y: auto;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
    padding: 24px 22px 28px;
    text-align: left;
  }
  .age-gate h2 { font-size: 1.22rem; margin-bottom: 10px; }
  .age-gate p { font-size: .88rem; }
  .age-gate__actions { margin-top: 20px; }
  .age-gate__note { margin-top: 16px; padding-top: 14px; font-size: .72rem; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  /* 2 列时正方形容器会把竖长的机身压得很小 → 改成 3:4 竖格，机身大一些、滚动又比 1 列短很多 */
  .gallery figure { aspect-ratio: 3 / 4; padding: 10px; }
  .footer-top { grid-template-columns: 1fr; }
  .age-gate__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Consent bar ---------- */
.consent-bar {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  max-width: 720px; margin: 0 auto;
  padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.consent-bar.is-visible { opacity: 1; transform: none; }
.consent-bar__text { margin: 0; font-size: .86rem; color: var(--text-2); flex: 1 1 320px; }
.consent-bar__text a { color: var(--text); text-decoration: underline; }
.consent-bar__actions { display: flex; gap: 10px; }
@media (max-width: 560px) {
  .consent-bar__actions { width: 100%; }
  .consent-bar__actions .btn { flex: 1; }
}
