:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #eff6ff;
    --accent: #059669;
    --ink: #0f172a;
    --ink-2: #334155;
    --ink-3: #64748b;
    --line: #e2e8f0;
    --line-2: #cbd5e1;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow: 0 4px 16px rgba(15, 23, 42, .07);
    --shadow-lg: 0 18px 44px rgba(15, 23, 42, .12);
    --maxw: 1120px;
    --primary-light: #3b82f6;
    --primary-tint: rgba(37, 99, 235, .08);
    --primary-glow: rgba(37, 99, 235, .28);
    --accent-dark: #047857;
    --accent-soft: #ecfdf5;
    --accent-line: #a7f3d0;
    --grid-line: rgba(15, 23, 42, .055);
    --ring: 0 0 0 1px rgba(15, 23, 42, .04);
    --shadow-card: 0 10px 30px -14px rgba(15, 23, 42, .35);
    --shadow-raise: 0 22px 48px -20px rgba(15, 23, 42, .45);
    --nav-h: 66px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -.02em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

h2 {
    font-size: clamp(1.5rem, 3.2vw, 2rem);
}

h3 {
    font-size: 1.125rem;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

strong {
    color: var(--ink);
    font-weight: 600;
}

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

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font: inherit;
    font-weight: 600;
    font-size: .95rem;
    padding: .625rem 1.125rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
    white-space: nowrap;
}

.btn-lg {
    font-size: 1rem;
    padding: .875rem 1.75rem;
}

.btn-primary {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 52%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 20px -10px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 26px -12px var(--primary-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: #fff;
    color: var(--ink);
    border-color: var(--line-2);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-2);
}

.btn-ghost:hover {
    color: var(--primary);
}

.btn-invert {
    background: #fff;
    color: var(--ink);
}

.btn-invert:hover {
    background: #e6edff;
    color: var(--ink);
    transform: translateY(-1px);
}

.btn-ghost-invert {
    background: transparent;
    color: rgba(255, 255, 255, .9);
    border-color: rgba(255, 255, 255, .35);
}

.btn-ghost-invert:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s var(--ease), background .25s var(--ease);
}

.nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.nav.is-stuck {
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 30px -22px rgba(15, 23, 42, .7);
}

.nav.is-stuck::after {
    opacity: 1;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--nav-h);
    position: relative;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--ink);
    flex-shrink: 0;
}

.nav-logo img {
    border-radius: 8px;
}

.nav-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.25rem;
    font-size: .95rem;
    font-weight: 500;
}

.nav-links a {
    position: relative;
    display: inline-block;
    color: var(--ink-2);
    padding: .35rem 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    padding: 0;
    margin-left: auto;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    color: var(--ink);
    cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}

.nav-toggle:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.nav-toggle-bars {
    position: relative;
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: background .2s var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .26s var(--ease);
}

.nav-toggle-bars::before {
    top: -6px;
}

.nav-toggle-bars::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    padding: 3rem 0 3.5rem;
    background:
        radial-gradient(820px 360px at 80% -14%, rgba(37, 99, 235, .16) 0%, rgba(37, 99, 235, 0) 62%),
        radial-gradient(620px 320px at 4% 108%, rgba(5, 150, 105, .1) 0%, rgba(5, 150, 105, 0) 64%),
        linear-gradient(180deg, #fff 0%, #fbfdff 42%, var(--bg-alt) 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(120% 78% at 50% 0%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 88%);
    mask-image: radial-gradient(120% 78% at 50% 0%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 88%);
}

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

.hero-grid {
    display: grid;
    gap: 2.75rem;
}

.hero-copy {
    position: relative;
}

.hero-visual {
    position: relative;
}

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

.hero-visual::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    top: -10%;
    bottom: 6%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--primary-glow), rgba(37, 99, 235, 0) 74%);
    filter: blur(4px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: linear-gradient(180deg, #fff 0%, var(--primary-soft) 100%);
    border: 1px solid #bfdbfe;
    padding: .32rem .8rem;
    border-radius: 100px;
    margin-bottom: 1.1rem;
    box-shadow: 0 1px 2px rgba(37, 99, 235, .12);
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, .18);
}

.subline {
    font-size: 1.15rem;
    color: var(--ink-2);
    margin-top: 1rem;
    max-width: 34em;
}

.hero h1 .hl,
.doc-head h1 .hl {
    position: relative;
    white-space: nowrap;
}

