/* Kresling Passage — shared site styles. No web fonts or third-party
   requests: the privacy policy promises no tracking, and that includes
   font CDNs. */

:root {
    --bg: #050b1c;
    --bg-raised: #0c1733;
    --text: #e8eefc;
    --text-dim: #9fb0d4;
    --accent: #8cc4ff;
    --accent-glow: rgba(140, 196, 255, 0.35);
    --rule: rgba(140, 196, 255, 0.18);
    --max: 46rem;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(ellipse at 50% -10%, #12285a 0%, transparent 60%),
        var(--bg);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

/* Header / nav */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    max-width: 64rem;
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.brand img { width: 32px; height: 32px; }
.brand:hover { text-decoration: none; }

.site-nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }
.site-nav a { color: var(--text-dim); }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--text); }

main {
    flex: 1;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 1rem 1.5rem 4rem;
}

/* Landing hero */

.hero { text-align: center; padding: 2.5rem 0 1.5rem; }

.hero-icon {
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 0 40px var(--accent-glow));
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    letter-spacing: 0.06em;
    margin: 1rem 0 0.25rem;
    font-weight: 700;
}

.tagline {
    color: var(--text-dim);
    font-size: 1.2rem;
    margin: 0 auto 2rem;
    max-width: 32rem;
}

.badge-slot { margin: 1.5rem 0 0.5rem; }
.badge-slot img { height: 54px; }

.coming-soon {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    color: var(--text-dim);
}

.platforms { color: var(--text-dim); font-size: 0.9rem; }

/* Content */

h1 { font-size: 2rem; margin: 1.5rem 0 0.5rem; }
h2 {
    font-size: 1.3rem;
    margin: 2.5rem 0 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
}
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }

.lede { color: var(--text-dim); font-size: 1.1rem; }
.updated { color: var(--text-dim); font-size: 0.9rem; }

.story p { font-size: 1.1rem; }

.features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
    gap: 1rem;
}
.features li {
    background: var(--bg-raised);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 1rem 1.1rem;
}
.features strong { display: block; margin-bottom: 0.25rem; }
.features span { color: var(--text-dim); font-size: 0.95rem; }

.contact-card {
    background: var(--bg-raised);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    margin: 1.5rem 0;
}
.contact-card .address { font-size: 1.15rem; font-weight: 600; }

details {
    border-bottom: 1px solid var(--rule);
    padding: 0.75rem 0;
}
summary { cursor: pointer; font-weight: 600; }
details p, details ul { color: var(--text-dim); margin: 0.5rem 0 0.25rem; }

kbd {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 0.85em;
    padding: 0.05rem 0.35rem;
    border: 1px solid var(--rule);
    border-radius: 4px;
    background: var(--bg-raised);
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--rule);
    color: var(--text-dim);
    font-size: 0.85rem;
    text-align: center;
    padding: 1.5rem;
}
.site-footer nav { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: 0.5rem; }
.site-footer p { margin: 0.25rem 0; }
