:root {
  color-scheme: light;
  --bg: #f2f7ef;
  --surface: #ffffff;
  --text: #17241d;
  --muted: #66746c;
  --green: #157654;
  --green-2: #1b9279;
  --mint: #dff2e7;
  --gold: #d99a25;
  --red: #d65a52;
  --line: rgba(23, 36, 29, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(223, 242, 231, 0.9), transparent 34%),
    radial-gradient(circle at 86% 10%, rgba(27, 146, 121, 0.16), transparent 28%),
    var(--bg);
  color: var(--text);
}

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

.hero {
  min-height: 92vh;
  padding: 24px clamp(20px, 5vw, 72px) 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.nav.compact {
  padding: 24px clamp(20px, 5vw, 72px);
}

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

.app-icon {
  display: block;
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(21, 118, 84, 0.22);
}

.app-icon.small {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
  border-radius: 23px;
}

.links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.language-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.language-toggle button {
  min-width: 44px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.language-toggle button.active {
  background: var(--green);
  color: white;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
  max-width: 1120px;
  margin: 84px auto 0;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: white;
  font-weight: 800;
}

.button.secondary {
  background: white;
  color: var(--green);
  border: 1px solid var(--line);
}

.phone-shot {
  max-width: 360px;
  justify-self: center;
}

.phone-shot img,
.shot-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  box-shadow: 0 32px 80px rgba(23, 36, 29, 0.24);
}

.shot-grid a {
  display: block;
}

.card,
.grid article,
.notice {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(23, 36, 29, 0.06);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px clamp(20px, 5vw, 72px);
}

.section-title {
  max-width: 680px;
  margin-bottom: 28px;
}

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

.grid article,
.card,
.notice {
  border-radius: 24px;
  padding: 24px;
}

.grid p,
.card p,
.notice p,
.steps {
  color: var(--muted);
  line-height: 1.75;
}

.screenshots {
  padding-top: 40px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.shot-grid figure {
  margin: 0;
}

.shot-grid figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.steps {
  margin: 0;
  padding-left: 24px;
  font-size: 18px;
}

.steps li + li { margin-top: 14px; }

.notice {
  max-width: 980px;
  margin: 32px auto 80px;
}

.page {
  max-width: 860px;
  margin: 56px auto 88px;
  padding: 0 clamp(20px, 5vw, 72px);
}

.page h1 { font-size: clamp(42px, 6vw, 64px); }
.muted { color: var(--muted); }

.card + .card { margin-top: 18px; }
.card h3 { margin-bottom: 8px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 72px) 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer div {
  display: flex;
  gap: 16px;
}

@media (max-width: 860px) {
  .links {
    gap: 10px;
    font-size: 12px;
  }
  .links a { display: none; }
  .hero { min-height: auto; }
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }
  .hero-inner { margin-top: 56px; }
  .phone-shot { max-width: 360px; margin: 0 auto; }
  .shot-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
