/* Close — Minimal, zen website */

:root {
    --bg: #faf9f7;
    --fg: #1a1a1a;
    --muted: #5a5a5a;
    --faint: #e5e4e2;
    --accent: #2d2d2d;
    --max-width: 600px;
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121214;
        --fg: #e8e8e8;
        --muted: #9a9a9a;
        --faint: #2a2a2c;
        --accent: #ffffff;
    }
}

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

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 4rem;
}

.icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--fg);
}

.icon svg {
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.tagline {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 400;
}

/* Sections */
section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* Philosophy */
.philosophy p {
    margin-bottom: 1.25rem;
    color: var(--fg);
}

.philosophy em {
    font-style: italic;
}

.philosophy strong {
    font-weight: 500;
}

.philosophy .emphasis {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--accent);
    margin-top: 2rem;
    padding-left: 1rem;
    border-left: 2px solid var(--faint);
}

/* Rhythm / Flow */
.flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.moment {
    padding: 1.5rem;
    background: var(--faint);
    border-radius: 12px;
}

.moment .time {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.moment .action {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.moment p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.arrow {
    width: 1px;
    height: 24px;
    background: var(--faint);
    margin: 0 auto;
}

/* Features */
.features ul {
    list-style: none;
}

.features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--faint);
    font-size: 0.95rem;
    color: var(--muted);
    transition: color 0.2s ease;
}

.features li:hover {
    color: var(--fg);
}

.features li:last-child {
    border-bottom: none;
}

/* Privacy */
.privacy p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.privacy .emphasis {
    font-size: 1rem;
    font-weight: 400;
    color: var(--fg);
    margin-top: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--faint);
}

/* Download */
.download {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--fg);
    color: var(--bg);
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

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

.button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.button.secondary {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--faint);
}

.button.secondary:hover {
    border-color: var(--muted);
    transform: translateY(-1px);
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.button:disabled:hover {
    transform: none;
}

/* Coming soon */
.coming-soon {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Help link */
.help-link {
    text-align: center;
    margin-top: 3rem;
}

.help-link a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.help-link a:hover {
    color: var(--fg);
}

.help-link a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Footer */
footer {
    margin-top: 6rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
}

/* Dividers */
.divider {
    border: none;
    height: 1px;
    background: var(--faint);
    margin: 3rem 0;
}

/* Help Page */
.help-section {
    margin-bottom: 2rem;
}

.help-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.help-item h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--fg);
}

.help-item p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.help-item p:last-child {
    margin-bottom: 0;
}

.help-item ul {
    list-style: none;
    margin: 0.75rem 0;
}

.help-item li {
    font-size: 0.95rem;
    color: var(--muted);
    padding: 0.4rem 0;
    padding-left: 1rem;
    border-left: 2px solid var(--faint);
}

.help-item li strong {
    color: var(--fg);
    font-weight: 500;
}

/* Responsive */
@media (min-width: 500px) {
    .flow {
        flex-direction: row;
        align-items: flex-start;
    }

    .moment {
        flex: 1;
    }

    .arrow {
        width: 40px;
        height: 1px;
        margin-top: 3rem;
    }

    .download {
        flex-direction: row;
        justify-content: center;
    }
}
