/*
 * One Music Online — shared design system
 * onemusic.online
 *
 * Palette: ink + navy (matches One Music Media corporate site)
 * Font: Inter via Google Fonts (display + body)
 * Light/dark via [data-theme]
 *
 * Aesthetic: serious · modern · understated · professional
 */

/* ── Custom Properties ── */
:root, [data-theme="light"] {
    --ink-900: #0B0C10;
    --ink-800: #141619;
    --ink-700: #2D3037;
    --ink-600: #4A4E59;
    --ink-500: #6B7080;
    --ink-400: #8A8F9E;
    --ink-300: #B0B5C1;
    --ink-200: #D1D5DF;
    --ink-100: #EAECEF;
    --ink-50:  #F4F5F7;

    --navy-900: #0F1D32;
    --navy-800: #162744;
    --navy-700: #1C3559;
    --navy-600: #244472;
    --navy-500: #2E5A8C;
    --navy-400: #3B72B0;
    --navy-300: #5B8EC9;
    --navy-200: #8EB4E2;
    --navy-100: #BFD4F1;
    --navy-50:  #E3EDF7;

    --primary: var(--navy-700);
    --primary-dark: var(--navy-800);
    --primary-light: var(--navy-400);
    --primary-glow: rgba(28, 53, 89, 0.10);
    --primary-glow-strong: rgba(28, 53, 89, 0.18);

    --accent: var(--ink-900);
    --accent-dark: var(--navy-700);

    --text: var(--ink-900);
    --text-secondary: var(--ink-700);
    --text-muted: var(--ink-500);

    --surface: #FFFFFF;
    --surface-2: var(--ink-50);
    --surface-3: var(--ink-100);
    --border: var(--ink-200);
    --border-strong: var(--ink-300);

    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-blur: blur(20px);

    --shadow-sm: 0 1px 2px rgba(11, 12, 16, 0.04);
    --shadow: 0 2px 8px rgba(11, 12, 16, 0.06);
    --shadow-md: 0 4px 16px rgba(11, 12, 16, 0.08);
    --shadow-lg: 0 8px 32px rgba(11, 12, 16, 0.10);
    --shadow-xl: 0 16px 48px rgba(11, 12, 16, 0.12);

    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    --font-display: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', system-ui, sans-serif;

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

[data-theme="dark"] {
    --primary: var(--navy-400);
    --primary-dark: var(--navy-500);
    --primary-light: var(--navy-300);
    --primary-glow: rgba(59, 114, 176, 0.12);
    --primary-glow-strong: rgba(59, 114, 176, 0.20);

    --accent: var(--primary);
    --accent-dark: var(--navy-300);

    --text: #E8EAF0;
    --text-secondary: #B0B5C1;
    --text-muted: #6B7080;

    --surface: #0B0C10;
    --surface-2: #141619;
    --surface-3: #1E2028;
    --border: #2D3037;
    --border-strong: #4A4E59;

    --glass-bg: rgba(11, 12, 16, 0.90);
    --glass-border: rgba(255, 255, 255, 0.04);
    --glass-blur: blur(20px);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.55);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
}

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 76px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

[data-theme="dark"] a:hover {
    color: var(--primary-light);
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--text);
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

strong {
    font-weight: 600;
    color: var(--text);
}

/* ── Utility ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--narrow {
    max-width: 780px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.625rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--ink-900);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .btn--primary {
    background: var(--primary);
}

.btn--primary:hover {
    background: var(--navy-800);
    box-shadow: var(--shadow-md);
    color: #fff;
}

[data-theme="dark"] .btn--primary:hover {
    background: var(--primary-dark);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-strong);
}

.btn--outline:hover {
    border-color: var(--ink-900);
    color: var(--ink-900);
    background: var(--surface-2);
}

[data-theme="dark"] .btn--outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: var(--primary-glow);
}

.btn--ghost {
    background: var(--glass-bg);
    color: var(--text);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.btn--ghost:hover {
    background: var(--surface-3);
    color: var(--text);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

/* Arrow icon helper */
.btn .arrow {
    display: inline-block;
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.btn:hover .arrow {
    transform: translateX(2px);
}

/* ── Navigation ── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.nav.scrolled {
    box-shadow: var(--shadow);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.nav__brand:hover {
    text-decoration: none;
    color: var(--text);
}

.nav__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.nav__links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav__links a:hover {
    color: var(--text);
    background: var(--surface-3);
    text-decoration: none;
}

.nav__links a.active {
    color: var(--text);
    background: var(--surface-3);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__cta {
    background: var(--ink-900);
    color: #fff !important;
    padding: 0.4375rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8125rem;
}

[data-theme="dark"] .nav__cta {
    background: var(--primary);
    color: var(--ink-900) !important;
}

.nav__cta:hover {
    background: var(--navy-800);
    color: #fff !important;
    text-decoration: none;
}

[data-theme="dark"] .nav__cta:hover {
    background: var(--primary-dark);
    color: var(--ink-900) !important;
}

.theme-toggle {
    background: var(--surface-2);
    color: var(--text-muted);
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--text);
    border-color: var(--border-strong);
    background: var(--surface-3);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mobile nav */
.nav__menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
}