.hl {
    background: linear-gradient(180deg, transparent 62%, rgba(37, 99, 235, .18) 62%);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

.cta-center {
    justify-content: center;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    margin-top: 1.25rem;
    font-size: .9rem;
    color: var(--ink-3);
}

.trust-row li {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.trust-row li::before {
    content: "";
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.intro {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 1.02rem;
    max-width: 42em;
}

.band {
    position: relative;
    padding: 3.25rem 0;
    border-bottom: 1px solid var(--line);
}

.band-alt {
    background:
        radial-gradient(700px 260px at 88% 0%, rgba(37, 99, 235, .05), rgba(37, 99, 235, 0) 65%),
        linear-gradient(180deg, #fcfdff 0%, var(--bg-alt) 100%);
}

.band-alt::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .32), rgba(5, 150, 105, .22), transparent);
}

.band > .wrap > h2,
.band > .wrap > .band-head > h2 {
    margin-bottom: 1.25rem;
}

.band > .wrap > h2::before,
.band > .wrap > .band-head > h2::before {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-bottom: .9rem;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), #60a5fa 60%, var(--accent));
}

.block {
    max-width: 46em;
}

.block p {
    margin-bottom: 1.25rem;
}

.checks {
    display: grid;
    gap: .6rem;
}

.checks li {
    position: relative;
    padding-left: 1.85rem;
}

.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .48em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.steps {
    display: grid;
    gap: 1rem;
    counter-reset: step;
}

.steps li {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm), var(--ring);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.steps li::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.steps li:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: var(--shadow-card);
}

.steps li:hover::before {
    transform: scaleX(1);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(160deg, var(--primary-light), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    font-size: .92rem;
    margin-bottom: .75rem;
    box-shadow: 0 8px 16px -8px var(--primary-glow);
}

.steps h3 {
    margin-bottom: .35rem;
}

.steps p {
    font-size: .97rem;
}

.norms {
    display: grid;
    gap: 1rem;
}

.norm {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.norm::before {
    content: "";
    position: absolute;
    left: -4px;
    top: -1px;
    bottom: -1px;
    width: 4px;
    border-radius: var(--radius) 0 0 var(--radius);
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.norm:hover {
    transform: translateX(2px);
    box-shadow: var(--shadow-card);
}

.norm-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem .75rem;
    margin-bottom: .55rem;
}

.norm-tag {
    font-weight: 700;
    font-size: .88rem;
    color: var(--primary);
    background: var(--primary-soft);
    padding: .18rem .55rem;
    border-radius: 6px;
    white-space: nowrap;
}

.norm p {
    font-size: .97rem;
}

.disclaimer {
    margin-top: 1.5rem;
    font-size: .87rem;
    color: var(--ink-3);
    font-style: italic;
}

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.compare {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: .96rem;
}

.compare th,
.compare td {
    padding: .9rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.compare thead th {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink-3);
    background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
    border-bottom: 1px solid var(--line-2);
}

.compare tbody tr {
    transition: background .18s var(--ease);
}

.compare tbody tr:hover {
    background: rgba(37, 99, 235, .045);
}

.compare tbody th {
    font-weight: 600;
    color: var(--ink);
    width: 34%;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
    border-bottom: 0;
}

.cell-win {
    position: relative;
    color: var(--ink);
    font-weight: 600;
    background: linear-gradient(180deg, #f6fefa 0%, #eefbf3 100%);
    box-shadow: inset 3px 0 0 var(--accent-line);
}

.faq {
    display: grid;
    gap: .6rem;
    max-width: 48em;
}

.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.faq details:hover {
    border-color: var(--line-2);
    box-shadow: var(--shadow);
}

.faq details[open] {
    border-color: #bfdbfe;
    box-shadow: 0 10px 26px -18px var(--primary-glow);
}

.faq details[open] summary {
    color: var(--primary-dark);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 3rem 1rem 1.25rem;
    font-weight: 600;
    color: var(--ink);
    position: relative;
    transition: color .18s var(--ease);
}

.faq summary:hover {
    color: var(--primary);
}

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

.faq summary::after {
    content: "";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -6px;
    border-right: 2px solid var(--ink-3);
    border-bottom: 2px solid var(--ink-3);
    transform: rotate(45deg);
    transition: transform .2s;
}

.faq details[open] summary::after {
    transform: rotate(-135deg);
    margin-top: -2px;
}

.faq details p {
    padding: 0 1.25rem 1.15rem;
    font-size: .97rem;
}

.related {
    display: grid;
    gap: .85rem;
}

.related-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}

.related-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .28s var(--ease);
}

.related-card:hover {
    border-color: #bfdbfe;
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.related-card:hover::before {
    transform: scaleY(1);
}

.related-title {
    display: block;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .2rem;
}

.related-card:hover .related-title {
    color: var(--primary);
}

.related-teaser {
    display: block;
    font-size: .92rem;
    color: var(--ink-3);
}

.final-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 3.75rem 0;
    text-align: center;
    background:
        radial-gradient(700px 320px at 15% 0%, rgba(56, 189, 248, .28) 0%, rgba(56, 189, 248, 0) 60%),
        radial-gradient(620px 300px at 92% 108%, rgba(5, 150, 105, .3) 0%, rgba(5, 150, 105, 0) 58%),
        linear-gradient(135deg, #0f265f 0%, #1e3a8a 42%, #2563eb 100%);
    color: rgba(255, 255, 255, .88);
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(90% 90% at 50% 50%, #000 0%, transparent 78%);
    mask-image: radial-gradient(90% 90% at 50% 50%, #000 0%, transparent 78%);
}

.final-cta > .wrap {
    position: relative;
}

.final-cta h2 {
    color: #fff;
    max-width: 20em;
    margin: 0 auto .75rem;
}

.final-cta h2::before {
    content: none;
}

.final-cta p {
    max-width: 34em;
    margin: 0 auto;
}

.footer {
    position: relative;
    background:
        radial-gradient(760px 320px at 12% -20%, rgba(37, 99, 235, .22) 0%, rgba(37, 99, 235, 0) 62%),
        linear-gradient(180deg, #0f172a 0%, #0a1020 100%);
    color: #94a3b8;
    padding: 3rem 0 1.75rem;
    font-size: .93rem;
}

.footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, #38bdf8 38%, var(--accent) 72%, transparent 100%);
}

.footer h3 {
    position: relative;
}

.footer ul a {
    display: inline-block;
    transition: color .18s var(--ease), transform .18s var(--ease);
}

.footer ul a:hover {
    transform: translateX(3px);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.footer h3 {
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: .85rem;
}

.footer ul {
    display: grid;
    gap: .5rem;
}

.footer a {
    color: #94a3b8;
}

.footer a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    font-size: .86rem;
    color: #64748b;
}

.viz {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 #fff,
        0 2px 4px -2px rgba(15, 23, 42, .12),
        0 30px 64px -30px rgba(15, 23, 42, .55);
    overflow: hidden;
}

.viz::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}

.viz-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .72rem 1rem;
    background: linear-gradient(180deg, #fff 0%, #f1f5fb 100%);
    border-bottom: 1px solid var(--line);
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--line-2);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .8);
}

.dot-red {
    background: #f87171;
}

.dot-amber {
    background: #fbbf24;
}

.dot-green {
    background: #34d399;
}

.viz-bar-label {
    margin-left: .5rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.viz-live {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-left: auto;
    padding: .16rem .5rem .16rem .42rem;
    border-radius: 100px;
    border: 1px solid var(--accent-line);
    background: var(--accent-soft);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.viz-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: vizBlink 2.2s ease-in-out infinite;
}

.viz-body {
    padding: 1rem;
    display: grid;
    gap: .7rem;
}

.hit {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .85rem 1rem .95rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    animation: vizIn .55s var(--ease) backwards;
}

.hit:nth-child(1) {
    animation-delay: .05s;
}

.hit:nth-child(2) {
    animation-delay: .18s;
}

.hit:nth-child(3) {
    animation-delay: .31s;
}

.hit::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--line-2);
}

