/* Linear / Vercel style */

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

:root {
    --bg: #000000;
    --bg-secondary: #0a0a0a;
    --border: #1a1a1a;
    --border-hover: #333333;
    --text: #ededed;
    --text-secondary: #a1a1a1;
    --text-tertiary: #666666;
    --accent: #ffffff;
    --gradient-start: #7c3aed;
    --gradient-end: #2563eb;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Layout */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--accent);
}

nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

nav li {
    padding: 0;
    border: none;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s ease;
}

nav a:hover,
nav a.active {
    color: var(--text);
}

/* Main content */
main {
    padding: 80px 0 120px;
}

/* Typography */
h1 {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to bottom right, #ffffff 30%, #a1a1a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Links */
a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--accent);
}

/* Sections */
section {
    margin-bottom: 80px;
}

section:last-child {
    margin-bottom: 0;
}

/* Cards / Service blocks */
.service-block {
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.service-block:hover {
    border-color: var(--border-hover);
    background: #0f0f0f;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-block p {
    color: var(--text-tertiary);
    font-size: 15px;
    margin-bottom: 0;
}

/* Lists */
ul {
    list-style: none;
}

li {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

li:last-child {
    border-bottom: none;
}

/* CTA */
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bg);
    background: var(--text);
    border-radius: 8px;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.cta-link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: var(--bg);
}

/* Divider */
.section-divider {
    padding-top: 80px;
    border-top: 1px solid var(--border);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 13px;
    color: var(--text-tertiary);
    margin: 0;
}

footer a {
    color: var(--text-tertiary);
    font-size: 13px;
}

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

/* Legal page */
.legal-section {
    margin-bottom: 48px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h3 {
    margin-bottom: 16px;
}

.legal-section p {
    font-size: 15px;
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .site-header .container {
        height: 56px;
    }

    nav ul {
        gap: 20px;
    }

    nav a {
        font-size: 13px;
    }

    main {
        padding: 48px 0 80px;
    }

    h1 {
        font-size: 32px;
    }

    .lead {
        font-size: 17px;
    }

    section {
        margin-bottom: 56px;
    }

    .section-divider {
        padding-top: 56px;
    }

    .service-block {
        padding: 20px;
    }

    footer .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
