/* WireTap marketing landing */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700;800&display=swap');

.landing-body {
    --landing-bg: #07080c;
    --landing-surface: rgba(22, 27, 34, 0.72);
    --landing-border: rgba(255, 255, 255, 0.08);
    --landing-orange: #f0883e;
    --landing-orange-glow: rgba(240, 136, 62, 0.45);
    --landing-blue: #58a6ff;
    --landing-blue-glow: rgba(88, 166, 255, 0.35);
    --landing-text: #e6edf3;
    --landing-muted: #8b949e;
    --landing-nav-h: 72px;

    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--landing-bg);
    color: var(--landing-text);
    overflow-x: hidden;
}

.landing-body * {
    box-sizing: border-box;
}

/* ----- Nav ----- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--landing-nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 48px);
    background: rgba(7, 8, 12, 0.94);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.landing-nav.is-scrolled {
    background: rgba(7, 8, 12, 0.98);
    border-bottom-color: var(--landing-border);
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--landing-text);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.landing-brand-mark {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--landing-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(3.5);
}

.landing-nav a.landing-link-discord:hover {
    color: #949cf0;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-nav a.landing-link {
    color: var(--landing-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.landing-nav a.landing-link:hover {
    color: var(--landing-text);
    background: rgba(255, 255, 255, 0.05);
}

.landing-nav a.landing-link.is-active {
    color: var(--landing-text);
    background: rgba(255, 255, 255, 0.07);
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.landing-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #f0883e 0%, #e67a2e 100%);
    box-shadow: 0 4px 24px var(--landing-orange-glow);
}

.landing-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--landing-orange-glow);
}

.landing-btn-ghost {
    color: var(--landing-text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--landing-border);
}

.landing-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.landing-btn-discord {
    color: #fff;
    background: #5865f2;
    box-shadow: 0 4px 24px rgba(88, 101, 242, 0.4);
}

.landing-btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.5);
}

.landing-btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 12px;
}

/* ----- Hero ----- */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--landing-nav-h) + 48px) clamp(20px, 4vw, 48px) 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    isolation: isolate;
    contain: paint;
}

.landing-hero.is-offscreen .hero-aurora,
.landing-hero.is-offscreen .hero-aurora-alt,
.landing-hero.is-offscreen .hero-beams,
.landing-hero.is-offscreen .hero-grid,
.landing-hero.is-offscreen .hero-badge-dot {
    animation-play-state: paused;
}

.landing-body.is-scrolling .hero-aurora,
.landing-body.is-scrolling .hero-aurora-alt,
.landing-body.is-scrolling .hero-beams,
.landing-body.is-scrolling .hero-grid,
.landing-body.is-scrolling .hero-badge-dot {
    animation-play-state: paused;
}

.hero-bg > * {
    position: absolute;
}

#hero-canvas {
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: block;
    contain: strict;
}

.hero-aurora {
    inset: -35% -20%;
    z-index: 1;
    background:
        radial-gradient(ellipse 65% 55% at 20% 20%, rgba(240, 136, 62, 0.34), transparent 68%),
        radial-gradient(ellipse 60% 50% at 80% 15%, rgba(88, 166, 255, 0.26), transparent 65%),
        radial-gradient(ellipse 50% 45% at 50% 60%, rgba(240, 136, 62, 0.14), transparent 70%);
    animation: heroAurora 20s ease-in-out infinite alternate;
}

.hero-aurora-alt {
    inset: -30% -25%;
    z-index: 1;
    background:
        radial-gradient(ellipse 55% 60% at 70% 40%, rgba(88, 166, 255, 0.24), transparent 68%),
        radial-gradient(ellipse 45% 50% at 15% 55%, rgba(240, 136, 62, 0.2), transparent 62%);
    animation: heroAuroraAlt 26s ease-in-out infinite alternate;
    opacity: 0.9;
}

