:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eff9ff;
  background: #031536;
  line-height: 1.75;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0%, rgba(17, 211, 220, .16), transparent 32rem),
    linear-gradient(155deg, #061c48 0%, #031536 48%, #07102b 100%);
}

a { color: #61e2e7; }
a:hover { color: #a1f6f8; }

.site-header,
main,
footer {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}

.brand {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
nav a { color: #a8c3dc; text-decoration: none; }
nav a[aria-current="page"] { color: #61e2e7; }

.github-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(143, 174, 201, .34);
  border-radius: 10px;
  color: #eff9ff;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.github-link:hover {
  border-color: #61e2e7;
  color: #61e2e7;
  background: rgba(97, 226, 231, .08);
}

.github-link:focus-visible,
.header-install-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.github-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.header-install-button {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  padding-inline: 17px;
  border-radius: 10px;
  color: #031536;
  background: #61e2e7;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}

.header-install-button:hover {
  color: #031536;
  background: #a1f6f8;
  transform: translateY(-1px);
}

main { padding-block: 70px 100px; }
section + section { margin-top: 96px; }

.hero { max-width: 900px; }
.eyebrow { color: #61e2e7; font-size: .82rem; font-weight: 800; letter-spacing: .18em; }
h1 { margin: .2em 0; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.12; letter-spacing: -.04em; }
h2 { margin-top: 0; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.25; }
h3 { margin-top: 0; line-height: 1.4; }
.lead { max-width: 760px; color: #b4cbdf; font-size: clamp(1.05rem, 2vw, 1.25rem); }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.hero-cta p {
  max-width: 300px;
  margin: 0;
  color: #9ab8d1;
  font-size: .95rem;
}

.store-button {
  display: inline-flex;
  flex-direction: column;
  min-width: min(100%, 340px);
  padding: 14px 24px 16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 16px;
  color: #031536;
  background: #61e2e7;
  box-shadow: 0 14px 36px rgba(34, 213, 220, .2);
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.store-button:hover {
  color: #031536;
  background: #a1f6f8;
  box-shadow: 0 18px 42px rgba(34, 213, 220, .3);
  transform: translateY(-2px);
}

.store-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.store-button-label { font-size: .78rem; font-weight: 700; }
.store-button-action { font-size: 1.3rem; font-weight: 900; line-height: 1.35; }

.shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  color: #8faec9;
}

.key {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 5px 16px;
  border: 1px solid #41d8df;
  border-radius: 10px;
  color: #fff;
  background: #0b2b5a;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3);
  font-weight: 700;
}

.or { margin-inline: 10px; }

.comparison-lead {
  margin-top: -12px;
  color: #b4cbdf;
  font-size: 1.1rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.comparison-card {
  overflow: hidden;
  border: 1px solid rgba(143, 174, 201, .24);
  border-radius: 20px;
  background: rgba(6, 27, 66, .82);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .18);
}

.comparison-heading { padding: 22px 24px 20px; }
.comparison-heading h3 { margin: 10px 0 0; font-size: 1.15rem; }

.comparison-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  color: #d0e0ed;
  background: rgba(143, 174, 201, .14);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.comparison-card-after {
  border-color: rgba(97, 226, 231, .52);
  box-shadow: 0 20px 55px rgba(34, 213, 220, .12);
}

.comparison-card-after .comparison-badge {
  color: #031536;
  background: #61e2e7;
}

.comparison-card video {
  display: block;
  width: 100%;
  aspect-ratio: 830 / 784;
  border-top: 1px solid rgba(143, 174, 201, .18);
  background: #010713;
  object-fit: contain;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px;
  border: 1px solid rgba(97, 226, 231, .2);
  border-radius: 18px;
  background: rgba(6, 27, 66, .72);
}
.card p { margin-bottom: 0; color: #abc3d8; }

.usage ol { padding-left: 1.5em; }
.usage li + li { margin-top: 12px; }
.note, .updated { color: #8faec9; }

.document { max-width: 800px; }
.document h1, .contact h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.document h2 { margin-top: 2.2em; font-size: 1.55rem; }
.document code { overflow-wrap: anywhere; }

.contact { max-width: 760px; min-height: 65vh; }
.contact p { color: #b4cbdf; font-size: 1.2rem; }
.contact-link { font-weight: 800; white-space: nowrap; }
.button {
  display: inline-block;
  margin-top: 20px;
  padding: 13px 22px;
  border-radius: 12px;
  color: #031536;
  background: #61e2e7;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { color: #031536; background: #a1f6f8; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid rgba(143, 174, 201, .2);
  color: #7898b5;
  font-size: .9rem;
}

@media (max-width: 720px) {
  .site-header, footer { align-items: flex-start; flex-direction: column; }
  .header-actions { flex-wrap: wrap; gap: 14px; }
  .header-actions nav { flex-basis: 100%; }
  main { padding-block: 48px 72px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero-cta { align-items: flex-start; flex-direction: column; }
  .or { flex-basis: 100%; margin: 0; }
}
