:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --background: #0f172a;
    --surface: #1e293b;
    --surface-hover: #334155;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --error: #ef4444;
    --radius: 12px;
    --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.65);
    --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: Inter, system-ui, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-image:
        radial-gradient(ellipse at top, rgba(30, 58, 138, 0.35), transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, 0.12), transparent 40%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { color: #93c5fd; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--secondary);
    color: #042f1e;
    padding: 0.5rem 1rem;
    z-index: 100;
}
.skip-link:focus { left: 0; }

.beta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    background: #042f1e;
    border-bottom: 1px solid rgba(16, 185, 129, 0.4);
    font-size: 0.88rem;
    color: #d1fae5;
}
.beta-bar a { color: #6ee7b7; font-weight: 600; }
.beta-pill {
    background: var(--secondary);
    color: #042f1e;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

.subdomain-preview {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.92rem;
}
.subdomain-preview ul {
    margin: 0.4rem 0 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}
.subdomain-preview code {
    color: var(--text);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(15, 23, 42, 0.86);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text);
}
.brand small { display: block; color: var(--text-muted); font-size: 0.75rem; font-weight: 500; }
.brand-mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #f8fafc, #0f172a 55%);
    border: 3px solid #e2e8f0;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #0f172a;
    font-size: 0.95rem;
}

.site-nav { display: flex; align-items: center; gap: 0.35rem 1.1rem; flex-wrap: wrap; }
.site-nav a { color: var(--text-muted); font-weight: 600; font-size: 0.92rem; }
.site-nav a.active, .site-nav a:hover { color: var(--text); }
.nav-toggle {
    display: none;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: var(--radius);
    padding: 0.65rem 1.1rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
}
.btn-primary { background: var(--primary-light); color: #fff; }
.btn-primary:hover { background: #2563eb; color: #fff; }
.btn-secondary { background: var(--secondary); color: #042f1e; }
.btn-secondary:hover { color: #042f1e; filter: brightness(1.05); }
.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--primary-light); color: #fff; }
.btn-lg { padding: 0.85rem 1.35rem; font-size: 1rem; }

main { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 4rem; }

.hero, .page-hero { padding: 3rem 0 2rem; }
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}
.eyebrow {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    margin-bottom: 0.6rem;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.15; margin-bottom: 0.85rem; }
h2 { font-size: 1.65rem; margin-bottom: 0.6rem; }
.lead { font-size: 1.12rem; color: var(--text-muted); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0 0.8rem; }
.hero-note { color: var(--text-muted); font-size: 0.88rem; }
.hero-visual {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; }
.caption { padding: 0.65rem 1rem; color: var(--text-muted); font-size: 0.82rem; }

.section { padding: 2.5rem 0; }
.section-alt { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 1.5rem; }
.section-head p { color: var(--text-muted); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1rem;
}
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card, .panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
}
.icon-wrap {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
    margin-bottom: 0.7rem;
}
.center-cta { text-align: center; margin-top: 1.5rem; font-weight: 700; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.shot {
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.tick-list { margin: 1rem 0 1.25rem; padding-left: 0; list-style: none; }
.tick-list li { position: relative; padding: 0.3rem 0 0.3rem 1.6rem; }
.tick-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 800;
}

.cta-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.55), rgba(16, 185, 129, 0.18));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    margin-top: 1rem;
}

.feature-blocks { display: grid; gap: 1.25rem; }
.feature-blocks article {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.6rem;
}
.feature-blocks h2 { font-size: 1.25rem; }
.feature-blocks h2 i { color: var(--primary-light); margin-right: 0.35rem; }
.feature-blocks ul { margin-left: 1.2rem; color: var(--text-muted); }
.feature-blocks li { margin: 0.35rem 0; }

.guide-index { display: grid; gap: 0.75rem; }
.guide-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    color: var(--text);
}
.guide-card:hover { border-color: var(--primary-light); color: var(--text); }
.guide-card small { display: block; color: var(--text-muted); font-weight: 500; }

.guide-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    padding: 2rem 0 3rem;
}
.guide-aside {
    position: sticky;
    top: 5.5rem;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}
.aside-title { font-weight: 800; margin-bottom: 0.4rem; }
.guide-aside a { color: var(--text-muted); font-size: 0.9rem; padding: 0.25rem 0; }
.guide-aside a.active { color: var(--secondary); font-weight: 700; }
.aside-cta {
    margin-top: 0.75rem;
    background: var(--primary-light);
    color: #fff !important;
    text-align: center;
    border-radius: 8px;
    padding: 0.5rem !important;
    font-weight: 700;
}
.prose h3 { margin: 1.5rem 0 0.5rem; font-size: 1.15rem; }
.prose p, .prose li { color: #cbd5e1; }
.prose ul, .prose ol { margin: 0.5rem 0 1rem 1.2rem; }
.prose code {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.05rem 0.35rem;
    font-size: 0.88em;
}
.guide-footer-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.pricing-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
}
.price-card-featured {
    border-color: var(--secondary);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25);
}
.price-kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--text-muted); font-weight: 800; }
.price { font-size: 3rem; font-weight: 800; line-height: 1; margin: 0.4rem 0; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.price-note { color: var(--text-muted); margin-bottom: 1rem; }

.callout { margin-top: 2rem; }
.callout .btn { margin: 0.75rem 0.5rem 0 0; }

.demo-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: center;
}
.demo-panel img { border-radius: 10px; }
.shot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.shot-row img { border-radius: 12px; border: 1px solid var(--border); }

.order-form {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.optional { font-weight: 500; color: var(--text-muted); }
input, select, textarea {
    font: inherit;
    background: #0b1220;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
}
fieldset { border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }
legend { padding: 0 0.4rem; font-weight: 700; }
.radio { flex-direction: row; align-items: center; gap: 0.5rem; font-weight: 500; }
.fine-print { color: var(--text-muted); font-size: 0.88rem; }
.alert.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid var(--error);
    color: #fecaca;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #0b1220;
    padding: 2.5rem 1.25rem 1.5rem;
    margin-top: 2rem;
}
.footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.5rem;
}
.site-footer h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.site-footer a, .site-footer p { display: block; color: var(--text-muted); margin: 0.3rem 0; }
.brand-footer { margin-bottom: 0.6rem; }
.domain-chip {
    display: inline-block;
    margin: 0.2rem 0.3rem 0.2rem 0;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.copyright {
    max-width: var(--max);
    margin: 2rem auto 0;
    color: #64748b;
    font-size: 0.82rem;
}

@media (max-width: 900px) {
    .hero, .split, .guide-layout, .pricing-wrap, .demo-panel, .footer-grid, .form-row {
        grid-template-columns: 1fr;
    }
    .split.reverse { direction: ltr; }
    .guide-aside { position: static; }
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f172a;
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.25rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .site-header { position: sticky; }
    .site-nav.open { display: flex; }
    .nav-cta { margin-top: 0.35rem; }
}
