/* ===== Synephoria base ===== */
:root {
    --bg: #0b0f14;
    --card: #0f1720;
    --text: #e7ebef;
    --muted: #a9b3bf;
    --accent: #14b8ff;
    --accent-2: #ff1e8e;
    --border: #202938;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

html {
    color-scheme: dark;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

/* Layout */
.wrap {
    max-width: 1100px;
    margin: 32px auto;
    padding: 0 20px;
}

/* Header */
header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.logo {
    width: 360px;
    height: 64px;
    flex: 0 0 auto;
    background: url('/assets/logo.png') no-repeat left center / contain;
}

header h1 {
    font-size: 48px;
    line-height: 1.1;
    margin: 0 0 2px 0;
}

header nav a {
    color: var(--muted);
    text-decoration: none;
    margin-right: 14px;
}

header nav a:hover {
    color: var(--text);
}

/* Cards / sections */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.card.hero {
    padding: 28px;
}

/* Hero row with square tile + text */
.hero-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Square app-style tile (uses 512 icon) */
.logoXL {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    background: #000 url('/assets/synephoria_icon_512.png') center / 86% no-repeat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #001018;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(20, 184, 255, .35);
}

.btn[aria-disabled="true"] {
    pointer-events: none;
    opacity: .6;
}

.btn:hover {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #02121a;
}

/* Notes */
.notice {
    color: var(--muted);
}

/* Footer */
footer {
    color: var(--muted);
}

footer a {
    color: var(--muted);
}

footer a:hover {
    color: var(--text);
}

/* Social icons (header & footer) */
.social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social a {
    display: inline-flex;
    width: 28px;
    height: 28px;
    color: var(--muted);
    text-decoration: none;
}

.social a:hover {
    color: var(--text);
}

.social svg {
    width: 100%;
    height: 100%;
    display: block;
}

footer .social {
    margin-top: 10px;
}

/* Responsive */
@media (max-width:900px) {
    .logo {
        width: 280px;
        height: 50px;
    }

    header h1 {
        font-size: 36px;
    }
}

@media (max-width:640px) {
    .logo {
        width: 220px;
        height: 40px;
    }

    header h1 {
        font-size: 28px;
    }

    .wrap {
        margin: 24px auto;
    }
}