:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --soft: #eaf2ff;
  --line: #d8e1ee;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --teal: #14b8a6;
  --green: #16a34a;
  --danger: #dc2626;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 14%, rgba(37, 99, 235, 0.13), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(20, 184, 166, 0.16), transparent 26%),
    linear-gradient(180deg, #f8fafc, var(--bg));
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--primary-dark);
}

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

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

.site-footer {
  gap: 18px;
  padding: 34px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.site-header nav,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--primary), #0ea5e9);
  color: white;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 42px;
  align-items: center;
  min-height: 620px;
  padding: 40px 0 54px;
}

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

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px);
}

.button.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.2);
}

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

.note {
  max-width: 640px;
  color: var(--muted);
  font-size: 14px;
}

.browser-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101827;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr;
  gap: 8px;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  background: #f8fafc;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.browser-bar div {
  height: 23px;
  margin-left: 10px;
  border-radius: 999px;
  padding: 2px 14px;
  background: white;
  color: #64748b;
  font-size: 13px;
}

.app-preview {
  display: grid;
  grid-template-columns: 152px 1fr;
  min-height: 390px;
}

.app-preview aside {
  padding: 24px 18px;
  background: #0d1523;
  color: white;
}

.app-preview aside p {
  margin: 18px 0 0;
  color: #b8c5d6;
  font-size: 14px;
}

.app-preview section {
  padding: 28px 22px;
}

.message {
  position: relative;
  margin-bottom: 20px;
  border-radius: 8px;
  padding: 18px;
  background: #334155;
  color: white;
}

.message.shifted {
  margin-left: 48px;
}

.message p {
  margin: 8px 0 0;
  color: #dbeafe;
}

.message i {
  display: block;
  width: 88%;
  height: 18px;
  margin-top: 14px;
  border-radius: 999px;
  background: #020617;
  filter: blur(5px);
}

.status-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  min-width: 230px;
  border: 1px solid rgba(22, 163, 74, 0.24);
  border-radius: 8px;
  padding: 16px;
  background: white;
  color: var(--text);
}

.status-card b {
  color: var(--green);
}

.status-card span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 34px 0 70px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.document {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.06);
}

.feature-grid article {
  padding: 22px;
}

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

.document-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.document {
  padding: clamp(24px, 4vw, 48px);
}

.document h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.document h2 {
  margin-top: 34px;
  font-size: 24px;
}

.warning {
  border-left: 4px solid var(--primary);
  padding: 12px 16px;
  background: var(--soft);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .browser-card {
    max-width: 560px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
  }

  .hero {
    padding-top: 24px;
  }

  .actions {
    flex-direction: column;
  }

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

  .app-preview aside {
    display: none;
  }

  .status-card {
    position: static;
    margin: 0 18px 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
