﻿:root {
    --bg: #0f172a;
    --ink: #0b1220;
    --ink-2: #1e293b;
    --ink-3: #334155;
    --muted: #94a3b8;
    --brand: #39b6a9;
    --brand-2: #27a4f2;
    --card: #0b1220;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.25);
    --radius: 18px;
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg,#0a0f1e,#0f172a 35%,#0b1220);
    color: #e2e8f0;
    font-family: Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial
}

a {
    color: var(--brand-2);
    text-decoration: none
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(1.2) blur(6px);
    background: rgba(10,15,30,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.06)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center
}

.nav img {
    height: 42px;
    width: auto;
    border-radius: 10px;
    box-shadow: var(--shadow)
}

.title {
    font-weight: 800;
    letter-spacing: .5px
}

.nav .actions, .links a {
    color: #cbd5e1;
    font-weight: 600
}

.nav .cta {
    margin-left: 20px;
    padding: 10px 16px;
    background: linear-gradient(90deg,var(--brand),var(--brand-2));
    color: #001018;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(39,164,242,0.35)
}

/* Hero */
.hero {
    padding: 64px 0 36px;
    position: relative;
    overflow: hidden;
    background: none
}

.hero .inner, .hero-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center
}

.badge, .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 999px;
    font-size: 12px;
    color: #cbd5e1;
    background: rgba(255,255,255,0.04)
}

.h1, h1 {
    font-size: 46px;
    line-height: 1.05;
    margin: 14px 0 10px;
    font-weight: 800
}

.lead, .hero p {
    color: #cbd5e1;
    font-size: 18px
}

.card {
    background: linear-gradient(180deg,#0f172a,#0b1220);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.hero .card {
    padding: 22px
}

.bullets {
    display: grid;
    gap: 10px;
    margin-top: 16px
}

.bullets li {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: linear-gradient(90deg,var(--brand),var(--brand-2));
    margin-top: 8px;
    flex: 0 0 8px
}

.hero-visual, .globe {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06)
}

.hero-visual img, .globe img {
    max-width: 100%;
    height: auto;
    border-radius: 16px
}

/* Sections */
section {
    padding: 56px 0
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 16px
}

.section-sub, .sub {
    color: #9fb1c7
}

/* Features / Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.feature {
    padding: 18px
}

.feature h4 {
    margin: 8px 0 6px;
    font-size: 18px
}

.feature p {
    color: #b6c2d4
}

.tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.6);
    font-size: 12px;
    color: #cbd5e1;
    background: rgba(255,255,255,0.04)
}

/* Pricing */
.pricing .switch {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px
}

.switch button {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.04);
    color: #e2e8f0;
    font-weight: 700;
    cursor: pointer
}

.switch button.active {
    background: linear-gradient(90deg,var(--brand),var(--brand-2));
    color: #001018
}

