@font-face {
  font-family: Geist;
  src: url("assets/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Geist, "Segoe UI", system-ui, sans-serif;
  color: #131b35;
  background: #f8f9ff;
  font-synthesis: none;
  --dark: #0b1026;
  --soft: #c7d0eb;
  --accent: #395bf1;
  --page-width: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; }
p, h1, h2, h3, figure { margin: 0; }

.wrap { width: min(var(--page-width), calc(100% - 72px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: .7rem 1rem;
  border-radius: 8px;
  background: white;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible, summary:focus-visible { outline: 3px solid #7193ff; outline-offset: 5px; }

.site-header {
  background: var(--dark);
  color: #f8f9ff;
  border-bottom: 1px solid #242c4a;
}
.header-content {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 740;
  letter-spacing: -.035em;
}
nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 36px); }
nav a { color: #d1d8f0; font-size: .92rem; text-decoration: none; }
nav a:hover, .guide-link:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero {
  color: #f9faff;
  background:
    radial-gradient(ellipse at 84% 63%, #2344a4 0, #16285b 28%, transparent 58%),
    linear-gradient(135deg, #0b1026 15%, #101a38 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  min-height: 548px;
  padding-block: 64px 68px;
}
.release {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c9d6ff;
  font-size: .91rem;
  font-weight: 600;
  margin-bottom: 21px;
}
.release span { width: 7px; height: 7px; border-radius: 50%; background: #68dcf9; }
.release b { color: #aab8e1; }
h1 {
  font-size: clamp(2.65rem, 4.9vw, 4.65rem);
  line-height: .99;
  font-weight: 800;
  letter-spacing: -.071em;
  max-width: 12ch;
}
h1 em { display: block; color: #a9cbff; font-style: normal; }
.intro {
  color: #d3dcf4;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.63;
  margin-top: 25px;
  max-width: 43ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 21px;
  margin-top: 28px;
}
.download {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: .8rem 1.1rem;
  border: 1px solid #7890ff;
  border-radius: 10px;
  background: #3354e4;
  box-shadow: 0 9px 26px #060b2d80;
  color: #fff;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 720;
}
.download:hover { background: #2949cf; }
.download-arrow { font-size: 1.3rem; font-weight: 600; line-height: 1; }
.guide-link { color: #e2e9ff; font-size: .91rem; text-decoration: none; }
.guide-link span { color: #a9cbff; padding-left: 3px; }
.file-note { color: #b9c6e8; font-size: .82rem; margin-top: 14px; }

.preview { min-width: 0; }
.preview-stage {
  min-height: 365px;
  padding: clamp(16px, 3.4vw, 45px);
  display: grid;
  place-items: center;
  border: 1px solid #8ba7fa42;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 58% 52%, #426cec66 0, transparent 72%),
    repeating-linear-gradient(0deg, #809dff23 0 1px, transparent 1px 27px),
    repeating-linear-gradient(90deg, #809dff23 0 1px, transparent 1px 27px),
    #101d43;
}
.preview figcaption {
  text-align: center;
  color: #c7d2f5;
  font-size: .78rem;
  margin-top: 12px;
}
.app-screenshot {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 9px;
  box-shadow: 0 26px 48px #050c2c99, 0 0 0 1px #b2c7ff80;
}

.features { padding-block: 65px 74px; }
h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); letter-spacing: -.06em; line-height: 1.08; font-weight: 770; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.feature-grid article {
  border: 1px solid #dfe4f3;
  border-radius: 16px;
  padding: 24px;
  background: #fff;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 10px;
  background: #e8edff;
  color: #2546bc;
  font-size: 1.25rem;
  font-weight: 700;
}
.key-icon { font-size: .91rem; }
h3 { font-weight: 730; font-size: 1.1rem; letter-spacing: -.025em; }
.feature-grid h3 { margin-top: 17px; }
.feature-grid p, .guide p {
  color: #4a5571;
  font-size: .96rem;
  line-height: 1.62;
  margin-top: 8px;
}
.guide { background: #eef2ff; border-block: 1px solid #dde5fb; padding-block: 62px; }
.guide-layout { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(28px, 6vw, 95px); }
.guide-layout h2 { max-width: 14ch; }
.steps { margin: 0; padding-left: 1.7rem; }
.steps li { padding-left: 10px; }
.steps li + li { margin-top: 23px; }
.steps li::marker { color: #294ed2; font-weight: 760; }
kbd {
  display: inline-block;
  background: #fff;
  border: 1px solid #d3dbf3;
  border-radius: 5px;
  padding: 0 .28em;
  font-family: inherit;
  font-size: .9em;
  color: #253760;
}
.site-footer { padding-block: 25px; color: #4c5771; font-size: .86rem; }
.footer-content { display: flex; flex-wrap: wrap; gap: 12px 25px; align-items: baseline; }
.footer-content > span { color: #1d2845; font-weight: 680; }
.footer-version { color: #5a6684; font-weight: 500; }
.site-footer a { margin-left: auto; text-decoration: none; }
summary { cursor: pointer; }
details p { margin-top: 8px; max-width: 75ch; overflow-wrap: anywhere; }
code { font-size: .81rem; color: #283a69; }

@media (max-width: 930px) {
  .hero-grid { gap: 31px; }
  .preview-stage { min-height: 300px; padding: 14px; }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 40px); }
  .hero-grid { grid-template-columns: 1fr; padding-block: 47px 44px; }
  h1 { max-width: 14ch; }
  .preview { max-width: 550px; }
  .preview-stage { padding: 24px; min-height: 270px; }
  .features { padding-block: 47px 53px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-grid article { padding: 20px; }
  .guide { padding-block: 48px; }
  .guide-layout { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  .header-content { gap: 10px; }
  .brand { font-size: 1rem; gap: 5px; }
  nav { gap: 10px; }
  nav a { font-size: .84rem; }
  .preview-stage { padding: 13px; }
}
