:root {
    --background: #f4f2ed;
    --surface: #ffffff;
    --text: #171717;
    --muted: #686868;
    --line: #d9d6cf;
    --dark: #171717;
    --dark-text: #f7f5f0;

    --page-width: 1180px;
    --content-width: 760px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}


/* Header */

.site-header {
    width: min(calc(100% - 48px), var(--page-width));
    height: 88px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 28px;
}

.site-nav a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 160ms ease;
}

.site-nav a:hover {
    color: var(--text);
}


/* Shared */

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

.section-content.narrow {
    max-width: var(--content-width);
}

.section-label,
.eyebrow,
.app-platform {
    margin: 0 0 24px;

    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* Hero */

.hero {
    min-height: 680px;

    display: flex;
    align-items: center;
}

.hero-content {
    width: min(calc(100% - 48px), var(--page-width));
    margin: 0 auto;
}

.hero h1 {
    max-width: 930px;
    margin: 0;

    font-size: clamp(54px, 7.2vw, 104px);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.hero h1 span {
    display: block;
    color: var(--muted);
}

.hero-copy {
    max-width: 590px;
    margin: 48px 0 0;

    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
    letter-spacing: -0.015em;
}


/* Philosophy */

.philosophy {
    padding: 150px 0;
    background: var(--dark);
    color: var(--dark-text);
}

.philosophy .section-content {
    max-width: 920px;
}

.philosophy p {
    margin: 0;

    font-size: clamp(32px, 4.5vw, 60px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.philosophy .philosophy-statement {
    margin-top: 60px;
    color: #8e8e8e;
}


/* Apps */

.apps {
    padding: 150px 0;
}

.app-card {
    min-height: 540px;
    margin-top: 48px;
    padding: clamp(40px, 7vw, 90px);

    display: flex;
    align-items: flex-end;

    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 32px;
}

.app-copy {
    max-width: 640px;
}

.app-card h2 {
    margin: 0 0 28px;

    font-size: clamp(42px, 6vw, 72px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.055em;
}

.app-card .app-copy > p:not(.app-platform) {
    max-width: 560px;
    margin: 0;

    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.app-principles {
    margin: 42px 0 0;
    padding: 0;

    list-style: none;
}

.app-principles li {
    padding: 12px 0;

    border-bottom: 1px solid var(--line);

    font-size: 18px;
}

.app-principles li:last-child {
    border-bottom: 0;
}


/* Support + Privacy */

.support,
.privacy {
    padding: 130px 0;
    border-top: 1px solid var(--line);
}

.support h2,
.privacy h2 {
    margin: 0 0 28px;

    font-size: clamp(38px, 5vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.support .section-content > p:not(.section-label),
.privacy .section-content > p:not(.section-label) {
    margin: 0 0 22px;

    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.contact-link {
    display: inline-block;
    margin-top: 18px;

    font-size: 20px;
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

/* Support Form */

.support-form {
    margin-top: 48px;
}

.support-form label {
    display: block;
    margin-bottom: 28px;

    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.support-form input,
.support-form textarea {
    width: 100%;
    margin-top: 10px;
    padding: 16px 18px;

    background: var(--surface);
    color: var(--text);

    border: 1px solid var(--line);
    border-radius: 12px;

    font: inherit;
    font-size: 16px;

    outline: none;
    transition: border-color 160ms ease;
}

.support-form textarea {
    resize: vertical;
    min-height: 150px;
}

.support-form input:focus,
.support-form textarea:focus {
    border-color: var(--text);
}

.support-form button {
    padding: 15px 24px;

    background: var(--dark);
    color: var(--dark-text);

    border: 0;
    border-radius: 999px;

    font: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: opacity 160ms ease;
}

.support-form button:hover {
    opacity: 0.78;
}


/* Footer */

.site-footer {
    width: min(calc(100% - 48px), var(--page-width));
    margin: 0 auto;
    padding: 50px 0;

    border-top: 1px solid var(--line);

    color: var(--muted);
    font-size: 13px;
}


/* Mobile */

@media (max-width: 700px) {

    .site-header {
        height: 72px;
    }

    .site-nav {
        gap: 16px;
    }

    .hero {
        min-height: 590px;
    }

    .hero h1 {
        font-size: clamp(48px, 15vw, 70px);
    }

    .hero-copy {
        margin-top: 36px;
        font-size: 18px;
    }

    .philosophy,
    .apps {
        padding: 100px 0;
    }

    .app-card {
        min-height: 470px;
        border-radius: 24px;
    }

    .support,
    .privacy {
        padding: 90px 0;
    }

}

@media (max-width: 480px) {

    .site-nav a:first-child {
        display: none;
    }

}