.plans {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.plan {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.plan h3, .plan .name {
    margin: 0;
    font-size: 20px
}

.price, .plan .price {
    font-size: 32px;
    font-weight: 800
}

.muted, .plan .per {
    color: #9fb1c7;
    font-size: 14px
}

.list {
    display: grid;
    gap: 8px;
    margin: 6px 0 4px
}

.list li {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.tick {
    height: 18px;
    width: 18px;
    border-radius: 6px;
    background: linear-gradient(90deg,var(--brand),var(--brand-2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #001018
}

.cta-wide {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.cta-primary, .cta-secondary {
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 800;
    text-align: center;
    flex: 0 0 auto
}

.cta-primary {
    background: linear-gradient(90deg,var(--brand),var(--brand-2));
    color: #001018
}

.cta-secondary {
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.04);
    color: #e2e8f0
}

/* Marketing-specific adjustments to dark */
.cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

.cards .card {
    background: linear-gradient(180deg,#0f172a,#0b1220)
}

.integrations {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.integration {
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.18);
    border-radius: 14px;
    padding: 16px
}

.note {
    font-size: 13px;
    color: #b6c2d4
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.pricing .plan {
    background: linear-gradient(180deg,#0f172a,#0b1220);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 22px
}

.pricing .plan.highlight {
    border-color: #39b6a9;
    box-shadow: 0 10px 40px rgba(39,164,242,0.25)
}

.stamp {
    font-size: 12px;
    font-weight: 800;
    color: #39e29b;
    background: rgba(22,163,74,0.15);
    border: 1px solid rgba(187,247,208,0.4);
    border-radius: 999px;
    padding: 4px 8px;
    display: inline-block;
    margin-bottom: 8px
}

.trial {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    background: rgba(39,164,242,0.15);
    color: #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(186,230,253,0.35)
}

.trial .restrictions {
    font-size: 14px;
    opacity: .9
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

form {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 18px
}

label {
    display: block;
    font-weight: 700;
    margin: 10px 0 6px
}

input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #334155;
    border-radius: 10px;
    background: #0a1324;
    color: #e2e8f0;
    font-family: inherit
}

textarea {
    min-height: 90px
}

.help, .minor {
    font-size: 12px;
    color: #9fb1c7
}

.success {
    display: none;
    background: rgba(22,163,74,0.15);
    border: 1px solid rgba(187,247,208,0.4);
    padding: 12px;
    border-radius: 10px;
    color: #86efac;
    margin-bottom: 12px
}

/* Footer */
footer {
    padding: 36px 0;
    color: #9fb1c7;
    border-top: 1px solid rgba(255,255,255,0.06)
}

.foot {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 20px 0
}

.tiny {
    font-size: 12px;
    color: #9fb1c7
}

/* Responsive */
@media (max-width:980px) {
    .hero .inner, .hero-inner {
        grid-template-columns: 1fr
    }

    .plans, .pricing-grid {
        grid-template-columns: 1fr
    }

    .grid-3, .cards, .integrations {
        grid-template-columns: 1fr
    }
}

.btn {
    border: 1px solid rgba(255,255,255,0.16);
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255,255,255,0.04);
    color: #e2e8f0
}

.btn.primary {
    background: linear-gradient(90deg,var(--brand),var(--brand-2));
    color: #001018;
    border-color: transparent
}

.btn.ghost {
    background: transparent
}

/* === Card Enhancements (injected) === */
.cards {
    gap: 16px;
}

.card.is-clickable {
    position: relative;
    border-radius: 14px;
    padding: 22px 24px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.card.is-clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.35);
    border-color: rgba(255,255,255,0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.card.is-clickable::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(120deg, rgba(0,212,255,0.35), rgba(0,140,255,0.20), rgba(0,212,255,0.35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}

.card.is-clickable:hover::after {
    opacity: 1;
}

.card .card-hit {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 10;
    display: block;
    text-decoration: none;
    outline: none;
}

.card .card-hit:focus-visible {
    box-shadow: 0 0 0 3px rgba(0,160,255,0.6);
}

.card h4 {
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.card h4 img {
    display: block;
    height: 22px;
    width: auto;
}

.card p {
    margin: 0;
    line-height: 1.45;
    opacity: 0.95;
}

@media (max-width: 720px) {
    .card.is-clickable {
        padding: 18px 18px;
    }
}

.logo-inline {
    height: 54px;
    width: auto;
    vertical-align: middle;
    margin-right: 6px;
    display: inline-block;
}

@media (max-width:640px) {
    .logo-inline {
        height: 48px;
    }
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* === Pricing cleanup (minimal, preserves original structure) === */
.pricing .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

@media (max-width: 980px) {
    .pricing .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing .plan {
    background: linear-gradient(180deg,#0f172a,#0b1220);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.pricing .plan .name {
    font-weight: 800;
    font-size: 20px;
    margin: 0 0 4px 0;
}

.pricing .plan .price {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.05;
    margin: 2px 0 2px;
}

.pricing .plan .per {
    color: #a6b4c6;
    margin-bottom: 4px;
}

/* Use clean, consistent bullets without altering markup */
.pricing .plan ul {
    list-style: none;
    margin: 12px 0 14px 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.pricing .plan ul li {
    position: relative;
    padding-left: 18px;
    line-height: 1.5;
}

.pricing .plan ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #00e5ff, #008dff);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.08) inset;
}

/* Make the CTA tidy and consistent */
.pricing .plan .cta {
    margin-top: auto;
}

.pricing .plan .cta .btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 800;
    color: white;
    background: rgba(255,255,255,0.06);
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.pricing .plan .cta .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
    background: rgba(255,255,255,0.10);
}

.pricing .plan .cta .btn.primary {
    background: linear-gradient(180deg, rgba(0,180,255,0.85), rgba(0,140,255,0.85));
    color: #001018;
    border-color: rgba(255,255,255,0.25);
}

/* Keep your highlight vibe on the middle plan */
.pricing .plan.highlight {
    border-color: rgba(50, 200, 255, 0.55);
    box-shadow: 0 16px 50px rgba(0,180,255,0.18);
}

/* === Global spacing polish (non-destructive) === */
:root {
    --sec-pad: clamp(36px, 6vw, 80px);
    --block-gap: clamp(14px, 2.2vw, 24px);
}

/* Add breathable vertical rhythm to each section */
section > .container {
    padding-top: var(--sec-pad);
    padding-bottom: var(--sec-pad);
}

/* Tight, consistent heading stack */
.section-title {
    margin: 0 0 clamp(10px, 1.4vw, 16px) 0;
}

.section-sub {
    margin: 0 0 clamp(18px, 2.4vw, 28px) 0;
}

/* Card grids: unify gaps and paddings */
.cards {
    gap: clamp(14px, 2vw, 20px);
}

.tools-grid {
    gap: clamp(14px, 2vw, 20px);
}
/* if present */
.card {
    padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.2vw, 24px);
}

/* Ensure stacked blocks don't collide */
.cards + .cards,
.cards + .pricing-grid,
.pricing-grid + .cards,
.cards + .tools-grid,
.tools-grid + .cards {
    margin-top: var(--block-gap);
}

/* Pricing grid spacing harmony */
.pricing .pricing-grid {
    gap: clamp(16px, 2vw, 24px);
}

.pricing .section-title {
    margin-bottom: clamp(10px, 1.6vw, 18px);
}

.pricing .section-sub {
    margin-bottom: clamp(18px, 2.4vw, 28px);
}

/* Minor tweaks to small components */
.eyebrow {
    margin-bottom: 8px;
}

.trust .row {
    gap: 10px;
}

/* if trust chips row exists */

/* =====================
        Professional spacing system (v2)
        Non-destructive: structure unchanged
        ===================== */

/* Fluid spacing scale */
:root {
    --space-2: clamp(4px, .4vw, 8px);
    --space-3: clamp(6px, .6vw, 12px);
    --space-4: clamp(8px, .9vw, 16px);
    --space-5: clamp(12px, 1.2vw, 20px);
    --space-6: clamp(14px, 1.6vw, 24px);
    --space-7: clamp(18px, 2.0vw, 30px);
    --space-8: clamp(22px, 2.6vw, 36px);
    --space-9: clamp(28px, 3.2vw, 48px);
    --space-10: clamp(36px, 4.0vw, 64px);
    --container-pad: clamp(18px, 2.4vw, 28px);
    --section-pad-y: var(--space-10);
    --stack-gap: var(--space-6);
}

/* Containers & sections */
.container {
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

section > .container {
    padding-top: var(--section-pad-y);
    padding-bottom: var(--section-pad-y);
}

section + section {
    margin-top: 0;
}
/* avoid double spacing */

/* Heading rhythm (no top margins, controlled bottoms) */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-sub {
    margin-top: 0;
    margin-bottom: var(--space-7); 
}

/* Paragraphs and small text */
p {
    margin: 0 0 var(--space-5) 0;
}

.note, .muted, small {
    line-height: 1.45;
}

/* Global stacks: space consecutive blocks evenly */
.stack > * + * {
    margin-top: var(--stack-gap);
}

/* Cards + grids */
.cards {
    gap: var(--space-5);
}

.card {
    padding: var(--space-6);
}

.cards + .cards,
.cards + .tools-grid,
.tools-grid + .cards,
.cards + .pricing-grid,
.pricing-grid + .cards {
    margin-top: var(--space-8);
}

/* Ecosystem 'trust' chips row */
.trust .row {
    gap: var(--space-3);
}

.trust {
    margin-bottom: var(--space-7);
}

/* Integrations grid (if present) */
.integrations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: var(--space-5);
}

@media (max-width: 960px) {
    .integrations {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .integrations {
        grid-template-columns: 1fr;
    }
}

.integration {
    padding: var(--space-6);
    border-radius: 14px;
    border: 1px dashed rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.03);
}

    .integration h5 {
        margin: 0 0 var(--space-3) 0;
    }

/* Purpose-built tools grid alignment */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width: 820px) {
    .tools-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 540px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

.tool-card {
    padding: var(--space-6);
}

    .tool-card h4 {
        margin-bottom: var(--space-3);
    }

    .tool-card p {
        margin: 0;
    }

/* Pricing spacing tune (keeps original markup) */
.pricing .section-title {
    margin-bottom: var(--space-4);
}

.pricing .section-sub {
    margin-bottom: var(--space-6);
}

.pricing .pricing-grid {
    gap: var(--space-5);
}

.pricing .plan {
    padding: var(--space-6);
}

.pricing .plan .name {
    margin-bottom: var(--space-2);
}

.pricing .plan .price {
    margin: var(--space-2) 0;
}

.pricing .plan ul {
    margin: var(--space-4) 0 var(--space-5) 0;
    gap: var(--space-3);
}

.pricing .plan .cta {
    margin-top: auto;
}

/* Forms (BETA signup) */
form .row, form .grid, form .fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: var(--space-4) var(--space-5);
}

@media (max-width: 880px) {
    form .row, form .grid, form .fields {
        grid-template-columns: 1fr;
    }
}

form .field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

form .field label {
    margin: 0;
}

form textarea {
    min-height: 120px;
}

/* Utility: push next block down a bit after big hero */
.hero + section > .container {
    padding-top: calc(var(--section-pad-y) * .75);
}

/* =========================
Layout Lock v3 — precise spacing fixes
========================= */

/* Fluid tokens */
:root {
    --x-2: clamp(6px, .6vw, 10px);
    --x-3: clamp(10px, .9vw, 14px);
    --x-4: clamp(14px, 1.2vw, 20px);
    --x-5: clamp(18px, 1.6vw, 24px);
    --x-6: clamp(22px, 2.0vw, 32px);
    --x-7: clamp(28px, 2.6vw, 44px);
    --x-8: clamp(36px, 3.4vw, 56px);
    --x-9: clamp(44px, 4.2vw, 72px);
}

/* 1) Neutralize old blanket section padding and rebuild consistently */
section {
    padding: 0 !important;
}

/* override earlier 'section{padding:56px 0}' */
section.container,
section.hero,
section#ecosystem,
section#beta,
section.pricing {
    padding-top: var(--x-9);
    padding-bottom: var(--x-9);
}

/* 2) Heading stack rhythm */
.section-title {
    margin: 0 0 var(--x-4) 0;
}

.section-sub {
    margin: 0 0 var(--x-6) 0;
}

/* 3) Card & grid spacing */
.cards {
    gap: var(--x-5) !important;
}

.card {
    padding: var(--x-5) !important;
}

/* 4) Integrations grid: even spacing with section below */
.integrations {
    row-gap: var(--x-5) !important;
}

.integrations + .note, .integrations + .muted, .integrations + p {
    margin-top: var(--x-4) !important;
}

/* 5) Purpose-built tools grid */
.tools-grid, section.container .cards + .cards {
    gap: var(--x-5) !important;
}

/* 6) Pricing: tidy spacing, band, and plan cards — structure intact */
.pricing .container {
    display: grid;
    gap: var(--x-7);
}

.pricing .pricing-grid {
    gap: var(--x-5) !important;
}

.pricing .plan {
    padding: var(--x-5) !important;
}

/* Trial band */
.pricing .trial {
    margin-top: var(--x-7) !important;
    margin-bottom: var(--x-5) !important;
    padding: var(--x-4) var(--x-5) !important;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--x-4);
}

@media (max-width: 680px) {
    .pricing .trial {
        grid-template-columns: 1fr;
    }
}

.pricing .trial h3 {
    margin: 0;
}

.pricing .trial .tiny, .pricing .trial .note {
    margin: 0;
}

.pricing .trial .btn {
    min-width: 160px;
}

/* 7) Beta form spacing — override inline margins and create consistent grid */
#beta .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    column-gap: var(--x-5);
    row-gap: var(--x-4);
}

@media (max-width: 900px) {
    #beta .grid {
        grid-template-columns: 1fr;
    }
}

#beta label {
    margin-top: var(--x-3);
    display: block;
}

#beta input, #beta select {
    margin-top: var(--x-2) !important;
}

#beta textarea {
    margin-top: var(--x-2) !important;
    min-height: 120px;
}

#beta hr {
    margin: var(--x-6) 0 !important;
}

#beta .minor {
    margin-top: var(--x-3);
}

#beta form > .grid + .grid {
    margin-top: var(--x-4);
}

#beta .btn.primary {
    min-width: 200px;
}

