:root {
    --factor-ink: #121826;
    --factor-ink-deep: #07111f;
    --factor-muted: #5d6678;
    --factor-blue: #1e56dd;
    --factor-blue-deep: #1745b9;
    --factor-cyan: #20d7bd;
    --factor-teal: #14b89a;
    --factor-lime: #b7f265;
    --factor-gold: #d9b35f;
    --factor-warm: #f3eee6;
    --factor-ivory: #fbf8f1;
    --factor-green: #10a56a;
    --factor-navy: #081525;
    --factor-cloud: #f4f7fb;
    --factor-cloud-2: #eef3f9;
    --factor-line: #dbe3ef;
    --factor-white: #ffffff;
    --factor-radius: 8px;
    --factor-shadow: 0 18px 60px rgba(18, 24, 38, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--factor-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    background: var(--factor-white);
    overflow-x: hidden;
    max-width: 100%;
}

a {
    color: inherit;
}

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

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.skip-link:focus {
    z-index: 1000;
    width: auto;
    height: auto;
    clip: auto;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: var(--factor-white);
    border: 1px solid var(--factor-line);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(219, 227, 239, 0.72);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(22px) saturate(135%);
    box-shadow: 0 10px 36px rgba(7, 17, 31, 0.06);
}

.site-header__inner,
.site-footer__inner,
.site-footer__bottom,
.site-main > .section,
.page-hero,
.content-page,
.single-post-layout,
.post-navigation,
.comments-area,
.empty-state {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    min-height: 76px;
    gap: 24px;
}

.site-logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
}

.site-logo__image-link {
    line-height: 0;
}

.site-logo__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: var(--factor-white);
    background: var(--factor-blue);
}

.site-logo img {
    display: block;
    width: min(190px, 42vw);
    height: auto;
}

.site-navigation {
    flex: 1;
}

.primary-menu,
.footer-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-menu li {
    position: relative;
}

.primary-menu a,
.footer-menu a {
    text-decoration: none;
    color: var(--factor-muted);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.primary-menu a:hover,
.footer-menu a:hover {
    color: var(--factor-blue);
}

.primary-menu .sub-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 80;
    display: grid;
    min-width: 190px;
    gap: 4px;
    padding: 10px;
    margin: 0;
    border: 1px solid rgba(219, 227, 239, 0.94);
    border-radius: var(--factor-radius);
    list-style: none;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 50px rgba(7, 17, 31, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.primary-menu .sub-menu::before {
    position: absolute;
    inset: -16px 0 auto;
    height: 16px;
    content: "";
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.primary-menu .sub-menu a {
    display: block;
    padding: 9px 10px;
    border-radius: var(--factor-radius);
    color: var(--factor-ink-deep);
    white-space: nowrap;
}

.primary-menu .sub-menu a:hover {
    color: var(--factor-blue);
    background: var(--factor-cloud);
}

.site-header__actions {
    display: flex;
    gap: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--factor-line);
    border-radius: var(--factor-radius);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.button--primary {
    color: var(--factor-white);
    border-color: #1d4fe0;
    background: linear-gradient(135deg, #245ff0, #173fc1);
    box-shadow: 0 12px 28px rgba(30, 86, 221, 0.24);
}

.button--ghost {
    color: var(--factor-ink);
    background: rgba(255, 255, 255, 0.72);
}

.button--large {
    min-height: 52px;
    padding-inline: 24px;
}

.nav-toggle {
    display: none;
}

.page-hero {
    padding: 92px 0 36px;
}

.page-hero--center {
    max-width: 760px;
    text-align: center;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: 64px;
    line-height: 1.04;
    letter-spacing: 0;
}

.page-hero__lead {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--factor-muted);
    font-size: 20px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--factor-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.entry-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px 0 96px;
}

.entry-content > * {
    margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
    line-height: 1.2;
}

.entry-content h2 {
    margin-top: 40px;
    font-size: 34px;
}

.entry-content h3 {
    margin-top: 30px;
    font-size: 24px;
}

.entry-content p,
.entry-content li {
    color: var(--factor-muted);
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.4rem;
}

.entry-content li + li {
    margin-top: 8px;
}

.entry-content a {
    color: var(--factor-blue);
}

.entry-content table {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    border: 1px solid var(--factor-line);
    border-radius: var(--factor-radius);
    overflow: hidden;
    font-size: 15px;
}

.entry-content th,
.entry-content td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--factor-line);
    text-align: left;
    vertical-align: top;
}

.entry-content th {
    color: var(--factor-ink-deep);
    background: var(--factor-cloud);
}

.entry-content tr:last-child th,
.entry-content tr:last-child td {
    border-bottom: 0;
}

.migrated-lead {
    margin-bottom: 28px;
    color: var(--factor-ink);
    font-size: 20px;
}

.migrated-page__media {
    margin: 0 0 30px;
}

.migrated-page__media img {
    display: block;
    width: 100%;
    border-radius: var(--factor-radius);
}

.migrated-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 52px;
    padding: 28px;
    border: 1px solid rgba(30, 86, 221, 0.16);
    border-radius: var(--factor-radius);
    background: linear-gradient(135deg, rgba(30, 86, 221, 0.08), rgba(20, 184, 154, 0.08));
}

.migrated-cta h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.migrated-cta p {
    margin: 0;
}

/* Download page */
.download-page {
    overflow-x: hidden;
    background: #ffffff;
}

