:root {
    --bg: #f5f7f0;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --surface-dark: #0f1c17;
    --text: #102019;
    --muted: #567064;
    --line: rgba(16, 32, 25, 0.08);
    --green: #81db5d;
    --green-deep: #51b947;
    --blue: #1785f5;
    --blue-soft: #d9edff;
    --lime-wash: #efffd6;
    --shadow: 0 20px 60px rgba(31, 52, 42, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: #f6f7f3;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.page-glow {
    display: none;
}

.page-glow-a {
    top: 8rem;
    left: -4rem;
    width: 18rem;
    height: 18rem;
    background: transparent;
}

.page-glow-b {
    top: 22rem;
    right: -4rem;
    width: 20rem;
    height: 20rem;
    background: transparent;
}

.section-shell {
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 14px 0 0;
}

.topbar {
    width: min(calc(100% - 20px), calc(var(--content-width) + 12px));
    margin: 0 auto;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(246, 247, 243, 0.98);
    border: 1px solid rgba(16, 32, 25, 0.08);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(16, 32, 25, 0.06);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(23, 133, 245, 0.18);
}

.brand-wordmark,
.topbar-links a,
.topbar-cta,
.eyebrow,
.proof-label,
.feature-kicker {
    font-family: "Space Grotesk", "Instrument Sans", sans-serif;
}

.brand-wordmark {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.topbar-links {
    display: none;
    align-items: center;
    gap: 18px;
}

.topbar-links a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
}

.topbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    background: var(--surface-dark);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero {
    display: grid;
    gap: 28px;
    padding: 28px 0 28px;
}

.hero-copy,
.proof-card,
.feature-panel,
.download-card,
.shot-card,
.hero-card {
    background: var(--surface);
    border: 1px solid rgba(16, 32, 25, 0.08);
    box-shadow: 0 14px 34px rgba(31, 52, 42, 0.08);
}

.hero-copy {
    padding: 28px;
    border-radius: var(--radius-xl);
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
}

.hero h1,
.section-heading h2,
.download-copy h2,
.feature-panel h3,
.shot-copy h3 {
    margin: 0;
    letter-spacing: -0.04em;
}

.hero h1 {
    font-size: clamp(2.6rem, 9vw, 5.5rem);
    line-height: 0.95;
    max-width: 11ch;
}

.hero-text,
.section-heading p,
.feature-panel p,
.download-copy p,
.shot-copy p,
.footer-copy,
.footer-note {
    color: var(--muted);
}

.hero-text {
    margin: 18px 0 0;
    font-size: 1.02rem;
    max-width: 40rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.app-store-btn img {
    display: block;
    width: auto;
    height: 56px;
}

.secondary-link {
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
}

.hero-points {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.hero-points li {
    position: relative;
    padding-left: 20px;
    color: var(--text);
}

.hero-points li::before {
    content: "";
    position: absolute;
    top: 0.62rem;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-deep), var(--blue));
}

.hero-showcase {
    padding: 10px 0 0;
}

.hero-stage {
    position: relative;
    min-height: 24rem;
    padding: 28px 18px 152px;
}

.hero-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 36px;
    overflow: hidden;
}

.hero-card img {
    width: 100%;
    height: auto;
}

.hero-shot {
    display: block;
}

.hero-shot-front {
    transform: scale(1);
    transform-origin: center;
}

.hero-card-main {
    width: min(100%, 360px);
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.hero-badge {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(15, 28, 23, 0.88);
    color: white;
    box-shadow: 0 18px 30px rgba(15, 28, 23, 0.18);
}

.hero-badge-label {
    display: block;
    margin-bottom: 6px;
    font-family: "Space Grotesk", "Instrument Sans", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(129, 219, 93, 0.96);
}

.hero-badge strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.proof-strip {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.proof-card {
    padding: 18px 20px;
    border-radius: var(--radius-lg);
}

.proof-label,
.feature-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
}

.proof-card strong {
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.screens,
.feature-layout,
.download {
    padding: 72px 0 0;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2,
.download-copy h2 {
    font-size: clamp(2rem, 7vw, 4rem);
    line-height: 0.98;
    max-width: 12ch;
}

.section-heading p {
    margin: 14px 0 0;
    max-width: 42rem;
}

.screenshot-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 78vw);
    gap: 18px;
    overflow-x: auto;
    padding: 4px 4px 14px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.screenshot-rail::-webkit-scrollbar {
    height: 6px;
}

.screenshot-rail::-webkit-scrollbar-thumb {
    background: rgba(16, 32, 25, 0.16);
    border-radius: 999px;
}

.shot-card {
    scroll-snap-align: start;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.shot-card img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

.shot-copy {
    padding: 16px 6px 4px;
}

.shot-copy h3,
.feature-panel h3 {
    font-size: 1.25rem;
}

.shot-copy p,
.feature-panel p,
.download-copy p {
    margin: 8px 0 0;
}

.feature-grid {
    display: grid;
    gap: 16px;
}

.feature-panel {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.feature-panel-wide {
    background:
        linear-gradient(135deg, rgba(129, 219, 93, 0.2), rgba(23, 133, 245, 0.12)),
        var(--surface-strong);
}

.download-card {
    display: grid;
    gap: 22px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(129, 219, 93, 0.2), rgba(23, 133, 245, 0.16)),
        var(--surface-strong);
    margin-bottom: 72px;
}

.site-footer {
    padding: 0 0 28px;
}

.footer-inner {
    display: grid;
    gap: 18px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.footer-brand {
    margin: 0;
    font-family: "Space Grotesk", "Instrument Sans", sans-serif;
    font-weight: 700;
}

.footer-copy,
.footer-note {
    margin: 6px 0 0;
}

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

.footer-links a {
    text-decoration: none;
    font-weight: 600;
}

@media (min-width: 700px) {
    .topbar {
        padding-inline: 18px;
    }

    .topbar-links {
        display: flex;
    }

    .proof-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-panel-wide {
        grid-column: 1 / -1;
    }

    .download-card {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }
}

@media (min-width: 960px) {
    .hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
        align-items: center;
        padding-top: 44px;
    }

    .hero-showcase {
        min-height: 42rem;
    }

    .hero-stage {
        min-height: 42rem;
        padding: 36px 24px 168px;
    }

    .hero-card-main {
        margin-left: auto;
        margin-right: auto;
    }

    .screenshot-rail {
        grid-auto-columns: minmax(300px, 24rem);
    }
}

@media (max-width: 480px) {
    .topbar {
        border-radius: 24px;
        padding: 10px 12px;
    }

    .brand-wordmark {
        font-size: 0.86rem;
    }

    .topbar-cta {
        padding: 10px 12px;
        font-size: 0.82rem;
    }

    .hero-copy,
    .download-card {
        padding: 22px;
    }

    .hero-stage {
        padding-inline: 14px;
        padding-bottom: 148px;
    }

    .hero-badge {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }
}
