:root {
    color-scheme: light dark;

    --background: #F2F4F7;
    --surface: #FFFFFF;
    --fill: #F2F4F7;
    --labelPrimary: #0F1720;
    --labelSecondary: #5B6673;
    --separator: #E2E6EB;
    --outline: #C9CFD6;
    --accent: #0B7A5B;
    --accentSubtle: #E3F3EC;
    --bandStart: #0B7A5B;
    --bandEnd: #075A43;
    --bandLabel: #FFFFFF;
    --bandLabelSecondary: #E3F3EC;
    --deviceBody: #000000;
    --deviceEdge: #2C2C2C;
    --deviceRim: #7E7E7E;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #0B0F14;
        --surface: #161C23;
        --fill: #202830;
        --labelPrimary: #F3F5F7;
        --labelSecondary: #A3ADB8;
        --separator: #2A323B;
        --outline: #3A4650;
        --accent: #3DCB95;
        --accentSubtle: #16342A;
        --bandStart: #16342A;
        --bandEnd: #0B0F14;
        --bandLabel: #F3F5F7;
        --bandLabelSecondary: #A3ADB8;
        --deviceBody: #000000;
        --deviceEdge: #2C2C2C;
        --deviceRim: #7E7E7E;
    }
}

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

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui,
        sans-serif;
    font-size: 1.0625rem;
    line-height: 1.5;
    color: var(--labelPrimary);
    background: var(--background);
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

strong {
    font-weight: 600;
}

.home ul {
    list-style: none;
}

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

.home svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.band {
    padding: 112px 0;
}

.band.plain {
    background: var(--background);
}

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

.band.green {
    background: linear-gradient(135deg, var(--bandStart), var(--bandEnd));
    color: var(--bandLabel);
}

.home section[id] {
    scroll-margin-top: 84px;
}

.hero.band {
    margin-top: -84px;
    padding-top: 120px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 20px 0;
    color: var(--bandLabel);
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}

.topbar.scrolled {
    background-color: var(--surface);
    background-color: color-mix(in srgb, var(--surface) 80%, transparent);
    box-shadow: 0 1px 0 var(--separator);
    color: var(--labelPrimary);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}

.topbar .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.brand img {
    display: block;
    width: 36px;
    height: 36px;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 28px;
    font-size: 0.9375rem;
    font-weight: 600;
}

.nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--bandLabelSecondary);
    transition: color 0.2s ease;
}

.scrolled .nav a {
    color: var(--labelSecondary);
}

.nav a:hover,
.scrolled .nav a:hover {
    color: inherit;
}

.hero-grid,
.feature,
.pro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 96px;
}

.hero-copy,
.feature-copy,
.pro-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.hero-copy {
    max-width: 620px;
}

.feature-copy {
    max-width: 520px;
}

.pro-copy {
    max-width: 640px;
    gap: 24px;
}

.app-icon {
    display: block;
    width: 104px;
    height: 104px;
    filter: drop-shadow(0 12px 24px rgba(10, 40, 30, 0.24));
}

