:root {
    --sp-bg: #020617;
    --sp-bg-soft: #020617;
    --sp-bg-elevated: #020617;
    --sp-bg-card: #020617;
    --sp-bg-muted: #020617;
    --sp-surface: #020617;
    --sp-border: rgba(148, 163, 184, 0.2);
    --sp-border-strong: rgba(148, 163, 184, 0.3);
    --sp-primary: #38bdf8;
    --sp-primary-soft: rgba(56, 189, 248, 0.12);
    --sp-accent: #a855f7;
    --sp-text: #e5e7eb;
    --sp-text-soft: #9ca3af;
    --sp-text-muted: #6b7280;
    --sp-danger: #f97373;
    --sp-success: #22c55e;
    --sp-warning: #fbbf24;
    --sp-radius: 18px;
    --sp-radius-pill: 999px;
    --sp-shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.7);
    --sp-shadow-strong: 0 24px 80px rgba(15, 23, 42, 0.9);
    --sp-font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", sans-serif;
}

/* RESET-ish */

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

html,
body {
    margin: 0;
    padding: 0;
}

body.sp-body {
    font-family: var(--sp-font);
    background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
    color: var(--sp-text);
    -webkit-font-smoothing: antialiased;
}

/* LAYOUT */

.sp-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER & NAV */

.sp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(24px);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
        rgba(2, 6, 23, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.sp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1.5rem;
}

.sp-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.sp-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 14px;
    background: conic-gradient(
        from 220deg,
        #38bdf8,
        #a855f7,
        #22c55e,
        #38bdf8
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0b1120;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.7);
}

.sp-logo-text {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 1rem;
}

.sp-logo-sub {
    font-size: 0.7rem;
    color: var(--sp-text-muted);
}

.sp-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sp-nav-link {
    position: relative;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    color: var(--sp-text-soft);
    text-decoration: none;
    border: 1px solid transparent;
    transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease,
        transform 0.16s ease;
}

.sp-nav-link:hover {
    color: var(--sp-text);
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-1px);
}

.sp-nav-link--ghost {
    border-color: rgba(148, 163, 184, 0.4);
}

.sp-nav-link--outline {
    border-color: rgba(56, 189, 248, 0.55);
    color: #e0f2fe;
}

.sp-nav-link--outline:hover {
    background: rgba(56, 189, 248, 0.1);
}

/* Mobile nav button */

.sp-nav-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.sp-nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--sp-text);
    margin: 2px 0;
    transition: transform 0.16s ease, opacity 0.16s ease;
}

/* HERO */

.sp-hero {
    padding: 3.5rem 0 2.5rem;
}

.sp-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 2.25rem;
    align-items: center;
}

.sp-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.15rem 0.75rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #bbf7d0;
    margin-bottom: 0.75rem;
}

.sp-hero h1 {
    font-size: clamp(2.4rem, 3.2vw + 1.4rem, 3.4rem);
    line-height: 1.02;
    margin: 0 0 0.9rem;
    letter-spacing: -0.03em;
}

.sp-accent {
    background: linear-gradient(to right, #38bdf8, #a855f7, #22c55e);
    -webkit-background-clip: text;
    color: transparent;
}

.sp-hero-subtitle {
    margin: 0 0 1.4rem;
    font-size: 0.98rem;
    max-width: 32rem;
    color: var(--sp-text-soft);
}

.sp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--sp-radius-pill);
    border: 1px solid transparent;
    font-size: 0.9rem;
    padding: 0.7rem 1.3rem;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.16s ease, transform 0.16s ease,
        box-shadow 0.16s ease, border-color 0.16s ease;
}

.sp-btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #0b1120;
    box-shadow: 0 15px 40px rgba(8, 47, 73, 0.9);
}

.sp-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 48px rgba(8, 47, 73, 0.95);
}

.sp-btn-ghost {
    border-color: rgba(148, 163, 184, 0.6);
    color: var(--sp-text-soft);
    background: rgba(15, 23, 42, 0.8);
}

.sp-btn-ghost:hover {
    background: rgba(15, 23, 42, 1);
    color: var(--sp-text);
}

.sp-btn-wide {
    width: 100%;
}

.sp-hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 30rem;
}

.sp-meta-item {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 0.4rem 0.8rem;
    display: flex;
    flex-direction: column;
}

.sp-meta-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sp-text-muted);
}

.sp-meta-value {
    font-size: 0.8rem;
}

/* HERO VISUAL */

