/* Copyright (c) Cratis. All rights reserved. */
/* Licensed under the MIT license. See LICENSE file in the project root for full license information. */

/* ── Custom properties matching the Studio event-modeling color scheme ── */
:root {
    --color-event:     #f0a050;
    --color-command:   #7ec8f0;
    --color-readmodel: #b8d63b;
    --color-connected: #10b981;
    --color-sticky:    #fffe9e;

    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}

/* ── Base resets ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
}

/* ── Utility: section wrapper ─────────────────────────────────────────── */
.section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(126, 200, 240, 0.15);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.nav-logo-mark {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.nav-brand {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover { color: #f1f5f9; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: transparent;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(148, 163, 184, 0.3);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.btn-outline:hover {
    color: #f1f5f9;
    border-color: rgba(241, 245, 249, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.6);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    background: rgba(255,255,255,0.07);
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: transform 0.15s, background 0.15s;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

/* ── Hero section ────────────────────────────────────────────────────────── */
.hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8rem 1.5rem 5rem;
}

/* subtle grid overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(126, 200, 240, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126, 200, 240, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

/* glowing orb */
.hero::after {
    content: '';
    position: absolute;
    width: 1100px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.28) 0%, rgba(16,185,129,0.08) 45%, transparent 70%);
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.875rem;
    border-radius: 999px;
    background: rgba(126, 200, 240, 0.1);
    border: 1px solid rgba(126, 200, 240, 0.3);
    color: var(--color-command);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #f8fafc;
    margin: 0 0 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-title-accent {
    background: linear-gradient(90deg, var(--color-command), var(--color-connected));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #94a3b8;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-bottom: 1.25rem;
}

/* ── Event-card preview strip ────────────────────────────────────────────── */
.card-strip {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.event-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    min-width: 130px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transform: rotate(var(--rotate, 0deg));
    transition: transform 0.2s;
}

.event-card:hover { transform: rotate(var(--rotate, 0deg)) translateY(-4px); }

.event-card--event   { background: var(--color-event); color: #7c3d00; --rotate: -1.5deg; }
.event-card--command { background: var(--color-command); color: #0c3d52; --rotate:  1deg; }
.event-card--read    { background: var(--color-readmodel); color: #2d4a00; --rotate: -0.5deg; }
.event-card--sticky  { background: var(--color-sticky); color: #4a4a00; --rotate:  2deg; font-family: 'Patrick Hand', cursive; }

.event-card-type {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.event-card-label {
    font-size: 0.8rem;
    font-weight: 600;
}

/* ── Section labels ──────────────────────────────────────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.section-label--blue   { background: rgba(126, 200, 240, 0.12); color: var(--color-command); border: 1px solid rgba(126,200,240,0.25); }
.section-label--orange { background: rgba(240, 160, 80, 0.12); color: var(--color-event); border: 1px solid rgba(240,160,80,0.25); }
.section-label--green  { background: rgba(16, 185, 129, 0.12); color: var(--color-connected); border: 1px solid rgba(16,185,129,0.25); }
.section-label--lime   { background: rgba(184, 214, 59, 0.12); color: var(--color-readmodel); border: 1px solid rgba(184,214,59,0.25); }

/* ── Generic section ─────────────────────────────────────────────────────── */
.section {
    padding: 6rem 1.5rem;
}

.section--alt {
    background: rgba(30, 41, 59, 0.5);
}

.section-heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #f1f5f9;
    margin: 0 0 1rem;
}

.section-body {
    color: #94a3b8;
    font-size: 1.0625rem;
    line-height: 1.75;
    max-width: 560px;
}

/* ── Feature grid ────────────────────────────────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: rgba(126, 200, 240, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.feature-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem;
}

.feature-card-text {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

.feature-card-text a {
    color: #e2e8f0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.feature-card-text a:hover {
    color: #ffffff;
}

/* ── Two-column split ────────────────────────────────────────────────────── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

@media (max-width: 768px) {
    .split { grid-template-columns: 1fr; gap: 2.5rem; }
    .split--reverse { direction: ltr; }
}

/* ── How it works ────────────────────────────────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(16,185,129,0.2));
    border: 1px solid rgba(37,99,235,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 800;
    color: #7ec8f0;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem;
}

.step-text {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

/* ── CTA section ─────────────────────────────────────────────────────────── */
.cta-section {
    padding: 6rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: #f8fafc;
    margin: 0 0 1.25rem;
    position: relative;
    z-index: 1;
}

.cta-text {
    color: #94a3b8;
    font-size: 1.0625rem;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ── Page layout helpers ────────────────────────────────────────────────── */
.page {
    min-height: 100vh;
    padding: 6rem 1.5rem 4rem;
    background: #07101f;
}

.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 2.5rem;
}

.page-subtitle {
    color: #94a3b8;
    max-width: 760px;
    line-height: 1.75;
    margin-top: 1rem;
}

.note-panel {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148,163,184,0.18);
    border-radius: 16px;
    padding: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.note-panel strong {
    color: #f8fafc;
}

.section-block {
    margin-bottom: 2rem;
}

.section-block h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #f8fafc;
}

.section-block p,
.section-block li {
    color: #cbd5e1;
    line-height: 1.8;
}

.section-block ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
}

.section-block ol {
    padding-left: 1.25rem;
    margin: 0;
}

.section-block code {
    background: rgba(148,163,184,0.08);
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    color: #e2e8f0;
}

.section-block h4 {
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
    color: #e2e8f0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0 1rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.legal-table th,
.legal-table td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(148,163,184,0.15);
    vertical-align: top;
}

.legal-table th {
    color: #f8fafc;
    font-weight: 600;
}

/* ── Vision page sign-off ────────────────────────────────────────────────── */
.vision-signoff {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(148,163,184,0.15);
}

.vision-signoff-text {
    color: #cbd5e1;
    font-size: 1.0625rem;
    line-height: 1.8;
    font-style: italic;
    max-width: 560px;
    margin: 0 0 2rem;
}

.signature-block {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
}

.signature-card {
    text-align: left;
    max-width: 280px;
}

.signature-image {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 0 0.5rem 0;
}

.signature-name {
    font-weight: 700;
    color: #f8fafc;
    font-size: 1rem;
    margin: 0;
}

.signature-title {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0.15rem 0 0;
}

.footer {
    background: #080f1e;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 3rem 1.5rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.footer-brand {
    font-size: 1rem;
    font-weight: 700;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.2s;
}

.footer-link:hover { color: #94a3b8; }

.footer-copy {
    color: #475569;
    font-size: 0.8125rem;
}

/* ── Responsive nav ──────────────────────────────────────────────────────── */
@media (max-width: 760px) {
    .nav-links .nav-link { display: none; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Landing page v2 — real product, real screenshots
   ═══════════════════════════════════════════════════════════════════════════ */

.btn-ghost-nav { padding: 0.5rem 1rem; }
.hero-fineprint {
    position: relative;
    z-index: 1;
    margin: 0 0 3.5rem;
    font-size: 0.8125rem;
    color: #64748b;
}
.hero-fineprint span + span::before { content: '·'; margin: 0 0.6rem; color: #334155; }

/* ── Screenshot frame ───────────────────────────────────────────────────── */
.shot {
    position: relative;
    margin: 0;
    z-index: 1;
}
.shot-window {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0b1224;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.4),
        0 30px 80px -20px rgba(0, 0, 0, 0.75),
        0 0 120px -30px rgba(37, 99, 235, 0.35);
}
.shot-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.9rem;
    background: #111a30;
    border-bottom: 1px solid rgba(148,163,184,0.14);
}
.shot-dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #334155; }
.shot-dot:nth-child(1) { background: #ef6a5e; }
.shot-dot:nth-child(2) { background: #f4bf4f; }
.shot-dot:nth-child(3) { background: #61c554; }
.shot-url {
    margin: 0 auto;
    transform: translateX(-1.1rem);
    padding: 0.15rem 1.25rem;
    border-radius: 6px;
    background: rgba(148,163,184,0.1);
    color: #94a3b8;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
}
.shot-window img { display: block; width: 100%; height: auto; }
.shot-caption {
    margin: 1.1rem auto 0;
    max-width: 760px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94a3b8;
    text-align: center;
}
.shot-caption strong { color: #e2e8f0; }
.shot--hero { width: 100%; max-width: 1180px; }
.shot--hero .shot-window { transform: perspective(2400px) rotateX(3deg); transform-origin: top center; }
@media (max-width: 760px) { .shot--hero .shot-window { transform: none; } }

/* ── Problem section ────────────────────────────────────────────────────── */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.problem-card {
    background: rgba(30, 41, 59, 0.55);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 1.75rem;
}
.problem-card h3 { margin: 0 0 0.6rem; font-size: 1.0625rem; font-weight: 700; color: #f1f5f9; line-height: 1.35; }
.problem-card p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.65; color: #94a3b8; }
.problem-card .with {
    border-top: 1px dashed rgba(148,163,184,0.25);
    padding-top: 1rem;
    margin: 0;
    color: #cbd5e1;
}
.problem-card .with strong { color: var(--color-connected); font-weight: 700; }

/* ── Tour (alternating shot + text) ─────────────────────────────────────── */
.tour-item { padding: 5.5rem 1.5rem; }
.tour-item + .tour-item { border-top: 1px solid rgba(255,255,255,0.04); }
.tour-item--alt { background: rgba(30, 41, 59, 0.4); }
.tour-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3.5rem;
    align-items: center;
}
.tour-split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tour-split--flip .tour-text { order: 2; }
.tour-num {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #475569;
    margin-bottom: 0.6rem;
}
.tour-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.tour-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 0.7rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #94a3b8;
}
.tour-list li::before { content: '✓'; color: var(--color-connected); font-weight: 800; margin-top: 1px; }
.tour-duo { display: grid; gap: 1.25rem; }
@media (max-width: 960px) {
    .tour-split, .tour-split--flip { grid-template-columns: 1fr; gap: 2.5rem; }
    .tour-split--flip .tour-text { order: 0; }
}

/* ── Legend (event-modeling colours) ────────────────────────────────────── */
.legend { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.legend-chip {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.25rem 0.7rem; border-radius: 6px;
    font-size: 0.75rem; font-weight: 700;
}
.legend-chip--command { background: var(--color-command); color: #0c3d52; }
.legend-chip--event   { background: var(--color-event);   color: #7c3d00; }
.legend-chip--read    { background: var(--color-readmodel); color: #2d4a00; }
.legend-chip--note    { background: var(--color-sticky);  color: #4a4a00; font-family: 'Patrick Hand', cursive; font-size: 0.9rem; font-weight: 400; }

/* ── Principles ─────────────────────────────────────────────────────────── */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.principle { padding: 1.5rem; border-left: 2px solid rgba(126,200,240,0.35); }
.principle:nth-child(2) { border-color: rgba(240,160,80,0.45); }
.principle:nth-child(3) { border-color: rgba(184,214,59,0.45); }
.principle:nth-child(4) { border-color: rgba(16,185,129,0.45); }
.principle h3 { margin: 0 0 0.5rem; font-size: 1rem; color: #f1f5f9; }
.principle p { margin: 0; font-size: 0.875rem; line-height: 1.65; color: #94a3b8; }

/* ── Beta / trust strip ─────────────────────────────────────────────────── */
.trust {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
    padding: 1.5rem 1.75rem;
    border-radius: 14px;
    border: 1px solid rgba(16,185,129,0.3);
    background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(37,99,235,0.06));
}
.trust p { margin: 0; max-width: 700px; color: #cbd5e1; font-size: 0.9375rem; line-height: 1.65; }
.trust p strong { color: #f1f5f9; }

/* ── Reveal on scroll ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.price-toggle { display: inline-flex; margin-top: 1.75rem; border: 1px solid rgba(148,163,184,0.3); border-radius: 8px; overflow: hidden; }
.price-toggle button { background: transparent; color: #94a3b8; border: 0; padding: 0.5rem 1.1rem; font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.price-toggle button.is-active { background: rgba(37,99,235,0.3); color: #f1f5f9; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.price-card { background: rgba(30,41,59,0.7); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; }
.price-card:hover { border-color: rgba(126,200,240,0.3); }
.price-card h3 { margin: 0; font-size: 1.0625rem; color: #f1f5f9; }
.price-card p { margin: 0; }
.price-seats { margin-top: 0.25rem !important; font-size: 0.8125rem; color: #94a3b8; }
.price-amount { margin-top: 1rem !important; font-size: 2rem; font-weight: 800; color: #f8fafc; letter-spacing: -0.02em; }
.price-amount small { font-size: 0.875rem; font-weight: 500; color: #94a3b8; margin-left: 0.2rem; }
.price-amount--text { font-size: 1.5rem; margin-bottom: auto !important; }
.price-per { margin-top: 0.35rem !important; font-size: 0.8125rem; color: #94a3b8; }
.price-yearly { display: none; margin-top: 0.75rem !important; font-size: 0.8125rem; color: #94a3b8; }
.price-save { display: inline-block; margin-right: 0.4rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: rgba(59,130,246,0.85); color: #fff; font-weight: 700; font-size: 0.72rem; }
.price-grid[data-period="yearly"] .price-yearly { display: block; }
.price-card--enterprise .btn-outline { margin-top: 1rem; justify-content: center; }

/* The signup links ship hidden and are shown by signup.js; their display rules would otherwise win over [hidden]. */
[hidden] {
    display: none !important;
}
