:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #5b6472;
  --line: rgba(15, 23, 42, 0.1);
  --blue: #007aff;
  --mint: #18cda1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 122, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 86% 8%, rgba(24, 205, 161, 0.14), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  color: var(--ink);
  line-height: 1.72;
}

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

a:hover {
  text-decoration: underline;
}

.page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.68)),
    linear-gradient(135deg, var(--blue), var(--mint));
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.2);
  position: relative;
}

.mark::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  width: 16px;
  height: 10px;
  border-left: 4px solid var(--mint);
  border-bottom: 4px solid var(--blue);
  transform: rotate(-45deg);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.hero-copy h1,
.doc h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-copy p,
.lede {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.15);
}

.button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.phone {
  width: min(360px, 100%);
  margin: 0 auto;
  padding: 14px;
  border-radius: 46px;
  background: #111827;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.22);
}

.screen {
  border-radius: 34px;
  min-height: 620px;
  padding: 36px 22px;
  background: #f2f2f7;
  overflow: hidden;
}

.screen h2 {
  margin: 0 0 18px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.search {
  height: 44px;
  border-radius: 16px;
  background: white;
  margin-bottom: 18px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(229, 231, 235, 0.75);
  margin-bottom: 22px;
}

.segmented span {
  height: 34px;
  border-radius: 10px;
  background: white;
}

.card {
  background: white;
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 5px;
}

.pill {
  display: inline-flex;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.1);
  color: var(--blue);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

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

.feature,
.doc {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  backdrop-filter: blur(18px);
}

.feature h3,
.doc h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.feature p,
.doc p,
.doc li {
  color: var(--muted);
}

.doc {
  max-width: 820px;
  margin: 0 auto;
}

.doc h1 {
  font-size: clamp(34px, 6vw, 58px);
  margin-bottom: 14px;
}

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

.doc ul {
  padding-left: 1.25rem;
}

.footer {
  margin-top: 56px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 28px, 980px);
    padding-top: 28px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .nav-links {
    justify-content: flex-start;
  }

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

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

  .screen {
    min-height: 520px;
  }
}