.download-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.download-hero {
    position: relative;
    isolation: isolate;
    padding: 88px 0 76px;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(244, 247, 251, 0.98), rgba(255, 255, 255, 0.88) 58%, rgba(32, 215, 189, 0.14)),
        repeating-linear-gradient(90deg, rgba(7, 17, 31, 0.045) 0 1px, transparent 1px 120px);
}

.download-hero::after {
    position: absolute;
    right: max(-80px, calc((100vw - 1180px) / 2 - 140px));
    bottom: -1px;
    z-index: -1;
    width: min(52vw, 680px);
    height: 240px;
    content: "";
    background: linear-gradient(135deg, rgba(30, 86, 221, 0.92), rgba(20, 184, 154, 0.92));
    clip-path: polygon(18% 0, 100% 48%, 100% 100%, 0 100%);
}

.download-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 56px;
    align-items: center;
}

.download-hero__copy h1 {
    max-width: 780px;
    margin: 0;
    color: var(--factor-ink-deep);
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1;
    letter-spacing: 0;
}

.download-hero__lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--factor-muted);
    font-size: 20px;
    line-height: 1.65;
}

.download-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.download-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(7, 17, 31, 0.12);
    border-radius: var(--factor-radius);
    color: var(--factor-ink-deep);
    font-weight: 800;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 26px rgba(7, 17, 31, 0.06);
}

.download-tabs a:hover,
.download-tabs a[aria-current="page"] {
    color: #ffffff;
    border-color: var(--factor-blue);
    background: var(--factor-blue);
}

.download-hero__panel {
    padding: 30px;
    border: 1px solid rgba(7, 17, 31, 0.09);
    border-radius: var(--factor-radius);
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(8, 21, 37, 0.98), rgba(16, 45, 92, 0.94)),
        var(--factor-navy);
    box-shadow: 0 24px 70px rgba(7, 17, 31, 0.2);
}

.download-hero__panel > span,
.download-card__label,
.download-resource span {
    color: var(--factor-lime);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.download-hero__panel h2 {
    margin: 12px 0 12px;
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: 0;
}

.download-hero__panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.download-hero__meta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.download-hero__meta strong {
    color: var(--factor-lime);
    font-size: 36px;
    line-height: 1;
}

.download-hero__meta small {
    align-self: center;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    text-transform: uppercase;
}

.download-section {
    padding: 84px 0;
}

.download-section--documents {
    background: var(--factor-cloud);
}

.download-section__heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.download-section__heading h2,
.download-contact h2 {
    margin: 0;
    color: var(--factor-ink-deep);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: 0;
}

.download-section__heading p:last-child,
.download-contact p {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--factor-muted);
    font-size: 18px;
}

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

.download-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 26px;
    border: 1px solid rgba(7, 17, 31, 0.09);
    border-radius: var(--factor-radius);
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(7, 17, 31, 0.07);
}

.download-card__label {
    margin: 0 0 16px;
    color: var(--factor-blue);
}

.download-card h3 {
    margin: 0;
    color: var(--factor-ink-deep);
    font-size: 24px;
    line-height: 1.2;
}

.download-card p:not(.download-card__label) {
    margin: 14px 0 24px;
    color: var(--factor-muted);
}

.download-card__action {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
    margin-top: auto;
    border-radius: var(--factor-radius);
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
    background: var(--factor-ink-deep);
}

.download-card__action:hover {
    background: var(--factor-blue);
}

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

.download-resource {
    display: grid;
    grid-template-columns: minmax(120px, 0.25fr) minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    min-height: 76px;
    padding: 18px 22px;
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: var(--factor-radius);
    color: inherit;
    text-decoration: none;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(7, 17, 31, 0.05);
}

.download-resource:hover {
    border-color: rgba(30, 86, 221, 0.34);
    box-shadow: 0 18px 44px rgba(7, 17, 31, 0.08);
}

.download-resource strong {
    color: var(--factor-ink-deep);
    font-size: 18px;
}

.download-resource em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: var(--factor-radius);
    color: var(--factor-blue);
    font-style: normal;
    font-weight: 900;
    background: rgba(30, 86, 221, 0.08);
}

.download-contact {
    padding: 82px 0 96px;
    background:
        linear-gradient(135deg, rgba(183, 242, 101, 0.24), rgba(32, 215, 189, 0.12)),
        #ffffff;
}

.download-contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    padding: 34px;
    border: 1px solid rgba(7, 17, 31, 0.09);
    border-radius: var(--factor-radius);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 52px rgba(7, 17, 31, 0.08);
}

.download-contact__actions {
    display: grid;
    gap: 12px;
    min-width: 250px;
}

.entry-content--hub {
    max-width: 1180px;
}

.content-hub {
    padding-bottom: 18px;
}

.content-hub__intro {
    max-width: 780px;
    margin: 0 auto 34px;
    color: var(--factor-muted);
    font-size: 18px;
    text-align: center;
}

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

.content-hub-card {
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--factor-line);
    border-radius: var(--factor-radius);
    background: var(--factor-white);
    box-shadow: 0 12px 36px rgba(18, 24, 38, 0.06);
}

.content-hub-card__label {
    margin: 0 0 10px;
    color: var(--factor-blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.content-hub-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
}

.content-hub-card h2 a {
    color: var(--factor-ink-deep);
    text-decoration: none;
}

.content-hub-card h2 a:hover {
    color: var(--factor-blue);
}

.content-hub-card p:last-child {
    margin-bottom: 0;
}

.content-page__image {
    margin: 0 auto 28px;
    max-width: 1040px;
}

.content-page__image img {
    display: block;
    width: 100%;
    border-radius: var(--factor-radius);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 80px;
}

.post-card {
    min-height: 100%;
    border: 1px solid var(--factor-line);
    border-radius: var(--factor-radius);
    overflow: hidden;
    background: var(--factor-white);
    box-shadow: 0 12px 40px rgba(18, 24, 38, 0.06);
}

.post-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--factor-cloud);
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card__body {
    padding: 22px;
}

