:root {
  color-scheme: light;
  --ink: #14231d;
  --muted: #62736a;
  --soft: #f4f7f2;
  --paper: #ffffff;
  --sage: #dce8df;
  --green: #285b45;
  --mint: #7fb99b;
  --clay: #c97955;
  --line: rgba(20, 35, 29, 0.12);
  --shadow: 0 24px 70px rgba(28, 54, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: clamp(12px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  min-height: calc(100vh - 67px);
  padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 72px) clamp(38px, 6vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(127, 185, 155, 0.24), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f3f8f1 44%, #e5f0e9 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(244, 247, 242, 0), var(--soft));
  pointer-events: none;
}

.hero-copy,
.phone-stage {
  position: relative;
  z-index: 1;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(68px, 11vw, 132px);
  line-height: .94;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.75;
}

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

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.primary-action {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(40, 91, 69, 0.24);
}

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

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

.phone {
  width: min(380px, 100%);
  padding: 14px;
  border-radius: 42px;
  background: #17261f;
  box-shadow: var(--shadow);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 14px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 800;
}

.app-hero,
.quick-row,
.mini-products article {
  border-radius: 18px;
}

.app-hero {
  overflow: hidden;
  background: #f8fbf6;
}

.app-hero p,
.app-hero h2 {
  margin-left: 18px;
  margin-right: 18px;
}

.app-hero p {
  margin-top: 18px;
  margin-bottom: 6px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
}

.app-hero h2 {
  margin-bottom: 14px;
  font-size: 25px;
  line-height: 1.16;
}

.app-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}

.quick-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.quick-row span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  color: #eaf4ee;
  background: rgba(255, 255, 255, .1);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.mini-products {
  display: grid;
  gap: 10px;
}

.mini-products article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  background: #fff;
}

.mini-products img {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
}

.mini-products strong,
.mini-products span {
  display: block;
}

.mini-products strong {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.35;
}

.mini-products span {
  margin-top: 7px;
  color: var(--green);
  font-weight: 900;
}

.section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

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

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading.split p:last-child {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading h2,
.safety-section h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.feature-grid,
.product-grid,
.safety-list,
.developer-section dl {
  display: grid;
  gap: 18px;
}

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

.feature-grid article {
  min-height: 230px;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(28, 54, 42, 0.08);
}

.feature-grid span {
  color: var(--mint);
  font-size: 14px;
  font-weight: 900;
}

.feature-grid h3,
.product-grid h3 {
  margin: 26px 0 12px;
  font-size: 26px;
}

.feature-grid p,
.product-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.products-section {
  background: #e7f0ea;
}

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

.product-grid article {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(28, 54, 42, 0.1);
}

.product-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: cover;
}

.product-grid article div {
  padding: 24px;
}

.product-grid span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--green);
  background: var(--sage);
  font-size: 12px;
  font-weight: 900;
}

.product-grid h3 {
  margin-top: 16px;
}

.safety-section {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: #fff;
}

.safety-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.safety-list div {
  min-height: 156px;
  padding: 22px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.safety-list img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.safety-list span {
  display: block;
  margin-top: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.developer-section {
  background: var(--soft);
}

.developer-section dl {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}

.developer-section div {
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.developer-section dt {
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.developer-section dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, .72);
  background: #17261f;
  font-size: 13px;
  font-weight: 800;
}

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

  .phone-stage {
    justify-content: flex-start;
  }

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

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-actions,
  .section-heading.split,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-grid,
  .product-grid,
  .safety-list,
  .developer-section dl {
    grid-template-columns: 1fr;
  }

  .phone {
    border-radius: 30px;
  }
}
