:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #121826;
  --muted: #667085;
  --line: #e4e7ec;
  --dark: #111827;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --warning-bg: #fff7ed;
  --warning-line: #fed7aa;
  --warning-text: #9a3412;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

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

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

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 56px;
  padding: 56px 0 72px;
}

.label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 9vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.lead {
  max-width: 620px;
  margin-bottom: 18px;
  color: #344054;
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.45;
}

.note {
  max-width: 560px;
  margin-bottom: 26px;
  padding: 14px 16px;
  border: 1px solid var(--warning-line);
  border-radius: 12px;
  color: var(--warning-text);
  background: var(--warning-bg);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 750;
}

.primary {
  color: #ffffff;
  background: var(--accent);
}

.primary:hover {
  background: var(--accent-dark);
}

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

.secondary:hover {
  border-color: #cbd5e1;
}

.small {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.app-card,
.section,
footer {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.app-card {
  padding: 28px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.window-line {
  width: 76px;
  height: 6px;
  margin-bottom: 34px;
  border-radius: 999px;
  background: var(--dark);
}

.app-card h2 {
  font-size: 28px;
}

.app-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-card li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #344054;
}

.app-card li:last-child {
  border-bottom: 0;
}

.section {
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 40px);
}

.section-title {
  max-width: 700px;
  margin-bottom: 24px;
}

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

.steps article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
}

.steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--dark);
  font-weight: 800;
}

.steps p,
.compact p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.compact div {
  max-width: 720px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 18px 20px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 42px;
  }

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

  .compact {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .site-header {
    min-height: 64px;
  }

  .hero {
    padding-top: 28px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .app-card,
  .section {
    border-radius: 14px;
  }

  footer {
    flex-direction: column;
  }
}
