:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f7f8fa;
    --color-text: #1a1d24;
    --color-text-muted: #5a6270;
    --color-accent: #2d4ef5;
    --color-border: #e4e7ec;
    --max-width: 1080px;
    --radius: 10px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
.site-header {
    border-bottom: 1px solid var(--color-border);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.site-header nav {
    display: flex;
    gap: 28px;
}

.site-header nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.site-header nav a:hover {
    color: var(--color-text);
}

/* Hero */
.hero {
    padding: clamp(60px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.tagline {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    color: var(--color-text-muted);
    max-width: 720px;
    margin-bottom: 24px;
}

.lead {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 680px;
}

/* Sections */
section {
    padding: clamp(48px, 7vw, 88px) 0;
}

section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 36px;
}

/* Apps */
.apps {
    background-color: var(--color-bg-alt);
}

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

.app-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

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

.app-card p {
    color: var(--color-text-muted);
    font-size: 0.98rem;
}

/* Contact */
.contact p {
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.contact-email {
    font-size: 1.25rem;
    font-weight: 500;
}

.contact-email a {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

.contact-email a:hover {
    border-bottom-color: var(--color-accent);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 28px 0;
    background-color: var(--color-bg-alt);
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.site-footer nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.site-footer nav a:hover {
    color: var(--color-text);
}

/* Legal page */
.legal-content {
    padding: clamp(48px, 7vw, 80px) 0;
}

.legal-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.legal-content p,
.legal-content li {
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 600px) {
    .site-header nav {
        gap: 18px;
    }
    .site-header nav a {
        font-size: 0.9rem;
    }
    .site-footer .container {
        flex-direction: column;
        text-align: center;
    }
}
