:root {
    --bg: #ffffff;
    --bg-2: #ffffff;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-solid: #ffffff;
    --panel: #fbf8f3;
    --text: #1e2632;
    --text-soft: rgba(30, 38, 50, 0.72);
    --muted: rgba(30, 38, 50, 0.56);
    --line: rgba(30, 38, 50, 0.1);
    --line-strong: rgba(30, 38, 50, 0.16);
    --primary: #193c8f;
    --primary-2: #6a3df0;
    --accent: #ff9f1c;
    --accent-2: #ffd166;
    --success: #12b981;
    --shadow: 0 18px 50px rgba(22, 28, 37, 0.08);
    --shadow-soft: 0 10px 30px rgba(22, 28, 37, 0.05);
    --radius: 24px;
    --radius-lg: 32px;
    --container: 1200px;
    --narrow: 860px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 159, 28, 0.12), transparent 26%),
        radial-gradient(circle at top right, rgba(106, 61, 240, 0.10), transparent 28%),
        radial-gradient(circle at 50% 0%, rgba(25, 60, 143, 0.08), transparent 30%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    line-height: 1.72;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.narrow {
    width: min(calc(100% - 40px), var(--narrow));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(30, 38, 50, 0.06);
}

.site-header-inner {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(145deg, var(--primary), #152332);
    color: #fff;
    box-shadow: var(--shadow-soft);
    font-size: 14px;
    font-weight: 800;
}

.brand-text {
    display: grid;
    gap: 2px;
    line-height: 1.2;
}

.brand-text small {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.top-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--text-soft);
    font-size: 14px;
    transition: 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
    outline: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #152434 100%);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 16px 36px rgba(32, 54, 74, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.5);
    color: var(--text);
    border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.86);
    border-color: var(--line-strong);
}

.btn-ghost {
    min-height: 44px;
    padding: 0 16px;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.4);
    color: var(--text);
    font-size: 14px;
}

.hero {
    position: relative;
    padding: 42px 0 72px;
    overflow: clip;
}

/* .hero::before {
    content: "";
    position: absolute;
    inset: 120px auto auto 50%;
    transform: translateX(-50%);
    width: min(86vw, 1150px);
    height: 440px;
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.94)),
        radial-gradient(circle at 18% 18%, rgba(255, 159, 28, 0.28), transparent 30%),
        radial-gradient(circle at 82% 24%, rgba(106, 61, 240, 0.18), transparent 32%),
        radial-gradient(circle at 52% 68%, rgba(25, 60, 143, 0.12), transparent 34%);
    border: 1px solid rgba(30, 38, 50, 0.06);
    box-shadow: var(--shadow);
    border-radius: 36px;
    z-index: 0;
} */

.hero-grid {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 20px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(30, 38, 50, 0.08);
    backdrop-filter: blur(14px);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 0 5px rgba(200, 165, 106, 0.16);
}

.hero-head {
    margin: 0 auto;
    text-align: center;
    padding: 26px 0;
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.94)),
        radial-gradient(circle at 18% 18%, rgba(255, 159, 28, 0.28), transparent 30%),
        radial-gradient(circle at 82% 24%, rgba(106, 61, 240, 0.18), transparent 32%),
        radial-gradient(circle at 52% 68%, rgba(25, 60, 143, 0.12), transparent 34%);
    border: 1px solid rgba(30, 38, 50, 0.06);
    box-shadow: var(--shadow);
    border-radius: 36px;
}

.trust-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 28px;
}

.trust-chips span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(30, 38, 50, 0.08);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-soft);
    backdrop-filter: blur(12px);
}

.trust-chips span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(54, 92, 76, 0.08);
}

.hero h1 {
    margin: 0 auto 18px;
    max-width: 940px;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #193c8f 0%, #6a3df0 55%, #ff9f1c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero-subcopy {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(18px, 2vw, 21px);
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 30px 0 0;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 56px;
    align-items: start;
}

.hero-card {
    position: relative;
    padding: 28px 26px 26px;
    border-radius: 26px;
    border: 1px solid rgba(30, 38, 50, 0.08);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
    min-height: 250px;
}

.hero-card.card-1 {
    background: linear-gradient(180deg, #fff0d6 0%, #ffffff 100%);
    border-color: rgba(255, 159, 28, 0.34);
    box-shadow: 0 18px 36px rgba(255, 159, 28, 0.14);
}

.hero-card.card-2 {
    background: linear-gradient(180deg, #efe9ff 0%, #ffffff 100%);
    border-color: rgba(106, 61, 240, 0.26);
    box-shadow: 0 18px 36px rgba(106, 61, 240, 0.14);
}

.hero-card.card-3 {
    background: linear-gradient(180deg, #e6fbf3 0%, #ffffff 100%);
    border-color: rgba(18, 185, 129, 0.24);
    box-shadow: 0 18px 36px rgba(18, 185, 129, 0.12);
}

.hero-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
}

.hero-card .card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    margin-bottom: 18px;
    background: linear-gradient(145deg, var(--primary), var(--primary-2));
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(32, 54, 74, 0.16);
}

.hero-card ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.hero-card li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text-soft);
}

.hero-card li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.hero-card.card-1 {
    margin-top: 6px;
}

.hero-card.card-2 {
    margin-top: 40px;
}

.hero-card.card-3 {
    margin-top: 18px;
}

.section {
    padding: 92px 0;
    position: relative;
}

.section-header {
    display: grid;
    gap: 16px;
    margin-bottom: 40px;
}

