:root {
    --bg: #fafafa;
    --bg-alt: #f0f0f0;
    --text: #111111;
    --muted: #5c5c5c;
    --border: #e0e0e0;
    --accent: #111111;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.85;
}

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.narrow {
    max-width: 640px;
}

.wide {
    max-width: 1200px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(250, 250, 250, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.5rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.95rem;
}

nav a {
    color: var(--muted);
}

.nav-cta {
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.nav-made-by {
    color: var(--text);
    font-weight: 500;
}

.hero {
    padding: 5rem 0 4rem;
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    max-width: 720px;
}

.eyebrow {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.lead {
    color: var(--muted);
    font-size: 1.125rem;
    max-width: 36rem;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
}

.hero-note {
    color: var(--muted);
    font-size: 0.875rem;
}

.screenshots {
    padding: 5rem 0;
}

.phone-shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.phone-shot {
    margin: 0;
    text-align: center;
}

.phone-frame {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 9 / 19.5;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    overflow: hidden;
    background:
        linear-gradient(160deg, #f5f5f5 0%, #eaeaea 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.phone-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-shot figcaption {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section h2 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.section p strong {
    color: var(--text);
}

.diagram {
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.diagram img {
    display: block;
    width: 100%;
    height: auto;
}

.steps {
    color: var(--muted);
    padding-left: 1.25rem;
}

.steps li {
    margin-bottom: 0.5rem;
}

.feature-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem 1.5rem;
    color: var(--muted);
}

.feature-grid li::before {
    content: "— ";
    color: var(--text);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    background: var(--bg);
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    font-size: 0.95rem;
}

.center-link {
    text-align: center;
}

.center-link a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

code {
    font-family: ui-monospace, monospace;
    font-size: 0.9em;
    color: var(--text);
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0 2rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

@media (max-width: 640px) {
    nav a:not(.nav-cta):not(.nav-made-by) {
        display: none;
    }

    .hero {
        padding-top: 3rem;
    }

    .phone-shots {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 2.5rem;
    }

    .phone-frame {
        max-width: 300px;
    }
}