#beta .btn + .btn {
    margin-left: var(--x-3);
}

/* 8) Footer separation */
footer {
    margin-top: var(--x-9) !important;
    padding: var(--x-6) 0;
}

footer .foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--x-4);
}

@media (max-width: 700px) {
    footer .foot {
        flex-direction: column;
        align-items: flex-start;
    }
}

section.hero > .container.inner {
    padding-bottom: 28px;
}

.hero .eyebrow {
    margin-bottom: 10px;
}

.hero h1 {
    margin: 0 0 8px 0;
}

.hero p {
    margin-bottom: 14px;
}
/* Side image sizing already set inline; ensure container doesn't add extra margin */
.hero .media {
    margin: 0;
}

/* PRE-LAUNCH + ecosystem intro strip: very compact block */
.intro-strip {
    margin-top: 10px !important;
    margin-bottom: 12px !important;
}

.intro-strip p {
    margin: 6px 0 !important;
}

.intro-strip .muted {
    margin-top: 4px !important;
}

/* Section following the intro strip: slightly reduced top padding */
section + section > .container {
    padding-top: 48px;
}

/* Early ecosystem cards: keep tight but readable */
#ecosystem .section-title {
    margin-bottom: 8px;
}

#ecosystem .section-sub {
    margin-bottom: 18px;
}