@keyframes heroAurora {
    0% { transform: translate(-4%, 2%) scale(1) rotate(0deg); opacity: 0.75; }
    33% { transform: translate(3%, -5%) scale(1.12) rotate(2deg); opacity: 1; }
    66% { transform: translate(-2%, 4%) scale(1.06) rotate(-1deg); opacity: 0.9; }
    100% { transform: translate(5%, -2%) scale(1.1) rotate(1deg); opacity: 0.85; }
}

@keyframes heroAuroraAlt {
    0% { transform: translate(5%, -3%) scale(1.05) rotate(-2deg); }
    50% { transform: translate(-6%, 4%) scale(1.15) rotate(3deg); }
    100% { transform: translate(2%, 6%) scale(1.08) rotate(-1deg); }
}

.hero-beams {
    inset: -55% -35%;
    z-index: 2;
    background: conic-gradient(
        from 200deg at 50% 30%,
        transparent 0deg,
        rgba(240, 136, 62, 0.09) 35deg,
        transparent 75deg,
        rgba(88, 166, 255, 0.07) 130deg,
        transparent 190deg,
        rgba(240, 136, 62, 0.06) 270deg,
        transparent 360deg
    );
    animation: heroBeamsSpin 55s linear infinite;
    opacity: 0.7;
}

@keyframes heroBeamsSpin {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.1); }
}

.hero-grid {
    left: -50%;
    right: -50%;
    bottom: -10%;
    height: 55%;
    z-index: 3;
    background-image:
        linear-gradient(rgba(240, 136, 62, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 136, 62, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(500px) rotateX(62deg);
    transform-origin: center bottom;
    mask-image: linear-gradient(to top, black 0%, transparent 85%);
    -webkit-mask-image: linear-gradient(to top, black 0%, transparent 85%);
    animation: heroGridDrift 22s linear infinite;
}

@keyframes heroGridDrift {
    0% { transform: perspective(500px) rotateX(62deg) translate3d(0, 0, 0); }
    100% { transform: perspective(500px) rotateX(62deg) translate3d(0, 48px, 0); }
}

.hero-noise {
    inset: 0;
    z-index: 5;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-vignette {
    inset: 0;
    z-index: 6;
    background:
        linear-gradient(180deg, rgba(7, 8, 12, 0.3) 0%, transparent 35%),
        linear-gradient(0deg, var(--landing-bg) 0%, transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    margin-bottom: 28px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--landing-orange);
    background: rgba(240, 136, 62, 0.12);
    border: 1px solid rgba(240, 136, 62, 0.25);
    border-radius: 100px;
    animation: heroFadeUp 0.8s ease both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--landing-orange);
    box-shadow: 0 0 12px var(--landing-orange);
    animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    max-width: 14ch;
    animation: heroFadeUp 0.8s ease 0.1s both;
}

.hero-title .hero-gradient {
    background: linear-gradient(135deg, #fff 0%, #f0883e 50%, #58a6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
    color: var(--landing-muted);
    max-width: 52ch;
    margin: 0 0 36px;
    animation: heroFadeUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 56px;
    animation: heroFadeUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 48px;
    padding-top: 32px;
    border-top: 1px solid var(--landing-border);
    animation: heroFadeUp 0.8s ease 0.45s both;
}

.hero-stat strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--landing-text);
    margin-bottom: 4px;
}

.hero-stat span {
    font-size: 0.85rem;
    color: var(--landing-muted);
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----- Sections ----- */
.landing-section {
    position: relative;
    z-index: 2;
    padding: 100px clamp(20px, 4vw, 48px);
    max-width: 1200px;
    margin: 0 auto;
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.landing-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.landing-section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.landing-section-header p {
    color: var(--landing-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 28px;
    background: rgba(22, 27, 34, 0.92);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    border-color: rgba(240, 136, 62, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--landing-orange);
    background: rgba(240, 136, 62, 0.12);
    border-radius: 12px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--landing-muted);
    margin: 0;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.step-card {
    position: relative;
    padding: 32px 28px 28px;
    background: linear-gradient(160deg, rgba(28, 33, 40, 0.9) 0%, rgba(15, 17, 23, 0.95) 100%);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
}

.step-card::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(240, 136, 62, 0.25);
    margin-bottom: 16px;
}

.step-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.step-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--landing-muted);
    margin: 0;
}

.landing-discord {
    position: relative;
    z-index: 2;
    padding: 0 clamp(20px, 4vw, 48px) 40px;
    max-width: 1200px;
    margin: 0 auto;
    content-visibility: auto;
    contain-intrinsic-size: auto 200px;
}

.landing-discord-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 40px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.14) 0%, rgba(22, 27, 34, 0.9) 45%, rgba(240, 136, 62, 0.08) 100%);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(88, 101, 242, 0.12);
}

