/* 景诺云砚 公司官网样式 — 原生 CSS，无外部依赖 */

:root {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --text: #222826;
  --muted: #5B655F;
  --accent: #426759;
  --accent-strong: #345347;
  --accent-soft: #E6ECE8;
  --border: #DDE3DD;
  --rule: rgba(66, 103, 89, 0.10);

  --max-width: 1180px;
  --gutter: 20px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(34, 40, 38, 0.04), 0 10px 30px rgba(34, 40, 38, 0.06);

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  width: 14px;
  height: 14px;
  border-radius: 4px 4px 4px 12px;
  background: var(--accent);
  flex: none;
}

.brand__name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 4px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15.5px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover { color: var(--text); background: var(--accent-soft); }
.site-nav a[aria-current="true"] { color: var(--accent-strong); font-weight: 600; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 104px);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 39px,
    var(--rule) 39px,
    var(--rule) 40px
  );
  background-size: 100% 40px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(247, 245, 240, 0.35), var(--bg) 92%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-left: 0;
}

.hero__eyebrow {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
}

.hero__title::after {
  content: "";
  display: block;
  width: 88px;
  height: 6px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--accent);
  transform: rotate(-1.2deg);
  transform-origin: left center;
}

.hero__lead {
  margin-top: 26px;
  max-width: 640px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
}

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

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button--primary {
  background: var(--accent);
  color: #fff;
}
.button--primary:hover { background: var(--accent-strong); }

.button--ghost {
  background: transparent;
  color: var(--accent-strong);
  border-color: var(--accent);
}
.button--ghost:hover { background: var(--accent-soft); }

/* ---------- Sections ---------- */

.section {
  padding: clamp(56px, 8vw, 104px) 0;
  border-top: 1px solid var(--border);
}

.section__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.35;
  font-weight: 700;
}

.section__lead {
  margin-top: 16px;
  color: var(--muted);
}

.section__head--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}

.section__body > p { font-size: 18px; }

.facts {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.facts__item {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.facts__item dt {
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.facts__item dd { font-size: 18px; }

/* ---------- Products ---------- */

.section--products { background: var(--surface); }

.product {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.product__media {
  max-width: 560px;
  width: 100%;
  justify-self: center;
}

.product + .product { margin-top: clamp(64px, 9vw, 120px); }

.product--reverse .product__media { order: 2; }
.product--reverse .product__content { order: 1; }

.product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
}

.tag--status {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: transparent;
}

.product__name {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  font-weight: 700;
}

.product__intro {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
}

.features {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.features li {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.features strong { font-weight: 600; }
.features span { color: var(--muted); }

.shot {
  margin: 0;
}

.shot img,
.shot__pending {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.shot__pending {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 31px,
    var(--rule) 31px,
    var(--rule) 32px
  );
  color: var(--muted);
}

.shot__pending-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border: 1px dashed var(--accent);
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--surface);
}

.shot__pending-desc { font-size: 14px; }

.shot__caption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.notice {
  margin: clamp(48px, 7vw, 88px) auto 0;
  max-width: 760px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  font-size: 16px;
}

/* ---------- Contact ---------- */

.facts--contact { margin-top: 0; }

.email {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  user-select: all;
  -webkit-user-select: all;
  word-break: break-all;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.copy-status {
  font-size: 15px;
  color: var(--accent-strong);
  min-height: 1.5em;
}

.copy-status--error { color: #8A3B2E; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 44px;
  color: var(--muted);
  font-size: 14.5px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer .brand__name { font-size: 17px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .section__grid,
  .product {
    grid-template-columns: 1fr;
  }
  .product--reverse .product__media { order: 1; }
  .product--reverse .product__content { order: 2; }
  .section__head--center { margin-bottom: 40px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  html { scroll-padding-top: 104px; }
  .site-nav { margin-left: -12px; }
  .hero__title { font-size: clamp(30px, 8.6vw, 38px); }
  .hero__actions .button { flex: 1 1 auto; }
  .features li { grid-template-columns: 1fr; gap: 2px; }
  .facts__item dd { font-size: 17px; }
  .email { font-size: 18px; }
  .site-footer__inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