.hit-high {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #f7fbff 0%, #eff6ff 100%);
    box-shadow: 0 10px 24px -18px var(--primary-glow);
}

.hit-high::before {
    background: linear-gradient(180deg, #ef4444, #f97316);
}

.hit-muted {
    opacity: .62;
}

.hit-top {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .45rem;
}

.hit h4 {
    font-size: .97rem;
    margin-bottom: .15rem;
}

.hit p {
    font-size: .87rem;
    color: var(--ink-3);
}

.score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 25px;
    padding: 0 .45rem;
    border-radius: 7px;
    font-size: .8rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}

.score-high {
    background: linear-gradient(180deg, #ef4444, #dc2626);
}

.score-mid {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
}

.score-low {
    background: linear-gradient(180deg, #94a3b8, var(--ink-3));
}

.hit-src {
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink-3);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: .1rem .4rem;
    white-space: nowrap;
}

.hit-time {
    margin-left: auto;
    font-size: .76rem;
    color: var(--ink-3);
    white-space: nowrap;
}

.hit-meter {
    position: relative;
    height: 5px;
    margin-top: .7rem;
    border-radius: 100px;
    background: rgba(15, 23, 42, .07);
    overflow: hidden;
}

.hit-meter span {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    animation: vizGrow .9s var(--ease) .25s backwards;
}

.is-94 span {
    width: 94%;
    background: linear-gradient(90deg, #dc2626, #f97316);
}

.is-61 span {
    width: 61%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.is-18 span {
    width: 18%;
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}

.viz-monitor,
.viz-norms {
    padding-bottom: 0;
}

.viz-status {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fbfefc 0%, #fff 100%);
}

.viz-status strong {
    display: block;
    font-size: 1rem;
}

.viz-status span {
    font-size: .85rem;
    color: var(--ink-3);
}

.viz-status .viz-status-badge {
    margin-left: auto;
    align-self: flex-start;
    padding: .2rem .55rem;
    border-radius: 100px;
    border: 1px solid var(--accent-line);
    background: var(--accent-soft);
    font-size: .72rem;
    font-weight: 700;
    color: var(--accent-dark);
    white-space: nowrap;
}

.pulse {
    position: relative;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, .55);
    animation: pulse 2.4s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 12px rgba(5, 150, 105, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
}

@keyframes vizBlink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

@keyframes vizIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes vizGrow {
    from {
        transform: scaleX(0);
        transform-origin: left;
    }

    to {
        transform: scaleX(1);
        transform-origin: left;
    }
}

@keyframes vizFlow {
    0% {
        top: 1.4rem;
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    88% {
        opacity: 1;
    }

    100% {
        top: calc(100% - 1.6rem);
        opacity: 0;
    }
}

.viz-norms .viz-body {
    gap: 0;
    padding: .35rem 1.15rem .5rem;
}

.viz-alert .viz-body {
    padding: 1rem 1rem 1.1rem;
}

.viz-spark {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 3px;
    height: 26px;
    margin-left: auto;
}

.viz-spark i {
    display: block;
    width: 5px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(180deg, #93c5fd, var(--primary));
    opacity: .55;
}

.viz-spark i:nth-child(1) { height: 34%; }
.viz-spark i:nth-child(2) { height: 58%; }
.viz-spark i:nth-child(3) { height: 42%; }
.viz-spark i:nth-child(4) { height: 76%; }
.viz-spark i:nth-child(5) { height: 52%; }
.viz-spark i:nth-child(6) { height: 88%; }
.viz-spark i:nth-child(7) { height: 66%; }

.viz-spark i:last-child {
    opacity: 1;
    background: linear-gradient(180deg, #34d399, var(--accent));
}

.viz-rows {
    padding: .5rem 1.25rem;
}

.viz-rows > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .72rem 0;
    border-bottom: 1px solid var(--line);
    font-size: .93rem;
}

.viz-rows > div:last-child {
    border-bottom: 0;
}

.viz-rows dt {
    color: var(--ink-3);
}

.viz-rows dd {
    margin: 0;
    font-weight: 600;
    color: var(--ink);
    text-align: right;
}

.viz-rows .accent {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--accent-dark);
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: 100px;
    padding: .1rem .55rem;
    font-size: .85rem;
}

.viz-foot {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.25rem;
    background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
    border-top: 1px solid var(--line);
    font-size: .82rem;
    color: var(--ink-3);
}

.viz-foot::before {
    content: "";
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background: var(--ink-3);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5.5 3.8 10.7 9 12 5.2-1.3 9-6.5 9-12V5l-9-4zm-1 15-4-4 1.4-1.4L11 13.2l4.6-4.6L17 10l-6 6z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5.5 3.8 10.7 9 12 5.2-1.3 9-6.5 9-12V5l-9-4zm-1 15-4-4 1.4-1.4L11 13.2l4.6-4.6L17 10l-6 6z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.viz-pipeline {
    padding: 0;
}

.pipe {
    position: relative;
    display: grid;
    gap: 0;
    padding: 1.45rem 1.5rem 1.55rem;
}

.pipe-step {
    position: relative;
    padding: 0 0 1.6rem 1.85rem;
    border-left: 2px solid transparent;
    background-image: linear-gradient(180deg, #bfdbfe, #a7f3d0);
    background-size: 2px 100%;
    background-repeat: no-repeat;
    background-position: left top;
    background-origin: border-box;
    background-clip: border-box;
}

.pipe-step:last-child {
    background-image: none;
    padding-bottom: 0;
}

.pipe-dot {
    position: absolute;
    left: -8px;
    top: 1px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-soft), 0 4px 8px -4px var(--primary-glow);
}

.pipe-end .pipe-dot {
    background: var(--accent);
    box-shadow: 0 0 0 2px #d1fae5, 0 4px 8px -4px rgba(5, 150, 105, .5);
}

.pipe-flow {
    position: absolute;
    left: calc(1.5rem - 1px);
    top: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px 2px rgba(37, 99, 235, .5);
    animation: vizFlow 4.5s linear infinite;
}

.pipe-step strong {
    display: block;
    font-size: .98rem;
    line-height: 1.3;
}

.pipe-step span:not(.pipe-dot):not(.pipe-tag) {
    display: block;
    font-size: .87rem;
    color: var(--ink-3);
}

.pipe-tag {
    display: inline-block;
    margin-bottom: .3rem;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
}

.pipe-end .pipe-tag {
    color: var(--accent-dark);
}

.log-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .62rem .25rem;
    border-bottom: 1px solid var(--line);
    font-size: .89rem;
    animation: vizIn .5s var(--ease) backwards;
}

.log-row:nth-child(1) { animation-delay: .04s; }
.log-row:nth-child(2) { animation-delay: .12s; }
.log-row:nth-child(3) { animation-delay: .2s; }
.log-row:nth-child(4) { animation-delay: .28s; }
.log-row:nth-child(5) { animation-delay: .36s; }

.log-row:last-child {
    border-bottom: 0;
}

.log-muted {
    opacity: .6;
}

.log-time {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    font-size: .82rem;
    color: var(--ink-3);
}

.log-dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.log-ok .log-dot {
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.log-muted .log-dot {
    background: var(--line-2);
    box-shadow: 0 0 0 3px var(--bg-alt);
}

.log-count {
    margin-left: auto;
    flex-shrink: 0;
    font-size: .76rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--ink-2);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: .05rem .4rem;
}

@media (min-width: 720px) {
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    }
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }

    .hero {
        padding: 4.5rem 0 5rem;
    }

    .hero-grid {
        grid-template-columns: 1.05fr .95fr;
        align-items: center;
        gap: 3.5rem;
    }

    .band {
        padding: 4.25rem 0;
    }

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

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

.hero-compact {
    padding: 2.25rem 0 2.75rem;
}

.hero-compact .intro {
    max-width: 46em;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    color: var(--ink-3);
    margin-bottom: 1.1rem;
}

.crumbs span[aria-hidden] {
    color: var(--line-2);
}

.band-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .6rem;
}

.band-head h2 {
    margin-bottom: 0;
}

.band-head-link,
.band-foot a {
    font-weight: 600;
    font-size: .95rem;
}

.band-lead {
    max-width: 46em;
    margin-bottom: 1.75rem;
    color: var(--ink-3);
}

.band-foot {
    margin-top: 1.75rem;
}

.change-grid {
    display: grid;
    gap: 1rem;
}

.change-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}

.change-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #60a5fa 60%, var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

a.change-card:hover,
.change-card-lg:hover {
    border-color: #bfdbfe;
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

a.change-card:hover::before,
.change-card-lg:hover::before {
    transform: scaleX(1);
}

.change-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    color: var(--ink-3);
}

.change-src {
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    padding: .15rem .5rem;
    border-radius: 5px;
}

.change-type {
    padding: .15rem .5rem;
    border: 1px solid var(--line);
    border-radius: 5px;
}

.change-title {
    display: block;
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: var(--ink);
}

.change-card-lg .change-title {
    font-size: 1.08rem;
}

.change-card-lg .change-title a {
    color: var(--ink);
}

.change-card-lg:hover .change-title a,
a.change-card:hover .change-title {
    color: var(--primary);
}

.change-teaser {
    display: block;
    font-size: .92rem;
    color: var(--ink-3);
    line-height: 1.55;
}

.change-field {
    align-self: flex-start;
    margin-top: auto;
    padding-top: .35rem;
    font-size: .8rem;
    color: var(--ink-3);
}

.filterbar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: .9rem 0;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.chip {
    display: inline-block;
    padding: .35rem .8rem;
    border-radius: 100px;
    border: 1px solid var(--line-2);
    background: #fff;
    font-size: .87rem;
    font-weight: 500;
    color: var(--ink-2);
    white-space: nowrap;
}

a.chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.chip.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.chip-static {
    background: var(--bg-alt);
    border-color: var(--line);
    color: var(--ink-3);
    font-weight: 400;
}

.empty {
    padding: 2.5rem 0;
    color: var(--ink-3);
}

.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.pager-info {
    font-size: .9rem;
    color: var(--ink-3);
}

.doc-head {
    padding: 2.25rem 0 2.5rem;
    background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
    border-bottom: 1px solid var(--line);
}

.doc-head h1 {
    font-size: clamp(1.6rem, 3.6vw, 2.35rem);
    max-width: 22em;
}

.doc-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

.tag {
    font-size: .8rem;
    font-weight: 600;
    padding: .22rem .6rem;
    border-radius: 6px;
    border: 1px solid var(--line-2);
    background: #fff;
    color: var(--ink-2);
}

.tag-src {
    border-color: transparent;
    background: var(--primary);
    color: #fff;
    letter-spacing: .03em;
}

.tag-plain {
    border-color: transparent;
    background: transparent;
    color: var(--ink-3);
    font-weight: 400;
    padding-left: .2rem;
}

.doc-intro {
    margin-top: 1.15rem;
    font-size: 1.1rem;
    color: var(--ink-2);
    max-width: 44em;
}

.doc-facts {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 2.25rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.doc-facts dt {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink-3);
    margin-bottom: .1rem;
}

.doc-facts dd {
    margin: 0;
    font-weight: 600;
    color: var(--ink);
    font-size: .95rem;
}

.doc-body {
    padding: 2.5rem 1.25rem 1rem;
    max-width: 52rem;
}

.doc-section {
    padding-bottom: 2.25rem;
    margin-bottom: 2.25rem;
    border-bottom: 1px solid var(--line);
}

.doc-section:last-child {
    border-bottom: 0;
}

.doc-section h2 {
    font-size: 1.35rem;
    margin-bottom: .9rem;
}

.doc-section > p {
    margin-bottom: 1rem;
}

.points {
    display: grid;
    gap: 1rem;
}

.point {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem 1.25rem 1.65rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.point::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), #93c5fd);
}