.post-card h3 {
    margin: 8px 0 12px;
    font-size: 22px;
    line-height: 1.25;
}

.post-card h3 a,
.text-link {
    text-decoration: none;
}

.entry-meta {
    margin: 0;
    color: var(--factor-muted);
    font-size: 14px;
}

.text-link {
    color: var(--factor-blue);
    font-weight: 800;
}

.directory-page {
    padding-bottom: 84px;
    background: linear-gradient(180deg, #f6f9fc 0, #ffffff 42%);
}

.directory-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.directory-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 56px;
    color: var(--factor-white);
    background:
        linear-gradient(90deg, rgba(183, 242, 101, 0.16) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(32, 215, 189, 0.12) 0 1px, transparent 1px 100%),
        linear-gradient(135deg, #07111f 0%, #122852 54%, #0a5d68 100%);
    background-size: 52px 52px, 52px 52px, auto;
}

.directory-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--factor-cyan), var(--factor-lime), var(--factor-gold));
    content: "";
}

.directory-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 34px;
    align-items: end;
}

.directory-eyebrow {
    margin: 0 0 12px;
    color: var(--factor-lime);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.directory-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: 64px;
    line-height: 0.98;
    letter-spacing: 0;
}

.directory-hero__copy > p:last-child {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 20px;
}

.directory-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--factor-radius);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.directory-hero__stats div {
    min-width: 0;
    padding: 20px 16px;
    background: rgba(7, 17, 31, 0.35);
}

.directory-hero__stats strong,
.directory-hero__stats span {
    display: block;
}

.directory-hero__stats strong {
    font-size: 30px;
    line-height: 1;
}

.directory-hero__stats span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.directory-tools {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 16px;
    margin: -24px 0 26px;
    padding: 18px;
    border: 1px solid rgba(219, 227, 239, 0.92);
    border-radius: var(--factor-radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 60px rgba(18, 24, 38, 0.1);
    backdrop-filter: blur(18px);
}

.directory-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
}

.directory-search input {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--factor-line);
    border-radius: var(--factor-radius);
    padding: 12px 14px;
    color: var(--factor-ink);
    font: inherit;
    background: var(--factor-white);
}

.directory-search button,
.directory-reset {
    min-height: 50px;
    border-radius: var(--factor-radius);
    padding: 0 18px;
    font-weight: 800;
}

.directory-search button {
    border: 0;
    color: var(--factor-white);
    background: var(--factor-blue);
    cursor: pointer;
}

.directory-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--factor-line);
    color: var(--factor-ink-deep);
    text-decoration: none;
    background: var(--factor-white);
}

.directory-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.directory-filter-list a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    border: 1px solid rgba(219, 227, 239, 0.96);
    border-radius: var(--factor-radius);
    padding: 7px 11px;
    color: var(--factor-ink);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    background: var(--factor-white);
}

.directory-filter-list a.is-active {
    border-color: var(--factor-ink-deep);
    color: var(--factor-white);
    background: var(--factor-ink-deep);
}

.directory-filter-list span {
    color: inherit;
    opacity: 0.62;
    font-size: 12px;
}

.directory-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    color: var(--factor-muted);
    font-size: 14px;
    font-weight: 700;
}

.directory-results-bar p {
    margin: 0;
}

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

.directory-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 22px;
    border: 1px solid rgba(219, 227, 239, 0.96);
    border-radius: var(--factor-radius);
    background: var(--factor-white);
    box-shadow: 0 14px 40px rgba(18, 24, 38, 0.07);
}

.directory-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.directory-card__mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: var(--factor-radius);
    color: var(--factor-ink-deep);
    font-size: 13px;
    font-weight: 900;
    background: var(--factor-lime);
}

.directory-card--industries .directory-card__mark {
    color: var(--factor-white);
    background: var(--factor-teal);
}

.directory-card--blog .directory-card__mark {
    color: var(--factor-white);
    background: var(--factor-blue);
}

.directory-card__label {
    min-width: 0;
    color: var(--factor-muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.directory-card h2 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
}

.directory-card h2 a {
    color: var(--factor-ink-deep);
    text-decoration: none;
}

.directory-card h2 a:hover {
    color: var(--factor-blue);
}

.directory-card > p {
    margin: 0 0 18px;
    color: var(--factor-muted);
    font-size: 15px;
}

.directory-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--factor-line);
}

.directory-card__footer span {
    color: var(--factor-muted);
    font-size: 13px;
    font-weight: 800;
}

.directory-card__footer a {
    color: var(--factor-blue);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.directory-pagination,
.navigation.pagination {
    width: min(1180px, calc(100% - 40px));
    margin: 36px auto 0;
}

.directory-pagination .page-numbers,
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    margin: 4px;
    border: 1px solid var(--factor-line);
    border-radius: var(--factor-radius);
    padding: 8px 12px;
    color: var(--factor-ink);
    font-weight: 800;
    text-decoration: none;
    background: var(--factor-white);
}

.directory-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
    border-color: var(--factor-ink-deep);
    color: var(--factor-white);
    background: var(--factor-ink-deep);
}

.directory-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 56px;
    padding: 30px;
    border-radius: var(--factor-radius);
    color: var(--factor-white);
    background: linear-gradient(135deg, #07111f 0%, #133f5f 100%);
}