.landing-discord-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #949cf0;
    margin-bottom: 10px;
}

.landing-discord-label i {
    font-size: 1.1rem;
}

.landing-discord-copy h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 10px;
}

.landing-discord-copy p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.6;
    max-width: 48ch;
}

.landing-discord-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.landing-cta {
    text-align: center;
    padding: 80px clamp(20px, 4vw, 48px) 100px;
    max-width: 720px;
    margin: 0 auto;
    content-visibility: auto;
    contain-intrinsic-size: auto 280px;
}

.landing-cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 16px;
}

.landing-cta p {
    color: var(--landing-muted);
    margin: 0 0 32px;
    line-height: 1.6;
}

.landing-footer {
    padding: 32px clamp(20px, 4vw, 48px);
    border-top: 1px solid var(--landing-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-footer p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--landing-muted);
}

.landing-footer-links {
    display: flex;
    gap: 20px;
}

.landing-footer-links a {
    font-size: 0.85rem;
    color: var(--landing-muted);
    text-decoration: none;
}

.landing-footer-links a:hover {
    color: var(--landing-text);
}

@media (max-width: 640px) {
    .landing-nav a.landing-link {
        display: none;
    }

    .hero-stats {
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-aurora,
    .hero-aurora-alt,
    .hero-beams,
    .hero-grid,
    .hero-badge-dot {
        animation: none;
    }

    .hero-title,
    .hero-lead,
    .hero-actions,
    .hero-stats,
    .hero-badge {
        animation: none;
    }
}

/* ----- Pricing page ----- */
.pricing-hero {
    position: relative;
    padding: calc(var(--landing-nav-h) + 56px) clamp(20px, 4vw, 48px) 48px;
    text-align: center;
    overflow: hidden;
}

.pricing-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(240, 136, 62, 0.18), transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 30%, rgba(88, 166, 255, 0.1), transparent 55%);
    pointer-events: none;
}

.pricing-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.pricing-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}

.pricing-lead {
    margin: 0;
    color: var(--landing-muted);
    font-size: 1.1rem;
    line-height: 1.65;
}

.pricing-section {
    padding-top: 24px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 64px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: var(--landing-surface);
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}

.pricing-card-featured {
    border-color: rgba(240, 136, 62, 0.45);
    box-shadow: 0 12px 48px rgba(240, 136, 62, 0.12);
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--landing-orange);
    background: rgba(240, 136, 62, 0.15);
    border-radius: 100px;
}

.pricing-card-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.pricing-card-price {
    margin: 0 0 8px;
    line-height: 1.1;
}

.pricing-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pricing-period {
    display: block;
    margin-top: 4px;
    font-size: 0.95rem;
    color: var(--landing-muted);
}

.pricing-card-note {
    margin: 0 0 0;
    font-size: 0.9rem;
    color: var(--landing-orange);
    flex: 1;
}

.pricing-card-btn {
    width: 100%;
    margin-top: 24px;
}

.pricing-included {
    margin-bottom: 56px;
    padding: 36px;
    background: rgba(22, 27, 34, 0.65);
    border: 1px solid var(--landing-border);
    border-radius: 18px;
}

.pricing-included h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 20px;
}

.pricing-included-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px 24px;
}

.pricing-included-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--landing-muted);
}

.pricing-included-list i {
    color: var(--landing-orange);
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-faq h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 20px;
}

.pricing-faq-list {
    margin: 0;
    display: grid;
    gap: 16px;
}