.point:hover {
    border-color: #bfdbfe;
    box-shadow: var(--shadow);
}

.point h3 {
    font-size: 1.03rem;
    margin-bottom: .5rem;
}

.point p {
    font-size: .97rem;
}

.impact {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: .18rem .55rem;
    border-radius: 5px;
    margin-bottom: .6rem;
}

.impact-low {
    background: #e2e8f0;
    color: #475569;
}

.impact-medium {
    background: #fef3c7;
    color: #92400e;
}

.impact-high {
    background: #fee2e2;
    color: #991b1b;
}

.groups {
    margin-top: .9rem;
    padding-top: .8rem;
    border-top: 1px dashed var(--line-2);
}

.groups-label {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink-3);
    margin-bottom: .35rem;
}

.groups ul {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.groups li {
    font-size: .85rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: .2rem .65rem;
}

.norm-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.norm-list li {
    font-size: .9rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    background: var(--primary-soft);
    color: var(--primary-dark);
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: .3rem .7rem;
}

.inline-cta {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 2.5rem 0;
}

.inline-cta-inner {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.inline-cta h2 {
    font-size: 1.4rem;
    margin-bottom: .5rem;
}

.inline-cta p {
    max-width: 42em;
    font-size: .97rem;
}

.inline-cta .cta-row {
    margin-top: 0;
}

@media (min-width: 720px) {
    .change-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doc-body {
        padding: 3rem 1.25rem 1.5rem;
    }
}

@media (min-width: 900px) {
    .hero-compact {
        padding: 3rem 0 3.25rem;
    }

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

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

    .inline-cta-inner {
        grid-template-columns: 1.4fr 1fr;
        gap: 2.5rem;
    }

    .inline-cta .cta-row {
        justify-content: flex-end;
    }
}

.hero-image {
    position: relative;
    isolation: isolate;
    border-bottom: 0;
    background: var(--ink);
}

.hero-image::before {
    content: none;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-image-veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, rgba(15, 23, 42, .93) 0%, rgba(15, 23, 42, .84) 45%, rgba(30, 58, 138, .68) 100%);
}

.hero-image-content h1,
.hero-image-content .subline-invert {
    color: #fff;
}

.hero-image-content h1 {
    max-width: 20em;
}

.subline-invert {
    color: rgba(255, 255, 255, .82);
}

.eyebrow-invert {
    color: #bfdbfe;
    background: rgba(255, 255, 255, .1);
    border-color: rgba(191, 219, 254, .3);
}

.crumbs-invert {
    color: rgba(255, 255, 255, .62);
}

.crumbs-invert a {
    color: rgba(255, 255, 255, .85);
}

.crumbs-invert a:hover {
    color: #fff;
}

.crumbs-invert span[aria-hidden] {
    color: rgba(255, 255, 255, .35);
}

.hero-photo {
    margin: 1.5rem 0 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    line-height: 0;
}

.hero-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.lead {
    font-size: 1.08rem;
    max-width: 44em;
}

.usecase-grid {
    display: grid;
    gap: 1rem;
}

.usecase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.4rem;
    box-shadow: var(--shadow-sm);
    transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}

