:root {
  color-scheme: light;
  --ink: #14201f;
  --muted: #5a6b68;
  --line: #d9e4e0;
  --panel: #f6faf8;
  --brand: #0f8f7a;
  --brand-dark: #086555;
  --accent: #f2b84b;
  --blue: #477ec7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.brand,
nav,
footer p:last-child {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: white;
  background: var(--brand);
}

nav {
  font-size: 0.94rem;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(15, 143, 122, 0.09), rgba(71, 126, 199, 0.08)),
    var(--panel);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.lead {
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--muted);
  max-width: 620px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-weight: 700;
}

.button.primary {
  color: white;
  border-color: var(--brand);
  background: var(--brand);
}

.phone-mock {
  width: min(100%, 390px);
  min-height: 560px;
  margin: auto;
  padding: 18px;
  border: 10px solid #182321;
  border-radius: 34px;
  background: white;
  box-shadow: 0 24px 70px rgba(20, 32, 31, 0.22);
}

.phone-bar {
  width: 86px;
  height: 5px;
  margin: 0 auto 24px;
  border-radius: 99px;
  background: #d8dedc;
}

.app-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.metric-row span {
  padding: 10px;
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.78rem;
}

.metric-row strong {
  color: var(--ink);
  font-size: 1.4rem;
}

.food-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.food-row small {
  display: block;
  color: var(--muted);
}

.dot {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.green { background: rgba(15, 143, 122, 0.22); }
.yellow { background: rgba(242, 184, 75, 0.32); }
.blue { background: rgba(71, 126, 199, 0.22); }

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 56px clamp(20px, 5vw, 72px);
}

.section-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.section-grid p,
.document p {
  color: var(--muted);
}

.document {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.document h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  margin-bottom: 16px;
}

.document h2 {
  margin-top: 36px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .phone-mock {
    min-height: 460px;
  }

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