.directory-cta h2 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.12;
}

.directory-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.directory-cta .directory-eyebrow {
    color: var(--factor-lime);
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 560px;
    margin-top: 24px;
}

.search-field {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--factor-line);
    border-radius: var(--factor-radius);
    padding: 10px 14px;
}

.site-footer {
    color: var(--factor-white);
    background: #101828;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    padding: 52px 0;
}

.site-footer__brand p {
    max-width: 440px;
    color: rgba(255, 255, 255, 0.68);
}

.site-footer__brand a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.site-footer__brand a:hover {
    color: var(--factor-white);
}

.site-footer .site-logo__image-link {
    width: fit-content;
}

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

.site-footer .footer-menu a {
    color: rgba(255, 255, 255, 0.74);
}

.site-footer__bottom {
    padding: 18px 0 28px;
    color: rgba(255, 255, 255, 0.56);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
    .site-header__inner {
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px 0;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--factor-line);
        border-radius: var(--factor-radius);
        background: var(--factor-white);
    }

    .nav-toggle__bar,
    .nav-toggle__bar::before,
    .nav-toggle__bar::after {
        display: block;
        width: 18px;
        height: 2px;
        content: "";
        background: var(--factor-ink);
    }

    .nav-toggle__bar {
        position: relative;
    }

    .nav-toggle__bar::before,
    .nav-toggle__bar::after {
        position: absolute;
        left: 0;
    }

    .nav-toggle__bar::before {
        top: -6px;
    }

    .nav-toggle__bar::after {
        top: 6px;
    }

    .site-navigation,
    .site-header__actions {
        display: none;
        flex-basis: 100%;
    }

    .site-navigation.is-open,
    .nav-is-open .site-header__actions {
        display: flex;
    }

    .primary-menu,
    .site-header__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-menu .sub-menu {
        position: static;
        display: grid;
        min-width: 0;
        padding: 6px 0 0 14px;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .primary-menu .sub-menu a {
        padding: 7px 0;
        color: var(--factor-muted);
        white-space: normal;
        background: transparent;
    }

    .post-grid,
    .content-hub-grid,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .migrated-cta {
        grid-template-columns: 1fr;
    }

    .download-hero__grid,
    .download-contact__inner {
        grid-template-columns: 1fr;
    }

    .download-card-grid {
        grid-template-columns: 1fr;
    }

    .download-contact__actions {
        min-width: 0;
    }

    .page-hero h1 {
        font-size: 50px;
    }
}

