﻿:root {
    --ds-bg: #f3f6fb;
    --ds-surface: #ffffff;
    --ds-surface-soft: #f8fbff;
    --ds-border: #dbe5f2;
    --ds-border-strong: #c8d7ea;
    --ds-text: #0f172a;
    --ds-muted: #61708a;
    --ds-primary: #1f63ff;
    --ds-primary-dark: #153aa8;
    --ds-accent: #18d58a;
    --ds-accent-dark: #11ba74;
    --ds-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.05);
    --ds-shadow-md: 0 14px 34px rgba(15, 23, 42, 0.08);
    --ds-radius-sm: 12px;
    --ds-radius-md: 18px;
    --ds-radius-lg: 24px;
    --ds-radius-xl: 30px;
    --ds-max-width: 1380px;
}

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

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: var(--ds-bg);
    color: var(--ds-text);
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

.site-shell {
    min-height: calc(100vh - 88px);
}

.site-main {
    width: 100%;
}

.ds-container {
    max-width: var(--ds-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.ds-page {
    padding: 28px 0 40px;
}

.ds-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--ds-radius-xl);
    background: linear-gradient(135deg, #0f183c, #1a2b6c);
    color: #fff;
    padding: 34px;
    box-shadow: var(--ds-shadow-md);
    margin-bottom: 24px;
}

    .ds-hero h1 {
        font-size: clamp(2rem, 4vw, 3.4rem);
        line-height: 0.98;
        letter-spacing: -0.05em;
        margin: 0 0 12px;
        max-width: 14ch;
    }

    .ds-hero p {
        color: rgba(255,255,255,0.86);
        font-size: 1.05rem;
        line-height: 1.65;
        max-width: 64ch;
        margin: 0;
    }

.ds-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.ds-section {
    margin-bottom: 24px;
}

.ds-panel {
    background: var(--ds-surface);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    box-shadow: var(--ds-shadow-sm);
    padding: 28px;
}

    .ds-panel h2,
    .ds-panel h3 {
        letter-spacing: -0.03em;
        color: var(--ds-text);
    }

    .ds-panel p,
    .ds-panel li {
        color: var(--ds-muted);
        line-height: 1.7;
    }

.ds-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.ds-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ds-card {
    background: var(--ds-surface);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    padding: 22px;
    box-shadow: var(--ds-shadow-sm);
}

    .ds-card h3 {
        margin-top: 0;
        margin-bottom: 10px;
        letter-spacing: -0.03em;
    }

    .ds-card p,
    .ds-card li {
        color: var(--ds-muted);
        line-height: 1.65;
    }

.ds-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    font-weight: 800;
    transition: .18s ease;
    border: 1px solid transparent;
}

    .ds-btn:hover {
        transform: translateY(-1px);
    }

.ds-btn-primary {
    background: linear-gradient(180deg, var(--ds-accent), var(--ds-accent-dark));
    color: #fff;
    box-shadow: 0 12px 24px rgba(24, 213, 138, 0.18);
}

.ds-btn-secondary {
    background: #fff;
    border-color: var(--ds-border);
    color: var(--ds-text);
}

.ds-list {
    padding-left: 1.1rem;
    margin: 0;
}

.ds-caption {
    color: var(--ds-muted);
    font-size: .95rem;
}

.marketing-hero-shell {
    border: 1px solid rgba(88, 101, 124, 0.12);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--ds-shadow-sm);
    padding: 40px 38px 36px;
    background:
        radial-gradient(circle at top left, rgba(172, 210, 255, 0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(223, 206, 255, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.92));
}

