/* Medium-inspired editorial system for dajiuzi.com */
:root {
  --md-accent: #1A8917;
  --md-accent-hover: #156D12;
  --md-accent-soft: #E8F3E8;
  --md-ink: #191919;
  --md-text: #242424;
  --md-muted: #6B6B6B;
  --md-muted-soft: #757575;
  --md-canvas: #F7F4ED;
  --md-canvas-alt: #FFFFFF;
  --md-surface: #FFFFFF;
  --md-surface-warm: #F2EFE6;
  --md-border: #E6E6E6;
  --md-border-strong: #CFCFCF;
  --md-hero-green: #34AC45;
  --md-hero-moss: #48704B;
  --md-on-dark: #FFFFFF;
  --md-serif: Georgia, Cambria, "Times New Roman", serif;
  --md-sans: "Helvetica Neue", Arial, sans-serif;
  --md-radius-pill: 9999px;
  --md-radius-lg: 14px;
  --md-section: 84px;
  --md-hero: 112px;
  --md-max: 1192px;
  --md-content: 680px;
  --transition: 160ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--md-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--md-text);
  background: var(--md-canvas);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--md-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--md-ink);
  color: var(--md-on-dark);
  border-radius: var(--md-radius-pill);
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

/* Top navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 75px;
  background: var(--md-canvas);
  border-bottom: 1px solid var(--md-border);
}

.nav-inner {
  max-width: var(--md-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-wordmark {
  font-family: var(--md-serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--md-ink);
  white-space: nowrap;
}

.site-wordmark span {
  color: var(--md-muted);
  font-family: var(--md-sans);
  font-size: 13px;
  margin-left: 8px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  color: var(--md-text);
  padding: 8px 12px;
  border-radius: var(--md-radius-pill);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--md-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--md-border);
  border-radius: var(--md-radius-pill);
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  color: var(--md-ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--md-sans);
  font-size: 14px;
  line-height: 1;
  border: none;
  cursor: pointer;
  border-radius: var(--md-radius-pill);
  transition: background-color var(--transition), color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--md-accent);
  color: var(--md-on-dark);
  padding: 9px 16px;
  height: 36px;
}

.btn-primary:hover {
  background: var(--md-accent-hover);
}

.btn-dark {
  background: var(--md-ink);
  color: var(--md-on-dark);
  padding: 11px 20px;
  height: 40px;
}

.btn-dark:hover {
  background: #333;
}

.btn-secondary {
  background: var(--md-surface);
  color: var(--md-ink);
  border: 1px solid var(--md-border-strong);
  padding: 10px 18px;
  height: 38px;
}

.btn-secondary:hover {
  background: var(--md-surface-warm);
}

.btn-lg {
  padding: 12px 24px;
  height: 44px;
  font-size: 15px;
}

/* Hero */
.hero {
  padding: var(--md-hero) 0;
  border-bottom: 1px solid var(--md-border);
}

.hero-inner {
  max-width: var(--md-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--md-muted);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--md-serif);
  font-size: clamp(52px, 8vw, 106px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--md-ink);
  margin: 0 0 24px;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--md-text);
  margin: 0 0 32px;
  max-width: 430px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-benefits li {
  font-size: 15px;
  color: var(--md-muted-soft);
  padding-left: 20px;
  position: relative;
}

.hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--md-accent);
}

/* Hero artwork — editorial green collage */
.hero-art {
  position: relative;
  aspect-ratio: 4 / 3.6;
  min-height: 280px;
}

.hero-art-panel {
  position: absolute;
  inset: 0;
  background: var(--md-hero-moss);
  overflow: hidden;
}

.hero-art-shape {
  position: absolute;
  border-radius: 50%;
}

.hero-art-shape--1 {
  width: 55%;
  height: 55%;
  background: var(--md-hero-green);
  top: 10%;
  right: -5%;
  opacity: 0.9;
}

.hero-art-shape--2 {
  width: 35%;
  height: 35%;
  background: var(--md-accent-soft);
  bottom: 15%;
  left: 8%;
  mix-blend-mode: screen;
  opacity: 0.6;
}

.hero-art-lines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 18px,
      rgba(25, 25, 25, 0.08) 18px,
      rgba(25, 25, 25, 0.08) 19px
    );
}

.hero-art-flower {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
}

.hero-art-flower svg {
  width: 100%;
  height: 100%;
}

.hero-art-speckles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--md-ink) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.12;
}

.hero-art-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
}

/* Sections */
.section {
  padding: var(--md-section) 0;
}

.section--border {
  border-bottom: 1px solid var(--md-border);
}

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

