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

:root {
    --accent: #007AFF;
    --bg: #000;
    --bg-2: #0a0a0a;
    --bg-3: #1c1c1e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #6e6e73;
    --border: #2c2c2e;
    --radius: 20px;
    --radius-sm: 12px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --max-w: 960px;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #fff;
        --bg-2: #f5f5f7;
        --bg-3: #e8e8ed;
        --text: #1d1d1f;
        --text-2: #424245;
        --text-3: #6e6e73;
        --border: #d2d2d7;
    }
}

html {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

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

/* Nav */
.site-header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

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

.nav-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-brand span {
    color: var(--accent);
}

/* Hero */
.hero {
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--border);
}

.hero-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
    max-width: 680px;
}

.hero h1 em {
    font-style: normal;
    color: var(--text-2);
}

.hero p {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-2);
    line-height: 1.7;
    max-width: 520px;
}

/* Apps section */
.apps {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 36px;
}

.app-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}

.app-card:last-child { border-bottom: none; }

.app-card:hover { opacity: 0.7; }

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    overflow: hidden;
    flex-shrink: 0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.app-info p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
}

.app-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.app-platform {
    font-size: 12px;
    color: var(--text-3);
    text-align: right;
}

.app-status {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 980px;
    border: 1px solid var(--border);
    color: var(--text-3);
}

.app-status.live {
    border-color: rgba(52, 199, 89, 0.3);
    background: rgba(52, 199, 89, 0.08);
    color: #34c759;
}

.app-arrow {
    color: var(--text-3);
    font-size: 18px;
}

/* About */
.about {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.about p {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-2);
    line-height: 1.75;
    max-width: 600px;
}

.about p + p {
    margin-top: 16px;
}

/* Footer */
.site-footer {
    padding: 32px 0;
}

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

.footer-copy {
    font-size: 13px;
    color: var(--text-3);
}

.footer-link {
    font-size: 13px;
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-link:hover { color: var(--text-2); }

@media (max-width: 600px) {
    .hero { padding: 64px 0 56px; }
    .apps, .about { padding: 56px 0; }

    .app-card {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .app-meta {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
    }

    .app-arrow { display: none; }
}
