:root {
    --ink-950: #16233a;
    --ink-900: #20314f;
    --line: rgba(67, 85, 129, 0.14);
    --line-strong: rgba(67, 85, 129, 0.22);
    --text-strong: #1a3150;
    --text: #49627d;
    --text-soft: #70839b;
    --mint: #14ba82;
    --lime: #dff564;
    --cobalt: #6288ff;
    --green: #059669;
    --green-light: rgba(5, 150, 105, 0.1);
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: rgba(67, 85, 129, 0.1);
    --shadow-sm: 0 18px 40px rgba(81, 104, 145, 0.08);
    --shadow-md: 0 30px 90px rgba(78, 92, 146, 0.14);
    --shadow-lg: 0 44px 120px rgba(67, 79, 126, 0.2);
    --radius-sm: 18px;
    --radius-md: 26px;
    --radius-lg: 34px;
    --max-width: 1240px;
    --ease: 220ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Instrument Sans", sans-serif;
    color: var(--text-strong);
    background:
        radial-gradient(circle at top left, rgba(126, 214, 255, 0.2), transparent 22%),
        radial-gradient(circle at 88% 8%, rgba(255, 210, 175, 0.2), transparent 24%),
        radial-gradient(circle at 82% 58%, rgba(213, 194, 255, 0.14), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #fbf7ef 52%, #fffdfa 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: inherit;
}

p {
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: -56px;
    left: 16px;
    z-index: 2000;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--lime);
    color: var(--ink-950);
    font-weight: 700;
    transition: top var(--ease);
}

.skip-link:focus {
    top: 16px;
}

.container {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 96px 0;
}

.section--paper {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 253, 248, 0.96));
}

.section--dark {
    background:
        radial-gradient(circle at 14% 10%, rgba(126, 214, 255, 0.24), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(213, 194, 255, 0.28), transparent 24%),
        radial-gradient(circle at 72% 78%, rgba(223, 245, 100, 0.18), transparent 26%),
        linear-gradient(180deg, #fffefd 0%, #f5f9ff 100%);
    color: var(--text-strong);
    overflow: hidden;
}

.section-head {
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin-bottom: 48px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16, 167, 122, 0.1);
    color: var(--mint);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section--dark .eyebrow {
    background: rgba(98, 136, 255, 0.12);
    color: var(--cobalt);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1;
}

.section-lead {
    max-width: 720px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--text);
}

.section--dark .section-lead {
    color: var(--text);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform var(--ease),
        box-shadow var(--ease),
        border-color var(--ease),
        background var(--ease),
        color var(--ease);
    touch-action: manipulation;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--mint), var(--cobalt));
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(98, 136, 255, 0.24);
}

.btn-primary:hover {
    box-shadow: 0 22px 52px rgba(98, 136, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(67, 85, 129, 0.16);
    color: var(--ink-900);
    box-shadow: 0 16px 38px rgba(81, 104, 145, 0.1);
}

.btn-secondary:hover {
    border-color: rgba(98, 136, 255, 0.28);
}

.btn-light {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    color: var(--ink-900);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink-900);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 18px 0;
}

.site-header.scrolled .nav-shell {
    border-color: rgba(67, 85, 129, 0.14);
    box-shadow: 0 24px 60px rgba(104, 125, 164, 0.18);
    background: rgba(255, 253, 248, 0.88);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.78);
    border: 1px solid rgba(67, 85, 129, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        box-shadow var(--ease),
        background var(--ease),
        border-color var(--ease);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    padding: 7px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.brand-copy strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ink-900);
}

.brand-copy span {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color var(--ease);
}

.nav-links a:hover {
    color: var(--ink-900);
}

.nav-current {
    color: var(--mint) !important;
    font-weight: 600;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(20, 186, 130, 0.12);
    color: var(--mint);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    flex-shrink: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(67, 85, 129, 0.14);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: var(--ink-900);
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform var(--ease), opacity var(--ease);
}

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

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

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

.mobile-menu {
    position: fixed;
    top: 92px;
    left: 20px;
    right: 20px;
    z-index: 999;
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.98);
    border: 1px solid rgba(67, 85, 129, 0.12);
    box-shadow: var(--shadow-lg);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 14px;
    color: var(--ink-900);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(126, 214, 255, 0.12), rgba(213, 194, 255, 0.12));
}

