/* Same system as the portfolio: monochrome, Geist, one accent taken from the SauX logo */
:root {
    --bg: #0a0a0a;
    --bg-2: #121212;
    --fg: #f5f5f5;
    --muted: #9a9a9a;
    --line: #242424;
    --accent: #9333ea;
    --accent-ink: #ffffff;
    --accent-soft: rgba(168, 85, 247, .14);
    --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
    --ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: dark;
}
@media (prefers-color-scheme: light) {
    :root {
        --bg: #ffffff;
        --bg-2: #f4f4f4;
        --fg: #0a0a0a;
        --muted: #5e5e5e;
        --line: #e4e4e4;
        --accent: #7e22ce;
        --accent-soft: rgba(126, 34, 206, .10);
        color-scheme: light;
    }
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }
svg { display: block; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.muted, .dim { color: var(--muted); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 18px; letter-spacing: -0.03em; }
.back svg { color: var(--muted); transition: transform .3s var(--ease); }
.back:hover svg { transform: translateX(-3px); }
.nav-link { font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-link:hover { color: var(--fg); }

main { flex: 1; }
.hero { padding-block: clamp(40px, 8vw, 104px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.pill { padding: 3px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); color: var(--fg); }
h1 { margin-top: 24px; font-size: clamp(56px, 9vw, 120px); font-weight: 700; line-height: .92; letter-spacing: -0.06em; }
.lead { max-width: 42ch; margin-top: 28px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; transition: background .2s, border-color .2s, transform .15s, box-shadow .3s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); padding-left: 20px; }
.btn-primary:hover { box-shadow: 0 10px 40px -10px var(--accent); }
.btn-text { display: flex; flex-direction: column; line-height: 1.25; }
.btn-label { font-size: 16px; }
.btn-sub { font-size: 12px; font-weight: 500; opacity: .85; font-family: var(--mono); }
.btn-line { border-color: var(--line); }
.btn-line:hover { border-color: var(--fg); }

.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 35%, transparent), transparent); filter: blur(20px); }
.logo-big { position: relative; width: 78%; height: auto; }

.features { border-top: 1px solid var(--line); }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); border-left: 1px solid var(--line); transition: background .25s; }
.feature:first-child { border-left: 0; padding-left: 0; }
.feature:hover { background: var(--bg-2); }
.f-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: var(--accent-soft); }
.feature h2 { margin-top: 18px; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 16px; }

.footer { border-top: 1px solid var(--line); padding-block: 28px 36px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.footer a { color: var(--fg); }
.footer a:hover { text-decoration: underline; }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { order: -1; max-width: 260px; }
    .feature-list { grid-template-columns: 1fr; }
    .feature { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
    .feature:first-child { border-top: 0; }
    .feature:hover { background: none; }
}
@media (max-width: 520px) {
    .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
    .cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    @keyframes float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
    @keyframes pulse { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
    .hero-text > * { animation: rise .8s var(--ease) both; }
    .hero-text > :nth-child(2) { animation-delay: .06s; }
    .hero-text > :nth-child(3) { animation-delay: .14s; }
    .hero-text > :nth-child(4) { animation-delay: .22s; }
    .hero-text > :nth-child(5) { animation-delay: .28s; }
    .logo-big { animation: float 6s ease-in-out infinite; }
    .glow { animation: pulse 6s ease-in-out infinite; }
}