.usecase-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(37, 99, 235, .14), rgba(37, 99, 235, 0));
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.usecase-card:hover {
    border-color: #bfdbfe;
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.usecase-card:hover::after {
    opacity: 1;
}

.usecase-card > * {
    position: relative;
}

.usecase-title {
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--ink);
}

.usecase-card:hover .usecase-title {
    color: var(--primary);
}

.usecase-badge {
    display: inline-block;
    margin-left: .3rem;
    font-size: .75rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 100px;
    padding: .1rem .5rem;
    vertical-align: middle;
}

.usecase-text {
    font-size: .93rem;
    color: var(--ink-3);
    line-height: 1.55;
}

.usecase-link {
    margin-top: auto;
    padding-top: .5rem;
    font-size: .87rem;
    font-weight: 600;
    color: var(--primary);
}

.usecase-link::after {
    content: " →";
}

.qgroup {
    margin-top: 2rem;
}

.qgroup h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink-3);
    margin-bottom: .9rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--line);
}

.qlist {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.qlist a {
    display: inline-block;
    padding: .4rem .85rem;
    border-radius: 100px;
    border: 1px solid var(--line);
    background: var(--bg-alt);
    font-size: .9rem;
    color: var(--ink-2);
    transition: border-color .15s, background .15s, color .15s;
}

.qlist a:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.chip-count {
    display: inline-block;
    margin-left: .25rem;
    font-size: .78rem;
    opacity: .7;
    font-variant-numeric: tabular-nums;
}

.band-foot-sep {
    margin: 0 .5rem;
    color: var(--line-2);
}

@media (min-width: 720px) {
    .usecase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-image {
        padding: 3.25rem 0 3.5rem;
    }
}

@media (min-width: 900px) {
    .usecase-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-image {
        padding: 4.5rem 0 4.75rem;
    }

    .hero-photo img {
        height: 240px;
    }
}

.plan-grid {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.6rem;
    box-shadow: var(--shadow-sm), var(--ring);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.plan::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #60a5fa 55%, var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.plan:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: var(--shadow-card);
}

.plan:hover::before {
    transform: scaleX(1);
}

.plan-featured {
    border-color: var(--primary);
    border-width: 2px;
    background:
        radial-gradient(520px 220px at 50% -10%, rgba(37, 99, 235, .07), rgba(37, 99, 235, 0) 70%),
        #fff;
    box-shadow: 0 26px 60px -30px rgba(37, 99, 235, .85), 0 0 0 4px rgba(37, 99, 235, .06);
}

.plan-featured::before {
    transform: scaleX(1);
    height: 5px;
}

.plan-featured:hover {
    box-shadow: 0 32px 70px -30px rgba(37, 99, 235, .95), 0 0 0 5px rgba(37, 99, 235, .08);
}

.plan-badge {
    align-self: flex-start;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 100px;
    padding: .25rem .7rem;
    margin-bottom: .9rem;
}

.plan-featured .plan-badge {
    background: var(--primary);
    color: #fff;
}

.plan-name {
    font-size: 1.4rem;
    margin-bottom: .3rem;
}

.plan-tagline {
    font-size: .95rem;
    color: var(--ink-3);
    margin-bottom: 1.15rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .4rem;
}

.plan-amount {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--ink);
    line-height: 1;
}

