:root {
    --bg: #0a1220;
    --bg-soft: #111d31;
    --bg-card: rgba(12, 26, 45, 0.76);
    --surface: #f7f5ef;
    --text: #eaf2ff;
    --text-muted: #9eb0c8;
    --ink: #102033;
    --line: rgba(156, 198, 255, 0.18);
    --cyan: #61d9ff;
    --teal: #3ee2b6;
    --gold: #ffcc73;
    --rose: #ff8ea1;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 20%, rgba(97, 217, 255, 0.18), transparent 22%),
        radial-gradient(circle at 88% 10%, rgba(255, 204, 115, 0.16), transparent 18%),
        radial-gradient(circle at 50% 75%, rgba(62, 226, 182, 0.1), transparent 26%),
        linear-gradient(180deg, #08111d 0%, #0f1a2b 45%, #09111c 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 48px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: #062036;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong,
.hero h1,
.section-heading h2,
.price-card h3,
.feature-card h3,
.card h3,
.workflow h3,
.market-card h3,
.doc-link strong {
    font-family: "Space Grotesk", sans-serif;
}

.brand-copy small,
.topnav a,
.section-note,
.doc-link span,
.footer p,
.footer-links a {
    color: var(--text-muted);
}

.topnav {
    display: flex;
    gap: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--cyan), #8fedff);
    color: #052038;
}

.button-secondary,
.button-ghost {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    padding: 44px 0 28px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gold);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 0.97;
    max-width: 11ch;
}

.lede {
    max-width: 65ch;
    font-size: 1.12rem;
    color: #d3def0;
    margin: 20px 0 0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.hero-points li,
.format-strip span,
.tag {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.035);
    color: #dce7fb;
    font-size: 0.94rem;
}

.hero-panel,
.card,
.feature-card,
.market-card,
.price-card,
.doc-link,
.workflow article {
    position: relative;
    border: 1px solid var(--line);
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 18px;
    border-radius: 30px;
}

.demo-window {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(9, 22, 37, 0.95), rgba(17, 32, 54, 0.95));
}

.demo-topline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px;
}

.metric-card {
    min-height: 116px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.accent-a { box-shadow: inset 0 0 0 1px rgba(97, 217, 255, 0.25); }
.accent-b { box-shadow: inset 0 0 0 1px rgba(255, 204, 115, 0.25); }
.accent-c { box-shadow: inset 0 0 0 1px rgba(255, 142, 161, 0.25); }

.metric-card span,
.plan {
    color: var(--text-muted);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.timeline-preview {
    padding: 18px;
}

.timeline-ruler {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06) 0 4%, rgba(97,217,255,0.18) 4% 5%, rgba(255,255,255,0.06) 5% 14%, rgba(97,217,255,0.18) 14% 15%, rgba(255,255,255,0.06) 15% 24%, rgba(97,217,255,0.18) 24% 25%, rgba(255,255,255,0.06) 25% 100%);
}

.timeline-events,
.timeline-blocks,
.format-strip,
.docs-grid,
.pricing-grid,
.three-up,
.market-grid,
.feature-grid,
.workflow,
.footer {
    display: grid;
    gap: 18px;
}

.timeline-events {
    grid-template-columns: repeat(4, max-content);
    margin-top: 16px;
}

.click { background: rgba(97, 217, 255, 0.12); }
.key { background: rgba(255, 204, 115, 0.12); }
.drag { background: rgba(62, 226, 182, 0.12); }
.text { background: rgba(255, 142, 161, 0.12); }

.timeline-blocks {
    grid-template-columns: 1.3fr 1fr 0.65fr 0.7fr;
    margin-top: 14px;
}

.block {
    display: block;
    height: 20px;
    border-radius: 999px;
}

.block.video { background: linear-gradient(90deg, rgba(97, 217, 255, 0.85), rgba(97, 217, 255, 0.3)); }
.block.audio { background: linear-gradient(90deg, rgba(62, 226, 182, 0.85), rgba(62, 226, 182, 0.25)); }
.block.audio.short { width: 80%; }
.block.video.small { width: 72%; }

.format-strip {
    grid-template-columns: repeat(7, max-content);
    margin-top: 18px;
}

.logo-band {
    margin: 22px 0 0;
    padding: 18px 22px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.025);
    color: var(--text-muted);
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.proof-strip article {
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);
}