#ecosystem .cards {
    gap: 16px;
}

/* Global small tune so the rest of the page remains consistent */
.container > .cards:first-of-type {
    margin-top: 16px;
}

/* === Hero fixes v5 === */
.hero {
    padding: 48px 0 28px !important;
}

.hero .inner, .hero-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
}

.hero .hero-visual {
    padding: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
}

.hero h1 {
    margin: 12px 0 10px !important;
}

.hero p {
    margin-bottom: 14px !important;
}

.hero .cta-row {
    margin-top: 16px !important;
}

/* Intro strip just beneath hero */
.intro-strip {
    margin-top: 10px !important;
    margin-bottom: 14px !important;
}

.intro-strip p {
    margin: 6px 0 !important;
}

/* Slight nudge up for the next section */
section + section > .container {
    padding-top: 44px !important;
}

/* === Button gradient hover (v2) — brand teal→blue + animated on hover === */
:root {
    /* pulled to match your logo & previous buttons */
    --brand-g1: #25E0B1; /* teal-green */
    --brand-g2: #1FC7E3; /* aqua */
    --brand-g3: #2EA8FF; /* sky blue */
    --btn-text-dark: #001018;
}

/* Base button transition hooks */
a.btn, button.btn, .btn {
    position: relative;
    transition: background .28s ease, box-shadow .25s ease, transform .15s ease, border-color .25s ease, color .2s ease;
    will-change: background-position, box-shadow, transform;
}