.plan-featured .plan-amount {
    background: linear-gradient(160deg, var(--primary-dark) 10%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-dark);
}

.plan-cycle {
    font-size: .92rem;
    color: var(--ink-3);
}

.plan-note {
    margin-top: .4rem;
    font-size: .85rem;
    color: var(--accent);
    font-weight: 500;
    min-height: 1.3em;
}

.plan-cta {
    width: 100%;
    margin: 1.25rem 0 1rem;
}

.plan-for {
    font-size: .9rem;
    color: var(--ink-3);
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
}

.plan-list {
    font-size: .93rem;
}

.plan-list + .plan-list {
    margin-top: .6rem;
    padding-top: .6rem;
    border-top: 1px dashed var(--line-2);
}

.crosses {
    display: grid;
    gap: .5rem;
    color: var(--ink-3);
}

.crosses li {
    position: relative;
    padding-left: 1.85rem;
}

.crosses li::before {
    content: "";
    position: absolute;
    left: .15rem;
    top: .62em;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--line-2);
}

.plan-foot {
    margin-top: 1.75rem;
    font-size: .93rem;
    color: var(--ink-3);
}

.usecase-static {
    cursor: default;
}

.usecase-static:hover {
    border-color: var(--line);
    box-shadow: none;
    transform: none;
}

