:root {
  color-scheme: light;
  --bg: #fbf7f2;
  --ink: #211832;
  --muted: #6d6177;
  --line: #e7dcd4;
  --surface: #ffffff;
  --rose: #e94f64;
  --blue: #4966bc;
  --purple: #7e6c93;
  --shadow: 0 24px 70px rgba(54, 42, 74, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(233, 79, 100, 0.13), transparent 28rem),
    radial-gradient(circle at 92% 8%, rgba(73, 102, 188, 0.14), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-icon {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(54, 42, 74, 0.12);
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav a,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover,
.policy a:hover {
  color: var(--blue);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  min-height: calc(100vh - 190px);
  padding: 48px 0 70px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.3;
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--blue));
  box-shadow: 0 16px 34px rgba(73, 102, 188, 0.25);
}

.button.secondary {
  color: var(--purple);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(126, 108, 147, 0.18);
}

.phone-preview {
  width: min(380px, 100%);
  justify-self: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  color: var(--purple);
  font-size: 14px;
  font-weight: 850;
}

.board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  aspect-ratio: 1;
  gap: 14px;
  margin-top: 20px;
  padding: 12px;
  border-radius: 26px;
  background:
    linear-gradient(45deg, transparent 49%, rgba(126, 108, 147, 0.24) 49% 51%, transparent 51%),
    linear-gradient(135deg, transparent 49%, rgba(73, 102, 188, 0.20) 49% 51%, transparent 51%),
    #f7eee8;
}

.board span {
  grid-row: var(--r);
  grid-column: var(--c);
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(54, 42, 74, 0.14);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 32px 0 64px;
}

.features article,
.download,
.policy {
  border: 1px solid rgba(126, 108, 147, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(54, 42, 74, 0.08);
}

.features article {
  padding: 24px;
}

.features h2,
.download h2,
.policy h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.features p,
.download p,
.policy p,
.policy li {
  color: var(--muted);
  line-height: 1.7;
}

.features p {
  margin: 12px 0 0;
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
  padding: 28px;
}

.download p {
  margin: 10px 0 0;
}

.policy-page {
  width: min(900px, calc(100% - 40px));
}

.policy {
  padding: clamp(28px, 5vw, 56px);
  margin: 28px 0 64px;
}

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

.policy h2 {
  margin-top: 34px;
}

.policy p {
  margin: 14px 0 0;
}

.policy a {
  color: var(--blue);
  font-weight: 750;
}

.updated {
  color: var(--purple);
  font-size: 14px;
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  main,
  .policy-page {
    width: min(100% - 28px, 1120px);
  }

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

  .phone-preview {
    justify-self: start;
  }

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

  .download,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