@media (max-width: 640px) {
    .site-header__inner,
    .site-footer__inner,
    .site-footer__bottom,
    .site-main > .section,
    .page-hero,
    .content-page,
    .single-post-layout,
    .post-navigation,
    .comments-area,
    .empty-state,
    .post-grid {
        width: min(100% - 28px, 1180px);
    }

    .page-hero {
        padding-top: 56px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .search-form {
        flex-direction: column;
    }

    .entry-content h2 {
        font-size: 28px;
    }

    .migrated-lead {
        font-size: 18px;
    }

    .download-shell {
        width: min(100% - 28px, 1180px);
    }

    .download-hero {
        padding: 58px 0 52px;
    }

    .download-hero__copy h1 {
        font-size: 42px;
        line-height: 1.04;
    }

    .download-hero__lead {
        font-size: 17px;
    }

    .download-tabs a,
    .download-contact__actions .premium-button {
        width: 100%;
    }

    .download-hero__panel,
    .download-card,
    .download-contact__inner {
        padding: 22px;
    }

    .download-hero__panel h2,
    .download-section__heading h2,
    .download-contact h2 {
        font-size: 32px;
    }

    .download-section,
    .download-contact {
        padding: 58px 0;
    }

    .download-resource {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: start;
    }

    .download-resource em {
        width: 100%;
    }
}

/* Premium homepage */
.premium-home {
    overflow-x: hidden;
    background:
        linear-gradient(180deg, #f7fbff 0, var(--factor-white) 32%, #f7f9fc 100%);
}

.premium-home h1,
.premium-home h2,
.premium-home h3,
.premium-home p,
.premium-home li {
    margin-top: 0;
    overflow-wrap: anywhere;
}

.premium-home h1,
.premium-home h2,
.premium-home h3 {
    text-wrap: balance;
    overflow-wrap: normal;
}

.premium-shell {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.premium-kicker {
    margin-bottom: 12px;
    color: var(--factor-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.premium-kicker--hero {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(30, 86, 221, 0.18);
    border-radius: 999px;
    color: #1546c5;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 34px rgba(7, 17, 31, 0.08);
}

.premium-kicker--hero::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    content: "";
    background: var(--factor-cyan);
    box-shadow: 0 0 0 5px rgba(32, 215, 189, 0.16);
}

.premium-section {
    padding: 104px 0;
}

.premium-section__heading {
    max-width: 820px;
    margin: 0 auto 50px;
    text-align: center;
}

.premium-section__heading h2,
.premium-cta-band h2,
.premium-demo-copy h2 {
    margin-bottom: 16px;
    color: var(--factor-ink-deep);
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: 0;
}

.premium-section__heading p,
.premium-demo-copy p {
    margin-bottom: 0;
    color: var(--factor-muted);
    font-size: 18px;
    line-height: 1.65;
}

.premium-section__heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: 44px;
    max-width: none;
    text-align: left;
}

.premium-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 15px 24px;
    border: 1px solid transparent;
    border-radius: var(--factor-radius);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(7, 17, 31, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(7, 17, 31, 0.12);
}

.premium-button--primary {
    color: var(--factor-white);
    border-color: #1f57ea;
    background: linear-gradient(135deg, #2b68ff 0, #1746c7 100%);
}

.premium-button--primary:hover {
    border-color: var(--factor-blue-deep);
    background: linear-gradient(135deg, #1f57ea 0, #1239aa 100%);
}

.premium-button--outline {
    color: var(--factor-ink-deep);
    border-color: rgba(7, 17, 31, 0.14);
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(12px);
}

.premium-button--outline:hover {
    border-color: var(--factor-blue);
    color: var(--factor-blue);
}

.premium-button--light {
    color: var(--factor-ink-deep);
    border-color: rgba(255, 255, 255, 0.55);
    background: var(--factor-lime);
}

.premium-button--dark-outline {
    color: var(--factor-white);
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.06);
}

.premium-button--dark-outline:hover {
    border-color: rgba(255, 255, 255, 0.72);
}

.premium-button--full {
    width: 100%;
}

.premium-hero {
    position: relative;
    isolation: isolate;
    min-height: min(720px, calc(100svh - 76px));
    overflow: hidden;
    padding: 44px 0 42px;
    background:
        linear-gradient(90deg, rgba(247, 251, 255, 0.96) 0, rgba(247, 251, 255, 0.84) 38%, rgba(255, 255, 255, 0.38) 62%, rgba(8, 21, 37, 0.05) 100%),
        url("../img/tilda/tild6131-6237-4165-b562-663134326232-BG.png") right center / auto 100% no-repeat,
        linear-gradient(135deg, #f6fbff 0, #fffdf8 100%);
}

.premium-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(90deg, rgba(30, 86, 221, 0.07), transparent 44%),
        repeating-linear-gradient(0deg, rgba(7, 17, 31, 0.045) 0, rgba(7, 17, 31, 0.045) 1px, transparent 1px, transparent 86px);
    pointer-events: none;
}

.premium-hero::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(7, 17, 31, 0.12), transparent);
}

.premium-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
    gap: 56px;
    align-items: center;
}

.premium-hero__copy h1 {
    max-width: 660px;
    margin-bottom: 18px;
    color: var(--factor-ink-deep);
    font-size: clamp(42px, 3.6vw, 52px);
    line-height: 1;
    letter-spacing: 0;
}

.premium-hero__lead {
    max-width: 610px;
    margin-bottom: 18px;
    color: #3e495b;
    font-size: 17px;
    line-height: 1.5;
}

.premium-hero__copy,
.premium-section__heading,
.premium-product-card,
.premium-feature-row__content,
.premium-integration-card,
.premium-price-card,
.premium-demo-copy {
    min-width: 0;
}

.premium-hero__copy,
.premium-hero__lead,
.premium-checklist,
.premium-actions,
.premium-hero__stats {
    max-width: 100%;
}

.premium-checklist,
.premium-price-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.premium-checklist {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
}

.premium-checklist li,
.premium-price-list li {
    position: relative;
    padding-left: 30px;
    color: var(--factor-ink-deep);
    font-weight: 700;
}

.premium-checklist li::before,
.premium-price-list li::before {
    position: absolute;
    top: 4px;
    left: 0;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: var(--factor-ink-deep);
    content: "✓";
    font-size: 12px;
    font-weight: 900;
    background: var(--factor-lime);
}

.premium-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.premium-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 620px;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid rgba(7, 17, 31, 0.1);
    border-radius: var(--factor-radius);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 44px rgba(7, 17, 31, 0.08);
    backdrop-filter: blur(16px);
}

.premium-hero__stats div {
    display: grid;
    gap: 4px;
    min-height: 78px;
    align-content: center;
    padding: 18px 16px;
    background: rgba(255, 255, 255, 0.68);
}

.premium-hero__stats strong {
    color: var(--factor-ink-deep);
    font-size: 23px;
    line-height: 1;
}