.section-tag {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}

.section h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 900px;
}

.section-intro {
    margin: 0;
    max-width: 820px;
    font-size: 18px;
    color: var(--text-soft);
}

.section-grid {
    display: grid;
    gap: 22px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.panel.soft-gold {
    background: linear-gradient(180deg, #fff3db 0%, #ffffff 100%);
    border-color: rgba(255, 159, 28, 0.24);
}

.panel.soft-blue {
    background: linear-gradient(180deg, #ecebff 0%, #ffffff 100%);
    border-color: rgba(106, 61, 240, 0.20);
}

.panel.soft-green {
    background: linear-gradient(180deg, #e8fbf2 0%, #ffffff 100%);
    border-color: rgba(18, 185, 129, 0.20);
}

.panel.padded {
    padding: 28px;
}

.panel h3,
.panel h4 {
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    line-height: 1.18;
}

.panel p {
    margin: 0;
    color: var(--text-soft);
}

.key-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 10px;
}

.key-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text-soft);
    font-size: 15px;
}

.key-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.problem-grid .panel,
.solution-grid .panel,
.ops-grid .panel,
.use-case-grid .panel {
    min-height: 100%;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.comparison-card {
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.comparison-card.featured {
    background:
        linear-gradient(180deg, rgba(32, 54, 74, 0.96), rgba(21, 36, 52, 0.98));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 48px rgba(20, 30, 44, 0.22);
}

.comparison-card.featured p,
.comparison-card.featured li,
.comparison-card.featured .pill {
    color: rgba(255, 255, 255, 0.78);
}

.comparison-card .pill {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.comparison-card.featured .pill {
    border-color: rgba(255, 255, 255, 0.16);
}

.process-wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.timeline-num {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, var(--primary), var(--primary-2));
    box-shadow: 0 12px 24px rgba(32, 54, 74, 0.14);
}

.timeline-item h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.timeline-item p {
    margin: 0;
    color: var(--text-soft);
}

.side-note {
    padding: 30px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.64));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 96px;
}

.metric-stack {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.metric {
    padding: 18px 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.52);
}

.metric strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.metric span {
    display: block;
    color: var(--text-soft);
    font-size: 14px;
}

.split-callout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.stats-panel {
    background: linear-gradient(180deg, rgba(32, 54, 74, 0.98), rgba(20, 34, 49, 0.98));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: 0 20px 48px rgba(20, 30, 44, 0.18);
}

.stats-panel p,
.stats-panel li {
    color: rgba(255, 255, 255, 0.76);
}

.check-grid {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.check-item {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    align-items: start;
}

.check-icon {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
    font-weight: 800;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 24px;
    text-align: left;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    font-size: 18px;
}

.faq-question span:last-child {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid var(--line);
    color: var(--primary);
    flex: 0 0 auto;
    transition: transform 180ms ease, background 180ms ease;
}

.faq-item.active .faq-question span:last-child {
    transform: rotate(45deg);
    background: rgba(32, 54, 74, 0.06);
}

.faq-answer {
    display: none;
    padding: 0 24px 22px;
    color: var(--text-soft);
    font-size: 16px;
}

.faq-item.active .faq-answer {
    display: block;
}

.cta-dark {
    padding: 54px;
    border-radius: 36px;
    background:
        radial-gradient(circle at top right, rgba(200, 165, 106, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(32, 54, 74, 0.98), rgba(20, 34, 49, 0.98));
    color: #fff;
    box-shadow: 0 22px 56px rgba(20, 30, 44, 0.2);
}

.cta-dark h2 {
    max-width: 900px;
    color: #fff;
}

.cta-dark p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.cta-dark .btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.cta-dark .btn-secondary:hover,
.cta-dark .btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.14);
}

.site-footer {
    padding: 28px 0 50px;
    color: var(--muted);
    font-size: 14px;
}

.site-footer-inner {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.muted-note {
    font-size: 13px;
    color: var(--muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1100px) {
    .site-header-inner {
        min-height: auto;
        padding: 16px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .top-nav {
        order: 3;
    }

    .hero-cards,
    .grid-4,
    .grid-3,
    .comparison-grid,
    .process-wrap,
    .split-callout {
        grid-template-columns: 1fr;
    }

    .hero-card.card-1,
    .hero-card.card-2,
    .hero-card.card-3 {
        margin-top: 0;
    }

    .side-note {
        position: static;
    }
}

@media (max-width: 820px) {
    .section {
        padding: 76px 0;
    }

    .hero {
        padding: 26px 0 60px;
    }

    .hero::before {
        width: calc(100% - 20px);
        height: 360px;
        inset: 126px auto auto 50%;
    }

    .hero-head {
        padding-top: 10px;
    }

    .hero h1 {
        max-width: 100%;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .cta-dark {
        padding: 34px 24px;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {

    .container,
    .narrow,
    .site-header-inner,
    .site-footer-inner {
        width: min(calc(100% - 28px), var(--container));
    }

    .top-nav {
        display: none;
    }

    .hero-subcopy {
        font-size: 17px;
    }

    .btn {
        width: 100%;
    }

    .hero-actions,
    .cta-actions,
    .header-actions {
        width: 100%;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .timeline-item,
    .panel.padded,
    .comparison-card,
    .stats-panel,
    .side-note {
        padding: 22px;
    }

    .faq-question {
        font-size: 17px;
        padding: 18px 18px;
    }

    .faq-answer {
        padding: 0 18px 18px;
    }
}