:root {
    color-scheme: light;
    --blue-900: #07143d;
    --blue-800: #0a2472;
    --blue-700: #0832a6;
    --blue-500: #0a8dff;
    --blue-100: #e9f5ff;
    --green-500: #38d969;
    --green-100: #efffd0;
    --ink: #101828;
    --muted: #5f6b7a;
    --line: #d9e2ea;
    --surface: #ffffff;
    --wash: #f5f8fb;
    --shadow: 0 24px 70px rgba(7, 20, 61, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--wash);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 14px clamp(20px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(217, 226, 234, 0.8);
    backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 12px;
    font-weight: 740;
}

.brand img {
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(8, 50, 166, 0.2);
}

.nav-links {
    gap: clamp(14px, 2.8vw, 32px);
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 650;
}

.nav-links a:hover,
.text-link:hover,
.site-footer a:hover {
    color: var(--blue-700);
}

.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    overflow: hidden;
    isolation: isolate;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    gap: clamp(32px, 6vw, 84px);
    min-height: calc(88vh - 72px);
    padding: clamp(34px, 5vw, 72px) clamp(20px, 6vw, 96px) clamp(56px, 7vw, 92px);
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(56, 217, 105, 0), rgba(56, 217, 105, 0.22)),
        linear-gradient(138deg, #07143d 0%, #0832a6 58%, #0a8dff 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 18%;
    background: linear-gradient(180deg, rgba(245, 248, 251, 0), var(--wash));
}

.hero-copy {
    max-width: 560px;
    position: relative;
    z-index: 2;
}

.hero-icon {
    width: 78px;
    height: 78px;
    margin-bottom: 24px;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--green-100);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-copy .eyebrow,
.how-it-works .eyebrow,
.section-heading .eyebrow,
.download .eyebrow {
    color: var(--blue-700);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 620px;
    margin-bottom: 18px;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 0.97;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.18rem;
    line-height: 1.2;
}

.hero-text {
    max-width: 520px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.83);
    font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.hero-actions {
    flex-wrap: wrap;
    gap: 18px;
}

.app-store-badge {
    display: inline-flex;
    width: 180px;
    max-width: 100%;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.2));
}

.app-store-badge img {
    width: 100%;
    height: auto;
}

.text-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 760;
}

.hero-visual {
    position: relative;
    min-height: 580px;
}

.device-frame {
    position: relative;
    width: min(100%, 360px);
    aspect-ratio: 1350 / 2760;
}

.device-frame::before {
    content: none;
}

.device-screen,
.device-bezel {
    position: absolute;
    display: block;
}

.device-screen {
    z-index: 1;
    top: 2.5%;
    left: 5.333333%;
    width: 89.333333%;
    height: 95%;
    object-fit: cover;
    border-radius: 7.3% / 3.5%;
}

.device-bezel {
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.phone-main {
    position: absolute;
    right: 130px;
    bottom: -104px;
    width: min(72vw, 350px);
    transform: rotate(2deg);
    box-shadow: none;
}

.phone-main::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 2.2%;
    right: 4.9%;
    bottom: 2.2%;
    left: 4.9%;
    border-radius: 9% / 4.6%;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.28),
        0 12px 30px rgba(0, 0, 0, 0.2);
}

.quick-stat {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 2px;
    min-width: 178px;
    padding: 16px 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(7, 20, 61, 0.24);
    backdrop-filter: blur(18px);
}

.quick-stat span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 720;
}

.quick-stat strong {
    color: var(--blue-800);
    font-size: 1.35rem;
    line-height: 1.1;
}

.stat-time {
    top: 12%;
    right: 480px;
}

.stat-cost {
    right: -45px;
    bottom: 5%;
}

.feature-summary,
.split-section,
.how-it-works,
.screenshots,
.download {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.feature-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.feature-card,
.steps article,
.detail-list,
.download {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(7, 20, 61, 0.08);
}

.feature-card {
    padding: 28px;
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    color: #ffffff;
    background: var(--blue-700);
    border-radius: 8px;
    font-weight: 800;
}

.feature-card h2 {
    font-size: 1.35rem;
    line-height: 1.2;
}

.feature-card p,
.section-copy p,
.detail-list span,
.steps p,
.download p,
figcaption {
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding-block: clamp(72px, 11vw, 136px);
}

.section-copy p {
    max-width: 600px;
    font-size: 1.08rem;
}

.detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
}