.premium-hero__stats span {
    color: var(--factor-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.premium-hero__visual {
    position: relative;
    overflow: visible;
    min-height: 500px;
    padding: 0;
}

.premium-hero__visual img {
    position: absolute;
    right: -78px;
    top: 48%;
    display: block;
    width: min(760px, 116%);
    max-width: none;
    height: auto;
    min-height: 0;
    object-fit: contain;
    transform: translateY(-50%);
    filter: drop-shadow(0 42px 50px rgba(7, 17, 31, 0.2));
}

.premium-hero__badge {
    position: absolute;
    display: grid;
    gap: 2px;
    min-width: 150px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: var(--factor-radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 48px rgba(7, 17, 31, 0.16);
    backdrop-filter: blur(18px);
}

.premium-hero__badge span {
    color: var(--factor-blue);
    font-size: 13px;
    font-weight: 900;
}

.premium-hero__badge strong {
    color: var(--factor-ink-deep);
    font-size: 14px;
}

.premium-hero__badge--support {
    right: 6px;
    top: 78px;
}

.premium-hero__badge--certified {
    left: 22px;
    bottom: 70px;
}

.premium-command-panel {
    position: absolute;
    left: 12px;
    top: 24px;
    display: grid;
    gap: 5px;
    width: min(320px, 52%);
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--factor-radius);
    color: var(--factor-white);
    background:
        linear-gradient(135deg, rgba(8, 21, 37, 0.92), rgba(18, 72, 92, 0.88));
    box-shadow: 0 28px 60px rgba(7, 17, 31, 0.2);
}

.premium-command-panel span {
    color: var(--factor-lime);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.premium-command-panel strong {
    font-size: 20px;
    line-height: 1.18;
}

.premium-section--products {
    background:
        linear-gradient(180deg, var(--factor-white), #f7fafc);
}

.premium-trust-strip {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(7, 17, 31, 0.08);
    border-bottom: 1px solid rgba(7, 17, 31, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.premium-trust-strip__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
}

.premium-trust-strip span {
    display: grid;
    min-height: 76px;
    place-items: center;
    padding: 16px 12px;
    color: var(--factor-ink-deep);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    background: rgba(244, 247, 251, 0.72);
}

.premium-section--audience {
    background:
        linear-gradient(180deg, #ffffff 0, #f7fafc 100%);
}

.premium-audience-grid,
.premium-steps-grid {
    display: grid;
    gap: 18px;
}

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

.premium-audience-card,
.premium-step-card {
    min-width: 0;
    border: 1px solid rgba(7, 17, 31, 0.09);
    border-radius: var(--factor-radius);
    background: var(--factor-white);
    box-shadow: 0 18px 52px rgba(7, 17, 31, 0.07);
}

.premium-audience-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 28px;
}

.premium-audience-card span,
.premium-step-card span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: var(--factor-radius);
    color: var(--factor-ink-deep);
    font-size: 13px;
    font-weight: 900;
    background: var(--factor-lime);
}

.premium-audience-card h3,
.premium-step-card h3 {
    margin-bottom: 10px;
    color: var(--factor-ink-deep);
    font-size: 24px;
    line-height: 1.18;
}

.premium-audience-card p,
.premium-step-card p {
    color: var(--factor-muted);
}

.premium-audience-card a {
    margin-top: auto;
    color: var(--factor-blue);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

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

.premium-product-card,
.premium-integration-card,
.premium-price-card,
.premium-form-panel {
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: var(--factor-radius);
    background: var(--factor-white);
    box-shadow: 0 20px 60px rgba(7, 17, 31, 0.08);
}

.premium-product-card {
    display: grid;
    min-height: 100%;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.premium-product-card:hover {
    border-color: rgba(30, 86, 221, 0.2);
    box-shadow: 0 28px 74px rgba(7, 17, 31, 0.12);
    transform: translateY(-4px);
}

.premium-product-card__image {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 224px;
    padding: 30px 20px;
    background:
        linear-gradient(145deg, rgba(30, 86, 221, 0.14), rgba(32, 215, 189, 0.11)),
        #edf4ff;
}

.premium-product-card__image::after {
    position: absolute;
    inset: auto 24px 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(7, 17, 31, 0.14), transparent);
}

.premium-product-card--warm .premium-product-card__image {
    background:
        linear-gradient(145deg, rgba(217, 179, 95, 0.16), rgba(32, 215, 189, 0.12)),
        var(--factor-ivory);
}

.premium-product-card--mint .premium-product-card__image {
    background:
        linear-gradient(145deg, rgba(20, 184, 154, 0.18), rgba(30, 86, 221, 0.08)),
        #e9faf5;
}

.premium-product-card--ink .premium-product-card__image {
    background:
        radial-gradient(circle at 65% 40%, rgba(32, 215, 189, 0.38), transparent 34%),
        linear-gradient(145deg, #07111f, #152033);
}

.premium-product-card__image img {
    position: relative;
    z-index: 1;
    max-height: 178px;
    object-fit: contain;
    filter: drop-shadow(0 18px 26px rgba(7, 17, 31, 0.14));
}

.premium-product-card__body {
    padding: 26px;
}

.premium-product-card h3,
.premium-feature-row h3,
.premium-integration-card h3,
.premium-price-card h3 {
    margin-bottom: 10px;
    color: var(--factor-ink-deep);
    font-size: 24px;
    line-height: 1.18;
    letter-spacing: 0;
}

.premium-product-card p,
.premium-feature-row p,
.premium-integration-card p,
.premium-price-card p {
    margin-bottom: 0;
    color: var(--factor-muted);
    line-height: 1.68;
}

.premium-cta-band {
    color: var(--factor-white);
    background:
        linear-gradient(100deg, rgba(7, 17, 31, 0.96), rgba(17, 62, 89, 0.94) 58%, rgba(17, 111, 102, 0.94)),
        url("../img/tilda/tild6131-6237-4165-b562-663134326232-BG.png") right center / auto 100% no-repeat;
}

.premium-cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 52px 0;
}

.premium-cta-band h2 {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--factor-white);
}

.premium-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.premium-section--features {
    background:
        linear-gradient(180deg, #f7fafc 0, #f4f7fb 100%);
}

.premium-feature-stack {
    counter-reset: feature;
    display: grid;
    gap: 24px;
}

.premium-feature-row {
    position: relative;
    overflow: hidden;
    counter-increment: feature;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(7, 17, 31, 0.1);
    border-radius: var(--factor-radius);
    background: var(--factor-white);
    box-shadow: 0 20px 56px rgba(7, 17, 31, 0.07);
}

.premium-feature-row::before {
    position: absolute;
    right: 28px;
    top: 18px;
    color: rgba(7, 17, 31, 0.06);
    content: "0" counter(feature);
    font-size: 74px;
    font-weight: 900;
    line-height: 1;
}

.premium-feature-row--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.premium-feature-row--reverse .premium-feature-row__image {
    order: 2;
}

.premium-feature-row__image {
    position: relative;
    overflow: hidden;
    border-radius: var(--factor-radius);
    background: var(--factor-cloud-2);
}

.premium-feature-row__image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 45%, rgba(7, 17, 31, 0.16));
    pointer-events: none;
}

.premium-feature-row__image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.premium-feature-row:hover .premium-feature-row__image img {
    transform: scale(1.025);
}

.premium-feature-row__image--device {
    display: grid;
    place-items: center;
    padding: 18px;
}

.premium-feature-row__image--device img {
    aspect-ratio: auto;
    max-height: 360px;
    object-fit: contain;
}

.premium-feature-row__content {
    padding: 10px 10px 10px 0;
}

.premium-section--integrations {
    background:
        linear-gradient(180deg, var(--factor-white), #f9fbfd);
}

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

.premium-integration-card {
    display: flex;
    min-height: 252px;
    flex-direction: column;
    padding: 26px;
    box-shadow: 0 16px 44px rgba(7, 17, 31, 0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.premium-integration-card:hover {
    border-color: rgba(20, 184, 154, 0.22);
    box-shadow: 0 24px 62px rgba(7, 17, 31, 0.1);
    transform: translateY(-3px);
}

.premium-integration-card img {
    width: 124px;
    max-height: 46px;
    margin-bottom: 24px;
    object-fit: contain;
    object-position: left center;
}

.premium-integration-card h3 {
    font-size: 20px;
}

.premium-integration-card p {
    font-size: 14px;
}

.premium-integration-card--soon {
    justify-content: center;
    color: var(--factor-white);
    background:
        linear-gradient(140deg, #081525, #113e59 68%, #12695f);
}

.premium-integration-card--soon span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--factor-ink-deep);
    font-size: 28px;
    font-weight: 700;
    background: var(--factor-lime);
}

.premium-integration-card--soon h3,
.premium-integration-card--soon p {
    color: var(--factor-white);
}

.premium-section--steps {
    background:
        linear-gradient(180deg, #f9fbfd 0, #eef5fb 100%);
}

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

.premium-step-card {
    padding: 26px;
}

.premium-step-card span {
    color: var(--factor-white);
    background: var(--factor-blue);
}

.premium-section--pricing {
    background:
        linear-gradient(180deg, rgba(8, 21, 37, 0.96) 0, rgba(13, 28, 49, 0.96) 100%),
        url("../img/tilda/tild6231-3166-4538-a230-663034653262-BG_PRICING_PLANS.png") center / cover no-repeat;
}

.premium-section--pricing .premium-kicker,
.premium-section--pricing .premium-section__heading h2,
.premium-section--pricing .premium-section__heading p {
    color: var(--factor-white);
}

.premium-section--pricing .premium-section__heading p {
    color: rgba(255, 255, 255, 0.72);
}

.premium-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.premium-price-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.premium-price-card--featured {
    border-color: rgba(183, 242, 101, 0.8);
    box-shadow: 0 30px 86px rgba(0, 0, 0, 0.28);
    transform: translateY(-10px);
}

.premium-price-card__label {
    width: fit-content;
    margin-bottom: 18px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--factor-ink-deep);
    font-size: 12px;
    font-weight: 900;
    background: var(--factor-lime);
}

.premium-price-card__price {
    margin-bottom: 8px;
    color: var(--factor-ink-deep);
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
}

.premium-price-card__price span {
    color: var(--factor-muted);
    font-size: 16px;
    font-weight: 700;
}

.premium-price-list {
    display: grid;
    gap: 11px;
    margin: 24px 0;
}

.premium-price-card__note {
    color: var(--factor-blue);
    font-weight: 900;
}

.premium-price-card .premium-button {
    margin-top: auto;
}

.premium-section--demo {
    background:
        linear-gradient(100deg, rgba(251, 248, 241, 0.96), rgba(244, 247, 251, 0.9) 46%, rgba(232, 247, 243, 0.84)),
        var(--factor-ivory);
}

.premium-demo-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1fr);
    gap: 54px;
    align-items: start;
}

.premium-demo-copy {
    position: sticky;
    top: 110px;
}

.premium-contact-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.premium-contact-list a,
.premium-contact-list span {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid rgba(7, 17, 31, 0.11);
    border-radius: var(--factor-radius);
    color: var(--factor-ink-deep);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 26px rgba(7, 17, 31, 0.05);
}

.premium-form-panel {
    position: relative;
    overflow: hidden;
    padding: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.98));
}

.premium-form-panel::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--factor-blue), var(--factor-cyan), var(--factor-lime));
}

