:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --text: #18202b;
  --muted: #687384;
  --line: #d9dee7;
  --panel: #ffffff;
  --dark: #162033;
  --accent: #1f7ae0;
  --accent-2: #28a979;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 44px;
  align-items: center;
  padding: 48px 0 36px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
}

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

.lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: #354052;
  font-size: 22px;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: white;
  color: var(--dark);
}

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

.app-card {
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(22, 32, 51, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 252, 0.74)),
    linear-gradient(145deg, rgba(31, 122, 224, 0.18), rgba(40, 169, 121, 0.16));
  box-shadow: 0 24px 70px rgba(34, 50, 78, 0.16);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.app-icon {
  width: 132px;
  height: 132px;
  margin-bottom: 26px;
  image-rendering: auto;
}

.card-title {
  margin-bottom: 4px;
  font-size: 30px;
  font-weight: 800;
}

.card-subtitle {
  margin-bottom: 26px;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(40, 169, 121, 0.28);
  border-radius: 999px;
  background: rgba(40, 169, 121, 0.1);
  color: #167853;
  font-size: 14px;
  font-weight: 700;
}

.status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

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

.features article,
.panel,
.details > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.features article {
  min-height: 178px;
  padding: 24px;
}

.features p,
.details p,
.panel li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.panel {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 28px;
  margin: 14px 0;
  padding: 30px;
}

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

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

code {
  padding: 2px 6px;
  border: 1px solid #d7dde7;
  border-radius: 6px;
  background: #f4f6f9;
  color: #243047;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.92em;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 0 56px;
}

.details > div {
  padding: 24px;
}

@media (max-width: 820px) {
  main {
    width: min(100% - 24px, 640px);
  }

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

  h1 {
    font-size: 56px;
  }

  .lead {
    font-size: 18px;
  }

  .app-card {
    min-height: 300px;
  }

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

@media (max-width: 440px) {
  h1 {
    font-size: 44px;
  }

  .button {
    width: 100%;
  }

  .app-icon {
    width: 104px;
    height: 104px;
  }
}
