:root {
  --bg: #f8f3ea;
  --paper: #fffdf7;
  --paper-warm: #fff6e8;
  --ink: #1c1a17;
  --muted: #5f615d;
  --line: rgba(28, 26, 23, 0.14);
  --green: #315f4a;
  --blue: #365a7c;
  --tomato: #c8583a;
  --gold: #d59b45;
  --shadow: 0 18px 48px rgba(44, 37, 26, 0.10);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(28, 26, 23, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(28, 26, 23, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 34px 34px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.72;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(248, 243, 234, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(28, 26, 23, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
}

.nav a {
  padding: 8px 11px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: #fff;
  outline: none;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 38px;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--tomato);
  font-size: 13px;
  font-weight: 760;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 60px;
  line-height: 1.08;
  font-weight: 650;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 650;
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.28;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
}

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

.button,
.product-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 760;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.product-links a:hover,
.product-links a:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.82);
}

.screen-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #201d1a;
  box-shadow: var(--shadow);
  color: #fff;
  overflow: hidden;
}

.screen-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.screen-topline strong {
  color: #fff;
}

.poster-stack {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.poster {
  display: grid;
  gap: 10px;
  min-height: 158px;
  padding: 24px;
  background: #2c2925;
}

.poster span,
.tag,
.mini-label,
.daily-strip span {
  color: var(--tomato);
  font-size: 13px;
  font-weight: 760;
}

.poster strong {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 30px;
  line-height: 1.1;
}

.poster em {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
}

.poster-ai { background: #253d35; }
.poster-daily { background: #47382f; }
.poster-products { background: #27384b; }

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading p,
.feature-copy p,
.note-card p,
.daily-strip p,
.product-card p,
.about-copy p {
  color: var(--muted);
}

.note-grid,
.product-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.note-card,
.product-card,
.feature-panel article,
.daily-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: var(--shadow);
}

.note-card,
.product-card,
.feature-panel article {
  padding: 24px;
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 9px;
  border: 1px solid rgba(200, 88, 58, 0.24);
  border-radius: 6px;
  background: rgba(200, 88, 58, 0.08);
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: start;
}

.feature-copy {
  position: sticky;
  top: 96px;
}

.feature-panel {
  display: grid;
  gap: 14px;
}

.feature-panel article:nth-child(2) .mini-label { color: var(--blue); }
.feature-panel article:nth-child(3) .mini-label { color: var(--green); }

.daily-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.daily-strip article {
  min-height: 250px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(255, 246, 232, 0.86));
}

.daily-strip article:nth-child(2) {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(238, 244, 240, 0.9));
}

.daily-strip article:nth-child(3) {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(239, 244, 250, 0.9));
}

.daily-strip article:nth-child(4) {
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(251, 239, 232, 0.9));
}

.featured-product {
  grid-column: span 1;
  color: #fff;
  background: #243c35;
}

.featured-product p {
  color: rgba(255, 255, 255, 0.82);
}

.featured-product .tag {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.product-links a {
  min-height: 38px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.about-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  border-top: 1px solid var(--line);
}

.about-copy {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.86);
}

.contact-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--blue);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 48px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.beian-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.beian-link img {
  width: 20px;
  height: 20px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .feature-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .feature-copy {
    position: static;
  }

  .note-grid,
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }

  .daily-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 18px;
  }

  .site-header {
    padding: 14px 18px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 31px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .note-grid,
  .product-layout,
  .daily-strip {
    grid-template-columns: 1fr;
  }

  .poster {
    min-height: 132px;
    padding: 20px;
  }

  .poster strong {
    font-size: 25px;
  }
}
