:root {
    color-scheme: dark;
    --bg: #05070f;
    --surface: rgba(18, 24, 42, .76);
    --surface-strong: #11182a;
    --text: #f5f7ff;
    --muted: #aeb8d0;
    --line: rgba(255, 255, 255, .12);
    --accent: #8cf6ff;
    --accent-2: #9d71ff;
    --glow: rgba(94, 224, 255, .24);
    --max: 1180px;
}

.theme-asteroiden {
    --bg: #061019;
    --surface: rgba(10, 33, 43, .78);
    --surface-strong: #09242f;
    --accent: #79f5c7;
    --accent-2: #43a9ff;
    --glow: rgba(66, 212, 184, .23);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 75% 5%, var(--glow), transparent 28rem), var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; background: var(--text); color: var(--bg); border-radius: .7rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: var(--max); margin: 0 auto; padding: 1rem 1.5rem; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
.brand img { border-radius: 22%; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
nav, footer div { display: flex; gap: 1.25rem; }
nav a, footer a { color: var(--muted); text-decoration: none; font-size: .92rem; }
nav a:hover, footer a:hover { color: var(--text); }
main, footer { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
.hero { min-height: 760px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); padding: 5rem 0 7rem; overflow: hidden; }
.eyebrow { margin: 0 0 .8rem; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 780px; margin-bottom: 1.4rem; font-size: clamp(3.4rem, 8vw, 6.7rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
h3 { font-size: 1.25rem; }
.lede { max-width: 690px; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.4rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin: 2rem 0; }
.store-button { display: inline-flex; align-items: center; gap: .75rem; min-height: 58px; padding: .65rem 1.15rem; border: 1px solid rgba(255,255,255,.24); border-radius: 1rem; background: #f7f7fa; color: #080a0d; text-decoration: none; box-shadow: 0 14px 38px rgba(0,0,0,.3); }
.store-button > span:first-child { font-size: 1.8rem; }
.store-button span:last-child { display: grid; font-weight: 760; line-height: 1.05; }
.store-button small { font-size: .68rem; font-weight: 500; }
.text-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.facts { display: flex; flex-wrap: wrap; gap: .65rem; padding: 0; list-style: none; }
.facts li { padding: .42rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .85rem; }
.hero-device { position: relative; width: auto; height: min(68vh, 620px); aspect-ratio: 1279 / 2778; justify-self: center; }
.hero-device img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border: 8px solid #111522; border-radius: 3.2rem; box-shadow: 0 40px 90px rgba(0,0,0,.58), 0 0 70px var(--glow); }
.orbit { position: absolute; inset: 15% -35%; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 50%; transform: rotate(-19deg); box-shadow: 0 0 90px var(--glow); }
.section { padding: 6.5rem 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); font-size: 1.12rem; }
.section-heading.compact { grid-template-columns: 1fr; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-grid article { min-height: 230px; padding: 2rem; border: 1px solid var(--line); border-radius: 1.6rem; background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-strong) 75%, transparent)); }
.feature-grid p { color: var(--muted); }
.feature-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1.4rem; border-radius: .9rem; background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); font-size: 1.25rem; }
.screenshots { display: grid; grid-template-columns: repeat(6, minmax(220px, 1fr)); gap: 1.2rem; overflow-x: auto; padding: .5rem .2rem 1.5rem; scroll-snap-type: x mandatory; }
.screenshots-four { grid-template-columns: repeat(4, minmax(240px, 1fr)); }
figure { margin: 0; scroll-snap-align: start; }
figure img { width: 100%; aspect-ratio: 1284 / 2778; object-fit: cover; border: 5px solid #151a26; border-radius: 2.2rem; box-shadow: 0 20px 45px rgba(0,0,0,.36); }
figcaption { padding: .9rem .4rem 0; color: var(--muted); font-size: .9rem; }
.cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; margin: 3rem 0 7rem; padding: 2.2rem; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 2rem; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface)); }
.cta > img { border-radius: 22%; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.cta h2 { margin-bottom: .5rem; font-size: clamp(1.8rem, 4vw, 3rem); }
.cta p:last-child { margin-bottom: 0; color: var(--muted); }
.legal { max-width: 850px; }
.legal h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.legal h3 { margin-top: 2.2rem; }
.legal p, address { color: var(--muted); font-style: normal; }
.legal a { color: var(--accent); }
footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--line); color: var(--muted); }
footer p { margin: 0; }

@media (max-width: 800px) {
    .site-header { width: 100%; padding-inline: 1rem; }
    nav { display: none; }
    main, footer { width: min(calc(100% - 2rem), var(--max)); }
    .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 4rem; }
    .hero-device { width: auto; height: min(62vh, 560px); }
    .section-heading { grid-template-columns: 1fr; gap: .5rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .cta { grid-template-columns: auto 1fr; }
    .cta .store-button { grid-column: 1 / -1; justify-self: start; }
    footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
