/* noni.farm — design tokens mirrored from the app. Monochrome only. */

:root {
    color-scheme: light dark;
    --bg: #ffffff;
    --text: #000000;
    --secondary: #6e6e73;
    --surface: #f5f5f7;
    --hairline: #d2d2d7;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --text: #ffffff;
        --secondary: #8e8e93;
        --surface: #1c1c1e;
        --hairline: #38383a;
    }
}

@font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins-Medium-subset.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.wordmark {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Helvetica, Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text);
    text-decoration: none;
}

/* Layout: one centered column. */

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }
}

/* Header */

header.site {
    padding: 28px 0;
}

header.site .container {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

header.site .wordmark {
    font-size: 22px;
}

header.site nav a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 15px;
    margin-left: 20px;
}

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

/* Type */

h1,
h2,
h3 {
    color: var(--text);
    line-height: 1.25;
    margin: 0 0 12px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 17px;
    font-weight: 600;
}

p,
ul {
    margin: 0 0 16px;
}

.secondary {
    color: var(--secondary);
}

small,
.caption {
    font-size: 13px;
    color: var(--secondary);
}

a {
    color: var(--text);
    text-underline-offset: 3px;
}

main {
    padding-bottom: 32px;
}

main section {
    margin: 56px 0;
}

/* Hero */

.hero {
    text-align: center;
    margin: 88px 0 72px;
}

.hero .wordmark {
    font-size: 64px;
    display: inline-block;
    line-height: 1;
}

.hero .tagline {
    margin-top: 20px;
    font-size: 19px;
    color: var(--secondary);
}

.hero .lede {
    max-width: 480px;
    margin: 16px auto 0;
}

@media (max-width: 400px) {
    .hero {
        margin: 64px 0 56px;
    }

    .hero .wordmark {
        font-size: 48px;
    }
}

/* Monochrome stand-in for the App Store badge. */

.store-button {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 24px;
    border: 1px solid var(--text);
    border-radius: 14px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.store-button:hover {
    background: var(--surface);
}

/* Hairlines */

.hairline {
    border: 0;
    border-top: 0.5px solid var(--hairline);
    margin: 0;
}

/* Screenshot frame — device-less, hairline border. */

figure.shot {
    margin: 48px auto;
    max-width: 320px;
}

figure.shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 0.5px solid var(--hairline);
    border-radius: 28px;
}

figure.shot figcaption {
    text-align: center;
    margin-top: 12px;
}

/* FAQ / policy sections */

article.prose section {
    margin: 40px 0;
}

article.prose ul {
    padding-left: 22px;
}

article.prose li {
    margin-bottom: 6px;
}

/* Footer */

footer.site {
    margin-top: 72px;
    padding: 28px 0 48px;
}

footer.site .container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 13px;
    color: var(--secondary);
}

footer.site a {
    color: var(--secondary);
    text-decoration: none;
}

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