:root {
    --black: #111111;
    --white: #ffffff;
    --gray-50: #f7f7f7;
    --gray-100: #eeeeee;
    --gray-200: #e2e2e2;
    --gray-400: #999999;
    --gray-500: #777777;
    --gray-600: #666666;

    --max-width: 1120px;
    --radius: 24px;
}


/* =========================================================
   Reset
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--white);
    color: var(--black);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Helvetica Neue",
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   Common
   ========================================================= */

.container {
    width: calc(100% - 48px);
    max-width: var(--max-width);
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 20px;

    color: var(--gray-500);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
}


/* =========================================================
   Navigation
   ========================================================= */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    z-index: 20;

    padding: 24px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 9px;

    background: var(--black);

    font-size: 15px;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    border: 1px solid var(--gray-200);
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.nav-button:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

/* Logo */

.brand-logo {
    width: 32px;
    height: 32px;

    display: block;

    border-radius: 8px;

    object-fit: contain;
}

.footer-logo {
    width: 36px;
    height: 36px;

    display: block;

    border-radius: 9px;

    object-fit: contain;
}

.footer-brand > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    min-height: 760px;

    display: flex;
    align-items: center;

    padding: 140px 0 100px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 45%,
            #eeeeee 0%,
            #f8f8f8 20%,
            #ffffff 48%
        );
}

.hero-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 0.8fr);

    align-items: center;

    gap: 80px;
}

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

.hero-copy h1 {
    margin: 0;

    font-size: clamp(54px, 7vw, 88px);
    font-weight: 700;

    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-subtitle {
    max-width: 510px;

    margin: 30px 0 34px;

    color: var(--gray-600);

    font-size: 20px;
    line-height: 1.55;
}


/* =========================================================
   App Store Button
   ========================================================= */

.app-store {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    min-width: 165px;

    padding: 11px 18px;

    border-radius: 13px;

    background: var(--black);
    color: var(--white);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        box-shadow 0.2s ease;
}

.app-store:hover {
    transform: translateY(-2px);

    opacity: 0.92;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.18);
}

.app-store-icon {
    font-family: Arial, sans-serif;

    font-size: 28px;
    line-height: 1;
}

.app-store-text {
    display: flex;
    flex-direction: column;
}

.app-store-small {
    font-size: 10px;
    line-height: 1.2;
    opacity: 0.75;
}

.app-store-large {
    margin-top: 1px;

    font-size: 19px;
    font-weight: 500;
    line-height: 1.15;
}


/* =========================================================
   Hero Phone
   ========================================================= */

.hero-device {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone {
    position: relative;

    width: 300px;
    height: 610px;

    padding: 10px;

    border-radius: 46px;

    background: #111111;

    box-shadow:
        0 50px 90px rgba(0, 0, 0, 0.18),
        0 15px 35px rgba(0, 0, 0, 0.12);

    transform: rotate(4deg);

    transition:
        transform 0.4s ease;
}

.phone:hover {
    transform: rotate(1deg) translateY(-6px);
}

.phone::before {
    content: "";

    position: absolute;

    top: 13px;
    left: 50%;

    width: 92px;
    height: 25px;

    transform: translateX(-50%);

    border-radius: 20px;

    background: #111111;

    z-index: 5;
}

.phone-screen {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 37px;

    background:
        linear-gradient(
            145deg,
            #f2f2f2,
            #dcdcdc
        );
}

.phone-status {
    display: flex;
    justify-content: space-between;

    padding: 20px 22px 0;

    font-size: 11px;
    font-weight: 650;
}

.phone-header {
    padding: 28px 22px 20px;

    font-size: 25px;
    font-weight: 700;

    letter-spacing: -0.04em;
}

.photo-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 5px;

    padding: 0 12px;
}

.photo {
    height: 130px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #d5d5d5,
            #eeeeee
        );
}

.photo-1 {
    background:
        linear-gradient(
            135deg,
            #cfcfcf,
            #ededed
        );
}

.photo-2 {
    background:
        linear-gradient(
            135deg,
            #ededed,
            #cccccc
        );
}

.photo-3 {
    background:
        linear-gradient(
            135deg,
            #c8c8c8,
            #e5e5e5
        );
}

.photo-4 {
    background:
        linear-gradient(
            135deg,
            #eeeeee,
            #c7c7c7
        );
}

.photo-5 {
    background:
        linear-gradient(
            135deg,
            #d1d1d1,
            #e9e9e9
        );
}

.photo-6 {
    background:
        linear-gradient(
            135deg,
            #e7e7e7,
            #c9c9c9
        );
}

.protected-badge {
    position: absolute;

    left: 50%;
    bottom: 34px;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 12px 18px;

    transform: translateX(-50%);

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.12);

    white-space: nowrap;

    font-size: 12px;
    font-weight: 650;
}

