:root {
    color-scheme: dark;
    --accent: #ff9500;
    --background: #000000;
    --surface: #17191e;
    --text: #f5f6f7;
    --muted: #b7bbc3;
    --border: #2b2f37;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at center, #17130d 0%, #000000 72%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

.landing {
    display: grid;
    min-height: 100svh;
    grid-template-rows: 1fr auto;
    overflow: hidden;
}

.landing-content {
    display: grid;
    width: 100%;
    min-height: 0;
    min-width: 0;
    place-items: center;
    padding: 32px;
}

.app-icon {
    display: block;
    width: min(250px, 39vw, 33vh);
    max-width: 100%;
    height: auto;
}

.landing-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 4px;
    color: #777b84;
    font-size: 0.82rem;
}

.landing-footer a,
.document-nav a { color: #9da1aa; text-decoration: none; }
.landing-footer a:hover,
.landing-footer a:focus-visible,
.document-nav a:hover,
.document-nav a:focus-visible { color: var(--text); }

.document { width: min(760px, calc(100% - 32px)); margin: 48px auto; }
.document-nav { display: flex; justify-content: space-between; margin-bottom: 36px; font-size: 0.9rem; }
header { border-bottom: 1px solid var(--border); margin-bottom: 32px; padding-bottom: 24px; }
h1, h2 { line-height: 1.2; }
h1 { font-size: 2.3rem; margin: 0 0 8px; }
h2 { font-size: 1.15rem; margin-top: 32px; }
p, li { color: var(--muted); }
a { color: var(--accent); }
.brand { color: var(--accent); font-weight: 700; }
.meta { font-size: 0.92rem; }
.notice { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; }
footer { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 20px; }

@media (max-width: 560px) {
    .landing-content { padding: 20px; }
    .app-icon { width: min(500px, 92vw); }
    .document { margin-top: 24px; }
    h1 { font-size: 2rem; }
}
