/* ==========================================================================
   Xinshuojia - export website stylesheet
   ========================================================================== */

:root {
  --navy: #0e1b2c;
  --navy-2: #16283f;
  --navy-3: #1f3a5f;
  --accent: #c8791f;
  --accent-2: #e8a33d;
  --ink: #1b2430;
  --muted: #5c6b7a;
  --line: #e2e7ed;
  --line-strong: #cfd7e0;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-dark: #0b1622;
  --radius: 4px;
  --wrap: 1180px;
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.72); }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6em;
}
.lede { font-size: 1.06rem; color: var(--muted); max-width: 62ch; }
.section--dark .lede { color: rgba(255,255,255,.72); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.topbar {
  background: var(--bg-dark); color: rgba(255,255,255,.72); font-size: .82rem;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: rgba(255,255,255,.85); }

.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 3px; flex: none;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.06rem; letter-spacing: .01em; }
.brand-sub { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); font-size: .94rem; font-weight: 500; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: 3px;
  padding: 8px 10px; cursor: pointer; font-size: 1rem; color: var(--ink);
}

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 3px; font-weight: 600;
  font-size: .94rem; border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #b36a15; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 420px at 78% -10%, rgba(200,121,31,.30), transparent 62%),
    linear-gradient(160deg, #0e1b2c 0%, #132741 55%, #0b1622 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.5) 0 1px, transparent 1px 46px);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: 2.9rem; }
.hero p { color: rgba(255,255,255,.75); font-size: 1.08rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.fact { background: rgba(255,255,255,.05); padding: 22px 20px; }
.fact b { display: block; font-size: 1.7rem; color: #fff; line-height: 1.15; }
.fact span { font-size: .82rem; color: rgba(255,255,255,.62); letter-spacing: .02em; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.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)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--flat { border: none; padding: 0; background: none; }

.card-num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px;
  border-radius: 50%; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 700;
}

.product-card { display: flex; flex-direction: column; }
.product-card .tag {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.product-card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.product-card li { margin-bottom: 4px; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
table.spec { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; background: #fff; }
table.spec caption { text-align: left; padding: 14px 18px; font-weight: 700; border-bottom: 1px solid var(--line); }
table.spec th, table.spec td { padding: 11px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { background: var(--bg-soft); font-weight: 700; width: 30%; color: var(--navy); }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: none; }

/* ---------- lists ---------- */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.section--dark .ticks li { color: rgba(255,255,255,.75); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 14px;
  font-size: .85rem; color: var(--ink); background: #fff;
}
.section--dark .chips li { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); }

/* ---------- product detail ---------- */
.product { padding: 44px 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: none; }
.product-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 44px; align-items: start; }
.product-art {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: grid; place-items: center;
}
.product-art svg { width: 100%; max-width: 240px; height: auto; }
.product-art figcaption { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- cta / footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #1b3552 100%); color: #fff; padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.72); }

.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.62); font-size: .9rem; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem;
}

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; }
.field .hint { font-size: .78rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 3px;
  background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(200,121,31,.35); border-color: var(--accent);
}
.field textarea { min-height: 132px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; }

.contact-panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-panel dl { margin: 0; }
.contact-panel dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.contact-panel dt:first-child { margin-top: 0; }
.contact-panel dd { margin: 4px 0 0; font-weight: 600; }

/* ---------- misc ---------- */
.page-head { background: var(--navy); color: #fff; padding: 60px 0; }
.page-head h1 { margin-bottom: .25em; }
.page-head p { margin: 0; color: rgba(255,255,255,.72); max-width: 68ch; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.75); }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.hero-grid > *, .split > *, .product-grid > * { min-width: 0; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.stack > * + * { margin-top: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split, .product-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column;
    align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-block; }
  .site-header .wrap { position: relative; }
  .grid--2, .grid--3, .grid--4, .form-grid, .footer-grid, .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .topbar .wrap { flex-direction: column; gap: 2px; }
}

@media print {
  .site-header, .topbar, .cta-band, .site-footer { display: none; }
}
