/* ─── Landing Page ─── */

/* ─── Hero ─── */
.hero {
  background: var(--paper);
  text-align: center;
  padding: 80px 30px 60px;
  max-width: 1200px;
  margin: 30px auto 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-bottom: 4px double var(--rule);
  position: relative;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hero-ornament {
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--faded);
  margin-bottom: 16px;
}

.hero-ornament:last-child {
  margin-bottom: 0;
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-headline);
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero-title.cn-mode {
  font-family: 'Noto Serif SC', serif;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 8px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-tagline.cn-mode {
  font-style: normal;
  font-size: 22px;
}

.hero-desc {
  font-size: 15px;
  color: var(--faded);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 8px;
}

.hero-cta:hover {
  background: #6b0000;
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hero-actions .hero-cta {
  margin-bottom: 0;
}

.hero-cta-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.hero-cta-secondary:hover {
  background: rgba(139, 0, 0, 0.08);
  color: #6b0000;
}

/* ─── Brand Advantage ─── */
.brand-advantage {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--paper);
  padding: 50px 30px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-top: 1px solid var(--light-rule);
  border-bottom: 4px double var(--rule);
}

.brand-advantage-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.adv-card {
  border: 1px solid var(--light-rule);
  padding: 20px 20px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(245,240,232,0.8));
}

.adv-kicker {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.adv-card h3 {
  font-family: var(--font-headline);
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--ink);
}

.adv-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--faded);
}

/* ─── How It Works ─── */
.how-it-works {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  padding: 50px 30px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.how-it-works .section-heading {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 36px;
}

.how-step {
  text-align: center;
}

.how-step-num {
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  line-height: 36px;
  margin: 0 auto 16px;
  border-radius: 50%;
}

.how-step h3 {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--paper);
}

.how-step p {
  font-size: 13px;
  line-height: 1.6;
  color: #aaa;
}

/* ─── Section Headings ─── */
.section-heading {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  color: var(--ink);
  letter-spacing: 1px;
}

.section-subheading {
  text-align: center;
  font-size: 14px;
  color: var(--faded);
  max-width: 560px;
  margin: 10px auto 0;
  line-height: 1.6;
}

/* ─── Topic Preview ─── */
.topic-preview {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--paper);
  padding: 50px 30px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.topic-preview-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.topic-card {
  background: var(--paper);
  border: 1px solid var(--light-rule);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.topic-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

.topic-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) contrast(1.05);
  border-bottom: 1px solid var(--light-rule);
}

.topic-card-body {
  padding: 20px 24px 24px;
  flex: 1;
}

.topic-card-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.topic-card-name {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.topic-card-headline {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-card-subtitle {
  font-size: 12px;
  color: var(--faded);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-card-date {
  font-size: 10px;
  color: var(--light-rule);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.topic-card-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.topic-card-empty {
  font-size: 13px;
  color: var(--light-rule);
  font-style: italic;
  margin-top: 6px;
}

/* ─── Subscribe Section ─── */
.subscribe-section {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--paper);
  padding: 60px 30px;
  border-top: 4px double var(--rule);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.subscribe-inner {
  max-width: 600px;
  margin: 0 auto;
}

.subscribe-header {
  text-align: center;
  margin-bottom: 32px;
}

.topic-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.topic-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--light-rule);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}

.topic-checkbox-item:hover {
  border-color: var(--faded);
}

.topic-checkbox-item.selected {
  border-color: var(--accent);
  background: rgba(139, 0, 0, 0.04);
}

.topic-checkbox-item input[type="checkbox"] {
  display: none;
}

.topic-checkbox-check {
  width: 18px;
  height: 18px;
  border: 2px solid var(--light-rule);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  color: transparent;
  transition: all 0.2s;
}

.topic-checkbox-item.selected .topic-checkbox-check {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.topic-checkbox-icon {
  font-size: 18px;
}

.topic-checkbox-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.subscribe-row {
  display: flex;
  gap: 0;
}

#email-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--light-rule);
  border-right: none;
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

#email-input:focus {
  border-color: var(--accent);
}

#email-input::placeholder {
  color: var(--light-rule);
}

.subscribe-btn {
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.subscribe-btn:hover {
  background: #6b0000;
}

.subscribe-btn:disabled {
  background: #999;
  border-color: #999;
  cursor: wait;
}

.subscribe-msg {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  min-height: 20px;
}

.subscribe-msg.success {
  color: #2e7d32;
}

.subscribe-msg.error {
  color: var(--accent);
}

/* ─── Footer ─── */
.site-footer {
  max-width: 1200px;
  margin: 0 auto 30px;
  background: var(--ink);
  color: var(--paper);
  padding: 20px 30px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-links {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-sep {
  margin: 0 8px;
  opacity: 0.4;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero {
    margin: 0;
    padding: 50px 20px 40px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-title.cn-mode {
    font-size: 36px;
    letter-spacing: 6px;
  }

  .hero-tagline {
    font-size: 18px;
  }

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

  .hero-cta {
    padding: 12px 28px;
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    max-width: 280px;
    margin: 0 auto 8px;
  }

  .hero-cta-secondary {
    text-align: center;
  }

  .brand-advantage {
    padding: 36px 16px;
  }

  .adv-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .how-it-works {
    padding: 36px 20px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .topic-preview {
    padding: 36px 16px;
  }

  .topic-cards {
    grid-template-columns: 1fr;
  }

  .subscribe-section {
    padding: 40px 16px;
  }

  .topic-checkboxes {
    grid-template-columns: 1fr;
  }

  .subscribe-row {
    flex-direction: column;
    gap: 10px;
  }

  #email-input {
    border-right: 1px solid var(--light-rule);
  }

  .site-footer {
    margin: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .section-heading {
    font-size: 26px;
  }
}
