/* Made by Leon: shared site styles (2026). Used by every page. */

:root {
    --bg: #f6f5f2;
    --card: #ffffff;
    --text: #1b1b1f;
    --muted: #5d5d66;
    --line: #e6e3dc;
    --accent: #1a9e4f;
    --ink: #0d0d12;
    --ink-text: #f2f2f4;
    --ink-muted: #a9a9b4;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(20, 20, 40, 0.08);
    --shadow-lg: 0 30px 60px -20px rgba(10, 10, 30, 0.35);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #111116;
        --card: #1a1a21;
        --text: #ececf0;
        --muted: #a2a2ad;
        --line: #2b2b35;
        --accent: #3cc874;
        --ink: #08080b;
        --shadow: none;
        --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a { color: var(--accent); }
a:hover { text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: var(--ink-text); position: relative; z-index: 2; }
.hero .site-header { background: transparent; }
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.site-header .logo {
    color: #fff;
    text-decoration: none;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}
.logo-tld {
    background: linear-gradient(90deg, #5ee08f, #f6c453 45%, #f06aa8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--ink-text); text-decoration: none; font-size: 15px; opacity: 0.75; }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--ink-text);
    background:
        radial-gradient(600px 400px at 8% 10%, rgba(26, 158, 79, 0.38), transparent 70%),
        radial-gradient(560px 420px at 92% 18%, rgba(162, 28, 110, 0.42), transparent 70%),
        radial-gradient(520px 360px at 55% 110%, rgba(243, 156, 18, 0.28), transparent 70%),
        var(--ink);
}
.hero-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 96px;
}
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 16px;
}
.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 20px;
    font-weight: 700;
}
.hero h1 .hl {
    background: linear-gradient(90deg, #5ee08f, #f6c453 45%, #f06aa8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p { margin: 0 0 28px; max-width: 34em; color: var(--ink-muted); font-size: 19px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #ffffff; color: #111; }
.btn-ghost { color: var(--ink-text); border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* Floating app icons */
.icon-stage { position: relative; height: 340px; }
.float-icon {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 34px;
    background: transparent;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.float-icon img { width: 100%; height: 100%; object-fit: cover; }
.float-icon.a { left: 6%; top: 24px; transform: rotate(-8deg); }
.float-icon.b { right: 8%; top: 70px; transform: rotate(7deg); width: 168px; height: 168px; border-radius: 38px; }
.float-icon.more {
    left: 30%;
    bottom: 0;
    width: 120px;
    height: 120px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    color: var(--ink-muted);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    transform: rotate(-3deg);
}
.float-icon.more span { display: block; font-size: 34px; font-weight: 300; line-height: 1; margin-bottom: 4px; }

/* ---------- Values strip ---------- */
.values { position: relative; z-index: 2; margin-top: -48px; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.value { padding: 24px 26px; display: flex; gap: 14px; align-items: flex-start; }
.value + .value { border-left: 1px solid var(--line); }
.value svg { flex: none; width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.value h3 { margin: 0 0 2px; font-size: 16px; }
.value p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ---------- Apps ---------- */
.apps { padding: 80px 0 40px; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 8px; }
.section-head p { margin: 0; color: var(--muted); }

.showcase {
    --app: #888;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    border-radius: 28px;
    padding: 48px;
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--card);
    background: linear-gradient(135deg, color-mix(in srgb, var(--app) 14%, var(--card)), var(--card) 65%);
    box-shadow: var(--shadow);
}
.showcase:nth-of-type(even) .showcase-media { order: -1; }
.app-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.app-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    flex: none;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--app) 60%, transparent);
}
.pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--app);
    background: color-mix(in srgb, var(--app) 14%, transparent);
    margin-bottom: 6px;
}
.app-head h3 { margin: 0; font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; }
.app-tagline { margin: 0 0 14px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.app-desc { margin: 0 0 18px; color: var(--muted); }
.app-points { list-style: none; margin: 0 0 26px; padding: 0; }
.app-points li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.app-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--app) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.app-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.app-actions img { height: 48px; width: auto; display: block; }
.soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 18px;
    border-radius: 12px;
    color: #fff;
    background: var(--app);
}
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0.85; }
.app-actions a.text-link { font-size: 15px; font-weight: 600; color: var(--text); }

/* Fanned phone screenshots */
.showcase-media { position: relative; height: 470px; }
.phone {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    border-radius: 26px;
    border: 6px solid #111;
    background: #111;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.phone img { display: block; width: 100%; height: auto; }
.phone.center { transform: translate(-50%, -50%); z-index: 3; width: 220px; }
.phone.left { transform: translate(-112%, -46%) rotate(-7deg); z-index: 2; opacity: 0.95; }
.phone.right { transform: translate(12%, -46%) rotate(7deg); z-index: 2; opacity: 0.95; }

/* Room to grow */
.more-apps {
    border: 1.5px solid var(--line);
    border-radius: 28px;
    padding: 36px;
    text-align: center;
    color: var(--muted);
}
.more-apps h3 { margin: 0 0 6px; color: var(--text); font-size: 20px; }
.more-apps p { margin: 0; }

/* ---------- Text pages (privacy, terms, support) ---------- */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: clamp(30px, 4.5vw, 42px); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 8px; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; letter-spacing: -0.01em; }
.doc h3 { font-size: 17px; margin: 22px 0 4px; }
.doc-box { text-align: left; color: var(--text); background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.doc-box > :first-child { margin-top: 0; }
.doc-box p { margin: 0 0 14px; }
.doc-box > :last-child, .doc-box > p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .doc-box { padding: 24px 20px; } }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-style: italic; margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: var(--ink-muted);
    padding: 40px 0 48px;
    font-size: 14px;
    margin-top: 40px;
}
.site-footer p { margin: 0 0 6px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 16px !important; font-size: 15px; }
.footer-links a { color: var(--ink-text); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
    .hero-body { grid-template-columns: 1fr; padding-bottom: 88px; gap: 16px; }
    .icon-stage { height: 220px; max-width: 420px; }
    .float-icon { width: 104px; height: 104px; border-radius: 24px; }
    .float-icon.b { width: 116px; height: 116px; border-radius: 26px; top: 40px; }
    .float-icon.more { width: 88px; height: 88px; border-radius: 20px; font-size: 11px; }
    .float-icon.more span { font-size: 26px; }
    .values-grid { grid-template-columns: 1fr; }
    .value + .value { border-left: 0; border-top: 1px solid var(--line); }
    .showcase { grid-template-columns: 1fr; padding: 28px 22px; }
    .showcase:nth-of-type(even) .showcase-media { order: 0; }
    .showcase-media { height: 360px; }
    .phone { width: 150px; border-radius: 20px; border-width: 5px; }
    .phone.center { width: 165px; }
    .apps { padding-top: 56px; }
}

/* Hero line break only on wider screens */
@media (max-width: 600px) { .br-wide { display: none; } }
