:root {
    --public-ink: #0b1326;
    --public-muted: #5d687c;
    --public-navy: #07142f;
    --public-navy-soft: #0d1d42;
    --public-surface: #ffffff;
    --public-soft: #f4f7fb;
    --public-line: rgba(12, 31, 66, 0.1);
    --public-blue: #5a7cff;
    --public-cyan: #56d7ee;
    --public-accent: #f67458;
    --public-radius-sm: 14px;
    --public-radius-md: 22px;
    --public-radius-lg: 32px;
    --public-shadow-sm: 0 16px 42px rgba(20, 38, 78, 0.08);
    --public-shadow-lg: 0 34px 90px rgba(3, 13, 38, 0.24);
}

main.public-v2 {
    animation: none;
    background: var(--public-surface);
    color: var(--public-ink);
    opacity: 1;
    overflow: hidden;
}

.public-v2 *,
.public-v2 *::before,
.public-v2 *::after {
    box-sizing: border-box;
}

.public-v2 a,
.public-v2 button,
.public-v2 summary {
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.public-v2 a:focus-visible,
.public-v2 button:focus-visible,
.public-v2 summary:focus-visible {
    outline: 3px solid rgba(86, 215, 238, 0.72);
    outline-offset: 4px;
}

.public-section {
    padding: clamp(78px, 8vw, 120px) 0;
}

.public-section--soft {
    background: var(--public-soft);
}

.public-kicker {
    color: var(--public-blue);
    display: block;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    margin-bottom: 17px;
    text-transform: uppercase;
}

.public-v2 h1,
.public-v2 h2,
.public-v2 h3 {
    color: var(--public-ink);
    font-weight: 680;
    letter-spacing: -0.035em;
}

.public-v2 h2 {
    font-size: clamp(2.35rem, 4.2vw, 3.7rem);
    line-height: 1.06;
    margin: 0;
}

.public-v2 h3 {
    font-size: 1.22rem;
    line-height: 1.3;
}

.public-heading {
    align-items: end;
    display: grid;
    gap: 54px;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
    margin-bottom: 48px;
}

.public-heading > p {
    color: var(--public-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
}

.public-button,
.public-v2 .button__create {
    align-items: center;
    border-radius: 13px;
    display: inline-flex;
    font-size: 0.96rem;
    font-weight: 700;
    justify-content: center;
    min-height: 54px;
    padding: 14px 24px;
    text-decoration: none;
    text-transform: none;
}

.public-v2 .button__create {
    background: var(--public-accent);
    border: 1px solid var(--public-accent);
    box-shadow: 0 14px 30px rgba(246, 116, 88, 0.22);
    color: #fff;
}

.public-v2 .button__create:hover {
    background: #ff866d;
    border-color: #ff866d;
    color: #fff;
    transform: translateY(-2px);
}

.public-button--secondary {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.public-button--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
    transform: translateY(-2px);
}

/* Exchange page */
.exchange-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(90, 124, 255, 0.24), transparent 31%),
        radial-gradient(circle at 18% 8%, rgba(86, 215, 238, 0.1), transparent 28%),
        linear-gradient(135deg, #07142f 0%, #0a1a3d 60%, #101b3d 100%);
    color: #fff;
    min-height: 760px;
    overflow: hidden;
    padding: clamp(90px, 8vw, 126px) 0;
    position: relative;
}

.exchange-hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px);
    background-size: 80px 80px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
    pointer-events: none;
    position: absolute;
}

.exchange-hero__grid {
    align-items: center;
    display: grid;
    gap: clamp(52px, 7vw, 100px);
    grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
    position: relative;
    z-index: 1;
}

.exchange-hero .public-kicker {
    color: var(--public-cyan);
}

.exchange-hero__logo {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    height: 92px;
    justify-content: center;
    margin-bottom: 28px;
    padding: 16px 24px;
    width: 220px;
}

.exchange-hero__logo img {
    height: auto;
    max-height: 66px;
    max-width: 176px;
    object-fit: contain;
    width: auto;
}

.exchange-hero h1 {
    color: #fff;
    font-size: clamp(3.15rem, 5vw, 5.35rem);
    font-weight: 680;
    letter-spacing: -0.055em;
    line-height: 0.98;
    margin: 0 0 28px;
    max-width: 760px;
}

.exchange-hero__lead {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.12rem;
    line-height: 1.68;
    margin: 0 0 28px;
    max-width: 680px;
}

.exchange-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 34px;
}

.exchange-hero__badges span {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.75rem;
    font-weight: 650;
    padding: 8px 12px;
}

.exchange-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.exchange-hero__visual {
    padding: 34px 0 42px;
    position: relative;
}

