@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

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

:root {
    --bg:        #0d0f12;
    --surface:   #13161c;
    --border:    #222630;
    --text:      #dde1ea;
    --muted:     #6b7280;
    --accent:    #5b8df8;
    --tree:      #5ec98a;
    --font-sans: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', 'Menlo', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────── */

.wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Nav ────────────────────────────────── */

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.site-nav .logo {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    color: var(--text);
}

.site-nav .nav-links {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--muted);
}

.site-nav .nav-links a {
    color: var(--muted);
}

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

/* ── Hero ───────────────────────────────── */

.hero {
    padding: 96px 0 88px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 600px) {
    .hero { grid-template-columns: 1fr; padding: 56px 0 48px; }
    .hero-tree { display: none; }
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tree);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.18;
    color: #fff;
    margin-bottom: 24px;
}

.hero p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-appstore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.15s;
}

.btn-appstore:hover { opacity: 0.85; text-decoration: none; }

.btn-appstore svg { flex-shrink: 0; }

/* ── Tree illustration ──────────────────── */

.hero-tree {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 2.1;
    color: var(--muted);
    position: relative;
    overflow: hidden;
}

.hero-tree::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.4;
}

.hero-tree .t-root  { color: var(--text); font-weight: 500; }
.hero-tree .t-l2    { color: #c0c8d8; }
.hero-tree .t-l3    { color: var(--muted); }
.hero-tree .t-check { color: var(--tree); }
.hero-tree .t-box   { color: #555b6a; }
.hero-tree .t-branch { color: #333a48; }

/* ── Content pages (privacy, support) ───── */

.wrap > h1 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #fff;
    margin-top: 56px;
    margin-bottom: 20px;
}

.wrap > p {
    color: var(--muted);
    margin-bottom: 20px;
}

h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
    margin-top: 48px;
    margin-bottom: 10px;
}

/* ── Divider ────────────────────────────── */

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ── Features ───────────────────────────── */

.features {
    padding: 72px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}

@media (max-width: 600px) {
    .features { grid-template-columns: 1fr; gap: 24px; }
}

.feature-icon {
    font-family: var(--font-mono);
    font-size: 20px;
    color: var(--tree);
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.feature p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 300;
}

/* ── Footer ─────────────────────────────── */

footer {
    border-top: 1px solid var(--border);
    padding: 24px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
}

footer a { color: var(--muted); }
footer a:hover { color: var(--text); text-decoration: none; }

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

@media (max-width: 480px) {
    footer { flex-direction: column; gap: 12px; text-align: center; }
}