.usecase-static:hover .usecase-title {
    color: var(--ink);
}

.compare-plans tbody th {
    width: 40%;
    font-weight: 500;
}

.compare-plans td {
    text-align: center;
}

.compare-plans thead th:not(:first-child) {
    text-align: center;
    color: var(--ink);
    font-size: .95rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
}

.compare-plans thead th:nth-child(3) {
    position: relative;
    color: var(--primary-dark);
    background: linear-gradient(180deg, #eff6ff 0%, #e0edff 100%);
}

.compare-plans thead th:nth-child(3)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
}

.compare-plans tbody td:nth-child(3) {
    background: rgba(37, 99, 235, .045);
    font-weight: 600;
    color: var(--ink);
}

.compare-plans tbody tr:hover td:nth-child(3) {
    background: rgba(37, 99, 235, .085);
}

.compare-group th {
    background: var(--bg-alt);
    font-size: .78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink-3) !important;
    width: auto !important;
}

.compare-group:hover {
    background: transparent;
}

.yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: transparent;
    font-weight: 600;
    overflow: hidden;
    position: relative;
}

.yes::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
}

.no {
    color: var(--line-2);
    font-weight: 600;
}

@media (min-width: 800px) {
    .plan-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.chip {
    transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}

a.chip:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.chip.is-active {
    box-shadow: 0 6px 14px -8px var(--primary-glow);
}

.filterbar {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}

.doc-head {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(720px 300px at 88% -20%, rgba(37, 99, 235, .12) 0%, rgba(37, 99, 235, 0) 62%),
        linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}

.doc-head > .wrap {
    position: relative;
    z-index: 1;
}

.doc-head::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(110% 70% at 70% 0%, #000 0%, transparent 80%);
    mask-image: radial-gradient(110% 70% at 70% 0%, #000 0%, transparent 80%);
}

.doc-section h2 {
    position: relative;
    padding-left: .9rem;
}

.doc-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .18em;
    bottom: .18em;
    width: 4px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.tag-src {
    box-shadow: 0 6px 14px -8px var(--primary-glow);
}

.norm-list li {
    transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.norm-list li:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -10px var(--primary-glow);
}

.inline-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(620px 240px at 90% 0%, rgba(37, 99, 235, .09), rgba(37, 99, 235, 0) 68%),
        linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}

.inline-cta > .wrap {
    position: relative;
}

.mobile-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    align-items: center;
    gap: .75rem;
    padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px) saturate(140%);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px -22px rgba(15, 23, 42, .8);
}

