/* ══════════════════════════════════════
   torekut.com
══════════════════════════════════════ */
:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --border: #e5e5e5;
    --accent: #2563eb;
    --max: 760px;
    --nav-h: 60px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111111;
        --text: #ededed;
        --muted: #9a9a9a;
        --border: #2a2a2a;
        --accent: #60a5fa;
    }
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Navbar ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--nav-h);
}
.logo { font-weight: 700; color: var(--text); }
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 20px; }
.nav a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}
.nav a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ── */
.hero { padding: 96px 0 64px; }
.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.hero .role {
    color: var(--muted);
    font-size: 1.15rem;
    margin-top: 6px;
}

/* ── Sections ── */
.section {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    scroll-margin-top: var(--nav-h);
}
.section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ── Footer ── */
.footer {
    padding-top: 32px;
    padding-bottom: 32px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.875rem;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    :root { --nav-h: 96px; }
    .navbar-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
    }
    .nav { gap: 16px; width: 100%; overflow-x: auto; }
    .hero { padding: 64px 0 40px; }
    .hero h1 { font-size: 2rem; }
}