.protected-icon {
    font-size: 17px;
}


/* =========================================================
   Features
   ========================================================= */

.features {
    padding: 130px 0;

    background: var(--gray-50);
}

.section-intro {
    max-width: 720px;

    margin-bottom: 65px;
}

.section-intro h2 {
    margin: 0;

    font-size: clamp(40px, 5vw, 62px);
    font-weight: 700;

    line-height: 1.04;
    letter-spacing: -0.05em;
}

.section-intro > p:last-child {
    max-width: 580px;

    margin: 25px 0 0;

    color: var(--gray-600);

    font-size: 18px;
    line-height: 1.6;
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.feature {
    min-height: 260px;

    padding: 34px;

    border: 1px solid var(--gray-200);
    border-radius: var(--radius);

    background: var(--white);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.07);
}

.feature-icon {
    margin-bottom: 28px;

    font-size: 30px;
    line-height: 1;
}

.feature h3 {
    margin: 0 0 12px;

    font-size: 20px;
    font-weight: 650;

    letter-spacing: -0.025em;
}

.feature p {
    margin: 0;

    color: var(--gray-600);

    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   Privacy
   ========================================================= */

.privacy {
    padding: 130px 0;

    background: var(--white);
}

.privacy-inner {
    display: grid;

    grid-template-columns:
        1fr
        0.75fr;

    align-items: center;

    gap: 100px;
}

.privacy-copy {
    max-width: 600px;
}

.privacy-copy h2 {
    margin: 0;

    font-size: clamp(42px, 5vw, 64px);
    font-weight: 700;

    line-height: 1.02;
    letter-spacing: -0.05em;
}

.privacy-copy > p:last-child {
    max-width: 500px;

    margin: 28px 0 0;

    color: var(--gray-600);

    font-size: 18px;
    line-height: 1.6;
}

.privacy-card {
    padding: 48px;

    border-radius: 30px;

    background: var(--gray-50);

    text-align: center;
}

.privacy-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    margin: 0 auto 25px;

    border-radius: 22px;

    background: var(--black);

    font-size: 28px;
}

.privacy-card h3 {
    margin: 0 0 12px;

    font-size: 24px;
    letter-spacing: -0.03em;
}

.privacy-card p {
    max-width: 280px;

    margin: 0 auto;

    color: var(--gray-600);

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   Final CTA
   ========================================================= */

.cta {
    padding: 150px 0;

    background: var(--black);

    color: var(--white);

    text-align: center;
}

.cta-inner {
    max-width: 760px;
}

.cta .eyebrow {
    color: #888888;
}

.cta h2 {
    margin: 0;

    font-size: clamp(50px, 7vw, 82px);
    font-weight: 700;

    line-height: 0.98;
    letter-spacing: -0.06em;
}

.cta p:not(.eyebrow) {
    margin: 28px auto 35px;

    color: #aaaaaa;

    font-size: 19px;
    line-height: 1.5;
}

.app-store-light {
    background: var(--white);
    color: var(--black);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}

.app-store-light:hover {
    opacity: 0.9;
}


/* =========================================================
   Footer
   ========================================================= */

.footer {
    padding: 35px 0;

    background: var(--black);

    border-top: 1px solid #2a2a2a;

    color: #777777;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    font-size: 13px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand strong {
    color: #dddddd;
    font-weight: 600;
}

.footer-brand span {
    color: #777777;
}

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

.footer-links a {
    transition: color 0.2s ease;
}

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

.copyright {
    white-space: nowrap;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 900px) {

    .hero {
        min-height: auto;

        padding-top: 130px;
    }

    .hero-inner {
        grid-template-columns: 1fr;

        gap: 80px;

        text-align: center;
    }

    .hero-copy {
        max-width: 680px;

        margin: 0 auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-device {
        order: 2;
    }

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

    .privacy-inner {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .privacy-copy {
        max-width: 680px;
    }

    .privacy-card {
        max-width: 500px;

        margin: 0 auto;

        width: 100%;
    }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 32px);
    }

    .navbar {
        padding: 18px 0;
    }

    .brand {
        font-size: 17px;
    }

    .nav-button {
        display: none;
    }


    /* Hero */

    .hero {
        padding:
            115px 0
            75px;
    }

    .hero-inner {
        gap: 70px;
    }

    .hero-copy h1 {
        font-size: 54px;

        letter-spacing: -0.055em;
    }

    .hero-subtitle {
        margin-top: 25px;

        font-size: 17px;
        line-height: 1.55;
    }


    /* Phone */

    .phone {
        width: 260px;
        height: 530px;

        border-radius: 39px;
    }

    .phone-screen {
        border-radius: 31px;
    }

    .phone-header {
        padding-top: 25px;

        font-size: 23px;
    }

    .photo {
        height: 108px;
    }

    .protected-badge {
        bottom: 28px;
    }


    /* Features */

    .features {
        padding: 90px 0;
    }

    .section-intro {
        margin-bottom: 45px;
    }

    .section-intro h2 {
        font-size: 42px;
    }

    .section-intro > p:last-child {
        font-size: 16px;
    }

    .feature-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .feature {
        min-height: auto;

        padding: 28px;
    }


    /* Privacy */

    .privacy {
        padding: 90px 0;
    }

    .privacy-copy h2 {
        font-size: 44px;
    }

    .privacy-copy > p:last-child {
        font-size: 16px;
    }

    .privacy-card {
        padding: 38px 25px;
    }


    /* CTA */

    .cta {
        padding: 100px 0;
    }

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

    .cta p:not(.eyebrow) {
        font-size: 17px;
    }


    /* Footer */

    .footer {
        padding: 30px 0;
    }

    .footer-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }

    .footer-links {
        order: 2;
    }

    .copyright {
        order: 3;
    }
}


