:root {
  --paper: #f7f2ea;
  --surface: #ffffff;
  --ink: #17211e;
  --muted: #66736f;
  --mint: #64d8b5;
  --green: #2fae83;
  --amber: #f2b84b;
  --line: rgba(23, 33, 30, 0.12);
  --shadow: 0 24px 70px rgba(23, 33, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body {
  margin: 0;
}

a {
  color: inherit;
}

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

.site-header {
  padding: 26px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

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

.nav a {
  text-decoration: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.language-switcher a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.language-switcher a.active {
  color: var(--ink);
  background: var(--mint);
}

.hero,
.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 190px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 60px;
  align-items: center;
  padding: 44px 0 64px;
}

.eyebrow {
  color: var(--green);
  font-weight: 700;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  max-width: 660px;
  margin: 24px 0 0;
}

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

.language-panel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 700;
}

.language-panel select {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  padding: 0 34px 0 12px;
}

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

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

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 38px;
  max-width: 820px;
}

.app-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(23, 33, 30, 0.08);
  text-decoration: none;
}

.app-card img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.app-card strong,
.app-card small {
  display: block;
}

.app-card small {
  color: var(--muted);
  line-height: 1.45;
  margin-top: 6px;
}

.feature,
.card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.feature strong {
  display: block;
  margin-bottom: 8px;
}

.feature p,
.card p,
.page li {
  color: var(--muted);
  line-height: 1.55;
}

.phone-art {
  position: relative;
}

.phone-art img.screenshot {
  width: 100%;
  border-radius: 34px;
  box-shadow: var(--shadow);
  display: block;
}

.icon-float {
  position: absolute;
  left: -34px;
  top: -28px;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(23, 33, 30, 0.22);
}

.page {
  padding: 54px 0 80px;
}

.page h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 820px;
  margin-top: 30px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.card p,
.card ul {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

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

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 24px;
  }

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

  .app-card {
    grid-template-columns: 56px 1fr;
  }

  .app-card img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .icon-float {
    left: 16px;
    top: -22px;
  }
}
