:root {
  color-scheme: light;
  --background: #f6f8fc;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #132034;
  --muted: #5d6878;
  --blue: #007aff;
  --blue-pressed: #0062cc;
  --blue-soft: #dbeaff;
  --hairline: rgba(19, 32, 52, 0.12);
  --shadow: 0 24px 70px rgba(7, 67, 160, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(0, 122, 255, 0.14),
      transparent 28%
    ),
    linear-gradient(145deg, #fbfcff 0%, #edf4ff 52%, #f8fbff 100%);
}

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

a:hover {
  color: var(--blue-pressed);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(7, 67, 160, 0.18);
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

nav a[aria-current="page"],
nav a:hover {
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

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

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.document h1 {
  font-size: clamp(40px, 6vw, 58px);
}

h2 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 24px rgba(0, 122, 255, 0.22);
}

.button.secondary {
  background: var(--surface-strong);
  color: var(--text);
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.app-icon-stage {
  display: grid;
  place-items: center;
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.42)
    ),
    radial-gradient(circle at 50% 82%, rgba(0, 122, 255, 0.14), transparent 42%);
  box-shadow: var(--shadow);
}

.app-icon-hero {
  width: min(64%, 270px);
  height: auto;
  border-radius: 27%;
  box-shadow: 0 22px 48px rgba(7, 67, 160, 0.22);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 68px;
}

.card {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 40px rgba(25, 45, 32, 0.08);
}

.card span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.card strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.document {
  max-width: 820px;
  padding: 44px 0 72px;
}

.document section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.document p,
.document li {
  color: #314139;
  font-size: 18px;
}

.document ul {
  padding-left: 22px;
}

.document li + li {
  margin-top: 10px;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 14px;
}

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

  .site-header {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }

  main {
    width: min(100% - 28px, 1120px);
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .lead {
    font-size: 19px;
  }

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

  footer {
    gap: 8px;
    flex-direction: column;
  }
}
