:root {
    --bg: #0b0f17;
    --bg-soft: #10161f;
    --surface: rgba(255, 255, 255, 0.035);
    --border: rgba(255, 255, 255, 0.09);
    --text: #e8edf6;
    --muted: #97a3b6;
    --accent: #6ea8fe;
    --accent-2: #57e2c0;
    --radius: 18px;
    --shell: 1120px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6rem; font-weight: 650; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1rem; color: var(--muted); }
a { color: inherit; }

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }

.skip-link {
    position: absolute;
    left: -9999px;
    background: var(--accent);
    color: #06121f;
    padding: .7rem 1.1rem;
    border-radius: 10px;
    z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(11, 15, 23, 0.72);
    border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand__mark {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 700;
    color: #06121f;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.brand__mark--sm { width: 30px; height: 30px; font-size: .74rem; margin-bottom: .8rem; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; font-size: .95rem; }
.site-nav a { text-decoration: none; color: var(--muted); transition: color .2s ease; }
.site-nav a:hover { color: var(--text); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .72rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 550;
    border: 1px solid transparent;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #06121f; }
.btn--ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.22); }
.site-nav .btn { padding: .5rem 1rem; }

/* Hero */
.hero { position: relative; padding: clamp(4rem, 11vw, 8rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero__glow {
    position: absolute;
    inset: -35% 0 auto 50%;
    translate: -50% 0;
    width: min(1000px, 120%);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(110, 168, 254, .22), rgba(87, 226, 192, .1) 42%, transparent 68%);
    pointer-events: none;
}
.hero__inner { position: relative; max-width: 760px; }
.hero__title { margin-bottom: 1.2rem; }
.hero__lead { font-size: 1.1rem; max-width: 62ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 3rem; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .74rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: .9rem;
}

.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 0; padding-top: 1.8rem; border-top: 1px solid var(--border); }
.stat dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stat dd { margin: .3rem 0 0; font-size: 1.15rem; font-weight: 600; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--accent { background: linear-gradient(180deg, transparent, var(--bg-soft) 18%, var(--bg-soft) 82%, transparent); }
.section__head { max-width: 640px; margin-bottom: 2.6rem; }
.section__lead { font-size: 1.05rem; }

.grid { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
    padding: 1.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: rgba(110, 168, 254, .45); transform: translateY(-3px); }
.card p { margin: 0; font-size: .97rem; }

/* Hosting */
.hosting { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .hosting { grid-template-columns: 1.05fr .95fr; align-items: start; } }

.link-accent {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 2px solid rgba(110, 168, 254, .35);
    transition: border-color .2s ease;
}
.link-accent:hover { border-color: var(--accent); }

.window {
    margin-top: 2rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, .3);
}
.window__bar { display: flex; align-items: center; gap: .45rem; padding: .7rem .9rem; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--border); }
.window__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.window__url { margin-left: .8rem; font-size: .8rem; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.window__body { padding: 1.2rem; display: grid; gap: .7rem; }
.window__line { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.window__line--w70 { width: 70%; }
.window__line--w45 { width: 45%; }
.window__line--w85 { width: 85%; }
.window__badge {
    justify-self: start;
    margin-top: .5rem;
    font-size: .78rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    color: var(--accent-2);
    background: rgba(87, 226, 192, .12);
    border: 1px solid rgba(87, 226, 192, .3);
}

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.feature { display: flex; gap: 1rem; }
.feature__icon {
    flex: none;
    margin-top: .35rem;
    width: 12px; height: 12px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.feature p { margin: 0; font-size: .97rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { padding: 1.6rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step__number { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: .7rem; }
.step p { margin: 0; font-size: .95rem; }

/* CTA */
.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    padding: clamp(1.8rem, 4vw, 2.8rem);
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(110, 168, 254, .12), rgba(87, 226, 192, .07));
}
.cta h2 { margin-bottom: .3rem; }
.cta p { margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: flex-end; justify-content: space-between; }
.site-footer__copy { margin: 0; font-size: .9rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .92rem; }
.site-footer__links a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.site-footer__links a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 640px) {
    .site-nav a:not(.btn) { display: none; }
    .stats { gap: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
