:root {
    --bg: #eef1f6;
    --surface: #ffffff;
    --border: #cdd5e0;
    --text: #1a2332;
    --text-muted: #5a6a80;
    --accent: #3d6b8e;
    --accent-hover: #2a5070;
    --radius: 12px;
    --max-width: 960px;
}

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

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

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px 24px;
}

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

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* Main */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 640px;
}

.hero p {
    margin-top: 24px;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
}

/* Apps preview */
.apps-preview {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.apps-preview h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

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

.app-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s;
}

.app-card:hover {
    border-color: #a0afc0;
}

.app-card .app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--border);
    margin-bottom: 16px;
}

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

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

.app-card.placeholder {
    border-style: dashed;
}

.link-arrow {
    display: inline-block;
    margin-top: 24px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.link-arrow::after {
    content: " \2192";
}

/* About page */
.page-header {
    padding: 80px 0 40px;
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.page-header p {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 540px;
    line-height: 1.7;
}

.content-section {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.content-section h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.content-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 600px;
}

.content-section p + p {
    margin-top: 12px;
}

/* Contact */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

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

.contact-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

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

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

/* Footer */
footer {
    margin-top: 80px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

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

/* Mobile */
@media (max-width: 600px) {
    nav {
        padding: 16px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    main {
        padding: 0 16px;
    }

    .footer-content {
        flex-direction: column;
        padding: 24px 16px;
    }
}
