/* Orvo landing — keeps the app's dark theme, indie feel. */

:root {
    --bg-darkest: #14152a;
    --bg-dark: #1f2030;
    --bg-panel: #2b2d42;
    --bg-panel-alt: #23253a;
    --bg-hover: #3d3f5a;
    --accent: #5865f2;
    --accent-hover: #7782f5;
    --success: #4caf50;
    --text-primary: #edf2f4;
    --text-muted: #b8becd;
    --text-faint: #6e748d;
    --border: rgba(255, 255, 255, 0.06);
    --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(1100px 600px at 50% -200px, rgba(88, 101, 242, 0.18), transparent 70%),
                var(--bg-dark);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- in-development banner ---------- */
.dev-banner {
    background: linear-gradient(90deg, #b3551d 0%, #d96a2a 100%);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.dev-banner strong {
    margin-right: 6px;
}

/* ---------- topbar ---------- */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    background: rgba(20, 21, 42, 0.6);
    position: sticky;
    top: 0;
    z-index: 100;
}
.topbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
}
.topbar__icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}
.topbar__nav {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 14px;
}
.topbar__nav a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

/* ---------- hero ---------- */
.hero {
    text-align: center;
    padding: 96px 24px 72px;
    max-width: 880px;
    margin: 0 auto;
}
.hero__headline {
    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}
.hero__sub {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 17px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.hero__cta {
    margin-top: 36px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero__version {
    margin-top: 16px;
    color: var(--text-faint);
    font-size: 13px;
}

.cta {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.08s ease, background 0.15s ease;
}
.cta:hover { text-decoration: none; transform: translateY(-1px); }
.cta--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.35);
}
.cta--primary:hover { background: var(--accent-hover); }
.cta--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.cta--ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- downloads ---------- */
.downloads {
    padding: 48px 24px;
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
}
.section-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.section-sub {
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 28px;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.dl-card {
    display: block;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--bg-panel);
    border: 1px solid var(--border);
    transition: transform 0.08s ease, border-color 0.15s ease, background 0.15s ease;
}
.dl-card:hover {
    border-color: rgba(88, 101, 242, 0.5);
    transform: translateY(-1px);
    text-decoration: none;
    background: var(--bg-panel-alt);
}
.dl-card--match {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.35);
    position: relative;
}
.dl-card--match::before {
    content: 'Recommended for you';
    position: absolute;
    top: -10px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(88, 101, 242, 0.4);
}
.dl-card__os {
    font-weight: 600;
    font-size: 16px;
}
.dl-card__arch {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 2px;
}
.dl-card__file {
    color: var(--text-faint);
    font-size: 12px;
    margin-top: 12px;
    font-variant-numeric: tabular-nums;
}
.dl-card--soon {
    cursor: default;
    opacity: 0.55;
}
.dl-card--soon:hover {
    transform: none;
    border-color: var(--border);
    background: var(--bg-panel);
}

.server-note {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 14px;
}
.server-note code {
    font-family: 'SF Mono', Menlo, monospace;
    background: rgba(255, 255, 255, 0.06);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13px;
}

/* ---------- footer ---------- */
.foot {
    margin-top: auto;
    padding: 28px 32px;
    color: var(--text-faint);
    font-size: 13px;
    text-align: center;
    border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
    .hero { padding: 56px 18px 40px; }
    .hero__headline { font-size: 32px; }
    .hero__sub { font-size: 15px; }
    .topbar { padding: 14px 18px; }
}