.section-header {
  max-width: var(--md-content);
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 13px;
  color: var(--md-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.section-title {
  font-family: var(--md-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--md-ink);
  margin: 0 0 16px;
}

.section-lead {
  font-size: 18px;
  line-height: 1.45;
  color: var(--md-muted-soft);
  margin: 0;
  max-width: 560px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--md-border);
}

.feature-card {
  padding: 32px 28px;
  border-bottom: 1px solid var(--md-border);
  border-right: 1px solid var(--md-border);
  background: var(--md-surface);
}

.feature-card:nth-child(3n) {
  border-right: none;
}

.feature-card:nth-last-child(-n+3) {
  border-bottom: none;
}

.feature-topic {
  display: inline-block;
  background: var(--md-surface-warm);
  color: var(--md-text);
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--md-radius-pill);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--md-ink);
  margin: 0 0 12px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--md-muted-soft);
  margin: 0 0 20px;
}

.feature-link {
  font-size: 14px;
  color: var(--md-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feature-link:hover {
  color: var(--md-accent-hover);
}

/* Trust section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-stat {
  padding: 28px 0;
  border-top: 1px solid var(--md-border);
}

.trust-stat strong {
  display: block;
  font-family: var(--md-serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--md-ink);
  margin-bottom: 8px;
}

.trust-stat span {
  font-size: 14px;
  color: var(--md-muted);
  line-height: 1.45;
}

.trust-quotes {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.quote-card {
  padding: 28px;
  background: var(--md-surface-warm);
  border-left: 3px solid var(--md-accent);
}

.quote-card blockquote {
  margin: 0 0 16px;
  font-family: var(--md-serif);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--md-ink);
}

.quote-card cite {
  font-style: normal;
  font-size: 13px;
  color: var(--md-muted);
}

/* Platform overview */
.platform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--md-border);
}

.platform-row:last-child {
  border-bottom: none;
}

.platform-row:nth-child(even) .platform-visual {
  order: -1;
}

.platform-copy h3 {
  font-family: var(--md-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--md-ink);
  margin: 0 0 16px;
}

.platform-copy p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--md-muted-soft);
  margin: 0 0 20px;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.platform-pill {
  font-size: 13px;
  padding: 6px 12px;
  background: var(--md-accent-soft);
  color: var(--md-accent-hover);
  border-radius: var(--md-radius-pill);
}

.platform-visual {
  background: var(--md-surface);
  border: 1px solid var(--md-border);
  padding: 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visual-bar {
  height: 12px;
  background: var(--md-surface-warm);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.visual-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--md-accent);
  border-radius: 2px;
}

.visual-bar--60::after { width: 60%; }
.visual-bar--75::after { width: 75%; }
.visual-bar--80::after { width: 80%; }
.visual-bar--85::after { width: 85%; }
.visual-bar--90::after { width: 90%; }

.visual-label {
  font-size: 13px;
  color: var(--md-muted);
  margin-bottom: 4px;
}

/* CTA band */
.cta-band {
  background: var(--md-ink);
  color: var(--md-on-dark);
  padding: var(--md-section) 0;
}

.cta-band-inner {
  max-width: var(--md-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.cta-band h2 {
  font-family: var(--md-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.cta-band p {
  font-size: 17px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 520px;
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.cta-band .btn-primary {
  background: var(--md-accent);
}

.cta-band .btn-secondary {
  background: transparent;
  color: var(--md-on-dark);
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--md-border);
}

.footer-inner {
  max-width: var(--md-max);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.footer-links a {
  font-size: 13px;
  color: var(--md-muted);
}

.footer-links a:hover {
  color: var(--md-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-meta {
  font-size: 13px;
  color: var(--md-muted);
  line-height: 1.5;
}

.footer-meta a {
  color: var(--md-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-disclaimer {
  margin-top: 16px;
  font-size: 12px;
  color: var(--md-muted-soft);
  max-width: 640px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-art {
    max-width: 480px;
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:nth-child(3n) {
    border-right: 1px solid var(--md-border);
  }

  .feature-card:nth-child(2n) {
    border-right: none;
  }

  .feature-card:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--md-border);
  }

  .feature-card:last-child {
    border-bottom: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .platform-row:nth-child(even) .platform-visual {
    order: 0;
  }

  .cta-band-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--md-canvas);
    border-bottom: 1px solid var(--md-border);
    padding: 16px 24px 24px;
    gap: 4px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .site-header {
    position: relative;
  }

  .nav-inner {
    position: relative;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    border-right: none !important;
  }

  .feature-card:last-child {
    border-bottom: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-quotes {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0;
  }

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