.proof-strip strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
}

.proof-strip span {
    color: var(--text-muted);
    line-height: 1.65;
}

.section {
    padding: 76px 0 10px;
}

.section-dark,
.section-accent,
.section-docs {
    padding: 30px;
    border-radius: 32px;
}

.section-dark {
    background: linear-gradient(180deg, rgba(16, 29, 48, 0.92), rgba(8, 17, 29, 0.92));
}

.section-accent {
    background: linear-gradient(135deg, rgba(17, 35, 59, 0.92), rgba(13, 24, 42, 0.92));
}

.section-docs {
    background: linear-gradient(135deg, rgba(247, 245, 239, 0.98), rgba(232, 238, 244, 0.98));
    color: var(--ink);
}

.section-docs .eyebrow,
.section-docs .section-note,
.section-docs .doc-link span,
.section-docs .doc-link strong {
    color: var(--ink);
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.section-heading.narrow {
    max-width: 820px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.three-up,
.market-grid,
.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.four-up {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.workflow {
    grid-template-columns: repeat(4, 1fr);
}

.docs-grid {
    grid-template-columns: repeat(3, 1fr);
}

.card,
.feature-card,
.market-card,
.price-card,
.doc-link,
.workflow article {
    padding: 24px;
    border-radius: var(--radius);
}

.featured,
.popular {
    background: linear-gradient(180deg, rgba(20, 45, 74, 0.92), rgba(12, 28, 46, 0.92));
}

.popular {
    transform: translateY(-10px);
    box-shadow: 0 28px 80px rgba(7, 16, 28, 0.45);
}

.use-grid .card,
.cta-band {
    overflow: hidden;
}

.cta-band {
    margin-top: 36px;
}

.workflow article span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(97, 217, 255, 0.15);
    color: var(--cyan);
    font-weight: 800;
    margin-bottom: 18px;
}

.price-card h3 {
    font-size: 3rem;
    margin: 10px 0 14px;
}

.price-card h3 span {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-card ul {
    padding-left: 18px;
    margin: 18px 0 0;
    color: #dce6f8;
}

.price-card .button {
    margin-top: 24px;
    width: 100%;
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.openai-setup-note {
    margin-top: 24px;
    padding: 18px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 204, 115, 0.25);
    background: rgba(255, 204, 115, 0.06);
    color: #dce7fb;
    line-height: 1.65;
}

.openai-setup-note strong {
    color: var(--gold);
}

.openai-setup-note em {
    color: var(--cyan);
    font-style: normal;
}

.button-outline {
    border: 1px solid var(--cyan);
    color: var(--cyan);
    background: transparent;
}

.button-outline:hover {
    background: rgba(97, 217, 255, 0.1);
}

.section-docs .doc-link {
    background: #ffffff;
    border-color: rgba(16, 32, 51, 0.1);
    box-shadow: 0 20px 40px rgba(11, 24, 39, 0.08);
}

.section-docs .card.legal-copy {
    background: #ffffff;
    border-color: rgba(16, 32, 51, 0.1);
    box-shadow: 0 20px 40px rgba(11, 24, 39, 0.08);
    color: var(--ink);
}

.legal-copy h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #0d2742;
}

.legal-copy p {
    margin: 0 0 14px;
    line-height: 1.72;
    color: #24374d;
}

.footer {
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 42px 0 24px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    grid-column: 1 / -1;
}

.footer-legal-heading {
    width: 100%;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-legal a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--cyan);
}

@media (max-width: 1080px) {
    .hero,
    .three-up,
    .proof-strip,
    .feature-grid,
    .market-grid,
    .pricing-grid,
    .workflow,
    .demo-grid,
    .four-up,
    .footer {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-shell {
        width: min(100% - 24px, 1280px);
    }

    .topbar,
    .topnav,
    .hero-actions,
    .footer,
    .timeline-events,
    .format-strip {
        display: flex;
        flex-wrap: wrap;
    }

    .three-up,
    .proof-strip,
    .feature-grid,
    .market-grid,
    .pricing-grid,
    .workflow,
    .demo-grid,
    .download-grid,
    .four-up {
        grid-template-columns: 1fr;
    }

    .section-dark,
    .section-accent,
    .section-docs {
        padding: 22px;
    }

    .hero h1 {
        max-width: none;
    }
}