:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5c6875;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --green: #07845a;
  --blue: #2367c8;
  --red: #df2f2f;
  --gold: #f0b23d;
  --shadow: 0 24px 70px rgba(26, 41, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui,
    sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 6vw, 80px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 234, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

nav a:hover {
  color: var(--green);
}

.section,
.section-band {
  padding: 88px clamp(20px, 6vw, 80px);
}

.section-band {
  background:
    linear-gradient(120deg, rgba(7, 132, 90, 0.08), transparent 42%),
    linear-gradient(180deg, #fbfdff, #eef5f8);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  min-height: calc(100vh - 67px);
  padding-top: 64px;
  padding-bottom: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.lead,
.split-section p,
.download-copy p,
.feature-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.lead {
  max-width: 620px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 32px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(7, 132, 90, 0.22);
}

.secondary-action {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 600px;
  margin: 0;
  gap: 12px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 13px;
}

.hero-stats dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 360px);
  min-height: 690px;
  padding: 16px;
  border: 10px solid #18212a;
  border-radius: 34px;
  background: #edf4f7;
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px 16px;
  color: #536170;
  font-size: 12px;
  font-weight: 800;
}

.app-home {
  display: grid;
  gap: 14px;
}

.app-greeting,
.focus-panel,
.week-summary {
  border-radius: 8px;
  background: #fff;
}

.app-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}

.app-greeting span,
.focus-panel span,
.week-summary span {
  color: var(--muted);
  font-size: 13px;
}

.app-greeting strong {
  color: var(--green);
}

.focus-panel {
  padding: 22px;
  background: linear-gradient(135deg, var(--green), #1496a0);
  color: #fff;
}

.focus-panel span {
  color: rgba(255, 255, 255, 0.78);
}

.focus-panel strong,
.focus-panel b {
  display: block;
}

.focus-panel strong {
  margin: 8px 0 18px;
  font-size: 24px;
}

.focus-panel b {
  font-size: 42px;
}

.task-list {
  display: grid;
  gap: 10px;
}

.task {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #303b45;
  font-weight: 700;
}

.task span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--line);
}

.task.done span {
  background: var(--green);
}

.task.doing span {
  background: var(--gold);
}

.week-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}

.week-summary strong {
  color: var(--blue);
  font-size: 22px;
}

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

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

.feature-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 44px;
  border-radius: 50%;
  background: #e8f4ef;
  color: var(--green);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(30px, 7vw, 86px);
}

.family-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.family-panel img {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  object-fit: cover;
}

.family-panel div {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.family-panel strong,
.download-box strong {
  font-size: 18px;
}

.family-panel span,
.download-box span {
  color: var(--muted);
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.62fr);
  align-items: center;
  gap: clamp(28px, 6vw, 70px);
}

.download-box {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.download-box img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
}

.download-box .primary-action {
  grid-column: 1 / -1;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .section,
  .section-band {
    padding: 58px 20px;
  }

  h1 {
    font-size: 42px;
  }

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

  .phone-shell {
    min-height: 640px;
  }

  .download-box {
    grid-template-columns: 64px 1fr;
  }

  footer {
    flex-direction: column;
  }
}