.detail-list div {
    padding: 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.detail-list div:nth-child(2n) {
    border-right: 0;
}

.detail-list div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.detail-list strong,
.detail-list span {
    display: block;
}

.detail-list strong {
    margin-bottom: 6px;
    font-size: 1.08rem;
}

.how-it-works {
    padding: clamp(56px, 9vw, 96px) 0;
    border-top: 1px solid var(--line);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.steps article {
    padding: 28px;
}

.steps span {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 20px;
    color: var(--blue-800);
    background: var(--green-100);
    border-radius: 50%;
    font-weight: 820;
}

.screenshots {
    padding: clamp(64px, 10vw, 112px) 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 36px);
    align-items: start;
}

figure {
    margin: 0;
}

.screenshot-grid .device-frame {
    width: min(100%, 360px);
    margin-inline: auto;
}

.screenshot-grid .device-frame::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 2.2%;
    right: 4.9%;
    bottom: 2.2%;
    left: 4.9%;
    border-radius: 9% / 4.6%;
    box-shadow:
        0 20px 52px rgba(7, 20, 61, 0.16),
        0 6px 18px rgba(7, 20, 61, 0.12);
}

figcaption {
    margin-top: 16px;
    font-size: 0.96rem;
}

.download {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin-bottom: 80px;
    padding: clamp(26px, 4vw, 42px);
}

.download-icon {
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(8, 50, 166, 0.18);
}

.download h2 {
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.download p {
    margin-bottom: 0;
}

.download .app-store-badge {
    justify-self: end;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px clamp(20px, 5vw, 72px);
    color: var(--muted);
    background: #ffffff;
    border-top: 1px solid var(--line);
}

.site-footer span {
    font-weight: 760;
    color: var(--ink);
}

.site-footer nav {
    gap: 20px;
}

.policy-page {
    width: min(860px, calc(100% - 40px));
    margin-inline: auto;
    padding: clamp(56px, 9vw, 104px) 0;
}

.policy-content {
    padding: clamp(28px, 5vw, 52px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(7, 20, 61, 0.08);
}

.policy-content .eyebrow {
    color: var(--blue-700);
}

.back-link {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--blue-700);
    font-weight: 760;
}

.back-link::before {
    content: "<";
    margin-right: 8px;
}

.policy-content h1 {
    max-width: none;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 0.98;
}

.policy-updated {
    margin-bottom: 34px;
    color: var(--muted);
    font-weight: 680;
}

.policy-content h2 {
    margin-top: 34px;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.15;
}

.policy-content p {
    color: var(--muted);
    font-size: 1.05rem;
}

.policy-content a {
    color: var(--blue-700);
    font-weight: 720;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .quick-stat {
        display: none;
    }

    .feature-summary,
    .split-section,
    .steps,
    .screenshot-grid,
    .download {
        grid-template-columns: 1fr;
    }

    .feature-summary {
        margin-top: 28px;
    }

    .download .app-store-badge {
        justify-self: start;
    }
}

@media (min-width: 681px) and (max-width: 1000px) {
    .hero {
        min-height: clamp(720px, calc(100vw - 140px), 860px);
        padding-bottom: clamp(56px, 8vw, 84px);
    }

    .hero-visual {
        position: absolute;
        inset: 0;
        min-height: 0;
        padding-top: 0;
        transform: none;
    }

    .phone-main {
        position: absolute;
        top: clamp(460px, calc(760px - 30vw), 550px);
        right: clamp(24px, 6vw, 56px);
        bottom: auto;
        width: min(38vw, 320px);
        margin: 0;
        transform: rotate(1deg);
    }
}

@media (max-width: 680px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .brand span {
        font-size: 0.98rem;
    }

    .hero {
        min-height: auto;
        padding-top: 34px;
        padding-bottom: 56px;
    }

    h1 {
        font-size: clamp(3rem, 18vw, 4.4rem);
    }

    .hero-text {
        font-size: 1.02rem;
    }

    .hero-visual {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        display: flex;
        justify-content: center;
        width: 100%;
        min-height: auto;
        padding-top: 34px;
    }

    .phone-main {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: min(78vw, 280px);
        margin: 0 auto;
        transform: none;
    }

    .quick-stat {
        min-width: 142px;
        padding: 12px 14px;
    }

    .quick-stat strong {
        font-size: 1.02rem;
    }

    .stat-time {
        top: 4%;
        left: 0;
    }

    .stat-cost {
        right: 0;
        bottom: 6%;
    }

    .detail-list {
        grid-template-columns: 1fr;
    }

    .detail-list div,
    .detail-list div:nth-child(2n),
    .detail-list div:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .detail-list div:last-child {
        border-bottom: 0;
    }
}