.exchange-hero__screen {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 30px;
    box-shadow: var(--public-shadow-lg);
    overflow: hidden;
    padding: 16px;
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.exchange-hero__screen-bar {
    align-items: center;
    display: flex;
    gap: 7px;
    padding: 4px 4px 14px;
}

.exchange-hero__screen-bar span {
    background: rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    height: 7px;
    width: 7px;
}

.exchange-hero__screen-bar strong {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-left: 7px;
    text-transform: uppercase;
}

.exchange-hero__screen > img {
    background: #fff;
    border-radius: 18px;
    display: block;
    height: auto;
    width: 100%;
}

.exchange-hero__float {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 17px;
    box-shadow: 0 18px 46px rgba(3, 13, 38, 0.24);
    color: var(--public-ink);
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 205px;
    padding: 15px 18px;
    position: absolute;
}

.exchange-hero__float small {
    color: var(--public-muted);
    font-size: 0.67rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.exchange-hero__float strong {
    font-size: 0.82rem;
    font-weight: 700;
}

.exchange-hero__float--top {
    right: -18px;
    top: 0;
}

.exchange-hero__float--bottom {
    bottom: 0;
    left: -22px;
}

.exchange-trust {
    background: #fff;
    border-bottom: 1px solid var(--public-line);
}

.exchange-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.exchange-trust__grid > div {
    align-items: center;
    border-right: 1px solid var(--public-line);
    display: flex;
    gap: 14px;
    min-height: 104px;
    padding: 24px 28px;
}

.exchange-trust__grid > div:first-child {
    border-left: 1px solid var(--public-line);
}

.exchange-trust__grid strong {
    color: var(--exchange-accent);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.exchange-trust__grid span {
    color: var(--public-ink);
    font-size: 0.87rem;
    font-weight: 650;
    line-height: 1.35;
}

.exchange-intro__grid {
    align-items: start;
    display: grid;
    gap: clamp(58px, 9vw, 130px);
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
}

.exchange-intro__copy > p {
    color: var(--public-muted);
    font-size: 1.08rem;
    line-height: 1.8;
    margin: 0 0 22px;
}

.exchange-intro__note {
    background: var(--public-soft);
    border: 1px solid var(--public-line);
    border-left: 4px solid var(--exchange-accent);
    border-radius: 0 18px 18px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 32px;
    padding: 23px 25px;
}

.exchange-intro__note span {
    color: var(--public-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.exchange-intro__note strong {
    color: var(--public-ink);
    font-size: 1.02rem;
    line-height: 1.5;
}

.exchange-flow__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exchange-flow__card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--public-line);
    border-radius: 24px;
    min-height: 300px;
    padding: 34px;
}

.exchange-flow__card > span {
    align-items: center;
    background: var(--public-navy);
    border-radius: 12px;
    color: var(--public-cyan);
    display: flex;
    font-size: 0.72rem;
    font-weight: 750;
    height: 42px;
    justify-content: center;
    margin-bottom: 62px;
    width: 42px;
}

.exchange-flow__card h3,
.exchange-capabilities__grid h3 {
    margin: 0 0 13px;
}

.exchange-flow__card p,
.exchange-capabilities__grid p {
    color: var(--public-muted);
    font-size: 0.93rem;
    line-height: 1.68;
    margin: 0;
}

.exchange-capabilities__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exchange-capabilities__grid article {
    border: 1px solid var(--public-line);
    border-radius: 22px;
    min-height: 240px;
    padding: 30px;
}

.exchange-capabilities__grid article:hover {
    border-color: rgba(90, 124, 255, 0.28);
    box-shadow: var(--public-shadow-sm);
    transform: translateY(-4px);
}

.exchange-capabilities__grid article > span {
    align-items: center;
    background: linear-gradient(135deg, rgba(90, 124, 255, 0.13), rgba(86, 215, 238, 0.12));
    border-radius: 13px;
    color: var(--public-blue);
    display: flex;
    font-size: 1.18rem;
    height: 46px;
    justify-content: center;
    margin-bottom: 42px;
    width: 46px;
}

.exchange-security {
    background:
        radial-gradient(circle at 86% 18%, rgba(90, 124, 255, 0.23), transparent 32%),
        var(--public-navy);
    color: #fff;
    padding: clamp(78px, 8vw, 112px) 0;
}

.exchange-security__grid {
    align-items: center;
    display: grid;
    gap: clamp(54px, 9vw, 130px);
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
}

.exchange-security .public-kicker {
    color: var(--public-cyan);
}

.exchange-security h2 {
    color: #fff;
    margin-bottom: 24px;
}

.exchange-security p {
    color: rgba(255, 255, 255, 0.63);
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 0;
    max-width: 730px;
}

.exchange-security__checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exchange-security__checks span {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 13px;
    padding: 17px 19px;
}

.exchange-security__checks span::before {
    align-items: center;
    background: rgba(86, 215, 238, 0.15);
    border-radius: 50%;
    color: var(--public-cyan);
    content: "✓";
    display: flex;
    flex: 0 0 auto;
    font-size: 0.72rem;
    height: 25px;
    justify-content: center;
    width: 25px;
}

.exchange-integrations .exchange-showcase {
    margin: 0 -12px !important;
    padding-bottom: 48px;
}

.exchange-integrations .exchange-showcase__cell {
    padding: 12px;
}

.exchange-integrations .exchange-showcase__card {
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border: 1px solid var(--public-line);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 180px;
    justify-content: space-between;
    margin: 0;
    min-width: 302px;
    overflow: hidden;
    padding: 24px;
    position: relative;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    width: 302px;
}

.exchange-integrations .exchange-showcase__card::before {
    background: linear-gradient(90deg, var(--public-blue), #70d9ff);
    content: "";
    height: 2px;
    left: 24px;
    opacity: 0;
    position: absolute;
    right: 24px;
    top: 0;
    transform: scaleX(0.55);
    transform-origin: left;
    transition: opacity 180ms ease, transform 180ms ease;
}

.exchange-integrations .exchange-showcase__card:hover,
.exchange-integrations .exchange-showcase__card:focus-visible {
    border-color: rgba(90, 124, 255, 0.28);
    box-shadow: var(--public-shadow-sm);
    transform: translateY(-3px);
}

.exchange-integrations .exchange-showcase__card:hover::before,
.exchange-integrations .exchange-showcase__card:focus-visible::before {
    opacity: 0.9;
    transform: scaleX(1);
}

.exchange-integrations .exchange-showcase__logo {
    align-items: center;
    display: flex;
    height: 64px;
    width: 150px;
}

.exchange-integrations .exchange-showcase__logo img {
    height: auto;
    max-height: 58px;
    max-width: 142px;
    object-fit: contain;
    object-position: left center;
    width: auto;
}

.exchange-integrations .exchange-showcase__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.exchange-integrations .exchange-showcase__title {
    color: var(--public-ink);
    font-size: 1.12rem;
    font-weight: 680;
}

.exchange-integrations .exchange-showcase__badges {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.exchange-integrations .exchange-showcase__badges span {
    color: #68758d;
    font-size: 0.66rem;
    font-weight: 650;
    letter-spacing: 0.015em;
}

.exchange-integrations .exchange-showcase__badges span + span::before {
    background: rgba(90, 124, 255, 0.45);
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 3px;
    margin: 0 7px 2px;
    width: 3px;
}

.exchange-integrations .flickity-page-dots .dot {
    background: rgba(11, 19, 38, 0.18);
    height: 6px;
    margin: 0 5px;
    opacity: 1;
    width: 6px;
}

.exchange-integrations .flickity-page-dots .dot.is-selected {
    background: var(--public-blue);
    border-radius: 999px;
    width: 22px;
}

.exchange-faq__grid {
    align-items: start;
    display: grid;
    gap: clamp(52px, 8vw, 120px);
    grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
}

.exchange-faq__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exchange-faq details {
    background: #fff;
    border: 1px solid var(--public-line);
    border-radius: 18px;
    padding: 0 22px;
}

.exchange-faq details[open] {
    box-shadow: var(--public-shadow-sm);
}

.exchange-faq summary {
    color: var(--public-ink);
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 680;
    list-style: none;
    padding: 22px 34px 22px 0;
    position: relative;
}

.exchange-faq summary::-webkit-details-marker {
    display: none;
}

.exchange-faq summary::after {
    color: var(--public-blue);
    content: "+";
    font-size: 1.35rem;
    position: absolute;
    right: 0;
    top: 17px;
}

.exchange-faq details[open] summary::after {
    content: "−";
}

.exchange-faq details p {
    color: var(--public-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
    padding: 0 28px 22px 0;
}

.exchange-final {
    background: #fff;
    padding: 24px 0 clamp(82px, 8vw, 120px);
}

.exchange-final__panel {
    background:
        radial-gradient(circle at 90% 20%, rgba(246, 116, 88, 0.22), transparent 30%),
        radial-gradient(circle at 5% 90%, rgba(86, 215, 238, 0.13), transparent 28%),
        var(--public-navy);
    border-radius: 32px;
    color: #fff;
    overflow: hidden;
    padding: clamp(52px, 7vw, 88px);
    text-align: center;
}

.exchange-final__panel .public-kicker {
    color: var(--public-cyan);
}

.exchange-final__panel h2 {
    color: #fff;
    margin: 0 auto 20px;
    max-width: 900px;
}

.exchange-final__panel p {
    color: rgba(255, 255, 255, 0.64);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0 auto 30px;
    max-width: 680px;
}

/* Blog index */
.public-breadcrumb {
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.public-breadcrumb nav {
    max-width: 100%;
    min-width: 0;
}

.public-breadcrumb .breadcrumb {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    font-size: 0.78rem;
    font-weight: 650;
    gap: 0;
    letter-spacing: 0.015em;
    line-height: 1.35;
    list-style: none;
    margin: 0;
    min-width: 0;
    padding: 0;
}

.public-breadcrumb .breadcrumb-item {
    display: block;
    flex: 0 0 auto;
    min-width: 0;
    white-space: nowrap;
}

.public-breadcrumb .breadcrumb-item.active {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-breadcrumb .breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}

.public-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    border-right: 1px solid currentColor;
    border-top: 1px solid currentColor;
    content: "";
    display: inline-block;
    float: none;
    height: 6px;
    margin: 0 12px 1px 10px;
    padding: 0;
    transform: rotate(45deg);
    width: 6px;
}

.public-breadcrumb .breadcrumb-item a {
    text-decoration-line: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.public-breadcrumb .breadcrumb-item a:focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--public-cyan);
    outline-offset: 4px;
}

.public-breadcrumb--dark .breadcrumb-item,
.public-breadcrumb--dark .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.public-breadcrumb--dark .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.66);
}

.public-breadcrumb--dark .breadcrumb-item a:hover {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.42);
}

.public-breadcrumb--dark .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.32);
}