.pricing-faq-item {
    padding: 22px 24px;
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid var(--landing-border);
    border-radius: 14px;
}

.pricing-faq-item dt {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--landing-text);
}

.pricing-faq-item dd {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--landing-muted);
}

/* ----- Legal pages (Terms, Privacy) ----- */
.legal-hero {
    position: relative;
    z-index: 2;
    padding: calc(var(--landing-nav-h) + 48px) clamp(20px, 4vw, 48px) 28px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.legal-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: var(--landing-text);
}

.legal-updated {
    color: var(--landing-muted);
    font-size: 0.9rem;
    margin: 0;
}

.legal-document {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px) 96px;
}

.legal-document section {
    margin-bottom: 36px;
    padding: 28px 28px 24px;
    background: var(--landing-surface);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.legal-document h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--landing-text);
    letter-spacing: -0.02em;
}

.legal-document p {
    color: var(--landing-muted);
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0 0 14px;
}

.legal-document p:last-child {
    margin-bottom: 0;
}

.legal-document ul {
    margin: 0 0 14px 0;
    padding-left: 1.35rem;
    color: var(--landing-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.legal-document li + li {
    margin-top: 8px;
}

.legal-lead {
    font-size: 1.05rem !important;
    color: var(--landing-text) !important;
    margin-bottom: 28px !important;
    padding: 24px 28px;
    background: rgba(240, 136, 62, 0.08);
    border: 1px solid rgba(240, 136, 62, 0.22);
    border-radius: 16px;
    line-height: 1.65 !important;
}

.legal-closing {
    margin-top: 8px;
    padding: 20px 28px;
    font-size: 0.95rem;
    color: var(--landing-muted);
    text-align: center;
    border-top: 1px solid var(--landing-border);
}

.legal-placeholder {
    padding: 48px 32px;
    text-align: center;
    background: var(--landing-surface);
    border: 1px dashed var(--landing-border);
    border-radius: 16px;
}

.legal-placeholder p {
    margin: 0;
    font-size: 1rem;
    color: var(--landing-muted);
    line-height: 1.6;
}

/* Privacy policy (long-form Termly content) */
.legal-document--privacy {
    max-width: 820px;
}

.legal-document h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 20px 0 12px;
    color: var(--landing-text);
}

.legal-document h3:first-of-type {
    margin-top: 0;
}

.legal-in-short {
    padding: 12px 16px;
    margin-bottom: 16px !important;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid rgba(240, 136, 62, 0.5);
    border-radius: 0 8px 8px 0;
}

.legal-intro-list {
    margin-bottom: 20px !important;
}

.legal-summary {
    margin-bottom: 36px;
    padding: 28px 28px 24px;
    background: var(--landing-surface);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.legal-summary h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--landing-text);
}

.legal-summary p {
    color: var(--landing-muted);
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0 0 14px;
}

.legal-toc {
    margin-bottom: 36px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
}

.legal-toc h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--landing-text);
}

.legal-toc ol {
    margin: 0;
    padding-left: 1.35rem;
    color: var(--landing-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-toc li + li {
    margin-top: 6px;
}

.legal-toc a {
    color: var(--landing-accent, #f0883e);
    text-decoration: none;
}

.legal-toc a:hover {
    text-decoration: underline;
}

.legal-document a {
    color: var(--landing-accent, #f0883e);
    text-decoration: none;
}

.legal-document a:hover {
    text-decoration: underline;
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 16px 0 20px;
    -webkit-overflow-scrolling: touch;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--landing-muted);
}

.legal-table th,
.legal-table td {
    padding: 12px 14px;
    border: 1px solid var(--landing-border);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    font-weight: 600;
    color: var(--landing-text);
    background: rgba(255, 255, 255, 0.04);
}

.legal-table td:last-child {
    text-align: center;
    white-space: nowrap;
    width: 90px;
}

.legal-contact-block {
    margin: 0 !important;
    line-height: 1.8 !important;
    color: var(--landing-text) !important;
}
