/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #0f172a; background: #ffffff; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:root {
	--bg: #0b1220;
	--bg-2: #0f1a2f;
	--card: #0f172a;
	--muted: #94a3b8;
	--primary: #28d27d;
	--primary-600: #18b565;
	--accent: #60a5fa;
	--border: #1f2a44;
	--surface: #0b1220;
	--shadow: 0 10px 25px rgba(2, 6, 23, 0.35);
}

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.header { position: sticky; top: 0; z-index: 1000; background: linear-gradient(180deg, rgba(11,18,32,0.95), rgba(11,18,32,0.85)); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #e2e8f0; }
.brand img { height: 28px; }

.nav { display: none; align-items: center; gap: 12px; }
.nav a { padding: 10px 12px; border-radius: 10px; color: #e5e7eb; transition: background 0.2s ease, color 0.2s ease; }
.nav a:hover { background: #111827; color: #ffffff; }

.actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 600; border: 1px solid transparent; transition: transform 0.06s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #031b0f; }
.btn-primary:hover { background: var(--primary-600); }
.btn-outline { background: transparent; color: #e5e7eb; border-color: #334155; }
.btn-outline:hover { border-color: #64748b; color: #ffffff; }

/* Burger */
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #22314f; background: #0b1220; cursor: pointer; padding: 10px; }
.burger:focus { outline: 2px solid #3b82f6; outline-offset: 2px; }
.burger span { display: block; height: 2px; background: #e5e7eb; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

/* Overlay Menu */
.menu-overlay { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(2, 6, 23, 0.95); display: none; z-index: 1500; }
.menu-panel { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; }
.menu-header { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.menu-header .brand img { height: 28px; }
.menu-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #22314f; background: #0b1220; color: #e5e7eb; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.menu-body { flex: 1; overflow-y: auto; padding: 24px 16px 40px; }
.menu-links { display: grid; gap: 12px; }
.menu-links a { display: block; padding: 16px; border-radius: 12px; background: #0f172a; color: #e5e7eb; border: 1px solid #1f2a44; }
.menu-links a:hover { background: #101c34; }
.menu-actions { margin-top: 16px; display: flex; gap: 10px; }
.menu-overlay.open { display: block; }

/* Hero and sections */
.hero { background: radial-gradient(1200px 600px at 50% -200px, #0f1a2f, #0b1220); color: #e2e8f0; border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; gap: 24px; grid-template-columns: 1.2fr; padding: 40px 10px; }
.hero h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.hero .lead { color: var(--muted); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-media { border-radius: 16px; overflow: hidden; border: 1px solid #1f2a44; box-shadow: var(--shadow); }

@media (min-width: 900px) {
	.hero-inner { grid-template-columns: 1.1fr 1fr; align-items: center; }
	.nav { display: flex; }
	.burger { display: none; }
}

main { background: #0a1223; color: #cbd5e1; }
section { border-top: 1px solid #101a30; }
.section { padding: 48px 0; }
.section h2 { color: #e2e8f0; font-size: 24px; margin: 0 0 12px; }
.section h3 { color: #cbd5e1; font-size: 18px; margin: 20px 0 8px; }
.section p { margin: 0 0 12px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #0f172a; border: 1px solid #1f2a44; border-radius: 14px; padding: 16px; }

/* Tables with horizontal scroll on small screens */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #1f2a44; border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #1f2a44; }
.table th { background: #0b162c; color: #93c5fd; position: sticky; top: 0; }

/* Footer */
.footer { background: #070d19; color: #94a3b8; border-top: 1px solid #101a30; }
.footer-inner { display: grid; gap: 20px; grid-template-columns: 1fr; padding: 32px 10px; }
.footer .brand { color: #e2e8f0; }
.footer .links { display: grid; gap: 8px; }
.footer small { color: #6b7280; }

@media (min-width: 900px) {
	.footer-inner { grid-template-columns: 1fr 1fr 1fr; }
}

/* Utilities */
.muted { color: var(--muted); }
.space { height: 8px; }

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; padding: 8px 12px; background: #111827; color: #fff; border-radius: 8px; }
