:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --text: #182033;
  --muted: #5e697c;
  --line: #dfe5ee;
  --blue: #2563eb;
  --green: #059669;
  --amber: #d97706;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

main {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 28px 18px 40px;
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  padding: 18px 0;
}

.app-icon {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.16);
}

.eyebrow {
  color: var(--blue);
  font-weight: 700;
  margin: 20px 0 8px;
}

h1 {
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
  margin: 0;
}

.lead {
  max-width: 620px;
  font-size: 18px;
  color: var(--muted);
  margin: 18px 0 26px;
}

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

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.primary {
  background: var(--blue);
  color: white;
}

.secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
}

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

.phone {
  width: min(340px, 100%);
  margin-left: auto;
  border: 1px solid #cdd6e5;
  border-radius: 34px;
  background: #101828;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(24, 32, 51, 0.22);
}

.phone-bar {
  width: 68px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #475467;
}

.screen-title {
  color: white;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.screen-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 14px;
  margin-top: 10px;
  color: var(--text);
  font-weight: 700;
}

.screen-card.strong {
  background: #dbeafe;
  color: #1d4ed8;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: -28px 0 18px;
}

.grid article,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

p {
  margin: 0 0 12px;
}

ol {
  padding-left: 22px;
  margin: 0;
}

.notice {
  margin-top: 14px;
  color: var(--amber);
  font-weight: 700;
}

pre {
  white-space: pre-wrap;
  word-break: break-all;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 12px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  padding: 20px 4px 0;
}

footer a,
.back {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.doc {
  max-width: 780px;
}

@media (max-width: 820px) {
  main {
    padding-top: 18px;
  }

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

  .phone {
    margin: 0;
  }

  .grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
}
