:root {
  color-scheme: dark;
  --midnight: #07101a;
  --ridge: #0d1826;
  --panel: #111d2c;
  --line: #27374c;
  --glacier: #edf5ff;
  --ice: #b8c7d8;
  --muted: #8292a5;
  --sky: #7cc7ff;
  --gold: #f2c46d;
  --treeline: #48d99a;
  --exposure: #ff7c6e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--midnight);
  color: var(--glacier);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid rgba(184, 199, 216, 0.14);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px 24px;
}

.brand-link {
  align-items: center;
  color: var(--glacier);
  display: inline-flex;
  font-size: 17px;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.brand-link img {
  border-radius: 8px;
  display: block;
}

.top-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.top-nav a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ice);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus {
  border-color: rgba(124, 199, 255, 0.36);
  color: var(--glacier);
  outline: none;
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 620px;
  padding: 64px 24px 72px;
}

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

.eyebrow {
  color: var(--treeline);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 12px;
}

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

h1 {
  color: var(--glacier);
  font-size: 52px;
  font-weight: 760;
  line-height: 1.03;
  margin-bottom: 22px;
  max-width: 840px;
}

h2 {
  color: var(--glacier);
  font-size: 28px;
  font-weight: 720;
  line-height: 1.15;
  margin-bottom: 14px;
}

h3 {
  color: var(--glacier);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lede {
  color: var(--ice);
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 720px;
}

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

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 740;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--treeline);
  color: #061018;
}

.button.primary:hover,
.button.primary:focus {
  background: #72efb7;
  outline: none;
}

.button.secondary {
  border: 1px solid rgba(184, 199, 216, 0.28);
  color: var(--glacier);
}

.button.secondary:hover,
.button.secondary:focus {
  border-color: rgba(124, 199, 255, 0.58);
  outline: none;
}

.app-preview {
  justify-self: end;
}

.device-shell {
  background: #0a1421;
  border: 1px solid rgba(184, 199, 216, 0.22);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  min-height: 0;
  padding: 10px;
  width: 300px;
}

.device-bar {
  background: #253448;
  border-radius: 999px;
  height: 5px;
  margin: 10px auto 14px;
  width: 82px;
}

.preview-screenshot {
  border-radius: 22px;
  height: auto;
  width: 100%;
}

.section-band {
  background: var(--ridge);
  border-bottom: 1px solid rgba(184, 199, 216, 0.12);
  border-top: 1px solid rgba(184, 199, 216, 0.12);
}

.section-inner,
.content-wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding: 56px 24px;
}

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

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

.feature-card,
.related-card {
  background: var(--panel);
  border: 1px solid rgba(184, 199, 216, 0.14);
  border-radius: 8px;
  min-height: 156px;
  padding: 18px;
}

.feature-card p,
.content-section p,
.cta-band p,
.site-footer p {
  color: var(--ice);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 0;
}

.content-wrap {
  display: grid;
  gap: 36px;
}

.content-section {
  max-width: 820px;
}

.content-section p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}

.related-section,
.faq-section,
.guide-group {
  max-width: none;
}

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

.related-card {
  color: var(--glacier);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
  text-decoration: none;
}

.related-card:hover,
.related-card:focus {
  border-color: rgba(124, 199, 255, 0.56);
  outline: none;
}

.related-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.related-card strong {
  font-size: 17px;
  line-height: 1.35;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

details {
  background: var(--panel);
  border: 1px solid rgba(184, 199, 216, 0.14);
  border-radius: 8px;
  padding: 16px 18px;
}

summary {
  color: var(--glacier);
  cursor: pointer;
  font-size: 16px;
  font-weight: 720;
}

details p {
  color: var(--ice);
  font-size: 15px;
  line-height: 1.6;
  margin: 12px 0 0;
}

.cta-band {
  background: #101b29;
  border: 1px solid rgba(72, 217, 154, 0.3);
  border-radius: 8px;
  max-width: 860px;
  padding: 28px;
}

.cta-band p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 660px;
}

.site-footer {
  border-top: 1px solid rgba(184, 199, 216, 0.14);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 24px 42px;
}

.site-footer p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--sky);
  outline: none;
}

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

  .app-preview {
    justify-self: start;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

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

  .top-nav {
    justify-content: flex-start;
  }

  .top-nav a {
    padding: 7px 8px;
  }

  .hero {
    gap: 34px;
    padding: 42px 16px 54px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 24px;
  }

  .lede {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .device-shell {
    min-height: 0;
    width: min(100%, 300px);
  }

  .section-inner,
  .content-wrap {
    padding: 42px 16px;
  }

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

  .feature-card,
  .related-card {
    min-height: 0;
  }

  .content-section p {
    font-size: 16px;
  }

  .cta-band {
    padding: 22px;
  }

  .site-footer {
    padding: 24px 16px 34px;
  }
}