.public-breadcrumb--light .breadcrumb-item,
.public-breadcrumb--light .breadcrumb-item.active {
    color: var(--public-ink);
}

.public-breadcrumb--light .breadcrumb-item a {
    color: var(--public-muted);
}

.public-breadcrumb--light .breadcrumb-item a:hover {
    color: var(--public-blue);
    text-decoration-color: rgba(90, 124, 255, 0.38);
}

.public-breadcrumb--light .breadcrumb-item + .breadcrumb-item::before {
    color: #aab4c7;
}

.public-breadcrumb--hero {
    left: 0;
    position: absolute;
    right: 0;
    top: clamp(22px, 2.4vw, 34px);
    width: 100%;
    z-index: 3;
}

.blog-index-hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(90, 124, 255, 0.2), transparent 30%),
        var(--public-navy);
    color: #fff;
    padding: clamp(64px, 7vw, 104px) 0;
    position: relative;
}

.blog-index-hero__grid {
    align-items: end;
    display: grid;
    gap: 54px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
}

.blog-index-hero .public-kicker {
    color: var(--public-cyan);
}

.blog-index-hero h1 {
    color: #fff;
    font-size: clamp(3.5rem, 7vw, 6.6rem);
    letter-spacing: -0.06em;
    line-height: 0.95;
    margin: 0;
}

.blog-index-hero p {
    color: rgba(255, 255, 255, 0.64);
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0;
}

.blog-index-content {
    padding: clamp(72px, 8vw, 112px) 0;
}

.blog-index-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 36px;
}

.blog-index-heading h2 {
    font-size: clamp(2.15rem, 4vw, 3.25rem);
}

.blog-index-heading h2:focus {
    outline: none;
}

.blog-index-heading h2:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--public-blue);
    outline-offset: 7px;
}

.blog-index-heading span {
    color: var(--public-muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-page-region {
    position: relative;
}

.blog-page-region > .blog-grid,
.blog-page-region > #Paginator {
    transition: filter 180ms ease, opacity 180ms ease;
}

.blog-page-region.is-loading {
    cursor: progress;
}

.blog-page-region.is-loading > .blog-grid,
.blog-page-region.is-loading > #Paginator {
    filter: saturate(0.72);
    opacity: 0.32;
    pointer-events: none;
}

.blog-page-region::after {
    animation: blog-page-spinner 700ms linear infinite;
    border: 2px solid rgba(90, 124, 255, 0.18);
    border-radius: 50%;
    border-top-color: var(--public-blue);
    bottom: 12px;
    content: "";
    height: 24px;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-50%);
    transition: opacity 160ms ease;
    width: 24px;
    z-index: 2;
}

.blog-page-region.is-loading::after {
    opacity: 1;
}