/* Primary buttons: static brand gradient at rest */
a.btn.primary, button.btn.primary, .btn.primary {
    background-image: linear-gradient(100deg, var(--brand-g1) 0%, var(--brand-g2) 48%, var(--brand-g3) 100%);
    background-size: 130% 100%;
    background-position: 0% 0%;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--btn-text-dark);
}

/* Ghost buttons: neutral at rest; gradient only on hover */
a.btn.ghost, button.btn.ghost, .btn.ghost {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
    color: #e6f3ff;
}

/* Hover animation: sweep the gradient left→right while hovered */
@keyframes btn-sweep {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 0%;
    }
}

a.btn:hover, button.btn:hover, .btn:hover,
a.btn:focus-visible, button.btn:focus-visible, .btn:focus-visible {
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.28);
}
/* Primary: animate the existing gradient continuously while hovered */
a.btn.primary:hover, button.btn.primary:hover, .btn.primary:hover {
    animation: btn-sweep 1.2s ease-in-out infinite alternate;
    background-size: 200% 100%;
}
/* Ghost: fill with animated brand gradient on hover */
a.btn.ghost:hover, button.btn.ghost:hover, .btn.ghost:hover {
    background-image: linear-gradient(100deg, var(--brand-g1) 0%, var(--brand-g2) 48%, var(--brand-g3) 100%);
    background-size: 200% 100%;
    animation: btn-sweep 1.2s ease-in-out infinite alternate;
    color: var(--btn-text-dark);
    border-color: rgba(255,255,255,0.22);
}