.premium-form__inputs {
    display: grid;
    gap: 16px;
}

.premium-input {
    width: 100%;
    min-height: 58px;
    padding: 0 17px;
    border: 1px solid rgba(7, 17, 31, 0.16);
    border-radius: var(--factor-radius);
    color: var(--factor-ink-deep);
    font: inherit;
    background: var(--factor-white);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.premium-input:focus {
    border-color: var(--factor-blue);
    box-shadow: 0 0 0 4px rgba(30, 86, 221, 0.12);
}

.premium-input::placeholder {
    color: rgba(93, 102, 120, 0.82);
}

.premium-select {
    appearance: none;
    color: var(--factor-ink-deep);
    background:
        linear-gradient(45deg, transparent 50%, var(--factor-muted) 50%),
        linear-gradient(135deg, var(--factor-muted) 50%, transparent 50%),
        var(--factor-white);
    background-position:
        calc(100% - 21px) 50%,
        calc(100% - 15px) 50%,
        0 0;
    background-repeat: no-repeat;
    background-size:
        6px 6px,
        6px 6px,
        100% 100%;
}

.premium-checkbox {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: var(--factor-muted);
    font-size: 13px;
    line-height: 1.5;
}

.premium-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--factor-blue);
}

.premium-checkbox a {
    color: var(--factor-blue);
}

