:root {
  --bg: #f5f7f8;
  --text: #172326;
  --muted: #5f7175;
  --line: #d9e2e4;
  --brand: #147d74;
  --brand-dark: #0f5f59;
  --accent: #c9562c;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-dark);
}

nav {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

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

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.primary-link {
  background: var(--brand);
  color: #fff;
}

.primary-link.disabled {
  opacity: 0.58;
  pointer-events: none;
}

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

.phone-preview {
  width: min(100%, 390px);
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(20, 38, 42, 0.16);
}

.phone-top {
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.bubble {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  line-height: 1.5;
}

.bubble.mine {
  margin-left: 42px;
  background: #dff3ef;
}

.bubble.translated {
  margin-right: 42px;
  background: #eef3f3;
  color: var(--brand-dark);
}

.voice-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.mic {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

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

.features article,
.download-panel,
.release-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.features article {
  padding: 22px;
}

.features h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.features p,
.release-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.download-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 74px);
  padding: 28px 18px;
}

.download-panel {
  width: min(760px, 100%);
  padding: clamp(24px, 5vw, 46px);
}

.release-note {
  margin-top: 26px;
  padding: 16px;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

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