.nav__menu-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 768px) {
    .nav__menu-btn {
        display: block;
    }
    .nav__links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 0.75rem 1.5rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }
    .nav__links.open {
        display: flex;
    }
    .nav__links a {
        padding: 0.75rem 0.875rem;
        width: 100%;
    }
}

/* ── Hero Section ── */
.hero {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse at center, var(--primary-glow-strong) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero__subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3125rem 0.875rem;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid var(--primary-glow-strong);
    letter-spacing: 0.02em;
}

.hero__subtitle-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    margin-bottom: 1.25rem;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--ink-900) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    flex-wrap: wrap;
}

/* ── Section ── */
.section {
    padding: 4.5rem 0;
}

.section--alt {
    background: var(--surface-2);
}

.section__head {
    text-align: center;
    margin-bottom: 3rem;
}

.section__head h2 {
    margin-bottom: 0.75rem;
}

.section__head p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

.section__label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* ── Cards Grid ── */
.grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
    .grid--3 {
        grid-template-columns: 1fr;
    }
    .grid--2 {
        grid-template-columns: 1fr;
    }
}

/* ── Tool Card ── */
.tool-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    text-decoration: none;
    color: var(--text);
    display: block;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    text-decoration: none;
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.tool-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.125rem;
    flex-shrink: 0;
    background: var(--primary-glow);
    color: var(--primary);
}

.tool-card__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tool-card h3 {
    margin-bottom: 0.375rem;
    font-size: 1.125rem;
}

.tool-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.tool-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.1875rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--ink-900);
    color: #fff;
}

[data-theme="dark"] .tool-card__badge {
    background: var(--primary);
    color: var(--ink-900);
}

/* ── Guide Card ── */
.guide-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    text-decoration: none;
    color: var(--text);
    display: block;
}

.guide-card:hover {
    text-decoration: none;
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.guide-card h3 {
    margin-bottom: 0.375rem;
    font-size: 1.0625rem;
}

.guide-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.guide-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.875rem;
    text-decoration: none;
}

.guide-card__link:hover {
    gap: 0.5rem;
    text-decoration: none;
}

/* ── Tool Page Shell ── */
.tool {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

.tool h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tool__sub {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.tool__panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
}

.tool__readout {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.control-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.25rem 0;
}

input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
}

select, input[type="number"] {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
}

select:focus, input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.iconbtn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.iconbtn:hover {
    border-color: var(--primary);
    background: var(--primary-glow);
    color: var(--primary);
}

/* ── SEO Prose ── */
.prose {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.prose h2 {
    font-size: 1.375rem;
    margin: 2rem 0 0.875rem;
}

.prose p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.prose ul {
    color: var(--text-muted);
    margin: 0 0 1rem 1.25rem;
}

.prose li {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
}

/* ── CTA Band ── */
.cta-band {
    background: var(--ink-900);
    border-radius: var(--radius-2xl);
    padding: 3rem 2.5rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .cta-band {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(44, 68, 114, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-band h2 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.cta-band .btn--outline {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.cta-band .btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* ── Breadcrumbs ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .sep {
    color: var(--ink-300);
}

.breadcrumb .current {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ── Blog Article ── */
.article {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.article__header {
    margin-bottom: 2rem;
}

.article__header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.article__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.article__body h2 {
    font-size: 1.375rem;
    margin: 2.5rem 0 1rem;
}

.article__body h3 {
    font-size: 1.125rem;
    margin: 2rem 0 0.75rem;
}

.article__body p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.article__body ul, .article__body ol {
    color: var(--text-secondary);
    margin: 0 0 1.5rem 1.25rem;
}

.article__body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article__body strong {
    color: var(--text);
}

.article__body a {
    font-weight: 500;
}

.article__back {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.article__back:hover {
    color: var(--primary);
}

/* ── Footer ── */
.footer {
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.0625rem;
    color: var(--text);
    margin-bottom: 0.875rem;
    text-decoration: none;
    letter-spacing: -0.03em;
}

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

.footer__desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer h4 {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.875rem;
    font-family: var(--font-body);
}

.footer a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
    text-decoration: none;
}

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

.footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal a {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer__legal a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer__brand {
        margin-bottom: 0.5rem;
    }
    .footer__desc {
        max-width: 100%;
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 3.5rem 0 2.5rem;
    }
    .hero__stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .hero__actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Fade-in animation ── */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Print ── */
@media print {
    .nav, .theme-toggle, .footer { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; }
}
