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

:root {
    --bg: #fafafa;
    --fg: #111;
    --muted: #666;
    --border: #e0e0e0;
    --accent: #0057ff;
    --card-bg: #fff;
    --section-alt: #f4f4f4;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e0e0e;
        --fg: #eee;
        --muted: #999;
        --border: #2a2a2a;
        --accent: #4d8eff;
        --card-bg: #161616;
        --section-alt: #131313;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dot {
    color: var(--accent);
}

nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 28px;
    transition: color 0.15s;
}

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

/* Hero */
.hero {
    padding: 100px 0 80px;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 640px;
}

.subtitle {
    margin-top: 20px;
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.7;
}

/* Sections */
section {
    padding: 72px 0;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

/* Services */
.services {
    background: var(--section-alt);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
}

.card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

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

/* About */
.about p {
    color: var(--muted);
    max-width: 640px;
    font-size: 1rem;
    line-height: 1.75;
}

/* Contact */
.contact-info {
    display: flex;
    gap: 64px;
}

.contact-info h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 6px;
}

.contact-info p {
    font-size: 1rem;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    text-align: center;
}

footer p {
    font-size: 0.85rem;
    color: var(--muted);
}

.reg {
    margin-top: 4px;
    font-size: 0.8rem !important;
}

/* Mobile */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .hero {
        padding: 64px 0 48px;
    }

    section {
        padding: 48px 0;
    }

    .contact-info {
        flex-direction: column;
        gap: 24px;
    }
}