.premium-form__success {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: var(--factor-radius);
    color: #155d3d;
    background: #e6f8ef;
}

.premium-form__errors {
    color: #b42318;
    font-size: 13px;
}

.premium-form__errors ul {
    padding-left: 18px;
    margin: 0;
}

.premium-form__field-error {
    margin-top: 5px;
    color: #b42318;
    font-size: 13px;
}

.mobile-sticky-cta {
    display: none;
}

@media (max-width: 1120px) {
    .primary-menu {
        gap: 12px;
    }

    .primary-menu a {
        font-size: 14px;
    }

    .site-header__actions .button {
        padding-inline: 13px;
    }

    .premium-product-grid,
    .premium-integrations-grid,
    .premium-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 980px) {
    .premium-hero__grid,
    .premium-section__heading--split,
    .premium-demo-grid {
        grid-template-columns: 1fr;
    }

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

    .premium-hero__copy h1 {
        font-size: 50px;
    }

    .premium-hero__visual {
        min-height: 460px;
    }

    .premium-hero__visual img {
        right: 50%;
        width: min(760px, 108%);
        transform: translate(50%, -50%);
    }

    .premium-section__heading h2,
    .premium-cta-band h2,
    .premium-demo-copy h2 {
        font-size: 40px;
    }

    .premium-feature-row,
    .premium-feature-row--reverse {
        grid-template-columns: 1fr;
    }

    .premium-feature-row--reverse .premium-feature-row__image {
        order: 0;
    }

    .premium-demo-copy {
        position: static;
    }

    .premium-price-card--featured {
        transform: none;
    }

    .directory-hero__grid {
        grid-template-columns: 1fr;
    }

    .directory-hero h1 {
        font-size: 52px;
    }
}

@media (max-width: 820px) {
    .premium-pricing-grid {
        grid-template-columns: 1fr;
    }

    .premium-cta-band__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .directory-search,
    .directory-cta {
        grid-template-columns: 1fr;
    }

    .directory-reset,
    .directory-search button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .premium-home {
        padding-bottom: 78px;
    }

    .premium-shell {
        width: min(1180px, calc(100% - 28px));
        max-width: 100%;
    }

    .directory-shell,
    .directory-pagination,
    .navigation.pagination {
        width: min(1180px, calc(100% - 28px));
    }

    .directory-hero {
        padding: 58px 0 44px;
    }

    .directory-hero h1 {
        font-size: 40px;
        line-height: 1.05;
    }

    .directory-hero__copy > p:last-child {
        font-size: 17px;
    }

    .directory-hero__stats,
    .directory-grid {
        grid-template-columns: 1fr;
    }

    .directory-tools {
        padding: 14px;
    }

    .directory-results-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .directory-card,
    .directory-cta {
        padding: 20px;
    }

    .directory-cta h2 {
        font-size: 27px;
    }

    .premium-hero {
        min-height: auto;
        padding: 52px 0 50px;
    }

    .premium-section {
        padding: 64px 0;
    }

    .premium-trust-strip {
        padding: 12px 0;
    }

    .premium-trust-strip__inner {
        grid-template-columns: 1fr;
    }

    .premium-hero__copy h1 {
        font-size: 34px;
        line-height: 1.04;
    }

    .premium-hero__lead {
        font-size: 17px;
    }

    .premium-section__heading h2,
    .premium-cta-band h2,
    .premium-demo-copy h2 {
        font-size: 32px;
        line-height: 1.12;
    }

    .premium-section__heading p,
    .premium-demo-copy p {
        font-size: 16px;
    }

    .premium-audience-grid,
    .premium-steps-grid,
    .premium-product-grid,
    .premium-integrations-grid {
        grid-template-columns: 1fr;
    }

    .premium-hero__visual {
        overflow: hidden;
        min-height: auto;
        padding: 10px 0 0;
    }

    .premium-hero__visual img {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        transform: none;
    }

    .premium-command-panel,
    .premium-hero__badge {
        position: static;
        margin-top: 12px;
        width: 100%;
        min-width: 0;
    }

    .premium-hero__stats {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }

    .premium-hero__stats div {
        min-height: 72px;
    }

    .premium-feature-row,
    .premium-form-panel,
    .premium-price-card {
        padding: 20px;
    }

    .premium-actions {
        flex-direction: column;
    }

    .premium-actions .premium-button,
    .premium-cta-band__actions,
    .premium-cta-band__actions .premium-button {
        width: 100%;
    }

    .premium-kicker--hero {
        max-width: 100%;
    }

    .mobile-sticky-cta {
        position: fixed;
        right: 14px;
        bottom: 14px;
        left: 14px;
        z-index: 80;
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        gap: 10px;
        padding: 9px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 18px;
        background: rgba(5, 14, 28, 0.9);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(16px);
    }

    .mobile-sticky-cta a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        border-radius: 12px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
    }

    .mobile-sticky-cta a:first-child {
        border: 1px solid rgba(255, 255, 255, 0.24);
        background: rgba(255, 255, 255, 0.08);
    }

    .mobile-sticky-cta a:last-child {
        color: var(--premium-ink);
        background: #ffffff;
    }
}

@media (max-width: 520px) {
    .premium-shell {
        width: min(362px, calc(100% - 28px));
        margin-left: 14px;
        margin-right: auto;
    }
}

@media (max-width: 420px) {
    .premium-hero__copy h1 {
        font-size: 31px;
    }

    .premium-section__heading h2,
    .premium-cta-band h2,
    .premium-demo-copy h2 {
        font-size: 29px;
    }

    .premium-price-card__price {
        font-size: 38px;
    }
}