/* Accessibility: focus-visible ring */
a.btn:focus-visible, button.btn:focus-visible, .btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(46,168,255,0.45), 0 12px 28px rgba(0,0,0,0.35);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    a.btn, button.btn, .btn {
        transition: none;
    }

        a.btn:hover, button.btn:hover, .btn:hover {
            transform: none;
            animation: none;
        }
}

/* Keep the nav "Pricing" button grey and static (no animated gradient) */
a.btn.pricing-link {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    color: #e6ecf3 !important;
}

a.btn.pricing-link:hover,
a.btn.pricing-link:focus,
a.btn.pricing-link:focus-visible {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.22) !important;
    color: #ffffff !important;
    /* neutralize global hover effects */
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
    background-image: none !important;
    background-size: auto !important;
}

/* === Hero spacing tight (v1) === */
section.hero {
    padding-top: 48px;
    padding-bottom: 32px;
}

section.hero .container.inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
}

section.hero .pill {
    margin-bottom: 10px;
}

#hero-proposals-logo {
    margin: 8px 0 12px;
    display: block;
    max-width: 420px;
    width: 100%;
    height: auto;
}

section.hero h1 {
    margin: 0 0 12px 0;
    line-height: 1.05;
}

section.hero p {
    margin: 0 0 16px 0;
}

section.hero .actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    
    section.hero .container.inner {
        gap: 24px;
        grid-template-columns: 1fr;
    }

    #hero-proposals-logo {
        max-width: 360px;
        margin: 8px 0 10px;
    }

}
  

/* === Unified section spacing (v2) === */
:root {
    --sec-top: 56px;
    --sec-bottom: 44px;
}
/* Apply to all content sections except the hero */
section.container {
    padding-top: var(--sec-top) !important;
    padding-bottom: var(--sec-bottom) !important;
}
/* Pricing has its own wrapper; give it the same visual spacing */
section.pricing {
    padding-top: var(--sec-top) !important;
    padding-bottom: var(--sec-bottom) !important;
}
/* Add a small tighten for cards just under titles to avoid double gaps */
section.container .section-title {
    margin-bottom: 12px;
}

section.container .section-sub {
    margin-bottom: 22px;
}
/* Keep consistency between stacked blocks inside sections */
section.container .cards, section.container .pricing-grid {
    gap: 16px;
}

/* === Pricing header/subtext spacing: tighter === */
section.pricing .section-title,
section#pricing .section-title {
    margin-bottom: 6px !important; /* was larger; tighten */
}

section.pricing .section-sub,
section#pricing .section-sub {
    margin-bottom: 14px !important; /* bring cards closer */ 
}
/* Ensure grid isn't adding extra gap */
section.pricing .pricing-grid {
    margin-top: 0 !important;
    gap: 18px; /* keep consistent but compact */
}

/* === Pricing header/subtext spacing: v2 tighter === */
section.pricing .section-title {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}

section.pricing .section-sub {
    margin-top: 0 !important;
    margin-bottom: 8px !important; 
    line-height: 1.35;
}

section.pricing .pricing-grid {
    margin-top: 0 !important;
    gap: 18px !important;
}

/* === Pricing header/subtext spacing: v3 (ultra tight) === */
section.pricing .section-title {
    margin-top: 0 !important;
    margin-bottom: 2px !important;
    line-height: 1.06;
}

section.pricing .section-sub {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    line-height: 1.32; 
    width: 100%;
    box-sizing: border-box;
    display: block;
}

section.pricing .pricing-grid {
    margin-top: 0 !important;
    gap: 16px !important;
}

.grid.beta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.beta-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 18px;
}

.beta-card label {
    margin-top: 10px;
    display: block;
}

.beta-card .field {
    margin: 10px 0 14px;
}

.beta-card select, .beta-card input, .beta-card textarea {
    width: 100%;
}

