:root {
    --text-color: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --surface-alt: #f5f5f7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

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

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

::selection {
    background: rgba(0, 113, 227, 0.18);
}

/* Buttons */

.btn-primary {
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    background: var(--accent);
    padding: 12px 28px;
    border-radius: 980px;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    text-decoration: none;
}

.btn-secondary {
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    color: var(--accent);
    background: #ffffff;
    border: 1px solid var(--accent);
    padding: 11px 27px;
    border-radius: 980px;
}

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.06);
    text-decoration: none;
}

/* Nav */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.nav-logo:hover {
    color: var(--text-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 13px;
    color: #424245;
}

.nav-link:hover {
    color: var(--text-color);
    text-decoration: none;
}

.btn-nav {
    font-size: 13px;
    padding: 6px 16px;
}

/* Hero */

.hero {
    text-align: center;
    padding: 96px 22px 0;
}

.hero-eyebrow {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.01em;
}

.hero h1 {
    margin: 0 auto;
    max-width: 720px;
    font-size: 64px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-subtitle {
    margin: 24px auto 0;
    max-width: 560px;
    font-size: 21px;
    line-height: 1.5;
    color: var(--text-secondary);
    text-wrap: pretty;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.text-link {
    font-size: 17px;
}

/* Browser frame around the interactive demo */

.browser-frame {
    max-width: 980px;
    margin: 72px auto 0;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.08);
    background: var(--surface-alt);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #ececef;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d9d9de;
}

/* Interactive demo on desktop; the video takes over on small/touch screens
   where the dock's hover interactions can't work. */
.demo-frame {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

.demo-fallback {
    display: none;
    width: 100%;
    height: auto;
}

@media (max-width: 720px), (hover: none) {
    .demo-frame {
        display: none;
    }

    .demo-fallback {
        display: block;
    }
}

/* Sections */

.section {
    padding: 110px 22px;
}

.section-alt {
    background: var(--surface-alt);
}

.section h2 {
    margin: 0;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-align: center;
    text-wrap: balance;
}

.section-inner {
    max-width: 980px;
    margin: 0 auto;
}

.section-subtitle {
    margin: 12px auto 64px;
    max-width: 480px;
    font-size: 19px;
    color: var(--text-secondary);
    text-align: center;
    text-wrap: pretty;
}

/* Narrative */

.narrative-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.narrative-inner p {
    margin: 22px 0 0;
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-secondary);
    text-wrap: pretty;
}

/* Features */

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

.feature-card {
    background: var(--surface-alt);
    border-radius: 18px;
    padding: 32px 28px;
}

.feature-glyph {
    font-size: 22px;
    color: var(--accent);
    font-weight: 600;
}

.feature-card h3 {
    margin: 10px 0 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-card p {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-secondary);
    text-wrap: pretty;
}

/* How it works */

.steps-inner {
    max-width: 780px;
    margin: 0 auto;
}

.steps {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    align-items: start;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--accent);
}

.step-body h3 {
    margin: 0;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.step-body p {
    margin: 6px 0 0;
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-secondary);
    text-wrap: pretty;
}

/* CTA */

.cta {
    padding: 120px 22px;
    text-align: center;
}

.cta h2 {
    margin: 0 auto;
    max-width: 560px;
    font-size: 48px;
}

.cta-actions {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.fine-print {
    margin: 20px 0 0;
    font-size: 13px;
    color: var(--text-tertiary);
}

.fine-print a {
    color: var(--text-secondary);
    text-decoration: underline;
}

.tip-line {
    margin: 48px auto 0;
    max-width: 440px;
    font-size: 15px;
    color: var(--text-secondary);
}

/* Footer */

.footer {
    background: var(--surface-alt);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 28px 22px;
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.footer-inner a {
    color: #515154;
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* Responsive */

@media (max-width: 600px) {
    .nav-link {
        display: none;
    }

    .hero {
        padding-top: 64px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .browser-frame {
        margin-top: 48px;
    }

    .section {
        padding: 72px 22px;
    }

    .section h2 {
        font-size: 32px;
    }

    .cta {
        padding: 80px 22px;
    }

    .cta h2 {
        font-size: 36px;
    }
}