.green .app-icon {
    filter: drop-shadow(0 12px 24px rgba(0, 38, 27, 0.42));
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.tagline {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.home h2 {
    font-size: 3.5rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.home h3 {
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 600;
}

.lede {
    font-size: 1.3125rem;
    line-height: 1.45;
    color: var(--labelSecondary);
}

.green .lede {
    color: var(--bandLabelSecondary);
}

.eyebrow {
    font-size: 0.8125rem;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.green .eyebrow {
    color: var(--bandLabelSecondary);
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefits svg {
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    stroke: var(--accent);
    stroke-width: 2.6;
}

.green .benefits svg {
    stroke: var(--bandLabel);
}

.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    margin-top: 12px;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.store-badges img {
    display: block;
    width: auto;
}

.app-store-badge img {
    height: 54px;
}

.google-play-badge img {
    height: 81px;
    margin: -13px;
}

.coming-soon {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 22px;
    border: 1px solid var(--outline);
    border-radius: 999px;
    background: var(--surface);
    color: var(--labelSecondary);
    font-size: 0.9375rem;
    font-weight: 600;
}

.green .coming-soon {
    border-color: var(--surface);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-weight: 600;
}

.home .text-link {
    color: var(--accent);
}

.home .green .text-link {
    color: var(--bandLabel);
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}

.device {
    position: relative;
    justify-self: center;
    width: 1em;
    padding: 0.038em;
    border-radius: 0.18em;
    background: var(--deviceBody);
    font-size: 300px;
    box-shadow:
        inset 0 0 0 0.004em var(--deviceEdge),
        inset 0 0 0 0.0065em var(--deviceRim),
        inset 0 0 0 0.0115em var(--deviceEdge);
    filter: drop-shadow(0 0.06em 0.07em rgba(10, 40, 30, 0.24));
}

.green .device {
    filter: drop-shadow(0 0.06em 0.07em rgba(0, 38, 27, 0.42));
}

.device picture,
.device img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1206 / 2622;
    border-radius: 0.142em;
}

.island {
    position: absolute;
    top: 0.0633em;
    left: 50%;
    width: 0.2892em;
    height: 0.085em;
    transform: translateX(-50%);
    border-radius: 999px;
    background: var(--deviceBody);
}

.device::before,
.device::after {
    content: "";
    position: absolute;
    width: 0.009em;
    background: var(--deviceEdge);
}

.device::before {
    left: -0.006em;
    top: 17.5%;
    height: 3.2%;
    border-radius: 3px 0 0 3px;
    box-shadow:
        0 0.115em 0 0 var(--deviceEdge),
        0 0.145em 0 0 var(--deviceEdge),
        0 0.245em 0 0 var(--deviceEdge),
        0 0.275em 0 0 var(--deviceEdge);
}

.device::after {
    right: -0.006em;
    top: 28.5%;
    height: 9.5%;
    border-radius: 0 3px 3px 0;
}

.feature.flip .device {
    order: -1;
}

@media (prefers-color-scheme: dark) {
    .device,
    .green .device {
        filter: drop-shadow(0 0.06em 0.07em rgba(0, 0, 0, 0.5));
    }

    .app-icon,
    .green .app-icon {
        filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
    }
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accentSubtle);
    color: var(--accent);
    font-size: 0.9375rem;
    font-weight: 600;
}

.pill-tag svg {
    width: 18px;
    height: 18px;
}

.pro-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 8px;
}

.point {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.point p,
.tile p {
    color: var(--labelSecondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accentSubtle);
    color: var(--accent);
}

.symbol svg {
    width: 22px;
    height: 22px;
}

.trial {
    font-size: 1.1875rem;
    line-height: 1.4;
    font-weight: 600;
}

.disclaimer {
    display: flex;
    gap: 8px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--labelSecondary);
}

.disclaimer svg {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 1px;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 720px;
    margin-bottom: 56px;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    border-radius: 16px;
    background: var(--surface);
}

.more {
    margin-top: 32px;
}

.faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
}

.faq > div {
    padding: 24px 0;
    border-top: 1px solid var(--separator);
}

.faq dt {
    margin-bottom: 8px;
    font-size: 1.1875rem;
    line-height: 1.3;
    font-weight: 600;
}

.faq dd {
    color: var(--labelSecondary);
}

.home .faq a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.closing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.closing .cta {
    justify-content: center;
}

.footer {
    padding: 32px 0 40px;
    border-top: 1px solid var(--separator);
    color: var(--labelSecondary);
    font-size: 0.8125rem;
}

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

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
}

.footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

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

@media (max-width: 1040px) {
    .hero-grid,
    .feature,
    .pro {
        gap: 56px;
    }

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

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

    .home h2 {
        font-size: 2.875rem;
    }
}

@media (max-width: 760px) {
    .wrap {
        padding: 0 20px;
    }

    .band {
        padding: 72px 0;
    }

    .hero.band {
        padding-top: 116px;
    }

    .topbar .wrap {
        gap: 8px 16px;
    }

    .brand-name {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .nav {
        gap: 0 16px;
    }

    .hero-grid,
    .feature,
    .pro {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .feature.flip .device {
        order: 0;
    }

    .device {
        font-size: 260px;
    }

    .app-icon {
        width: 80px;
        height: 80px;
    }

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

    .tagline {
        font-size: 1.5rem;
    }

    .home h2 {
        font-size: 2.25rem;
    }

    .lede {
        font-size: 1.1875rem;
    }

    .pro-points,
    .tiles,
    .faq {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-head {
        margin-bottom: 40px;
    }
}

.document {
    width: min(800px, calc(100% - 32px));
    margin: 16px auto 48px;
    padding: 24px 20px;
    border-radius: 14px;
    background: var(--surface);
}

@media (min-width: 768px) {
    .document {
        margin: 48px auto 64px;
        padding: 40px 48px;
    }
}

.document h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.document h2 {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-top: 32px;
    margin-bottom: 8px;
}

.document h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 6px;
}

.document p {
    margin-bottom: 16px;
}

.document ul,
.document ol {
    margin: 8px 0 16px 24px;
}

.document li {
    margin: 4px 0;
}

.document a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.document a:hover {
    text-decoration-thickness: 2px;
}

.last-updated {
    color: var(--labelSecondary);
    font-size: 0.8125rem;
}

.document .last-updated {
    margin-bottom: 24px;
}

.card,
.themed-card {
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.card {
    background: var(--fill);
}

.themed-card {
    background: var(--accentSubtle);
}

.section-divider {
    border: none;
    border-top: 1px solid var(--separator);
    margin: 32px 0;
}

.important {
    text-transform: uppercase;
    font-weight: 600;
}

.document .no-margin-bottom {
    margin-bottom: 0;
}