.blog-page-region.is-entering .blog-card-shell {
    animation: blog-page-reveal 440ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.blog-page-region.is-entering .blog-card-shell:nth-child(2) {
    animation-delay: 35ms;
}

.blog-page-region.is-entering .blog-card-shell:nth-child(3) {
    animation-delay: 70ms;
}

.blog-page-region.is-entering .blog-card-shell:nth-child(4) {
    animation-delay: 105ms;
}

.blog-page-region.is-entering .blog-card-shell:nth-child(5) {
    animation-delay: 140ms;
}

.blog-page-region.is-entering .blog-card-shell:nth-child(6) {
    animation-delay: 175ms;
}

@keyframes blog-page-spinner {
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

@keyframes blog-page-reveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card-shell {
    min-width: 0;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--public-line);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.blog-card:hover {
    border-color: rgba(90, 124, 255, 0.26);
    box-shadow: 0 24px 58px rgba(20, 38, 78, 0.11);
    transform: translateY(-5px);
}

.blog-card__media {
    background: #e9edf5;
    display: block;
    overflow: hidden;
}

.blog-card__media img {
    aspect-ratio: 16 / 10;
    display: block;
    height: auto;
    object-fit: cover;
    transition: transform 360ms ease;
    width: 100%;
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.035);
}

.blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.blog-card__meta {
    align-items: center;
    color: var(--public-muted);
    display: flex;
    font-size: 0.72rem;
    font-weight: 650;
    gap: 9px;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.blog-card__meta span {
    color: var(--public-blue);
}

.blog-card h2 {
    font-size: clamp(1.35rem, 2vw, 1.72rem);
    line-height: 1.18;
    margin: 0 0 15px !important;
}

.blog-card h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-card__description {
    color: var(--public-muted);
    display: -webkit-box;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0 0 24px !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-card__link {
    align-items: center;
    color: var(--public-ink);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 750;
    gap: 9px;
    margin-top: auto;
    text-decoration: none;
}

.blog-card__link::after {
    color: var(--public-blue);
    content: "→";
    font-size: 1rem;
}

.blog-card__link:hover {
    color: var(--public-blue);
}

.blog-index__latest {
    border-top: 1px solid var(--public-line);
    margin-top: 76px;
    padding-top: 40px;
}

.blog-index__latest > h2 {
    font-size: 1.45rem;
    margin-bottom: 24px;
}

.blog-index__latest-list {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.blog-index__latest .news_card,
.article-related .news_card {
    background: #fff;
    border: 1px solid var(--public-line);
    border-radius: 16px;
    display: flex;
    gap: 13px;
    margin: 0;
    min-width: 0;
    padding: 13px;
}

.blog-index__latest .news_card img,
.article-related .news_card img {
    border-radius: 10px;
    height: 58px;
    object-fit: cover;
    width: 70px;
}

.blog-index__latest .news_card__body,
.article-related .news_card__body {
    min-width: 0;
}

.blog-index__latest .news_card h4,
.article-related .news_card h4 {
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0 0 6px;
}

.blog-index__latest .news_card h4 a,
.article-related .news_card h4 a {
    color: var(--public-ink);
    text-decoration: none;
}

.blog-index__latest .news_span,
.article-related .news_span {
    color: var(--public-muted);
    font-size: 0.66rem;
}

.public-v2 .pagination-wrap {
    justify-content: center;
    margin: 48px 0 0;
}

.public-v2 .pagination-wrap ul {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    margin: 0;
}

.public-v2 .pagination-wrap ul li {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
}

.public-v2 .pagination-wrap ul li > a,
.public-v2 .pagination-wrap ul li > span {
    align-items: center;
    background: #fff;
    border: 1px solid var(--public-line);
    border-radius: 11px;
    color: var(--public-ink);
    display: flex;
    height: 44px;
    justify-content: center;
    min-width: 44px;
    padding: 0 13px;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.public-v2 .pagination-wrap ul li > a > span,
.public-v2 .pagination-wrap ul li > span > span {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: inherit;
    height: auto;
    min-width: 0;
    padding: 0;
}

.public-v2 .pagination-wrap ul li > a:hover {
    background: rgba(90, 124, 255, 0.055);
    border-color: rgba(90, 124, 255, 0.32);
    color: var(--public-blue);
    transform: translateY(-2px);
}

.public-v2 .pagination-wrap ul li > a:focus-visible {
    outline: 2px solid var(--public-blue);
    outline-offset: 3px;
}

.public-v2 .pagination-wrap ul li.active > span {
    background: var(--public-navy);
    border-color: var(--public-navy);
    color: #fff;
}

.public-v2 .pagination-wrap .pagination-disabled {
    color: var(--public-muted);
    opacity: 0.42;
}

@media (prefers-reduced-motion: reduce) {
    .blog-page-region > .blog-grid,
    .blog-page-region > #Paginator,
    .blog-page-region::after,
    .blog-page-region.is-entering .blog-card-shell {
        animation: none;
        transition: none;
    }
}

/* Article */
.article-page {
    background: #fff;
}

.article-header {
    background:
        radial-gradient(circle at 84% 18%, rgba(90, 124, 255, 0.19), transparent 31%),
        linear-gradient(180deg, #f6f8fc 0%, #fff 100%);
    padding: 0 0 clamp(54px, 7vw, 88px);
}

.article-header > .public-breadcrumb {
    padding-top: 28px;
}

.article-header__inner {
    max-width: 1080px;
}

.article-header__meta {
    align-items: center;
    color: var(--public-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.76rem;
    font-weight: 650;
    gap: 10px;
    letter-spacing: 0.04em;
    margin: 52px 0 22px;
    text-transform: uppercase;
}

.article-header__meta span:first-child {
    color: var(--public-blue);
}

.article-header h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
    margin: 0 0 26px;
    max-width: 1060px;
}

.article-header__deck {
    color: var(--public-muted);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.65;
    margin: 0;
    max-width: 820px;
}

.article-header__share {
    align-items: center;
    border-top: 1px solid var(--public-line);
    display: flex;
    justify-content: space-between;
    margin-top: 34px;
    padding-top: 22px;
}

.article-header__share > span {
    color: var(--public-muted);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.article-body {
    padding: 0 0 clamp(88px, 9vw, 136px);
}

.article-cover {
    background: #e9edf5;
    border-radius: 30px;
    box-shadow: 0 30px 74px rgba(20, 38, 78, 0.15);
    margin: 0 auto clamp(58px, 7vw, 92px);
    max-width: 1180px;
    overflow: hidden;
    transform: translateY(-24px);
}

.article-cover img {
    aspect-ratio: 16 / 8.8;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.article-shell {
    margin: 0 auto;
    max-width: 900px;
}

.article-prose {
    color: #263248;
    font-family: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.05rem, 1.25vw, 1.16rem);
    line-height: 1.88;
    overflow-wrap: anywhere;
}

.article-prose > *:first-child {
    margin-top: 0 !important;
}

.article-prose > *:last-child {
    margin-bottom: 0 !important;
}

.article-prose p,
.article-prose ul,
.article-prose ol,
.article-prose blockquote,
.article-prose pre,
.article-prose table,
.article-prose figure,
.article-prose iframe,
.article-prose .video-wrapper {
    margin-bottom: 1.65em !important;
    margin-top: 1.65em !important;
}

.article-prose h2,
.article-prose h3,
.article-prose h4 {
    color: var(--public-ink);
    scroll-margin-top: 100px;
}

.article-prose h2 {
    font-size: clamp(2rem, 4vw, 3.05rem);
    line-height: 1.12;
    margin: 2.2em 0 0.7em !important;
}

.article-prose h3 {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.2;
    margin: 1.9em 0 0.65em !important;
}

.article-prose h4 {
    font-size: 1.2rem;
    margin: 1.7em 0 0.6em !important;
}

.article-prose a {
    color: #3659d9;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(54, 89, 217, 0.3);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-prose a:hover {
    color: var(--public-blue);
    text-decoration-color: currentColor;
}

.article-prose ul,
.article-prose ol {
    padding-left: 1.35em !important;
}

.article-prose ul {
    list-style: none !important;
}

.article-prose ol {
    list-style: decimal !important;
}

.article-prose ul li,
.article-prose ol li {
    display: list-item !important;
    margin: 0.6em 0 !important;
    padding-left: 0.35em;
}

.article-prose br + br {
    content: "";
    display: block;
    margin-top: 0.8em;
}

.article-prose ul li {
    position: relative;
}

.article-prose ul li::before {
    background: linear-gradient(135deg, var(--public-blue), var(--public-cyan));
    border-radius: 50%;
    content: "";
    height: 7px;
    left: -1em;
    position: absolute;
    top: 0.82em;
    width: 7px;
}

.article-prose blockquote {
    background: linear-gradient(135deg, #f1f5ff, #f8fbff);
    border: 1px solid rgba(90, 124, 255, 0.14);
    border-left: 4px solid var(--public-blue);
    border-radius: 0 20px 20px 0;
    color: #263653;
    font-size: 1.08em;
    font-style: normal;
    line-height: 1.75;
    padding: 26px 30px;
}

.article-prose img {
    border-radius: 20px;
    box-shadow: var(--public-shadow-sm);
    display: block;
    height: auto !important;
    margin: 2.2em auto;
    max-width: 100% !important;
}

.article-prose figure {
    max-width: 100%;
}

.article-prose figcaption {
    color: var(--public-muted);
    font-size: 0.78rem;
    line-height: 1.5;
    margin-top: -1.2em;
    text-align: center;
}

.article-prose iframe,
.article-prose video {
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 20px;
    height: auto !important;
    max-width: 100%;
    width: 100% !important;
}

.article-prose table {
    border-collapse: separate;
    border-spacing: 0;
    display: block;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
}

.article-prose th,
.article-prose td {
    border-bottom: 1px solid var(--public-line);
    min-width: 140px;
    padding: 14px 16px;
    text-align: left;
}

.article-prose th {
    background: var(--public-soft);
    color: var(--public-ink);
    font-size: 0.82rem;
}

.article-prose pre {
    background: var(--public-navy);
    border-radius: 18px;
    color: #dce7ff;
    font-size: 0.82rem;
    line-height: 1.65;
    overflow-x: auto;
    padding: 22px 24px;
}

.article-prose code {
    background: #edf2fb;
    border-radius: 6px;
    color: #304675;
    font-size: 0.88em;
    padding: 2px 6px;
}

.article-prose pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.article-navigation {
    border-top: 1px solid var(--public-line);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 64px;
    padding-top: 28px;
}

.article-navigation a {
    align-items: center;
    background: #fff;
    border: 1px solid var(--public-line);
    border-radius: 13px;
    color: var(--public-ink);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    min-height: 48px;
    padding: 12px 17px;
    text-decoration: none;
}

.article-navigation a:hover:not(.nav_btn-disabled) {
    border-color: rgba(90, 124, 255, 0.28);
    color: var(--public-blue);
    transform: translateY(-2px);
}

.article-navigation .nav_btn-disabled {
    cursor: default;
    opacity: 0.38;
    pointer-events: none;
}

.article-related {
    background: var(--public-soft);
    padding: clamp(72px, 8vw, 108px) 0;
}

.article-related__header {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.article-related__header h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.article-related__header a {
    color: var(--public-blue);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.article-related__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Tariffs */
.tariffs-hero,
.tariff-detail-hero {
    background:
        radial-gradient(circle at 82% 16%, rgba(90, 124, 255, 0.25), transparent 30%),
        radial-gradient(circle at 14% 90%, rgba(86, 215, 238, 0.09), transparent 32%),
        linear-gradient(135deg, #07142f 0%, #0b1b3e 60%, #101c40 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.tariffs-hero::before,
.tariff-detail-hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 78px 78px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
    pointer-events: none;
    position: absolute;
}

.tariffs-hero__grid {
    align-items: end;
    display: grid;
    gap: clamp(52px, 8vw, 118px);
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.72fr);
    min-height: 570px;
    padding-bottom: clamp(72px, 8vw, 112px);
    padding-top: clamp(78px, 8vw, 118px);
    position: relative;
    z-index: 1;
}

.tariffs-hero .public-kicker,
.tariff-detail-hero .public-kicker {
    color: var(--public-cyan);
}

.tariffs-hero h1 {
    color: #fff;
    font-size: clamp(3.45rem, 5.8vw, 5.75rem);
    letter-spacing: -0.062em;
    line-height: 0.98;
    margin: 0 0 30px;
    max-width: 950px;
}

.tariffs-hero__content > p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 1.12rem;
    line-height: 1.72;
    margin: 0;
    max-width: 760px;
}

.tariffs-hero__facts {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 25px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.tariffs-hero__facts > div {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 18px;
    grid-template-columns: 42px 1fr;
    min-height: 84px;
    padding: 16px 24px;
}

.tariffs-hero__facts > div:last-child {
    border-bottom: 0;
}

.tariffs-hero__facts span {
    color: var(--public-cyan);
    font-size: 0.69rem;
    font-weight: 750;
    letter-spacing: 0.13em;
}

.tariffs-hero__facts strong {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    font-weight: 620;
    line-height: 1.4;
}

.tariffs-catalog {
    background: #fff;
    padding: clamp(88px, 9vw, 136px) 0;
}

.tariffs-catalog__heading {
    margin-bottom: clamp(46px, 6vw, 70px);
}

.tariffs-grid {
    align-items: stretch;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tariffs-plan {
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border: 1px solid var(--public-line);
    border-radius: 26px;
    box-shadow: 0 18px 50px rgba(20, 38, 78, 0.055);
    display: flex;
    flex-direction: column;
    min-height: 600px;
    overflow: hidden;
    padding: clamp(28px, 3vw, 42px);
    position: relative;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.tariffs-plan::before {
    background: linear-gradient(90deg, var(--public-blue), var(--public-cyan));
    content: "";
    height: 3px;
    left: 40px;
    opacity: 0;
    position: absolute;
    right: 40px;
    top: 0;
    transform: scaleX(0.5);
    transform-origin: left;
    transition: opacity 200ms ease, transform 200ms ease;
}

.tariffs-plan:hover {
    border-color: rgba(90, 124, 255, 0.24);
    box-shadow: 0 28px 70px rgba(20, 38, 78, 0.11);
    transform: translateY(-5px);
}

.tariffs-plan:hover::before,
.tariffs-plan--featured::before {
    opacity: 1;
    transform: scaleX(1);
}

.tariffs-plan--featured {
    border-color: rgba(90, 124, 255, 0.22);
    box-shadow: 0 24px 64px rgba(54, 83, 180, 0.12);
}

.tariffs-plan--vip {
    background:
        radial-gradient(circle at 85% 10%, rgba(90, 124, 255, 0.24), transparent 34%),
        linear-gradient(145deg, #07142f, #0c1d42);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 70px rgba(3, 13, 38, 0.24);
}

.tariffs-plan--vip:hover {
    border-color: rgba(86, 215, 238, 0.3);
    box-shadow: 0 34px 84px rgba(3, 13, 38, 0.3);
}

.tariffs-plan--vip::before {
    opacity: 0.85;
    transform: scaleX(1);
}

.tariffs-plan__header {
    border-bottom: 1px solid var(--public-line);
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr auto;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.tariffs-plan--vip .tariffs-plan__header {
    border-color: rgba(255, 255, 255, 0.1);
}

.tariffs-plan__index,
.tariffs-plan__label {
    color: #8490a5;
    font-size: 0.68rem;
    font-weight: 720;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tariffs-plan__label {
    text-align: right;
}

.tariffs-plan__header h3 {
    font-size: clamp(2.2rem, 3.2vw, 3.1rem);
    grid-column: 1 / -1;
    letter-spacing: -0.055em;
    margin: 18px 0 0;
}

.tariffs-plan--vip .tariffs-plan__index,
.tariffs-plan--vip .tariffs-plan__label {
    color: rgba(255, 255, 255, 0.46);
}

.tariffs-plan--vip .tariffs-plan__header h3 {
    color: #fff;
}

.tariffs-plan__price {
    align-items: baseline;
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.tariffs-plan__price strong {
    color: var(--public-ink);
    font-size: clamp(3.45rem, 5vw, 4.5rem);
    font-weight: 660;
    letter-spacing: -0.07em;
    line-height: 1;
}

.tariffs-plan__price span {
    color: var(--public-muted);
    font-size: 0.78rem;
    line-height: 1.35;
    max-width: 110px;
}

.tariffs-plan--vip .tariffs-plan__price strong {
    color: #fff;
}

.tariffs-plan--vip .tariffs-plan__price span {
    color: rgba(255, 255, 255, 0.55);
}

.tariffs-plan__features,
.tariff-summary ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
}

.tariffs-plan__features li,
.tariff-summary li {
    align-items: flex-start;
    color: var(--public-muted);
    display: flex;
    font-size: 0.88rem;
    gap: 12px;
    line-height: 1.48;
}

.tariffs-plan__features li::before,
.tariff-summary li::before {
    background: linear-gradient(135deg, var(--public-blue), var(--public-cyan));
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(90, 124, 255, 0.08);
    content: "";
    flex: 0 0 auto;
    height: 7px;
    margin-top: 7px;
    width: 7px;
}

.tariffs-plan--vip .tariffs-plan__features li {
    color: rgba(255, 255, 255, 0.69);
}

.tariffs-plan--vip .tariffs-plan__features li::before {
    box-shadow: 0 0 0 5px rgba(86, 215, 238, 0.09);
}

.tariffs-plan__link {
    align-items: center;
    border-top: 1px solid var(--public-line);
    color: var(--public-ink);
    display: flex;
    font-size: 0.82rem;
    font-weight: 720;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 24px;
    text-decoration: none;
}

.tariffs-plan__link span {
    color: var(--public-blue);
    font-size: 1.2rem;
    transition: transform 180ms ease;
}

.tariffs-plan__link:hover {
    color: var(--public-blue);
}

.tariffs-plan__link:hover span {
    transform: translateX(4px);
}

.tariffs-plan--vip .tariffs-plan__link {
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tariffs-plan--vip .tariffs-plan__link span {
    color: var(--public-cyan);
}

.tariffs-custom {
    align-items: center;
    background: var(--public-soft);
    border: 1px solid var(--public-line);
    border-radius: 22px;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin-top: 22px;
    padding: 24px 28px;
}

.tariffs-custom > div {
    align-items: center;
    display: flex;
    gap: 20px;
}

.tariffs-custom__mark {
    align-items: center;
    background: #fff;
    border: 1px solid var(--public-line);
    border-radius: 15px;
    color: var(--public-blue);
    display: flex;
    flex: 0 0 auto;
    font-size: 1.5rem;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.tariffs-custom strong {
    color: var(--public-ink);
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

.tariffs-custom p {
    color: var(--public-muted);
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 0;
}

.tariffs-custom .button__create {
    flex: 0 0 auto;
}

.tariffs-integrations {
    overflow: hidden;
}

/* Tariff detail */
main.public-v2.tariff-detail-page {
    overflow: visible;
}

.tariff-detail-hero--company {
    background:
        radial-gradient(circle at 80% 20%, rgba(86, 215, 238, 0.15), transparent 30%),
        radial-gradient(circle at 10% 90%, rgba(90, 124, 255, 0.12), transparent 34%),
        linear-gradient(135deg, #07142f, #0a2347 65%, #102c4e);
}

.tariff-detail-hero--vip {
    background:
        radial-gradient(circle at 76% 18%, rgba(124, 146, 255, 0.31), transparent 32%),
        radial-gradient(circle at 8% 92%, rgba(86, 215, 238, 0.1), transparent 34%),
        linear-gradient(135deg, #050d20, #0a1735 58%, #161c3e);
}

.tariff-detail-hero__grid {
    align-items: end;
    display: grid;
    gap: clamp(60px, 9vw, 150px);
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.72fr);
    min-height: 470px;
    padding-bottom: clamp(64px, 7vw, 94px);
    padding-top: clamp(74px, 7vw, 100px);
    position: relative;
    z-index: 1;
}

.tariff-detail-hero h1 {
    color: #fff;
    font-size: clamp(5rem, 10vw, 9.5rem);
    font-weight: 650;
    letter-spacing: -0.075em;
    line-height: 0.82;
    margin: 0;
}

.tariff-detail-hero__copy strong {
    color: #fff;
    display: block;
    font-size: clamp(1.45rem, 2.3vw, 2.05rem);
    font-weight: 620;
    letter-spacing: -0.035em;
    line-height: 1.18;
    margin-bottom: 18px;
}

.tariff-detail-hero__copy p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
}

.tariff-detail-content {
    background: #fff;
    padding: clamp(78px, 8vw, 124px) 0;
}

.tariff-detail-layout {
    align-items: start;
    display: grid;
    gap: clamp(42px, 7vw, 104px);
    grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.45fr);
}

.tariff-summary {
    background: linear-gradient(180deg, #fff, #f9fbff);
    border: 1px solid var(--public-line);
    border-radius: 26px;
    box-shadow: var(--public-shadow-sm);
    padding: clamp(28px, 3.5vw, 42px);
    position: sticky;
    top: 112px;
}

.tariff-summary--company {
    border-color: rgba(90, 124, 255, 0.24);
    box-shadow: 0 24px 66px rgba(54, 83, 180, 0.12);
}

.tariff-summary--vip {
    background:
        radial-gradient(circle at 82% 8%, rgba(90, 124, 255, 0.25), transparent 34%),
        linear-gradient(145deg, #07142f, #0c1d42);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: var(--public-shadow-lg);
}

.tariff-summary__topline {
    align-items: center;
    border-bottom: 1px solid var(--public-line);
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
}

.tariff-summary__topline span {
    color: #8490a5;
    font-size: 0.66rem;
    font-weight: 720;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tariff-summary__topline span:last-child {
    color: var(--public-blue);
}

.tariff-summary--vip .tariff-summary__topline {
    border-color: rgba(255, 255, 255, 0.11);
}

.tariff-summary--vip .tariff-summary__topline span {
    color: rgba(255, 255, 255, 0.48);
}

.tariff-summary--vip .tariff-summary__topline span:last-child {
    color: var(--public-cyan);
}

.tariff-summary__price {
    margin-bottom: 34px;
}

.tariff-summary__price strong {
    color: var(--public-ink);
    display: block;
    font-size: clamp(4.2rem, 7vw, 6.2rem);
    font-weight: 650;
    letter-spacing: -0.075em;
    line-height: 0.9;
    margin-bottom: 12px;
}

.tariff-summary__price span {
    color: var(--public-muted);
    font-size: 0.8rem;
}

.tariff-summary--vip .tariff-summary__price strong {
    color: #fff;
}

.tariff-summary--vip .tariff-summary__price span,
.tariff-summary--vip li {
    color: rgba(255, 255, 255, 0.66);
}

.tariff-summary__cta {
    width: 100%;
}

.tariff-story__intro {
    border-bottom: 1px solid var(--public-line);
    padding-bottom: clamp(38px, 5vw, 58px);
}

.tariff-story__intro h2 {
    font-size: clamp(2.45rem, 4.6vw, 4.15rem);
    margin-bottom: 24px;
    max-width: 890px;
}

.tariff-story__intro p {
    color: var(--public-muted);
    font-size: 1.04rem;
    line-height: 1.75;
    margin: 0;
    max-width: 830px;
}

.tariff-metrics {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: clamp(40px, 5vw, 64px) 0;
}

.tariff-metrics > div {
    border-left: 1px solid var(--public-line);
    display: flex;
    flex-direction: column;
    min-height: 104px;
    padding: 8px 24px;
}

.tariff-metrics > div:first-child {
    border-left: 0;
    padding-left: 0;
}

.tariff-metrics strong {
    color: var(--public-ink);
    font-size: clamp(2.15rem, 4vw, 3.25rem);
    font-weight: 650;
    letter-spacing: -0.06em;
    line-height: 1;
    margin-bottom: 13px;
}

.tariff-metrics span {
    color: var(--public-muted);
    font-size: 0.72rem;
    line-height: 1.45;
    max-width: 150px;
}

.tariff-story__panels {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tariff-story__panels article {
    background: var(--public-soft);
    border: 1px solid var(--public-line);
    border-radius: 20px;
    min-height: 280px;
    padding: 28px;
}

.tariff-story__panels article > span {
    color: var(--public-blue);
    display: block;
    font-size: 0.66rem;
    font-weight: 740;
    letter-spacing: 0.12em;
    margin-bottom: 62px;
}

.tariff-story__panels h3 {
    font-size: 1.34rem;
    margin: 0 0 15px;
}

.tariff-story__panels p {
    color: var(--public-muted);
    font-size: 0.86rem;
    line-height: 1.68;
    margin: 0;
}

.tariff-next {
    align-items: center;
    border: 1px solid var(--public-line);
    border-radius: 20px;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-top: 16px;
    padding: 24px 28px;
}

.tariff-next > div > span {
    color: #8490a5;
    display: block;
    font-size: 0.64rem;
    font-weight: 720;
    letter-spacing: 0.1em;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.tariff-next strong {
    color: var(--public-ink);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.45;
}

.tariff-next > a {
    align-items: center;
    color: var(--public-blue);
    display: flex;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 720;
    gap: 12px;
    text-decoration: none;
}

.tariff-next > a span {
    font-size: 1.1rem;
    transition: transform 180ms ease;
}

.tariff-next > a:hover span {
    transform: translateX(4px);
}

.tariff-detail-content--vip {
    background: linear-gradient(180deg, #fff, #f8faff 78%, #fff);
}

.vip-requirements {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vip-requirements article {
    align-items: start;
    background: #fff;
    border: 1px solid var(--public-line);
    border-radius: 20px;
    display: grid;
    gap: 24px;
    grid-template-columns: 48px 1fr;
    padding: 26px 28px;
}

.vip-requirements article > span {
    align-items: center;
    background: rgba(90, 124, 255, 0.08);
    border-radius: 13px;
    color: var(--public-blue);
    display: flex;
    font-size: 0.65rem;
    font-weight: 740;
    height: 44px;
    justify-content: center;
    letter-spacing: 0.08em;
    width: 44px;
}

.vip-requirements h3 {
    font-size: 1.18rem;
    margin: 1px 0 10px;
}

.vip-requirements p,
.vip-requirements li {
    color: var(--public-muted);
    font-size: 0.86rem;
    line-height: 1.65;
}

.vip-requirements p {
    margin: 0;
}

.vip-requirements ul {
    display: flex;
    flex-direction: column;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vip-requirements li {
    padding-left: 17px;
    position: relative;
}

.vip-requirements li::before {
    background: var(--public-blue);
    border-radius: 50%;
    content: "";
    height: 5px;
    left: 0;
    position: absolute;
    top: 10px;
    width: 5px;
}

.vip-example {
    background:
        radial-gradient(circle at 85% 15%, rgba(90, 124, 255, 0.24), transparent 30%),
        var(--public-navy);
    border-radius: 24px;
    color: #fff;
    margin-top: 16px;
    padding: clamp(28px, 4vw, 42px);
}

.vip-example .public-kicker {
    color: var(--public-cyan);
}

.vip-example__formula {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr auto 1fr auto 1fr;
}

.vip-example__formula > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.vip-example__formula > div > span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.68rem;
    line-height: 1.3;
}

.vip-example__formula strong {
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 640;
    letter-spacing: -0.035em;
}

.vip-example__formula > span {
    color: var(--public-cyan);
    font-size: 1.4rem;
}

.vip-example > p {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    line-height: 1.6;
    margin: 28px 0 0;
    padding-top: 22px;
}

.tariff-next--vip {
    background: rgba(90, 124, 255, 0.055);
    border-color: rgba(90, 124, 255, 0.16);
}

@media (max-width: 1199.98px) {
    .exchange-hero__grid {
        gap: 50px;
        grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    }

    .exchange-hero__float--top {
        right: 4px;
    }

    .exchange-hero__float--bottom {
        left: 4px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-index__latest-list,
    .article-related__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tariffs-hero__grid,
    .tariff-detail-hero__grid {
        gap: 54px;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
    }

    .tariffs-plan {
        padding: 32px;
    }

    .tariff-detail-layout {
        gap: 50px;
        grid-template-columns: minmax(290px, 0.7fr) minmax(0, 1.3fr);
    }
}

@media (max-width: 991.98px) {
    .public-heading,
    .blog-index-hero__grid,
    .exchange-intro__grid,
    .exchange-security__grid,
    .exchange-faq__grid {
        align-items: start;
        gap: 30px;
        grid-template-columns: 1fr;
    }

    .exchange-hero {
        min-height: 0;
    }

    .exchange-hero__grid {
        grid-template-columns: 1fr;
    }

    .exchange-hero__content {
        max-width: 760px;
    }

    .exchange-hero__visual {
        margin: 0 auto;
        max-width: 760px;
        width: 100%;
    }

    .exchange-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exchange-trust__grid > div:nth-child(3) {
        border-left: 1px solid var(--public-line);
    }

    .exchange-flow__grid,
    .exchange-capabilities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-shell {
        max-width: 780px;
    }

    .tariffs-hero__grid,
    .tariff-detail-hero__grid,
    .tariff-detail-layout {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .tariffs-hero__grid {
        min-height: 0;
    }

    .tariffs-hero__facts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tariffs-hero__facts > div {
        align-content: center;
        border-bottom: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        grid-template-columns: 1fr;
        min-height: 120px;
    }

    .tariffs-hero__facts > div:first-child {
        border-left: 0;
    }

    .tariffs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tariffs-plan--vip {
        grid-column: 1 / -1;
        margin: 0 auto;
        max-width: calc(50% - 9px);
        width: 100%;
    }

    .tariff-detail-hero__grid {
        gap: 44px;
        min-height: 0;
    }

    .tariff-detail-hero__copy {
        max-width: 700px;
    }

    .tariff-summary {
        display: grid;
        gap: 0 44px;
        grid-template-columns: minmax(220px, 0.62fr) minmax(280px, 1fr);
        position: static;
    }

    .tariff-summary__topline,
    .tariff-summary__price {
        grid-column: 1;
    }

    .tariff-summary ul {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .tariff-summary__cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .public-section {
        padding: 74px 0;
    }

    .public-v2 h2 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .exchange-hero {
        padding: 76px 0;
    }

    .exchange-hero h1 {
        font-size: clamp(3rem, 12vw, 4.3rem);
    }

    .exchange-hero__screen {
        border-radius: 22px;
        padding: 12px;
        transform: none;
    }

    .exchange-hero__float {
        display: none;
    }

    .exchange-flow__grid,
    .exchange-capabilities__grid,
    .blog-grid,
    .blog-index__latest-list,
    .article-related__grid {
        grid-template-columns: 1fr;
    }

    .exchange-flow__card,
    .exchange-capabilities__grid article {
        min-height: 0;
    }

    .exchange-flow__card > span,
    .exchange-capabilities__grid article > span {
        margin-bottom: 34px;
    }

    .blog-card {
        min-height: 0;
    }

    .article-header h1 {
        font-size: clamp(2.8rem, 12vw, 4.1rem);
    }

    .article-cover {
        border-radius: 22px;
    }

    .article-prose {
        font-size: 1.04rem;
        line-height: 1.78;
    }

    .article-related__header,
    .blog-index-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .tariffs-hero h1 {
        font-size: clamp(3.15rem, 7.2vw, 3.45rem);
    }

    .tariffs-hero__facts,
    .tariffs-grid,
    .tariff-story__panels,
    .tariff-metrics {
        grid-template-columns: 1fr;
    }

    .tariffs-hero__facts > div,
    .tariffs-hero__facts > div:first-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
        grid-template-columns: 42px 1fr;
        min-height: 80px;
    }

    .tariffs-hero__facts > div:last-child {
        border-bottom: 0;
    }

    .tariffs-plan,
    .tariffs-plan--vip {
        grid-column: auto;
        max-width: none;
        min-height: 0;
    }

    .tariffs-custom {
        align-items: stretch;
        flex-direction: column;
    }

    .tariffs-custom .button__create {
        width: 100%;
    }

    .tariff-detail-hero h1 {
        font-size: clamp(4rem, 10.4vw, 5rem);
    }

    .tariff-summary {
        display: block;
    }

    .tariff-metrics {
        gap: 0;
    }

    .tariff-metrics > div,
    .tariff-metrics > div:first-child {
        border-bottom: 1px solid var(--public-line);
        border-left: 0;
        min-height: 0;
        padding: 22px 0;
    }

    .tariff-metrics > div:last-child {
        border-bottom: 0;
    }

    .tariff-metrics span {
        max-width: none;
    }

    .tariff-story__panels article {
        min-height: 0;
    }

    .tariff-story__panels article > span {
        margin-bottom: 36px;
    }

    .tariff-next {
        align-items: flex-start;
        flex-direction: column;
    }

    .vip-example__formula {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .vip-example__formula > span {
        justify-self: center;
        width: auto;
    }
}

@media (max-width: 575.98px) {
    .public-v2 .container-xxl {
        padding-left: 18px;
        padding-right: 18px;
    }

    .public-breadcrumb .breadcrumb {
        font-size: 0.74rem;
    }

    .public-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        margin-right: 9px;
        margin-left: 8px;
    }

    .public-breadcrumb--hero {
        top: 20px;
    }

    .exchange-hero__logo {
        height: 82px;
        width: 200px;
    }

    .exchange-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .exchange-hero__actions .button__create,
    .exchange-hero__actions .public-button {
        width: 100%;
    }

    .exchange-trust__grid {
        grid-template-columns: 1fr;
    }

    .exchange-trust__grid > div,
    .exchange-trust__grid > div:first-child,
    .exchange-trust__grid > div:nth-child(3) {
        border-left: 1px solid var(--public-line);
        border-right: 1px solid var(--public-line);
        min-height: 82px;
    }

    .exchange-integrations .exchange-showcase__cell {
        width: calc(100vw - 50px);
    }

    .exchange-integrations .exchange-showcase__card {
        min-width: 0;
        width: 100%;
    }

    .exchange-final__panel {
        border-radius: 24px;
        padding: 44px 24px;
    }

    .article-header__meta {
        margin-top: 38px;
    }

    .article-header__share {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .article-cover {
        margin-left: -4px;
        margin-right: -4px;
    }

    .article-prose blockquote {
        padding: 22px;
    }

    .article-navigation {
        align-items: stretch;
        flex-direction: column;
    }

    .article-navigation a {
        justify-content: center;
    }

    .tariffs-hero__grid,
    .tariff-detail-hero__grid {
        padding-bottom: 66px;
        padding-top: 68px;
    }

    .tariffs-hero__content > p,
    .tariff-story__intro p {
        font-size: 0.98rem;
    }

    .tariffs-plan {
        border-radius: 22px;
        padding: 28px 24px;
    }

    .tariffs-custom {
        padding: 22px;
    }

    .tariffs-custom > div {
        align-items: flex-start;
    }

    .tariffs-custom__mark {
        height: 44px;
        width: 44px;
    }

    .tariff-summary,
    .vip-example {
        border-radius: 22px;
        padding: 26px 22px;
    }

    .tariff-story__panels article,
    .vip-requirements article {
        padding: 24px 22px;
    }

    .vip-requirements article {
        gap: 16px;
        grid-template-columns: 38px 1fr;
    }

    .vip-requirements article > span {
        border-radius: 11px;
        height: 36px;
        width: 36px;
    }

    .tariff-next {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-v2 *,
    .public-v2 *::before,
    .public-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
