:root {
  color-scheme: light dark;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5b6472;
  --line: #d8e0eb;
  --blue: #1268e8;
  --blue-dark: #0b46a7;
  --green: #147a45;
  --green-soft: #eaf7ef;
  --navy: #0c1d35;
  --white: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e141c;
    --surface: #171f2a;
    --text: #f5f7fb;
    --muted: #aab4c2;
    --line: #354052;
    --blue: #62a0ff;
    --blue-dark: #91bdff;
    --green: #69d69a;
    --green-soft: #143524;
    --navy: #071222;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--surface);
}

.skip-link:focus {
  left: 8px;
}

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

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy) url("assets/app-dashboard.jpg") center right / cover no-repeat;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 13, 27, 0.72);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
}

.hero-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.hero-lockup img {
  width: 92px;
  height: 92px;
  border-radius: 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #9ec5ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 56px;
  line-height: 1.05;
}

.hero p {
  max-width: 660px;
  margin: 20px 0 28px;
  color: #e6edf8;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(8, 24, 46, 0.72);
}

.button.light {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.band {
  padding: 72px 0;
  background: var(--surface);
}

.band.alt {
  background: var(--bg);
}

.container {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 32px));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.page-heading h1 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.15;
}

.section-heading p,
.page-heading p,
.muted {
  color: var(--muted);
}

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

.feature,
.step,
.guide-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.feature h3,
.step h3,
.guide-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.feature p,
.step p,
.guide-card p {
  margin: 0;
  color: var(--muted);
}

.step-number {
  display: inline-flex;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.safety {
  border-left: 4px solid var(--green);
  background: var(--green-soft);
  padding: 22px 24px;
}

.safety strong {
  color: var(--green);
}

.page-heading {
  padding: 64px 0 36px;
}

.page-heading h1 {
  max-width: 820px;
  font-size: 46px;
}

.prose h2 {
  margin: 42px 0 10px;
  font-size: 27px;
  line-height: 1.25;
}

.prose h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 0;
  margin-bottom: 18px;
}

.prose code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--bg);
}

.app-shot {
  margin: 34px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(14, 28, 49, 0.16);
}

.app-shot.crop-right {
  aspect-ratio: 1.16;
  object-fit: cover;
  object-position: left center;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.footer-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .nav {
    padding: 12px 0;
    align-items: flex-start;
  }

  .nav-links {
    gap: 10px 14px;
  }

  .nav-links a:nth-child(2),
  .nav-links a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: 580px;
    background-position: 62% center;
  }

  .hero::before {
    background: rgba(4, 13, 27, 0.8);
  }

  h1 {
    font-size: 42px;
  }

  .hero-lockup img {
    width: 72px;
    height: 72px;
  }

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

  .band {
    padding: 52px 0;
  }
}
