:root {
    --indigo: #5c4ddb;
    --violet: #8c4deb;
    --ink: #1a1730;
    --muted: #6a6580;
    --bg: #ffffff;
    --soft: #f5f3fb;
    --border: #e6e2f2;
    --radius: 16px;
    --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
}

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

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

code { font-family: var(--mono); font-size: 0.92em; }

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

/* Hero */
.hero {
    background: radial-gradient(120% 120% at 80% -10%, var(--violet) 0%, var(--indigo) 45%, #3d33a8 100%);
    color: #fff;
    padding-bottom: 5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
    padding: 1.4rem 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.15rem; }
.brand img { border-radius: 7px; }
.nav-links a { color: rgba(255, 255, 255, 0.85); margin-left: 1.4rem; font-weight: 500; }
.nav-links a:hover { color: #fff; text-decoration: none; }

.hero-inner { max-width: 760px; margin: 2rem auto 0; padding: 0 1.5rem; text-align: center; }
.hero-icon { border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin: 1.6rem 0 1rem; letter-spacing: -0.02em; }
.tagline { font-size: 1.15rem; color: rgba(255, 255, 255, 0.9); max-width: 620px; margin: 0 auto; }
.tagline code { background: rgba(255, 255, 255, 0.15); padding: 0.1em 0.35em; border-radius: 5px; }

.install { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0 1rem; }
.copy-cmd {
    display: inline-flex; align-items: center; gap: 1rem;
    background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff; padding: 0.85rem 1.2rem; border-radius: 12px; cursor: pointer; font-size: 1rem;
    transition: background 0.15s;
}
.copy-cmd:hover { background: rgba(0, 0, 0, 0.4); }
.copy-hint { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.btn-secondary {
    display: inline-flex; align-items: center; background: #fff; color: var(--indigo);
    padding: 0.85rem 1.4rem; border-radius: 12px; font-weight: 600;
}
.btn-secondary:hover { text-decoration: none; opacity: 0.92; }
.meta { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.6rem; }

/* Honesty callout */
.honesty { max-width: 920px; margin: -3rem auto 0; padding: 0 1.5rem; position: relative; }
.callout {
    background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--violet);
    border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: 0 12px 40px rgba(40, 30, 90, 0.1);
    font-size: 1.02rem;
}
.callout strong { color: var(--ink); }

/* Main */
main { max-width: 1040px; margin: 0 auto; padding: 4rem 1.5rem; }
section + section { margin-top: 4rem; }
h2 { font-size: 1.7rem; letter-spacing: -0.01em; margin-bottom: 1.4rem; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.features article {
    background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.5rem;
}
.features h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.features p { color: var(--muted); font-size: 0.97rem; }
.features code { background: #ece8f8; padding: 0.05em 0.3em; border-radius: 4px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.two-col h4 { margin-bottom: 0.7rem; }
.two-col ol { padding-left: 1.2rem; color: var(--muted); }

pre {
    background: var(--ink); color: #ece9fb; padding: 1.2rem 1.4rem; border-radius: 12px;
    overflow-x: auto; font-size: 0.9rem; line-height: 1.7;
}
pre code { color: inherit; }

.built p { color: var(--muted); max-width: 760px; }

footer { border-top: 1px solid var(--border); padding: 2.5rem 1.5rem; text-align: center; color: var(--muted); }
footer .fine { font-size: 0.82rem; margin-top: 0.4rem; opacity: 0.8; }

@media (max-width: 680px) {
    .two-col { grid-template-columns: 1fr; }
    .nav-links a { margin-left: 1rem; }
}