.sp-hero-visual {
    position: relative;
}

.sp-hero-card {
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.14), transparent 55%),
        rgba(15, 23, 42, 0.96);
    box-shadow: var(--sp-shadow-strong);
    padding: 1.1rem 1.1rem 0.85rem;
    overflow: hidden;
}

.sp-hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
    font-size: 0.78rem;
    color: var(--sp-text-soft);
}

.sp-chip {
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.sp-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 3px solid rgba(15, 23, 42, 0.95);
    background: var(--sp-text-muted);
}

.sp-status-dot--green {
    background: #22c55e;
}

.sp-hero-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.sp-hero-timeline-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.6rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.sp-timeline-badge {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.15);
    color: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.sp-timeline-badge--purple {
    background: rgba(168, 85, 247, 0.16);
    color: #f3e8ff;
}

.sp-timeline-badge--blue {
    background: rgba(37, 99, 235, 0.16);
    color: #dbeafe;
}

.sp-timeline-body {
    display: flex;
    flex-direction: column;
}

.sp-timeline-title {
    font-size: 0.82rem;
}

.sp-timeline-meta {
    font-size: 0.68rem;
    color: var(--sp-text-muted);
}

.sp-timeline-tag {
    font-size: 0.68rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.sp-timeline-tag--amber {
    border-color: rgba(245, 158, 11, 0.7);
    color: #fed7aa;
}

.sp-timeline-tag--green {
    border-color: rgba(34, 197, 94, 0.8);
    color: #bbf7d0;
}

.sp-hero-foot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding-top: 0.7rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.5);
    margin-top: 0.3rem;
}

.sp-hero-foot-metric {
    display: flex;
    flex-direction: column;
}

.sp-hero-foot-label {
    font-size: 0.68rem;
    color: var(--sp-text-muted);
}

.sp-hero-foot-value {
    font-size: 0.9rem;
}

.sp-hero-glow {
    position: absolute;
    inset: 20% -10% -10%;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.15), transparent 55%),
        radial-gradient(circle at bottom, rgba(148, 163, 184, 0.1), transparent 55%);
    opacity: 0.9;
    filter: blur(26px);
    z-index: -1;
}

/* SPLIT SECTION */

.sp-split {
    padding: 1.5rem 0 2.5rem;
}

.sp-split-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}

.sp-card {
    border-radius: var(--sp-radius);
    border: 1px solid var(--sp-border);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.8), #020617);
    padding: 1.4rem 1.35rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
}

.sp-card--dark {
    background: radial-gradient(circle at top right, rgba(15, 23, 42, 0.9), #020617);
}

.sp-card h2 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.sp-card p {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--sp-text-soft);
}

/* GENERIC SECTION STYLES */

.sp-section {
    padding: 2.5rem 0;
}

.sp-section--muted {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.sp-section-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.sp-section-header--left {
    text-align: left;
}

.sp-section-header h2 {
    margin: 0 0 0.4rem;
    font-size: 1.4rem;
}

.sp-section-header p {
    margin: 0;
    color: var(--sp-text-soft);
}

/* LISTS */

.sp-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.sp-list li::before {
    content: "•";
    margin-right: 0.5rem;
    color: var(--sp-text-muted);
}

.sp-list--check li::before {
    content: "✓";
    color: #4ade80;
}

/* STEPS */

.sp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.sp-step {
    border-radius: var(--sp-radius);
    border: 1px solid var(--sp-border);
    background: rgba(15, 23, 42, 0.9);
    padding: 1.2rem 1.1rem 1rem;
}

.sp-step-number {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.18);
    color: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.sp-step h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.sp-step p {
    margin: 0 0 0.7rem;
    font-size: 0.9rem;
    color: var(--sp-text-soft);
}

.sp-step-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.sp-step-list li::before {
    content: "–";
    margin-right: 0.4rem;
    color: var(--sp-text-muted);
}

/* FEATURES GRID */

.sp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.sp-feature {
    border-radius: var(--sp-radius);
    border: 1px solid var(--sp-border);
    padding: 1rem;
    background: rgba(15, 23, 42, 0.92);
    font-size: 0.9rem;
}

.sp-feature h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
}

.sp-feature p {
    margin: 0;
    color: var(--sp-text-soft);
}

/* TEAMS */

.sp-teams {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 1.8rem;
    align-items: center;
}