.marketing-hero-shell h1 {
    margin: 18px auto 16px;
    max-width: 20ch;
    color: var(--ds-text);
    font-size: clamp(2.45rem, 4.3vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.marketing-hero-shell h1.hero-wide {
    max-width: 24ch;
}

.marketing-hero-shell p {
    margin: 0 auto;
    max-width: 50ch;
    color: var(--ds-muted);
    font-size: 1.08rem;
    line-height: 1.62;
}

.marketing-hero-centered {
    text-align: center;
}

.marketing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: stretch;
}

.marketing-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.marketing-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(63, 117, 255, 0.10);
    color: #2e63e8;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.marketing-hero-grid .marketing-badge,
.marketing-hero-centered .marketing-badge {
    width: fit-content;
}

.marketing-hero-centered .marketing-badge {
    margin: 0 auto;
}

.marketing-hero-actions,
.marketing-hero-points {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.marketing-hero-actions {
    margin-top: 28px;
}

.marketing-hero-points {
    margin-top: 24px;
}

.marketing-hero-centered .marketing-hero-actions,
.marketing-hero-centered .marketing-hero-points {
    justify-content: center;
}

.marketing-hero-actions .ds-btn {
    min-width: 208px;
}

.marketing-hero-point {
    position: relative;
    padding-left: 24px;
    color: #41516d;
    font-size: 1rem;
    font-weight: 500;
}

.marketing-hero-point::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #16c45b;
    box-shadow: 0 0 0 5px rgba(22, 196, 91, 0.12);
}

.marketing-visual-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(88, 101, 124, 0.12);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,249,255,0.95));
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.10);
}

.marketing-visual-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: contain;
    background: #fff;
}

.marketing-visual-frame {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(88, 101, 124, 0.12);
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.10);
}

.marketing-visual-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.marketing-signal-grid {
    display: grid;
    gap: 14px;
}

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

.marketing-signal-card {
    border-radius: 22px;
    border: 1px solid rgba(88, 101, 124, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 253, 0.94));
    padding: 22px;
    box-shadow: var(--ds-shadow-sm);
}

.marketing-signal-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ds-text);
    font-size: 1.08rem;
    letter-spacing: -0.03em;
}

.marketing-signal-card p {
    margin: 0;
    color: var(--ds-muted);
    line-height: 1.62;
    font-size: 0.98rem;
}

.marketing-list-panel {
    border-radius: 24px;
    border: 1px solid rgba(88, 101, 124, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 253, 0.94));
    padding: 22px;
    box-shadow: var(--ds-shadow-sm);
}

.marketing-list-panel h3 {
    margin: 0 0 10px;
    color: var(--ds-text);
    letter-spacing: -0.03em;
    font-size: 1.25rem;
}

.marketing-list-panel p {
    margin: 0 0 14px;
    color: var(--ds-muted);
    line-height: 1.65;
}

.marketing-list-panel ul {
    margin: 0;
    padding-left: 1.1rem;
}

.marketing-list-panel li {
    color: var(--ds-muted);
    line-height: 1.65;
}

.marketing-list-panel li + li {
    margin-top: 8px;
}

.marketing-metric-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.marketing-metric {
    border-radius: 18px;
    border: 1px solid rgba(88, 101, 124, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 253, 0.94));
    padding: 14px 16px;
}

.marketing-metric strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ds-text);
    font-size: 1rem;
}

.marketing-metric span {
    color: var(--ds-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.marketing-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.marketing-mini-card {
    border: 1px solid rgba(88, 101, 124, 0.12);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,249,253,0.94));
    box-shadow: var(--ds-shadow-sm);
    padding: 26px;
}

.marketing-mini-card h3 {
    margin: 0 0 10px;
    color: var(--ds-text);
    font-size: 1.18rem;
    line-height: 1.32;
}

.marketing-mini-card p {
    margin: 0;
    color: var(--ds-muted);
    line-height: 1.62;
}

.marketing-spotlight {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #5d85ff, #9c45f0);
    box-shadow: 0 16px 30px rgba(92, 117, 255, 0.22);
    position: relative;
    overflow: hidden;
}

.marketing-spotlight::before,
.marketing-spotlight::after {
    content: "";
    position: absolute;
}

.marketing-spotlight.is-split::before,
.marketing-spotlight.is-split::after {
    top: 18px;
    width: 18px;
    height: 30px;
    border-radius: 6px;
    background: rgba(255,255,255,0.95);
}

