:root {
  color-scheme: light;
  --ink: #2f2a24;
  --muted: #6e6257;
  --line: #eadfce;
  --paper: #fffaf2;
  --cream: #fff7ea;
  --coral: #ff6f61;
  --mint: #78dcc6;
  --gold: #ffd166;
  --blue: #4d96ff;
  --green: #4f9f72;
  --shadow: 0 24px 80px rgba(47, 42, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 10% 12%, rgba(120, 220, 198, 0.24), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(255, 209, 102, 0.22), transparent 28rem),
    linear-gradient(180deg, #fffaf2 0%, #ffffff 42%, #f7fbf8 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(47, 42, 36, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(234, 223, 206, 0.82);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  background: #ffffff;
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem) 0 3rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(4rem, 13vw, 8.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.75;
}

.hero-actions,
.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-btn {
  background: var(--ink);
  color: #fffaf2;
  box-shadow: 0 16px 32px rgba(47, 42, 36, 0.2);
}

.ghost-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.bead-board {
  position: absolute;
  inset: 2rem 0 1rem;
  border: 1px solid rgba(234, 223, 206, 0.9);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(47, 42, 36, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 42, 36, 0.05) 1px, transparent 1px),
    rgba(255, 250, 242, 0.74);
  background-size: 26px 26px;
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  width: min(54%, 280px);
  aspect-ratio: 1;
  object-fit: contain;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(47, 42, 36, 0.16);
}

.hero-card-main {
  left: 50%;
  top: 50%;
  width: min(70%, 360px);
  transform: translate(-50%, -50%) rotate(-3deg);
}

.hero-card-top {
  right: 7%;
  top: 7%;
  transform: rotate(7deg);
}

.hero-card-bottom {
  left: 6%;
  bottom: 7%;
  transform: rotate(-8deg);
}

.stats,
.section,
.feature-band,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}

.stats div {
  min-height: 126px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.stats span {
  color: var(--muted);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0 0;
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps article,
.template-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(47, 42, 36, 0.06);
}

.steps article {
  padding: 24px;
}

.steps span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 900;
}

.steps p,
.template-card p,
.contact p,
.feature-list {
  color: var(--muted);
  line-height: 1.7;
}

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

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

.template-card {
  padding: 18px;
}

.template-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--paper);
}

.template-card p {
  margin-bottom: 0;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(4rem, 9vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 111, 97, 0.13), transparent 34%),
    linear-gradient(315deg, rgba(120, 220, 198, 0.18), transparent 38%),
    #fffaf2;
  border: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow:
    16px 0 0 var(--gold),
    8px 14px 0 var(--mint);
}

.contact {
  justify-content: space-between;
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.contact div {
  max-width: 720px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    gap: 2px;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .hero,
  .split,
  .feature-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-stage {
    min-height: 460px;
  }

  .stats,
  .template-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(100% - 24px, 1120px);
    padding: 12px 0;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav {
    overflow-x: auto;
    max-width: 58vw;
  }

  .hero,
  .stats,
  .section,
  .feature-band,
  .footer {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: clamp(3.4rem, 22vw, 5.6rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .hero-actions {
    align-items: stretch;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .hero-stage {
    min-height: 380px;
  }

  .bead-board {
    inset: 1rem 0;
    border-radius: 22px;
    background-size: 20px 20px;
  }

  .hero-card {
    padding: 10px;
    border-radius: 14px;
  }

  .feature-band {
    border-radius: 20px;
    padding: 28px 20px;
  }

  .footer {
    flex-direction: column;
  }
}
