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

:root {
    --cream: #FAF7F2;
    --ink: #2D3A3A;
    --accent: #F5B942;
    --pink: #E07A9A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--cream);
    min-height: 100vh;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--ink);
    color: var(--cream);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(45, 58, 58, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--ink);
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.7;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ink);
}

.logo-text {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    padding: 4rem 0 2rem;
    max-width: 800px;
}

.hero-label {
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(45, 58, 58, 0.5);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-weight: 400;
    font-style: italic;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(45, 58, 58, 0.7);
    font-weight: 300;
    max-width: 600px;
}

/* Status Bar */
.status-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 1px solid rgba(45, 58, 58, 0.1);
    border-radius: 2px;
    margin: 2rem 0;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.3s;
}

.status-dot.connected {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.status-dot.disconnected {
    background: #ef4444;
}

.status-text {
    font-size: 0.875rem;
    color: rgba(45, 58, 58, 0.6);
}

/* App Grid */
.section-label {
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(45, 58, 58, 0.5);
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(45, 58, 58, 0.1);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex: 1;
}

.app-card {
    background: white;
    border: 1px solid rgba(45, 58, 58, 0.1);
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    background: rgba(45, 58, 58, 0.02);
    border-color: rgba(45, 58, 58, 0.2);
}

.app-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.app-icon {
    font-size: 2rem;
}

.app-tag {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(45, 58, 58, 0.2);
    border-radius: 2px;
    color: rgba(45, 58, 58, 0.6);
}

.app-card h2 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.app-card p {
    font-size: 0.95rem;
    color: rgba(45, 58, 58, 0.6);
    line-height: 1.6;
    flex-grow: 1;
}

.app-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(45, 58, 58, 0.4);
    transition: all 0.3s;
}

.app-card:hover .app-arrow {
    color: var(--ink);
    transform: translateX(4px);
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(45, 58, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: rgba(45, 58, 58, 0.4);
}

footer a {
    color: rgba(45, 58, 58, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--ink);
}

/* Steps Section */
.steps-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    border: 1px solid rgba(45, 58, 58, 0.1);
    padding: 1.5rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--ink);
    color: var(--cream);
    font-size: 1rem;
    font-weight: 600;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.step-content p {
    font-size: 0.95rem;
    color: rgba(45, 58, 58, 0.6);
    line-height: 1.6;
}

.step-content a {
    color: var(--ink);
    text-decoration: underline;
    transition: opacity 0.3s;
}

.step-content a:hover {
    opacity: 0.7;
}

/* Requirements Section */
.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.requirement-card {
    background: white;
    border: 1px solid rgba(45, 58, 58, 0.1);
    padding: 1.5rem;
}

.requirement-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.requirement-card p {
    font-size: 0.95rem;
    color: rgba(45, 58, 58, 0.6);
    line-height: 1.8;
}

.requirement-card a {
    color: var(--ink);
    text-decoration: underline;
    transition: opacity 0.3s;
}

.requirement-card a:hover {
    opacity: 0.7;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    header {
        padding: 1.5rem 0;
    }

    .hero {
        padding: 2rem 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .step {
        padding: 1rem;
    }

    .requirements {
        grid-template-columns: 1fr;
    }
}