.marketing-spotlight.is-split::before {
    left: 14px;
}

.marketing-spotlight.is-split::after {
    right: 14px;
}

.marketing-spotlight.is-check::before {
    inset: 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.16);
}

.marketing-spotlight.is-check::after {
    left: 19px;
    top: 31px;
    width: 26px;
    height: 12px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(-45deg);
}

.marketing-spotlight.is-score::before {
    left: 16px;
    bottom: 16px;
    width: 10px;
    height: 18px;
    border-radius: 4px;
    background: rgba(255,255,255,0.94);
    box-shadow: 14px -8px 0 rgba(255,255,255,0.86), 28px -18px 0 rgba(255,255,255,0.74);
}

.marketing-spotlight.is-score::after {
    left: 14px;
    bottom: 14px;
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.55);
}

@media (max-width: 980px) {
    .ds-grid-2,
    .ds-grid-3 {
        grid-template-columns: 1fr;
    }

    .ds-container {
        padding: 0 16px;
    }

    .ds-hero {
        padding: 24px 20px;
    }

    .ds-panel {
        padding: 22px 18px;
    }

    .marketing-hero-shell {
        padding: 28px 22px;
        border-radius: 26px;
    }

    .marketing-hero-grid,
    .marketing-mini-grid {
        grid-template-columns: 1fr;
    }

    .marketing-metric-strip,
    .marketing-signal-grid.is-2 {
        grid-template-columns: 1fr;
    }

    .marketing-hero-shell h1 {
        max-width: none;
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .marketing-hero-actions .ds-btn {
        min-width: 0;
        width: 100%;
    }
}

/* =========================================================
   GLOBAL SKELETON FIX - ROUND 2
   - better hero column balance
   - less aggressive desktop H1 sizing
   - no artificial width cap on titles
   ========================================================= */

@media (min-width: 981px) {
    .home-hero-grid {
        grid-template-columns: minmax(0, 1.16fr) minmax(420px, 0.84fr);
    }

    .business-hero-grid {
        grid-template-columns: minmax(0, 1.20fr) minmax(390px, 0.80fr);
    }

    .structured-hero-grid {
        grid-template-columns: minmax(0, 1.16fr) minmax(400px, 0.84fr);
    }

    .tools-hero-grid {
        grid-template-columns: minmax(0, 1.14fr) minmax(390px, 0.86fr);
    }

    .security-hero-grid,
    .seo-hero-grid,
    .privacy-hero-grid {
        grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
    }

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

/* Remove narrow caps everywhere */
body .home-hero-copy h1,
body .business-hero-copy h1,
body .structured-hero-copy h1,
body .pricing-hero-inner h1,
body .security-hero-copy h1,
body .tools-hero-copy h1,
body .seo-hero-copy h1,
body .contact-hero-inner h1,
body .privacy-hero-copy h1,
body .home-final-cta-inner h2,
body .business-roi-band h2,
body .business-final-cta-inner h2,
body .structured-band h2,
body .structured-final-cta-inner h2,
body .pricing-band h2,
body .pricing-final-cta-inner h2,
body .security-band h2,
body .security-final-cta-inner h2,
body .tools-band h2,
body .tools-final-cta-inner h2,
body .seo-cta-band h2 {
    max-width: none;
    max-inline-size: none;
    width: 100%;
}

/* Rebalance headline sizes globally */
body .home-hero-copy h1,
body .pricing-hero-inner h1,
body .security-hero-copy h1,
body .tools-hero-copy h1,
body .seo-hero-copy h1,
body .contact-hero-inner h1,
body .privacy-hero-copy h1 {
    font-size: clamp(2rem, 3.2vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

body .business-hero-copy h1,
body .structured-hero-copy h1 {
    font-size: clamp(1.95rem, 3vw, 3.7rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

/* CTA bands / final bands */
body .home-final-cta-inner h2,
body .business-roi-band h2,
body .business-final-cta-inner h2,
body .structured-band h2,
body .structured-final-cta-inner h2,
body .pricing-band h2,
body .pricing-final-cta-inner h2,
body .security-band h2,
body .security-final-cta-inner h2,
body .tools-band h2,
body .tools-final-cta-inner h2,
body .seo-cta-band h2 {
    font-size: clamp(1.7rem, 2.5vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

/* Lead text width stays readable */
body .home-hero-lead,
body .business-hero-lead,
body .structured-hero-lead,
body .pricing-hero-lead,
body .security-hero-lead,
body .tools-hero-lead,
body .seo-hero-lead,
body .contact-hero-intro,
body .privacy-hero-copy p {
    max-width: 68ch;
}

/* Prevent content from feeling vertically centered / boxed */
body .home-hero-copy,
body .business-hero-copy,
body .structured-hero-copy,
body .pricing-hero-inner,
body .security-hero-copy,
body .tools-hero-copy,
body .seo-hero-copy,
body .contact-hero-inner,
body .privacy-hero-copy {
    align-content: start;
}

/* Mobile */
@media (max-width: 980px) {
    body .home-hero-copy h1,
    body .business-hero-copy h1,
    body .structured-hero-copy h1,
    body .pricing-hero-inner h1,
    body .security-hero-copy h1,
    body .tools-hero-copy h1,
    body .seo-hero-copy h1,
    body .contact-hero-inner h1,
    body .privacy-hero-copy h1 {
        font-size: clamp(2rem, 9vw, 3.15rem);
        max-width: none;
        width: 100%;
    }

    body .home-final-cta-inner h2,
    body .business-roi-band h2,
    body .business-final-cta-inner h2,
    body .structured-band h2,
    body .structured-final-cta-inner h2,
    body .pricing-band h2,
    body .pricing-final-cta-inner h2,
    body .security-band h2,
    body .security-final-cta-inner h2,
    body .tools-band h2,
    body .tools-final-cta-inner h2,
    body .seo-cta-band h2 {
        max-width: none;
        width: 100%;
    }
}

/* =========================================================
   SECTION RHYTHM POLISH
   - cleaner spacing after hero
   - more premium section rhythm
   - more consistent cards/panels below the fold
   ========================================================= */

.ds-section {
    margin-bottom: 22px;
}

.ds-panel {
    padding: 26px;
    border-radius: 22px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.ds-card {
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

    .ds-panel h2,
    .ds-panel h3,
    .ds-card h3 {
        margin-top: 0;
    }

    .ds-panel p:last-child,
    .ds-card p:last-child {
        margin-bottom: 0;
    }

.ds-grid-2,
.ds-grid-3 {
    align-items: stretch;
}

/* Headings that introduce sections below hero */
.home-section-heading,
.business-section-heading,
.structured-section-heading,
.pricing-section-heading,
.security-section-heading,
.tools-section-heading,
.seo-section-heading {
    margin-bottom: 16px;
}

    .home-section-heading h2,
    .business-section-heading h2,
    .structured-section-heading h2,
    .pricing-section-heading h2,
    .security-section-heading h2,
    .tools-section-heading h2,
    .seo-section-heading h2 {
        line-height: 1.02;
        margin-bottom: 10px;
    }

    .home-section-heading p,
    .business-section-heading p,
    .structured-section-heading p,
    .pricing-section-heading p,
    .security-section-heading p,
    .tools-section-heading p,
    .seo-section-heading p {
        max-width: 72ch;
        line-height: 1.68;
    }

/* First section right after hero feels slightly tighter */
.home-hero + .ds-section,
.business-hero + .ds-section,
.structured-hero + .ds-section,
.pricing-hero + .ds-section,
.security-hero + .ds-section,
.tools-hero + .ds-section,
.seo-hero + .seo-layout,
.contact-hero + .contact-grid,
.privacy-hero + .privacy-layout {
    margin-top: 0;
}

/* Cards below hero feel a bit more premium */
.home-path-card,
.business-problem-card,
.business-usecase-card,
.structured-bridge-card,
.structured-usecase-card,
.tools-card,
.tools-family-card,
.security-topic-card,
.security-structure-card,
.pricing-card {
    transition: .18s ease;
}

    .home-path-card:hover,
    .business-problem-card:hover,
    .business-usecase-card:hover,
    .structured-bridge-card:hover,
    .structured-usecase-card:hover,
    .tools-card:hover,
    .tools-family-card:hover,
    .security-topic-card:hover,
    .security-structure-card:hover,
    .pricing-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
    }

/* Lists breathe slightly better */
.ds-list li {
    line-height: 1.6;
}

/* Desktop fine-tuning */
@media (min-width: 981px) {
    .ds-page {
        padding-bottom: 30px;
    }

    .ds-section {
        margin-bottom: 20px;
    }

    .ds-panel {
        padding: 24px;
    }

    .ds-card {
        padding: 20px;
    }
}

/* Mobile keeps good density */
@media (max-width: 980px) {
    .ds-section {
        margin-bottom: 18px;
    }

    .ds-panel,
    .ds-card {
        padding: 20px 18px;
    }
}

/* =========================================
   DocSplitr micro-illustrations / widgets
   À coller en fin de marketing-base.css
   ========================================= */

.ds-micro-section {
    margin: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.ds-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: #eef5ff;
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: #2458c6;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

    .ds-eyebrow::before {
        content: "";
        width: 0.45rem;
        height: 0.45rem;
        border-radius: 50%;
        background: #4f7cff;
        box-shadow: 0 0 0 4px rgba(79, 124, 255, 0.12);
    }

.ds-micro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 1.4rem;
    align-items: center;
}

.ds-micro-grid--reverse {
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.ds-micro-copy h2 {
    margin: 0.85rem 0 0.9rem;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.ds-micro-copy p {
    color: #5d6676;
    max-width: 62ch;
}

.ds-lead {
    font-size: 1.02rem;
    line-height: 1.7;
}

.ds-check-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.ds-check-item {
    display: grid;
    grid-template-columns: 1.1rem 1fr;
    gap: 0.7rem;
    align-items: start;
    color: #263041;
}

.ds-check-dot {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #ffffff 0 28%, transparent 29%), linear-gradient(135deg, #5f87ff 0%, #3167e3 100%);
    box-shadow: 0 8px 18px rgba(49, 103, 227, 0.18);
}

.ds-soft-panel {
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: radial-gradient(circle at top right, rgba(97, 146, 255, 0.12), transparent 28%), linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

    .ds-soft-panel::after {
        content: "";
        position: absolute;
        inset: auto -80px -80px auto;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(79, 124, 255, 0.08) 0%, transparent 70%);
        pointer-events: none;
    }

.ds-ui-card {
    position: relative;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.ds-ui-card--compact {
    padding: 0.9rem 0.95rem;
}

.ds-card-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    color: #617086;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

    .ds-card-label::before {
        content: "";
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        background: #5f87ff;
    }

.ds-flow {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.ds-flow-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

    .ds-flow-step strong {
        display: block;
        margin-bottom: 0.2rem;
        color: #122033;
        font-size: 0.98rem;
    }

    .ds-flow-step p {
        margin: 0;
        color: #617086;
        font-size: 0.92rem;
        line-height: 1.5;
    }

.ds-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f0ff 0%, #dce8ff 100%);
    color: #2458c6;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.ds-mini-doc {
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.ds-mini-doc__toolbar {
    display: flex;
    gap: 0.45rem;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: #f7faff;
}

    .ds-mini-doc__toolbar span {
        width: 0.7rem;
        height: 0.7rem;
        border-radius: 50%;
        background: #d7dfef;
    }

.ds-mini-doc__body {
    padding: 1rem 0.95rem 1rem;
}

.ds-doc-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.ds-doc-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.6rem;
    border-radius: 999px;
    background: #f1f6ff;
    border: 1px solid rgba(37, 99, 235, 0.1);
    color: #2458c6;
    font-size: 0.76rem;
    font-weight: 700;
}

.ds-doc-line {
    height: 0.58rem;
    margin-top: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #e9eef7 0%, #f4f7fb 100%);
}

    .ds-doc-line.is-short {
        width: 38%;
    }

    .ds-doc-line.is-mid {
        width: 62%;
    }

    .ds-doc-line.is-long {
        width: 86%;
    }

.ds-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.ds-kpi-card {
    padding: 0.9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.07);
}

    .ds-kpi-card strong {
        display: block;
        font-size: 1.2rem;
        line-height: 1;
        color: #112033;
        letter-spacing: -0.03em;
    }

    .ds-kpi-card span {
        display: block;
        margin-top: 0.4rem;
        color: #617086;
        font-size: 0.85rem;
        line-height: 1.35;
    }

.ds-lanes {
    display: grid;
    gap: 0.7rem;
}

.ds-lane {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.ds-lane__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5f87ff 0%, #3167e3 100%);
    box-shadow: 0 0 0 5px rgba(79, 124, 255, 0.12);
}

.ds-lane strong {
    display: block;
    color: #112033;
    font-size: 0.95rem;
}

.ds-lane small {
    display: block;
    color: #617086;
    font-size: 0.82rem;
    margin-top: 0.1rem;
}

.ds-lane__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.55rem;
    border-radius: 999px;
    background: #eef5ff;
    color: #2458c6;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.ds-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

    .ds-mini-cards .ds-ui-card h3,
    .ds-plan-aside h3 {
        margin: 0 0 0.45rem;
        font-size: 1rem;
        line-height: 1.25;
        color: #112033;
    }

    .ds-mini-cards .ds-ui-card p,
    .ds-plan-aside p {
        margin: 0;
        color: #617086;
        font-size: 0.92rem;
        line-height: 1.55;
    }

.ds-plan-aside {
    display: grid;
    gap: 0.85rem;
}

.ds-roi-card {
    display: grid;
    gap: 0.7rem;
}

.ds-roi-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

    .ds-roi-row span {
        color: #617086;
        font-size: 0.88rem;
    }

    .ds-roi-row strong {
        color: #112033;
        font-size: 0.95rem;
    }

.ds-roi-note {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    background: #f7faff;
    border: 1px dashed rgba(37, 99, 235, 0.22);
    color: #516174;
    font-size: 0.88rem;
    line-height: 1.5;
}

.ds-divider-title {
    margin: 0 0 0.8rem;
    color: #112033;
    font-size: 0.98rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .ds-micro-grid,
    .ds-micro-grid--reverse {
        grid-template-columns: 1fr;
    }

    .ds-kpi-grid,
    .ds-mini-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ds-soft-panel {
        padding: 1rem;
        border-radius: 20px;
    }

    .ds-flow-step,
    .ds-lane {
        grid-template-columns: 1fr;
    }

    .ds-step-index {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
}

/* =========================================================
   QUICK-WIN REFRESH
   ========================================================= */

:root {
    --ds-bg: #eef3f8;
    --ds-surface: #ffffff;
    --ds-surface-soft: #f7fafd;
    --ds-border: #d7e1ee;
    --ds-border-strong: #c2d0e0;
    --ds-text: #0f1728;
    --ds-muted: #5b6b80;
    --ds-primary: #1f5eff;
    --ds-primary-dark: #153a98;
    --ds-accent: #13957c;
    --ds-accent-dark: #0f7b67;
    --ds-shadow-sm: 0 10px 30px rgba(15, 23, 40, 0.05);
    --ds-shadow-md: 0 18px 44px rgba(15, 23, 40, 0.08);
    --ds-radius-sm: 12px;
    --ds-radius-md: 18px;
    --ds-radius-lg: 24px;
    --ds-radius-xl: 32px;
    --ds-max-width: 1360px;
}

body {
    font-family: Aptos, "Segoe UI Variable", "Segoe UI", Tahoma, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(31, 94, 255, 0.08), transparent 32%),
        linear-gradient(180deg, #f6f9fc 0%, var(--ds-bg) 100%);
    color: var(--ds-text);
}

.ds-page {
    padding: 20px 0 36px;
}

.ds-panel,
.ds-card {
    border-color: rgba(15, 23, 40, 0.08);
    box-shadow: 0 14px 36px rgba(15, 23, 40, 0.05);
}

.ds-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.96));
}

.ds-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.ds-btn {
    min-height: 48px;
    border-radius: 15px;
    letter-spacing: -0.01em;
}

.ds-btn-primary {
    background: linear-gradient(180deg, var(--ds-accent), var(--ds-accent-dark));
    box-shadow: 0 14px 28px rgba(15, 149, 124, 0.2);
}

.ds-btn-secondary {
    background: rgba(255,255,255,0.92);
    border-color: rgba(15, 23, 40, 0.10);
}

.ds-btn-secondary:hover {
    color: var(--ds-primary-dark);
}

.ds-eyebrow {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.14);
    color: #fff;
}

.ds-eyebrow::before {
    background: #7dc1ff;
    box-shadow: 0 0 0 4px rgba(125, 193, 255, 0.14);
}

/* =========================================================
   COMPACT HERO PASS
   - reduce above-the-fold occupation on marketing pages
   - keep visual quality while surfacing more content sooner
   ========================================================= */

body .home-hero,
body .business-hero,
body .structured-hero,
body .pricing-hero,
body .security-hero,
body .tools-hero,
body .seo-hero,
body .contact-hero,
body .privacy-hero {
    margin-bottom: 16px;
}

body .home-hero-copy,
body .business-hero-copy,
body .structured-hero-copy,
body .pricing-hero-inner,
body .security-hero-copy,
body .tools-hero-copy,
body .seo-hero-copy,
body .contact-hero-inner,
body .privacy-hero-copy {
    padding: 22px 24px;
}

body .home-hero-copy h1,
body .business-hero-copy h1,
body .structured-hero-copy h1,
body .pricing-hero-inner h1,
body .security-hero-copy h1,
body .tools-hero-copy h1,
body .seo-hero-copy h1,
body .contact-hero-inner h1,
body .privacy-hero-copy h1 {
    font-size: clamp(1.7rem, 2.4vw, 2.7rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin: 0 0 10px;
    max-width: none;
    width: 100%;
}

body .home-hero-lead,
body .business-hero-lead,
body .structured-hero-lead,
body .pricing-hero-lead,
body .security-hero-lead,
body .tools-hero-lead,
body .seo-hero-lead,
body .contact-hero-intro,
body .privacy-hero-copy p {
    font-size: 0.96rem;
    line-height: 1.58;
    margin-bottom: 12px;
    max-width: 76ch;
}

body .home-hero-note,
body .structured-hero-note,
body .tools-hero-note,
body .seo-hero-note,
body .business-hero-proof span,
body .contact-hero-points span,
body .privacy-updated {
    min-height: 32px;
    font-size: 0.8rem;
}

body .home-hero-visual,
body .business-hero-visual,
body .structured-hero-visual,
body .security-hero-visual,
body .tools-hero-visual,
body .seo-hero-visual {
    padding: 12px;
}

@media (max-width: 980px) {
    body .home-hero-copy,
    body .business-hero-copy,
    body .structured-hero-copy,
    body .pricing-hero-inner,
    body .security-hero-copy,
    body .tools-hero-copy,
    body .seo-hero-copy,
    body .contact-hero-inner,
    body .privacy-hero-copy {
        padding: 20px 18px;
    }

    body .home-hero-copy h1,
    body .business-hero-copy h1,
    body .structured-hero-copy h1,
    body .pricing-hero-inner h1,
    body .security-hero-copy h1,
    body .tools-hero-copy h1,
    body .seo-hero-copy h1,
    body .contact-hero-inner h1,
    body .privacy-hero-copy h1 {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
        max-width: none;
    }
}
