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

:root {
    --bg: #ffffff;
    --bg-alt: #f6f8fa;
    --text: #1a1f2b;
    --text-muted: #5a6472;
    --accent: #2f6feb;
    --border: #e3e8ef;
    --radius: 10px;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 17px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--accent);
    color: #fff;
    border-radius: 7px;
    font-weight: 700;
    font-size: 15px;
}

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

.main-nav a {
    margin-left: 24px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 15px;
    transition: color .15s;
}
.main-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
    padding: 96px 0 80px;
    background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 32px;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: background .15s;
}
.btn-primary:hover { background: #2559c4; }

/* Sections */
section h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.services { padding: 72px 0; background: var(--bg-alt); }

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

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
}

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

.card p {
    font-size: 15px;
    color: var(--text-muted);
}

.about { padding: 72px 0; }
.about p { color: var(--text-muted); margin-bottom: 14px; max-width: 720px; }

.contact {
    padding: 64px 0 80px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}
.contact p { color: var(--text-muted); margin-bottom: 8px; }

.contact-email {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 16px;
    color: var(--accent) !important;
    font-weight: 600;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    background: #fff;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 18px;
}
.footer-links a:hover { color: var(--accent); }

/* Mobile */
@media (max-width: 640px) {
    .hero { padding: 64px 0 56px; }
    .hero h1 { font-size: 28px; }
    .hero-sub { font-size: 16px; }
    .main-nav a { margin-left: 14px; font-size: 14px; }
    .logo-text { font-size: 15px; }
    section h2 { font-size: 22px; }
}
