:root {
  color-scheme: light;
  --ink: #14201b;
  --muted: #5a6a62;
  --line: #d7e2dc;
  --bg: #f7f9f5;
  --panel: #ffffff;
  --accent: #1c7c54;
  --accent-2: #ee8b2c;
  --accent-3: #2f6f8f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
}

header,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

header {
  padding: 20px 0 10px;
}

footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

nav,
footer {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav a,
footer a,
.back {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
  padding: 18px 0 56px;
}

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

h1 {
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
  margin: 0 0 22px;
}

h2 {
  font-size: 34px;
  letter-spacing: 0;
  margin: 0 0 22px;
}

h3 {
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.hero-copy {
  min-width: 0;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--line);
}

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

.secondary {
  background: white;
}

.phone {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid #26372f;
  border-radius: 32px;
  background: linear-gradient(160deg, #f8fff8 0%, #e8f2ee 48%, #ffe9c8 100%);
  padding: 22px;
  box-shadow: 0 24px 80px rgba(32, 48, 42, 0.22);
  position: relative;
  overflow: hidden;
}

.phone-bar {
  width: 88px;
  height: 6px;
  background: #1f2b26;
  border-radius: 999px;
  margin: 0 auto 34px;
}

.trend-card,
.mode-grid div,
.prices article,
.steps article,
.legal article {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trend-card {
  padding: 18px;
}

.trend-card span,
.mode-grid span,
.prices span {
  color: var(--muted);
  font-size: 13px;
}

.trend-card strong {
  display: block;
  font-size: 28px;
  margin-top: 4px;
}

.trend-card p {
  color: var(--muted);
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.mode-grid div {
  padding: 14px;
}

.mode-grid b,
.mode-grid span {
  display: block;
}

.animal {
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 118px;
}

.band,
.pricing {
  padding: 70px 0;
}

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

.steps article,
.prices article,
.legal article {
  padding: 22px;
}

.steps strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--accent-3);
  color: white;
  border-radius: 50%;
}

.steps p,
.prices span,
.legal p {
  color: var(--muted);
  line-height: 1.6;
}

.prices p {
  margin: 12px 0 0;
  font-size: 30px;
  font-weight: 900;
  color: var(--accent-2);
}

.legal {
  max-width: 820px;
  padding: 44px 0 80px;
}

.legal h1 {
  font-size: 48px;
  line-height: 1;
  margin-top: 28px;
}

.legal article {
  margin-top: 14px;
}

@media (max-width: 820px) {
  header,
  main,
  footer {
    width: calc(100vw - 32px);
  }

  header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  h1 {
    font-size: clamp(46px, 13vw, 64px);
  }

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

  .phone {
    justify-self: start;
    width: min(calc(100vw - 32px), 300px);
    max-width: calc(100vw - 32px);
    margin: 0;
    padding: 20px;
    border-radius: 28px;
  }

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

  .mode-grid div {
    min-width: 0;
  }

  .animal {
    right: 18px;
    bottom: 18px;
    font-size: 96px;
  }

  .steps,
  .prices {
    grid-template-columns: 1fr;
  }
}
