:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: #f3f7fc;
  background: #0c1520;
  --muted: #b6c5d6;
  --accent: #a9f0dc;
  --rule: #2c3b4c;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header { border-bottom: 1px solid var(--rule); }
.wordmark { font-size: 19px; font-weight: 700; letter-spacing: -.045em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.text-link { font-size: .9375rem; color: var(--muted); text-decoration-thickness: 1px; text-underline-offset: .35em; text-decoration-color: transparent; transition: color .15s, text-decoration-color .15s; }
.text-link:hover { color: #fff; text-decoration-color: currentColor; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 2; padding: 12px; color: #0c1520; background: var(--accent); }

.hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); gap: clamp(38px, 6vw, 96px); align-items: center; padding-block: 80px; }
.eyebrow { margin: 0 0 22px; color: var(--accent); font: 650 .875rem/1.3 ui-monospace, SFMono-Regular, monospace; letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { margin: 0; font-weight: 710; letter-spacing: -.065em; }
h1 { font-size: clamp(3.2rem, 6.3vw, 6.1rem); line-height: .99; }
.lead { max-width: 35ch; margin: 26px 0 30px; color: var(--muted); font-size: clamp(1.075rem, 1.45vw, 1.25rem); line-height: 1.56; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 25px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.download { color: #0c2925; background: var(--accent); transition: background .16s, transform .16s; }
.download:hover { background: #c7fff0; transform: translateY(-2px); }
.download:active { transform: translateY(1px); }
.build { margin: 17px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }

.product { position: relative; min-width: 0; min-height: 398px; display: grid; place-items: center; overflow: hidden; isolation: isolate; margin: 0; padding: 42px; border: 1px solid #355368; border-radius: 18px; background: radial-gradient(ellipse at 76% 85%, #347b73 0%, #233f55 48%, #182737 82%); }
.product::before { position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(0deg, #b4ebdf11 0 1px, transparent 1px 32px), repeating-linear-gradient(90deg, #b4ebdf11 0 1px, transparent 1px 32px); content: ""; mask-image: linear-gradient(to top right, transparent 8%, #000 80%); }
.app-frame { width: 100%; aspect-ratio: 27 / 10; overflow: hidden; border: 1px solid #d2dbe3; border-radius: 12px; background: #fff; box-shadow: 0 24px 55px #06131f80; }
.app-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
[data-enter] .hero-copy { animation: arrive .56s cubic-bezier(.22, 1, .36, 1) both; }
[data-enter] .product { animation: settle .78s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes settle { from { transform: scale(.985); } to { transform: scale(1); } }

.install { background: #111f2d; border-block: 1px solid var(--rule); scroll-margin-top: 20px; }
.install-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 72px; padding-block: 70px; }
h2 { font-size: clamp(2rem, 3.7vw, 3.7rem); line-height: 1.06; }
.install .lead { margin: 16px 0 0; }
ol { margin: 3px 0 0; padding-inline-start: 1.35em; line-height: 1.75; }
li + li { margin-top: 9px; }
li::marker { color: var(--accent); }
.local-note { grid-column: 2; margin: 0; color: var(--muted); line-height: 1.6; }
footer { padding-block: 26px; color: var(--muted); font-size: .875rem; line-height: 1.5; }

@media (max-width: 970px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 32px; }
  .product { min-height: 294px; padding: 24px; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 62px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding-block: 52px 46px; }
  .product { min-height: 225px; }
  .install-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 48px; }
  .local-note { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