.sp-teams-panel {
    border-radius: 22px;
    border: 1px solid var(--sp-border-strong);
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 60%),
        rgba(15, 23, 42, 0.98);
    padding: 1.2rem 1.1rem 1rem;
    box-shadow: var(--sp-shadow-soft);
}

.sp-label {
    display: inline-flex;
    font-size: 0.7rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: var(--sp-text-soft);
    margin-bottom: 0.75rem;
}

.sp-calendar-shell {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.98);
    padding: 0.8rem 0.75rem;
}

.sp-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    margin-bottom: 0.7rem;
    color: var(--sp-text-soft);
}

.sp-calendar-tag {
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    background: rgba(56, 189, 248, 0.15);
    color: #e0f2fe;
    font-size: 0.7rem;
}

.sp-calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 0.7rem;
}

.sp-calendar-col {
    font-size: 0.75rem;
}

.sp-calendar-day {
    font-size: 0.7rem;
    color: var(--sp-text-muted);
    margin-bottom: 0.2rem;
}

.sp-calendar-chip {
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(37, 99, 235, 0.65);
    font-size: 0.72rem;
}

.sp-calendar-chip--pending {
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.8);
}

.sp-calendar-chip--paused {
    background: rgba(148, 163, 184, 0.16);
    border-color: rgba(148, 163, 184, 0.85);
}

.sp-calendar-footer {
    font-size: 0.76rem;
    color: var(--sp-text-soft);
    text-align: right;
}

/* CTA */

.sp-cta {
    padding: 2.8rem 0 3.2rem;
}

.sp-cta-inner {
    border-radius: 24px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.23), transparent 55%),
        radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.23), transparent 55%),
        rgba(15, 23, 42, 0.96);
    padding: 1.6rem 1.5rem 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.7rem;
    box-shadow: var(--sp-shadow-strong);
}

.sp-cta-copy h2 {
    margin: 0 0 0.6rem;
    font-size: 1.4rem;
}

.sp-cta-copy p {
    margin: 0;
    color: var(--sp-text-soft);
    max-width: 26rem;
}

.sp-cta-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.sp-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sp-input-label {
    font-size: 0.78rem;
    color: var(--sp-text-muted);
}

.sp-cta-form input,
.sp-cta-form select {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.92);
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
    color: var(--sp-text);
    outline: none;
}

.sp-cta-form input::placeholder {
    color: rgba(148, 163, 184, 0.8);
}

.sp-cta-form input:focus,
.sp-cta-form select:focus {
    border-color: rgba(56, 189, 248, 0.9);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
}

.sp-cta-footnote {
    margin: 0;
    font-size: 0.76rem;
    color: var(--sp-text-muted);
}

/* FOOTER */

.sp-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0.9rem 0 1.2rem;
    background: #020617;
}

.sp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--sp-text-muted);
}

.sp-footer-logo {
    font-weight: 600;
    margin-right: 0.35rem;
}

.sp-footer-links {
    display: flex;
    gap: 0.75rem;
}

.sp-footer-links a {
    color: var(--sp-text-muted);
    text-decoration: none;
}

.sp-footer-links a:hover {
    color: var(--sp-text);
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .sp-hero-inner,
    .sp-split-inner,
    .sp-steps,
    .sp-grid,
    .sp-teams,
    .sp-cta-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .sp-hero-inner {
        gap: 2rem;
    }

    .sp-hero-visual {
        order: -1;
    }

    .sp-cta-inner {
        padding: 1.4rem 1.2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .sp-header-inner {
        padding: 0.6rem 0;
    }

    .sp-nav {
        position: fixed;
        top: 56px;
        right: 1rem;
        left: 1rem;
        flex-direction: column;
        padding: 0.8rem;
        border-radius: 16px;
        background: rgba(15, 23, 42, 0.98);
        border: 1px solid rgba(148, 163, 184, 0.4);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .sp-nav--open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .sp-nav-toggle {
        display: inline-flex;
    }

    .sp-nav-toggle--open span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .sp-nav-toggle--open span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .sp-hero {
        padding-top: 2.2rem;
    }

    .sp-hero h1 {
        font-size: 2.4rem;
    }

    .sp-hero-meta {
        grid-template-columns: 1fr;
    }

    .sp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-calendar-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .sp-container {
        padding: 0 1.1rem;
    }

    .sp-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sp-hero-card {
        padding: 1rem 0.9rem 0.8rem;
    }

    .sp-hero-foot {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-cta-inner {
        padding: 1.2rem 1rem 1.3rem;
    }
}