@media (max-width:900px) {
    .grid.beta-grid {
        grid-template-columns: 1fr;
    }
}

/* Centered glow inside the beta form */
section#beta form {
    position: relative;
    overflow: hidden;
}

/* ensure inputs sit above glow */
section#beta .beta-card, section#beta .grid, section#beta .field, section#beta label,
section#beta input, section#beta select, section#beta textarea {
    position: relative;
    z-index: 1;
}

/* Footer copyright */
footer .copyright {
    font-size: 14px;
    color: #9fb0c7;
    opacity: .9;
    margin-top: 6px;
}

footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 28px 0;
}

footer .foot {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

footer .foot > :nth-child(1) {
    justify-self: start;
    text-align: left;
    color: #9fb0c7;
}

footer .foot > :nth-child(2) {
    justify-self: center;
    text-align: center;
}

footer .foot > :nth-child(3) {
    justify-self: end;
    text-align: right;
    color: #9fb0c7;
}

@media (max-width: 900px) {

    footer .foot {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    footer .foot > * {
        justify-self: center;
        text-align: center;
    }

}

/* harmonize tiny text */
footer .tiny {
    color: #9fb0c7;
}

/* Refined centered glow (reduced bottom spill) */
section#beta form {
    position: relative;
    overflow: hidden;
}

/* Single centered in-form glow (tight & higher) */
section#beta form {
    position: relative;
    overflow: hidden;
}

section#beta .beta-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: min(820px,72vw);
    height: clamp(280px,36vw,400px);
    background: radial-gradient(48% 50% at 50% 50%, rgba(37,224,177,0.30) 0%, rgba(37,224,177,0.11) 30%, rgba(37,224,177,0.00) 48%);
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
}

/* ensure content above */
section#beta .grid, section#beta .beta-card, section#beta label,
section#beta input, section#beta select, section#beta textarea {
    position: relative;
    z-index: 1;
}

/* Footer layout tidy */
footer {
    border-top: 1px solid rgba(255,255,255,0.06);
}

footer .foot {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 0;
}

footer .foot > :first-child {
    justify-self: start;
    text-align: left;
    color: #9fb0c7;
}

footer .foot > :nth-child(2) {
    justify-self: center;
    text-align: center;
}

footer .foot > :last-child {
    justify-self: end;
    text-align: right;
    color: #9fb0c7;
}

footer .tiny {
    color: #9fb0c7;
}

@media (max-width: 900px) {

    footer .foot {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    footer .foot > * {
        justify-self: center;
        text-align: center;
    }
}

/* Footer spacing + alignment */
footer {
    border-top: 1px solid rgba(255,255,255,0.06);
}

footer .foot {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 16px;
    gap: 16px;
}

footer .foot > * {
    line-height: 1.35;
}

footer .foot .brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

footer .foot .brand-block img {
    display: block;
    margin: 0 auto;
}

footer .foot .left {
    justify-self: start;
    text-align: left;
    color: #9fb0c7;
}

footer .foot .right {
    justify-self: end;
    text-align: right;
    color: #9fb0c7;
}

@media (max-width:900px) {

    footer .foot {
        grid-template-columns: 1fr;
    }

    footer .foot .left, footer .foot .right {
        justify-self: center;
        text-align: center;
    }

}

.wrong-field {
    background: #ffd2d2;
}

main {
    padding-left: 15px;
    padding-right: 15px;
}

.container.nav .actions > * {
    margin-left: 5px;
    margin-right: 5px;
}

.proposals-top-promo-block .actions .btn {
    margin-left: 5px;
    margin-right: 5px;
}

#betaForm {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    margin-top: 30px;
}

@media (max-width: 767.98px) {

    .container.nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .container.nav .actions {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .hero .container.inner {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center !important;
        text-align: center;
    }

    .proposals-top-promo-block {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center !important;
        text-align: center;
    }

    .section-title {
        text-align: center;
        margin-bottom: 5px;
    }

    .section-sub {
        text-align: center;
    }

    #betaForm,
    .cards,
    .integrations {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #thanks {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    #trial {
        text-align: center;
        padding-bottom: 2rem !important;
    }

    #trial .restrictions {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .minor {
        text-align: center;
    }

    .actions {
        justify-content: center !important;
        align-items: center !important;
    }

}