:root {
  --bg: #f6fbf8;
  --bg-soft: #ecf8f2;
  --text: #10231a;
  --muted: #607267;
  --primary: #17a56b;
  --primary-dark: #0d7d50;
  --accent: #e5fff2;
  --white: #ffffff;
  --border: #d8ebe1;
  --shadow: 0 24px 60px rgba(13, 72, 46, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 251, 248, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--white);
}

.logo-text {
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--primary-dark);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(13, 72, 46, 0.08);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px;
  border-radius: 12px;
  color: var(--muted);
}

.mobile-nav a:hover {
  background: var(--bg-soft);
  color: var(--primary-dark);
}

.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at top left, #dffbea 0, transparent 36%),
    radial-gradient(circle at top right, #d8f3ff 0, transparent 32%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 22px;
}

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

h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 650px;
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.button-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(23, 165, 107, 0.24);
}

.button-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

.button-secondary:hover {
  transform: translateY(-2px);
}

.hero-card {
  display: flex;
  justify-content: center;
}

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

.phone-top {
  width: 96px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  margin: 10px auto 18px;
}

.app-screen {
  min-height: 560px;
  padding: 24px;
  border-radius: 32px;
  background: linear-gradient(180deg, #f7fff9, #e7f8ef);
}

.app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

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

.app-status strong {
  font-size: 32px;
  color: var(--primary-dark);
}

.glucose-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--primary);
  color: var(--white);
  margin-bottom: 18px;
}

.glucose-card span,
.glucose-card small {
  display: block;
  opacity: 0.86;
}

.glucose-card strong {
  display: block;
  font-size: 28px;
  margin: 8px 0;
}

.metric-list {
  display: grid;
  gap: 12px;
}

.metric-list div {
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(13, 72, 46, 0.07);
}

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

.verification {
  padding: 32px 0;
}

.verification-box {
  background: var(--text);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.verification-box h2 {
  margin-bottom: 8px;
}

.verification-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.verified-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.dot {
  width: 10px;
  height: 10px;
  background: #5dff9f;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(93, 255, 159, 0.12);
}

.section {
  padding: 84px 0;
}

.section-kicker {
  color: var(--primary-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.section p {
  color: var(--muted);
  font-size: 18px;
}

.notice {
  margin-top: 28px;
  padding: 20px;
  border-radius: 18px;
  background: #fff8e8;
  border: 1px solid #f1dba5;
  color: #5b4b20;
}

.features {
  background: var(--white);
}

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

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}

.card-icon {
  font-size: 34px;
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.card p {
  font-size: 16px;
  margin-bottom: 0;
}

.company {
  background: var(--bg-soft);
}

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

.company-text {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.requisites {
  margin: 0;
  display: grid;
  gap: 12px;
}

.requisites div {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
}

.requisites dt {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 4px;
}

.requisites dd {
  margin: 0;
  font-weight: 800;
}

.contact-card {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-card a {
  font-weight: 900;
  color: var(--primary-dark);
  font-size: 22px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero {
    padding-top: 64px;
  }

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

  .verification-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .verified-label {
    white-space: normal;
  }

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

@media (max-width: 620px) {
  .header-inner {
    height: 66px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .section {
    padding: 56px 0;
  }

  .phone {
    width: 300px;
  }

  .app-screen {
    min-height: 500px;
  }
}