/* =========================================================
   Very Small Screens
   ========================================================= */

@media (max-width: 360px) {

    .hero-copy h1 {
        font-size: 48px;
    }

    .phone {
        width: 235px;
        height: 480px;
    }

    .photo {
        height: 96px;
    }

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


/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

}


/* =========================================================
   Legal / Privacy Policy
   ========================================================= */

.legal-page {
    padding: 150px 0 120px;

    background: var(--white);
}


.legal-container {
    width: calc(100% - 48px);
    max-width: 850px;

    margin: 0 auto;
}


.legal-header {
    padding-bottom: 65px;

    border-bottom: 1px solid var(--gray-200);
}


.legal-header h1 {
    margin: 0;

    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;

    line-height: 1;
    letter-spacing: -0.055em;
}


.legal-intro {
    max-width: 720px;

    margin: 28px 0 0;

    color: var(--gray-600);

    font-size: 19px;
    line-height: 1.65;
}


/* Content */

.legal-content {
    padding-top: 65px;
}


.legal-content section {
    margin-bottom: 55px;
}


.legal-content section:last-child {
    margin-bottom: 0;
}


.legal-content h2 {
    margin: 0 0 18px;

    font-size: 27px;
    font-weight: 650;

    line-height: 1.25;
    letter-spacing: -0.025em;
}


.legal-content h3 {
    margin: 30px 0 14px;

    font-size: 18px;
    font-weight: 650;

    line-height: 1.4;
}


.legal-content p {
    margin: 0 0 18px;

    color: #444444;

    font-size: 16px;
    line-height: 1.75;
}


.legal-content p:last-child {
    margin-bottom: 0;
}


.legal-content ul {
    margin: 18px 0 0;
    padding-left: 25px;

    color: #444444;

    font-size: 16px;
    line-height: 1.75;
}


.legal-content li {
    margin-bottom: 10px;

    padding-left: 5px;
}


.legal-content li:last-child {
    margin-bottom: 0;
}


.change-log {
    list-style: none;

    margin-left: 0 !important;
    padding-left: 0 !important;
}


.change-log li {
    margin-bottom: 13px;

    padding-left: 0;
}


.change-log time {
    color: var(--black);

    font-weight: 600;
}


/* =========================================================
   Privacy Policy Mobile
   ========================================================= */

@media (max-width: 600px) {

    .legal-page {
        padding:
            115px 0
            80px;
    }


    .legal-container {
        width: calc(100% - 32px);
    }


    .legal-header {
        padding-bottom: 45px;
    }


    .legal-header h1 {
        font-size: 48px;
    }


    .legal-intro {
        margin-top: 24px;

        font-size: 17px;
        line-height: 1.6;
    }


    .legal-content {
        padding-top: 45px;
    }


    .legal-content section {
        margin-bottom: 45px;
    }


    .legal-content h2 {
        font-size: 23px;
    }


    .legal-content p,
    .legal-content ul {
        font-size: 15px;
        line-height: 1.7;
    }

}

/* =========================
   404 Page
   ========================= */

.error-page {
    min-height: calc(100vh - 170px);
    display: flex;
    align-items: center;
    padding: 150px 0 120px;
    background: var(--white);
}

.error-inner {
    text-align: center;
}

.error-inner h1 {
    margin: 0;
    font-size: clamp(52px, 8vw, 88px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.06em;
}

.error-description {
    max-width: 520px;
    margin: 28px auto 0;
    color: var(--gray-600);
    font-size: 18px;
    line-height: 1.7;
}

.error-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--black);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease,
                opacity 0.2s ease;
}

.error-button:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

@media (max-width: 600px) {

    .error-page {
        min-height: calc(100vh - 150px);
        padding: 115px 0 80px;
    }

    .error-inner h1 {
        font-size: 52px;
    }

    .error-description {
        font-size: 16px;
        line-height: 1.65;
    }

}