.hero {
    position: relative;
    padding: 144px 0 88px;
    color: var(--ink-900);
    background:
        radial-gradient(circle at 11% 18%, rgba(126, 214, 255, 0.34), transparent 26%),
        radial-gradient(circle at 76% 14%, rgba(255, 210, 175, 0.34), transparent 22%),
        radial-gradient(circle at 84% 72%, rgba(213, 194, 255, 0.22), transparent 24%),
        radial-gradient(circle at 26% 82%, rgba(131, 240, 221, 0.2), transparent 22%),
        linear-gradient(180deg, #fffdf8 0%, #f7f6ff 54%, #fff8f2 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(98, 136, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(98, 136, 255, 0.05) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 90%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -120px -220px auto;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 142, 114, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--green-light);
    color: var(--green);
    font-size: .85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 20px;
    color: var(--ink-900);
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--mint), var(--cobalt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .hero-sub {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 36px;
    margin-top: 0;
    max-width: 520px;
    line-height: 1.7;
}

.hero .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 0;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-visual .dashboard-frame {
    background: var(--bg);
    border-radius: var(--radius-lg, 24px);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform .4s ease;
}

.hero-visual .dashboard-frame:hover {
    transform: perspective(1200px) rotateY(-1deg) rotateX(1deg);
}

.dashboard-frame-bar {
    height: 36px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 7px;
}

.dashboard-frame-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-frame-dot:nth-child(1) { background: #fca5a5; }
.dashboard-frame-dot:nth-child(2) { background: #fcd34d; }
.dashboard-frame-dot:nth-child(3) { background: #6ee7b7; }

.dashboard-frame img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    max-height: 480px;
}

.hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.decision-card {
    display: grid;
    gap: 16px;
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.decision-card--wide {
    grid-column: span 7;
    background:
        radial-gradient(circle at top right, rgba(126, 214, 255, 0.26), transparent 30%),
        radial-gradient(circle at 16% 82%, rgba(255, 210, 175, 0.22), transparent 28%),
        linear-gradient(145deg, #ffffff 0%, #fff8f1 100%);
}

.decision-card--small {
    grid-column: span 5;
}

.decision-card--dark {
    grid-column: span 7;
    background:
        radial-gradient(circle at 82% 18%, rgba(213, 194, 255, 0.28), transparent 28%),
        radial-gradient(circle at 18% 78%, rgba(131, 240, 221, 0.2), transparent 24%),
        linear-gradient(180deg, #fffefe 0%, #f4f8ff 100%);
    color: var(--text-strong);
    border-color: rgba(98, 136, 255, 0.18);
    box-shadow: var(--shadow-md);
}

.decision-card--dark p {
    color: var(--text);
}

.card-tag {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(16, 167, 122, 0.09);
    color: var(--mint);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.decision-card--dark .card-tag {
    background: rgba(98, 136, 255, 0.1);
    color: var(--cobalt);
}

.decision-card h3 {
    font-size: 1.5rem;
    line-height: 1.06;
}

.decision-card p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.72;
}

.tick-list,
.pill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tick-list {
    display: grid;
    gap: 12px;
}

.tick-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
    font-weight: 600;
}

.tick-list li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint), var(--lime));
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-list li {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(67, 85, 129, 0.12);
    color: var(--ink-900);
    font-size: 0.9rem;
    font-weight: 600;
}

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

.pillar-card {
    padding: 34px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease), box-shadow var(--ease);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 16px;
}

.pillar-icon svg {
    width: 24px;
    height: 24px;
}

.pillar-icon--red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(249, 115, 22, 0.14));
    color: #dc2626;
}

.pillar-icon--blue {
    background: linear-gradient(135deg, rgba(98, 136, 255, 0.12), rgba(99, 102, 241, 0.14));
    color: var(--cobalt);
}

.pillar-icon--green {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(20, 184, 166, 0.14));
    color: var(--green);
}

.pillar-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    line-height: 1.15;
}

.pillar-card p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.72;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.risk-card {
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.risk-card:nth-child(1) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 245, 238, 0.94));
}

.risk-card:nth-child(2) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 251, 255, 0.94));
}

.risk-card:nth-child(3) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 255, 251, 0.94));
}

.risk-card:nth-child(4) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 244, 255, 0.94));
}

.risk-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(239, 104, 104, 0.14), rgba(255, 179, 71, 0.2));
    color: #c25252;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.risk-index svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.risk-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.risk-card p {
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.7;
}

.segment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.segment-card {
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease), box-shadow var(--ease);
}

.segment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.segment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.segment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}