.mobile-cta-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-size: .78rem;
    line-height: 1.25;
    color: var(--ink-3);
}

.mobile-cta-text strong {
    font-size: .92rem;
    font-weight: 700;
    color: var(--ink);
}

.mobile-cta .btn {
    margin-left: auto;
    flex-shrink: 0;
}

.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
    will-change: opacity, transform;
}

.reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

.reveal-ready .change-grid > .reveal:nth-child(2),
.reveal-ready .usecase-grid > .reveal:nth-child(2),
.reveal-ready .plan-grid > .reveal:nth-child(2),
.reveal-ready .related > .reveal:nth-child(2),
.reveal-ready .steps > .reveal:nth-child(2),
.reveal-ready .points > .reveal:nth-child(2) {
    transition-delay: .08s;
}

.reveal-ready .change-grid > .reveal:nth-child(3),
.reveal-ready .usecase-grid > .reveal:nth-child(3),
.reveal-ready .plan-grid > .reveal:nth-child(3),
.reveal-ready .related > .reveal:nth-child(3),
.reveal-ready .steps > .reveal:nth-child(3),
.reveal-ready .points > .reveal:nth-child(3) {
    transition-delay: .16s;
}

.reveal-ready .change-grid > .reveal:nth-child(n+4),
.reveal-ready .usecase-grid > .reveal:nth-child(n+4),
.reveal-ready .steps > .reveal:nth-child(n+4),
.reveal-ready .points > .reveal:nth-child(n+4) {
    transition-delay: .24s;
}

@media (max-width: 899px) {
    .nav-inner {
        flex-wrap: wrap;
        gap: .5rem;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .nav-panel {
        flex: 1 0 100%;
        justify-content: flex-start;
        gap: .5rem 1rem;
    }

    .has-js .nav-inner {
        flex-wrap: nowrap;
        padding-top: 0;
        padding-bottom: 0;
    }

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

    .has-js .nav-panel {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 5;
        display: block;
        padding: .5rem 1.25rem 1.15rem;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 26px 44px -28px rgba(15, 23, 42, .75);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
    }

    .has-js .nav.is-open .nav-panel {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .has-js .nav-panel .nav-links {
        display: block;
        font-size: 1rem;
    }

    .has-js .nav-panel .nav-links a {
        display: block;
        padding: .78rem .1rem;
        border-bottom: 1px solid var(--line);
        font-weight: 600;
        color: var(--ink);
    }

    .has-js .nav-panel .nav-links a::after {
        content: none;
    }

    .has-js .nav-panel .nav-links a.is-active {
        color: var(--primary);
    }

    .has-js .nav-panel .nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .6rem;
        margin-top: .95rem;
    }

    .has-js .nav-panel .nav-actions .btn {
        width: 100%;
        padding-top: .8rem;
        padding-bottom: .8rem;
    }

    .has-js .nav-panel .nav-actions .btn-ghost {
        border-color: var(--line-2);
        background: #fff;
    }

    .mobile-cta {
        display: flex;
    }

    .footer {
        padding-bottom: 6.4rem;
    }

    .hero-visual::before {
        display: none;
    }
}

@media (max-width: 420px) {
    .mobile-cta-text {
        display: none;
    }

    .mobile-cta .btn {
        width: 100%;
    }
}

@media print {
    .mobile-cta,
    .nav-toggle {
        display: none;
    }

    .reveal-ready .reveal {
        opacity: 1;
        transform: none;
    }
}

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

    .pulse,
    .viz-live-dot,
    .pipe-flow,
    .hit,
    .log-row,
    .hit-meter span {
        animation: none;
    }

    .btn:hover,
    .related-card:hover,
    .change-card:hover,
    a.change-card:hover,
    .usecase-card:hover,
    .plan:hover,
    .steps li:hover,
    .norm:hover,
    .norm-list li:hover,
    .footer ul a:hover,
    .chip:hover {
        transform: none;
    }

    .reveal-ready .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .has-js .nav-panel {
        transition: none;
    }
}