.segment-icon svg { width: 20px; height: 20px; }
.segment-icon--red { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.segment-icon--amber { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.segment-icon--green { background: rgba(5, 150, 105, 0.1); color: #059669; }
.segment-icon--gray { background: rgba(100, 116, 139, 0.1); color: #475569; }

.segment-label {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: -0.02em;
}

.segment-metric {
    margin-bottom: 14px;
}

.segment-number {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--ink-900);
}

.segment-pct {
    font-size: 0.82rem;
    color: var(--text-soft);
    font-weight: 600;
}

.segment-desc {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.segment-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(67, 85, 129, 0.08);
    overflow: hidden;
}

.segment-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.2s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.segment-bar-fill--red { background: linear-gradient(90deg, #ef4444, #f87171); }
.segment-bar-fill--amber { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.segment-bar-fill--green { background: linear-gradient(90deg, #059669, #34d399); }
.segment-bar-fill--gray { background: linear-gradient(90deg, #64748b, #94a3b8); }

.segment-card--red { border-top: 3px solid #ef4444; }
.segment-card--amber { border-top: 3px solid #f59e0b; }
.segment-card--green { border-top: 3px solid #059669; }
.segment-card--gray { border-top: 3px solid #64748b; }

.segment-cta {
    text-align: center;
    margin-top: 36px;
}

.insight-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 24px;
    align-items: start;
}

.insight-rail {
    display: grid;
    gap: 12px;
}

.insight-button {
    display: grid;
    gap: 8px;
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    border-radius: 22px;
    color: inherit;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(67, 85, 129, 0.12);
    transition:
        transform var(--ease),
        border-color var(--ease),
        background var(--ease);
}

.insight-button:hover {
    transform: translateY(-2px);
    border-color: rgba(98, 136, 255, 0.24);
}

.insight-button.active {
    background:
        radial-gradient(circle at top right, rgba(126, 214, 255, 0.16), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 249, 255, 0.94));
    border-color: rgba(98, 136, 255, 0.34);
    box-shadow: 0 18px 36px rgba(98, 136, 255, 0.12);
}

.insight-button small {
    color: var(--cobalt);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.insight-button strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.12rem;
    letter-spacing: -0.03em;
}

.insight-button span {
    color: var(--text);
    font-size: 0.94rem;
    line-height: 1.55;
}

.insight-stage {
    padding: 18px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 16%, rgba(255, 210, 175, 0.22), transparent 22%),
        radial-gradient(circle at 84% 18%, rgba(126, 214, 255, 0.24), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.94));
    border: 1px solid rgba(67, 85, 129, 0.12);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.preview-shell {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(7, 25, 20, 0.08);
}

.preview-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(7, 25, 20, 0.08);
    background: #ffffff;
}

.toolbar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(67, 85, 129, 0.24);
    flex-shrink: 0;
}

.toolbar-dot:nth-child(1) { background: #ff8e72; }
.toolbar-dot:nth-child(2) { background: var(--lime); }
.toolbar-dot:nth-child(3) { background: #7ed6ff; }

.toolbar-pill {
    margin-left: auto;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preview-topbar .toolbar-pill {
    background: linear-gradient(135deg, rgba(126, 214, 255, 0.18), rgba(213, 194, 255, 0.18));
    color: var(--cobalt);
}

.preview-viewport {
    position: relative;
    aspect-ratio: 1.04 / 1.12;
    background: #f4f8ff;
    overflow: hidden;
}

.preview-viewport img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform-origin: top center;
    transition: transform 520ms cubic-bezier(0.2, 0.85, 0.2, 1), filter 220ms ease;
}

.preview-viewport[data-view="overview"] img {
    transform: scale(1.02) translate3d(0, 0, 0);
}

.preview-viewport[data-view="segments"] img {
    transform: scale(1.18) translate3d(-2%, -17%, 0);
}

.preview-viewport[data-view="margin"] img {
    transform: scale(1.28) translate3d(-2%, -29%, 0);
}

.preview-viewport[data-view="labels"] img {
    transform: scale(1.22) translate3d(-6%, -42%, 0);
}

.preview-viewport[data-view="exports"] img {
    transform: scale(1.16) translate3d(0, -59%, 0);
}

.stage-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.stage-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(67, 85, 129, 0.12);
    color: var(--ink-900);
    font-size: 0.9rem;
    font-weight: 600;
}

.flow-panel {
    padding: 24px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 10%, rgba(126, 214, 255, 0.22), transparent 24%),
        radial-gradient(circle at 84% 16%, rgba(213, 194, 255, 0.18), transparent 20%),
        radial-gradient(circle at 52% 88%, rgba(255, 210, 175, 0.18), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fff9f1 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.flow-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.flow-svg {
    width: 100%;
    height: auto;
    display: block;
}

.flow-track {
    stroke-dasharray: 10 16;
    animation: dash-flow 1.4s linear infinite;
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -26;
    }
}

.source-line {
    stroke-dasharray: 5 9;
    animation: source-flow 1.8s linear infinite;
}

@keyframes source-flow {
    to {
        stroke-dashoffset: -14;
    }
}

.flow-node-ring {
    transition: filter var(--ease);
}

.flow-svg:hover .flow-node-ring {
    filter: url(#node-glow);
}

.flow-footnote {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.flow-footnote span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(7, 17, 27, 0.04);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 18px;
}

.faq-aside {
    padding: 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(213, 194, 255, 0.2), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fff8f1 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.faq-aside strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
}

.faq-aside p {
    color: var(--text);
    line-height: 1.7;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    position: relative;
    list-style: none;
    padding: 24px 64px 24px 24px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.04rem;
    font-weight: 700;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    color: var(--mint);
    font-size: 1.5rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 24px 24px;
    color: var(--text);
    line-height: 1.75;
}

.lens-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.lens-card {
    padding: 30px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease), box-shadow var(--ease);
}

.lens-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.lens-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    color: var(--cobalt);
}

.lens-icon svg { width: 24px; height: 24px; }

.lens-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.lens-card p {
    color: var(--text);
    font-size: 0.96rem;
    line-height: 1.7;
}

.lens-card:nth-child(1) .lens-icon { background: linear-gradient(135deg, rgba(239,68,68,0.1), rgba(249,115,22,0.1)); color: #dc2626; }
.lens-card:nth-child(2) .lens-icon { background: linear-gradient(135deg, rgba(5,150,105,0.1), rgba(20,184,166,0.1)); color: #059669; }
.lens-card:nth-child(3) .lens-icon { background: linear-gradient(135deg, rgba(98,136,255,0.1), rgba(99,102,241,0.1)); color: var(--cobalt); }
.lens-card:nth-child(4) .lens-icon { background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(234,88,12,0.1)); color: #d97706; }

.proof-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 48px 40px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.proof-stat { text-align: center; flex: 1; }

.proof-number {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 3.4rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    background: linear-gradient(135deg, var(--mint), var(--cobalt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.proof-number--small { font-size: 2.2rem; }

.proof-label {
    display: block;
    color: var(--text);
    font-size: 0.94rem;
    line-height: 1.55;
    max-width: 260px;
    margin: 0 auto;
}

.proof-divider {
    width: 1px;
    height: 80px;
    background: var(--line-strong);
    flex-shrink: 0;
}

.proof-source {
    text-align: center;
    color: var(--text-soft);
    font-size: 0.84rem;
    margin-top: 18px;
    font-style: italic;
}

.compare-block {
    margin-top: 56px;
    text-align: center;
}

.compare-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.compare-lead {
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.compare-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    text-align: left;
}

.compare-col {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.compare-col-head {
    padding: 18px 22px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.compare-col--old .compare-col-head { background: rgba(239,68,68,0.06); color: #b91c1c; }
.compare-col--new .compare-col-head { background: rgba(5,150,105,0.08); color: #047857; }

.compare-row {
    padding: 14px 22px;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--text);
    border-top: 1px solid var(--line);
}

.compare-col--old { background: rgba(255, 255, 255, 0.7); }
.compare-col--new { background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-sm); }

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

.audience-card {
    padding: 36px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.audience-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(98,136,255,0.1), rgba(20,186,130,0.1));
    color: var(--cobalt);
}

.audience-icon svg { width: 26px; height: 26px; }

.audience-card:nth-child(1) .audience-icon {
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(234,88,12,0.1));
    color: #d97706;
}

.audience-card h3 {
    margin-bottom: 18px;
    font-size: 1.4rem;
}

.audience-card .tick-list li {
    font-weight: 500;
    font-size: 0.96rem;
}

.cta-panel {
    padding: 42px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 10% 18%, rgba(126, 214, 255, 0.26), transparent 24%),
        radial-gradient(circle at 82% 16%, rgba(255, 210, 175, 0.28), transparent 20%),
        radial-gradient(circle at 76% 78%, rgba(213, 194, 255, 0.18), transparent 22%),
        linear-gradient(135deg, #fffefd 0%, #f7f5ff 52%, #fff8f2 100%);
    color: var(--ink-900);
    box-shadow: var(--shadow-lg);
}

.cta-panel .section-title {
    max-width: 720px;
}

.cta-panel p {
    margin-top: 16px;
    max-width: 640px;
    color: var(--text);
    line-height: 1.75;
}

.cta-panel .btn-row {
    margin-top: 28px;
}

.cta-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cta-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(67, 85, 129, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink-900);
    font-size: 0.9rem;
    font-weight: 600;
}

.footer {
    padding: 64px 0 30px;
    background:
        radial-gradient(circle at 12% 16%, rgba(126, 214, 255, 0.2), transparent 22%),
        radial-gradient(circle at 84% 18%, rgba(213, 194, 255, 0.2), transparent 22%),
        linear-gradient(180deg, #fffefa 0%, #f4f7ff 100%);
    color: var(--text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--ink-900);
}

.footer-brand img {
    width: 36px;
    height: 36px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
}

.footer-brand strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
}

.footer-brand span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-soft);
}

.footer-copy {
    max-width: 360px;
    color: var(--text);
    line-height: 1.75;
}

.footer-col h4 {
    margin-bottom: 14px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-900);
}

.footer-col ul {
    display: grid;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col a {
    color: var(--text);
    transition: color var(--ease);
}

.footer-col a:hover,
.footer-bottom a:hover {
    color: var(--ink-900);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 0.88rem;
}

.footer-bottom a {
    color: var(--text);
    transition: color var(--ease);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {

    .insight-layout,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .insight-stage {
        order: -1;
        position: sticky;
        top: 90px;
        z-index: 2;
    }

    .insight-stage .preview-viewport {
        aspect-ratio: 4 / 3;
    }

    .insight-stage .stage-meta {
        display: none;
    }

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

    .hero-visual {
        max-width: 600px;
        margin-inline: auto;
    }

    .decision-card--wide,
    .decision-card--small,
    .decision-card--dark {
        grid-column: span 6;
    }

    .pillar-grid,
    .segment-grid,
    .risk-grid,
    .lens-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proof-stats { gap: 24px; padding: 36px 24px; }
    .proof-number { font-size: 2.6rem; }
    .proof-divider { height: 60px; }

    .faq-intro {
        position: static;
    }

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

@media (max-width: 920px) {

    .nav-links,
    .nav-actions .btn-primary {
        display: none;
    }

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

    .hero {
        padding-top: 124px;
    }

    .hero-visual {
        max-width: none;
        margin-inline: 0;
    }

    .hero-visual .dashboard-frame {
        transform: none;
        max-height: 360px;
    }

    .hero-visual .dashboard-frame:hover {
        transform: none;
    }

    .decision-grid {
        grid-template-columns: 1fr;
    }

    .decision-card--wide,
    .decision-card--small,
    .decision-card--dark {
        grid-column: auto;
    }

    .flow-source-badge,
    .flow-source-line,
    .flow-desc-text {
        display: none;
    }

}

@media (max-width: 720px) {
    .container {
        width: min(var(--max-width), calc(100% - 28px));
    }

    .section,
    .hero {
        padding-bottom: 72px;
    }

    .section {
        padding-top: 72px;
    }

    .hero {
        padding-top: 116px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-visual .dashboard-frame {
        max-height: 280px;
    }

    .hero-canvas {
        opacity: .3;
    }

    .hero-sub,
    .section-lead {
        font-size: 1rem;
    }

    .pillar-grid,
    .segment-grid,
    .risk-grid,
    .lens-grid,
    .audience-grid,
    .compare-table,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .proof-stats {
        flex-direction: column;
        gap: 24px;
        padding: 32px 20px;
    }

    .proof-divider {
        width: 60px;
        height: 1px;
    }

    .proof-number { font-size: 2.4rem; }

    .insight-stage {
        padding: 10px;
        border-radius: 20px;
    }

    .insight-stage .preview-viewport {
        aspect-ratio: 16 / 10;
    }

    .insight-button span {
        display: none;
    }

    .flow-panel {
        padding: 14px;
        border-radius: 24px;
    }

    .cta-panel {
        padding: 30px 22px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .flow-track,
    .source-line {
        animation: none !important;
    }
}
