@font-face {
    font-family: "Vazirmatn";
    src: url("/assets/Vazirmatn.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
    overflow-x: hidden;
    overflow-x: clip;
}

body.portal-site.portal-v16 {
    --portal-ink: #0c1b31;
    --portal-muted: #5e6d82;
    --portal-line: #dce5ef;
    --portal-soft: #f2f6fa;
    --portal-white: #ffffff;
    --portal-navy: #071a2f;
    --portal-navy-2: #0b2847;
    --portal-blue: #2563eb;
    --portal-blue-dark: #1649bd;
    --portal-cyan: #0ea5a8;
    --portal-green: #10b981;
    --portal-violet: #7c3aed;
    --portal-shadow: 0 24px 70px rgba(10, 38, 70, 0.1);
    margin: 0;
    min-width: 20rem;
    overflow-x: hidden;
    background: var(--portal-white);
    color: var(--portal-ink);
    font-family: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif !important;
    text-rendering: optimizeLegibility;
}

body.portal-v16 *,
body.portal-v16 *::before,
body.portal-v16 *::after {
    box-sizing: border-box;
}

body.portal-v16 [hidden] {
    display: none !important;
}

body.portal-v16 a {
    color: inherit;
    text-decoration: none;
}

body.portal-v16 button,
body.portal-v16 input,
body.portal-v16 select {
    font: inherit;
}

body.portal-v16 h1,
body.portal-v16 h2,
body.portal-v16 h3,
body.portal-v16 p {
    margin-top: 0;
}

body.portal-v16 h1,
body.portal-v16 h2,
body.portal-v16 h3 {
    text-wrap: balance;
}

body.portal-v16 p {
    text-wrap: pretty;
}

.portal-shell {
    width: min(100% - 3rem, 78rem);
    margin-inline: auto;
}

.sr-only,
.portal-skip:not(:focus) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.portal-skip {
    position: fixed;
    inset-block-start: 0.75rem;
    inset-inline-start: 0.75rem;
    z-index: 1000;
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
    background: var(--portal-white);
    color: var(--portal-blue-dark);
    box-shadow: var(--portal-shadow);
    font-weight: 800;
}

.portal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--portal-blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portal-eyebrow::before {
    width: 1.5rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.portal-button {
    display: inline-flex;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    font-weight: 850;
    line-height: 1.2;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.portal-button--primary {
    background: linear-gradient(135deg, var(--portal-blue), #387df5);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.portal-button--primary:hover {
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.32);
}

.portal-button--ghost {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.portal-button--ghost:hover {
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.1);
}

.portal-button--light {
    background: #fff;
    color: var(--portal-blue-dark) !important;
    box-shadow: 0 14px 34px rgba(3, 24, 53, 0.18);
}

.portal-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 100;
    border-block-end: 1px solid rgba(214, 225, 237, 0.86);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(11, 34, 64, 0.05);
    backdrop-filter: blur(18px);
}

.portal-header__inner {
    display: flex;
    min-height: 5.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.portal-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    flex: none;
}

.portal-brand__mark {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    border-radius: 0.85rem;
    background: linear-gradient(145deg, var(--portal-blue), var(--portal-cyan));
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
    font-size: 1.15rem;
    font-weight: 950;
}

.portal-brand__name {
    color: var(--portal-ink);
    font-size: 1.02rem;
    font-weight: 900;
    white-space: nowrap;
}

.portal-nav,
.portal-nav__links,
.portal-header__actions {
    display: flex;
    align-items: center;
}

.portal-nav__links {
    gap: clamp(1rem, 2.5vw, 2rem);
}

.portal-nav__links a {
    position: relative;
    padding-block: 0.8rem;
    color: #46576d;
    font-size: 0.9rem;
    font-weight: 720;
}

.portal-nav__links a::after {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0.35rem;
    height: 2px;
    border-radius: 999px;
    background: var(--portal-blue);
    content: "";
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 180ms ease, transform 180ms ease;
}

.portal-nav__links a:hover {
    color: var(--portal-blue-dark);
}

.portal-nav__links a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.portal-header__actions {
    gap: 0.75rem;
}

.portal-language {
    display: grid;
    gap: 0.45rem;
    color: var(--portal-muted);
    font-size: 0.78rem;
    font-weight: 750;
}

.portal-language select {
    min-height: 2.65rem;
    padding-inline: 0.75rem 2rem;
    border: 1px solid var(--portal-line);
    border-radius: 0.75rem;
    background: #fff;
    color: var(--portal-ink);
    cursor: pointer;
}

.portal-login {
    padding: 0.72rem 0.95rem;
    border: 1px solid #cbd9ea;
    border-radius: 0.78rem;
    color: var(--portal-blue-dark) !important;
    font-size: 0.84rem;
    font-weight: 850;
}

.portal-login:hover {
    border-color: #94b4e9;
    background: #f4f8ff;
}

.portal-user {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.55rem;
    padding: 0.32rem 0.42rem 0.32rem 0.72rem;
    border: 1px solid var(--portal-line);
    border-radius: 0.85rem;
    background: #fff;
}

[dir="rtl"] .portal-user {
    padding: 0.32rem 0.72rem 0.32rem 0.42rem;
}

.portal-user span {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: none;
    place-items: center;
    border-radius: 0.62rem;
    background: #e8f0ff;
    color: var(--portal-blue-dark);
    font-weight: 900;
}

.portal-user b {
    max-width: 8rem;
    overflow: hidden;
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-nav__mobile-actions,
body.portal-v16 .portal-menu-toggle {
    display: none;
}

body.portal-v16 .portal-menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.72rem;
    border: 1px solid var(--portal-line);
    border-radius: 0.75rem;
    background: #fff;
    cursor: pointer;
}

.portal-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin-block: 0.22rem;
    border-radius: 999px;
    background: var(--portal-ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

body.portal-v16 .portal-nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 90;
    border: 0;
    border-radius: 0;
    background: rgba(2, 13, 28, 0.54);
    backdrop-filter: blur(3px);
}

.portal-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--portal-navy);
    color: #fff;
}

.portal-hero::before,
.portal-hero::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    filter: blur(2px);
}

.portal-hero::before {
    width: 42rem;
    height: 42rem;
    inset-block-start: -24rem;
    inset-inline-end: -9rem;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.38), rgba(37, 99, 235, 0));
}

.portal-hero::after {
    width: 34rem;
    height: 34rem;
    inset-block-end: -25rem;
    inset-inline-start: 12%;
    background: radial-gradient(circle, rgba(14, 165, 168, 0.28), rgba(14, 165, 168, 0));
}

.portal-hero__grid {
    display: grid;
    min-height: 43rem;
    align-items: center;
    grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.95fr);
    gap: clamp(3rem, 7vw, 7rem);
    padding-block: clamp(5rem, 9vw, 7.5rem);
}

.portal-hero .portal-eyebrow,
.portal-identity .portal-eyebrow,
.portal-cta .portal-eyebrow {
    color: #78d9d6;
}

.portal-hero__copy h1 {
    max-width: 11ch;
    margin-block: 1.2rem 1.5rem;
    font-size: clamp(3.25rem, 6.3vw, 6.1rem);
    font-weight: 930;
    letter-spacing: -0.055em;
    line-height: 1.03;
}

[dir="rtl"] .portal-hero__copy h1 {
    letter-spacing: -0.035em;
}

.portal-hero__lead {
    max-width: 42rem;
    margin-block-end: 0;
    color: #b9c9dc;
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    line-height: 1.95;
}

.portal-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-block-start: 2.1rem;
}

.portal-hero__note {
    margin-block: 1rem 0;
    color: #879bb4;
    font-size: 0.8rem;
}

.portal-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 2rem 0 0;
    padding: 0;
    color: #bdcbda;
    font-size: 0.82rem;
    list-style: none;
}

.portal-proof li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.portal-proof li span {
    color: #5eead4;
    font-weight: 900;
}

.portal-console {
    position: relative;
    min-width: 0;
    padding: 1.2rem;
    border: 1px solid rgba(140, 183, 221, 0.2);
    border-radius: 1.7rem;
    background: linear-gradient(145deg, rgba(22, 56, 89, 0.92), rgba(7, 27, 49, 0.94));
    box-shadow: 0 40px 90px rgba(0, 7, 20, 0.46);
    transform: perspective(80rem) rotateY(-3deg) rotateX(2deg);
}

[dir="rtl"] .portal-console {
    transform: perspective(80rem) rotateY(3deg) rotateX(2deg);
}

.portal-console::before {
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(89, 159, 255, 0.45), transparent 35%, rgba(45, 212, 191, 0.22));
    content: "";
    opacity: 0.45;
}

.portal-console__top,
.portal-console__identity,
.portal-console__balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.portal-console__top {
    padding: 0.45rem 0.35rem 1.15rem;
    border-block-end: 1px solid rgba(160, 190, 219, 0.15);
    color: #a9bed3;
    font-size: 0.76rem;
}

.portal-console__top > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #eef7ff;
}

.portal-console__signal,
.portal-status-dot {
    width: 0.55rem;
    height: 0.55rem;
    flex: none;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0.3rem rgba(52, 211, 153, 0.1);
}

.portal-console__identity {
    margin-block: 1.2rem 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(141, 180, 214, 0.15);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.055);
}

.portal-console__avatar {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    flex: none;
    place-items: center;
    border-radius: 1rem;
    background: linear-gradient(145deg, #387cf2, #0db7b2);
    box-shadow: 0 12px 24px rgba(7, 22, 46, 0.35);
    font-size: 1.2rem;
    font-weight: 950;
}

.portal-console__identity div,
.portal-console__balance div {
    display: grid;
    flex: 1;
    gap: 0.18rem;
}

.portal-console small {
    color: #8fa6bd;
}

.portal-console__identity strong,
.portal-console__balance strong {
    color: #f4f9ff;
    font-size: 0.88rem;
}

.portal-console__balance {
    padding: 1.1rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.33), rgba(14, 165, 168, 0.16));
}

.portal-console__balance > span {
    padding: 0.38rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #bdeee9;
    font-size: 0.68rem;
    font-weight: 850;
}

.portal-console__services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-block-start: 0.8rem;
}

.portal-console__services span {
    display: grid;
    min-width: 0;
    gap: 0.5rem;
    justify-items: center;
    padding: 0.85rem 0.4rem;
    border: 1px solid rgba(141, 180, 214, 0.13);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.035);
    color: #8fa6bd;
    font-size: 0.68rem;
}

.portal-console__services b {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 0.65rem;
    background: rgba(71, 128, 230, 0.18);
    color: #bcd4ff;
}

.portal-console__footer {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.7fr 1.2fr;
    gap: 0.45rem;
    margin-block-start: 1rem;
}

.portal-console__footer span {
    height: 0.28rem;
    border-radius: 999px;
    background: rgba(165, 190, 216, 0.15);
}

.portal-metrics {
    border-block-end: 1px solid var(--portal-line);
    background: #fff;
}

.portal-metrics__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.portal-metrics article {
    display: flex;
    min-height: 8rem;
    align-items: center;
    gap: 0.85rem;
    padding: 1.5rem clamp(1rem, 3vw, 2.5rem);
    border-inline-end: 1px solid var(--portal-line);
}

.portal-metrics article:last-child {
    border-inline-end: 0;
}

.portal-metrics strong {
    color: var(--portal-blue-dark);
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 930;
}

.portal-metrics span {
    max-width: 8rem;
    color: var(--portal-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.portal-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-block: 4rem 0;
    padding: 2rem;
    border: 1px solid #cddcf0;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, #f7faff, #eef7f8);
}

.portal-welcome h2 {
    margin-block: 0.7rem 0.35rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.portal-welcome p {
    margin-block-end: 0;
    color: var(--portal-muted);
}

.portal-welcome__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.portal-welcome__actions a {
    padding: 0.7rem 0.9rem;
    border: 1px solid #c5d5e8;
    border-radius: 0.72rem;
    background: #fff;
    color: var(--portal-blue-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.portal-section {
    padding-block: clamp(5rem, 9vw, 8rem);
}

.portal-services,
.portal-faq {
    background: var(--portal-soft);
}

.portal-section__heading {
    max-width: 46rem;
    margin-block-end: 2.5rem;
}

.portal-section__heading h2 {
    margin-block: 0.85rem 0.8rem;
    color: var(--portal-ink);
    font-size: clamp(2.2rem, 5vw, 4.25rem);
    font-weight: 920;
    letter-spacing: -0.04em;
    line-height: 1.12;
}

[dir="rtl"] .portal-section__heading h2 {
    letter-spacing: -0.025em;
}

.portal-section__heading p {
    margin-block-end: 0;
    color: var(--portal-muted);
    font-size: 1.02rem;
    line-height: 1.9;
}

.portal-filters {
    display: grid;
    grid-template-columns: minmax(15rem, 1.5fr) repeat(2, minmax(11rem, 0.75fr));
    gap: 0.85rem;
    padding: 1.1rem;
    border: 1px solid var(--portal-line);
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 14px 36px rgba(14, 43, 76, 0.05);
}

.portal-filter {
    display: grid;
    gap: 0.5rem;
    color: #53657b;
    font-size: 0.72rem;
    font-weight: 800;
}

.portal-filter input,
.portal-filter select {
    width: 100%;
    min-height: 3.15rem;
    border: 1px solid #d3dfeb;
    border-radius: 0.82rem;
    background: #f8fafc;
    color: var(--portal-ink);
    outline: 0;
}

.portal-filter input {
    padding-inline: 2.65rem 1rem;
}

.portal-filter select {
    padding-inline: 0.9rem 2rem;
    cursor: pointer;
}

.portal-filter input:focus,
.portal-filter select:focus {
    border-color: #76a5f3;
    background: #fff;
    box-shadow: 0 0 0 0.22rem rgba(37, 99, 235, 0.1);
}

.portal-filter__control {
    position: relative;
}

.portal-filter__control i {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 1rem;
    z-index: 1;
    width: 0.8rem;
    height: 0.8rem;
    border: 2px solid #778aa2;
    border-radius: 50%;
    pointer-events: none;
    transform: translateY(-58%);
}

.portal-filter__control i::after {
    position: absolute;
    width: 0.38rem;
    height: 2px;
    inset-inline-start: 0.55rem;
    inset-block-start: 0.62rem;
    background: #778aa2;
    content: "";
    transform: rotate(45deg);
    transform-origin: left center;
}

[dir="rtl"] .portal-filter__control i::after {
    inset-inline-start: auto;
    inset-inline-end: 0.55rem;
    transform: rotate(-45deg);
    transform-origin: right center;
}

.portal-results-bar {
    display: flex;
    min-height: 3.3rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.portal-results-bar output {
    color: var(--portal-muted);
    font-size: 0.8rem;
    font-weight: 750;
}

body.portal-v16 .portal-results-bar button,
body.portal-v16 .portal-empty button {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--portal-blue-dark);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 850;
}

.portal-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.portal-service-card {
    position: relative;
    display: flex;
    min-height: 20.5rem;
    overflow: hidden;
    flex-direction: column;
    padding: 1.45rem;
    border: 1px solid var(--portal-line);
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 16px 38px rgba(10, 36, 67, 0.055);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.portal-service-card::before {
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--portal-blue), var(--portal-cyan));
    content: "";
    opacity: 0;
}

.portal-service-card:hover {
    border-color: #aec8eb;
    box-shadow: 0 24px 54px rgba(20, 65, 120, 0.12);
    transform: translateY(-4px);
}

.portal-service-card--featured {
    border-color: #b9cff0;
    background: linear-gradient(145deg, #fff, #f5f9ff);
}

.portal-service-card--featured::before {
    opacity: 1;
}

.portal-service-card__top,
.portal-service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.portal-service-card__icon {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    overflow: hidden;
    flex: none;
    place-items: center;
    border-radius: 0.9rem;
    background: #eaf1ff;
    color: var(--portal-blue-dark);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.portal-service-card__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
}

.portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 850;
}

.portal-badge::before {
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.portal-badge--active {
    background: #e7f8f1;
    color: #087a55;
}

.portal-badge--beta {
    background: #f1eafd;
    color: #6d28d9;
}

.portal-badge--building {
    background: #e8efff;
    color: #405f9c;
}

.portal-badge--coming-soon {
    background: #edf1f5;
    color: #64748b;
}

.portal-badge--featured {
    background: #e8f0ff;
    color: var(--portal-blue-dark);
}

.portal-badge--featured::before {
    display: none;
}

.portal-service-card h3 {
    margin-block: 1.35rem 0.6rem;
    color: var(--portal-ink);
    font-size: 1.25rem;
    font-weight: 900;
}

.portal-service-card > p {
    margin-block-end: 1rem;
    color: var(--portal-muted);
    font-size: 0.88rem;
    line-height: 1.9;
}

.portal-service-card__price {
    margin-block: auto 1rem;
    color: var(--portal-ink);
    font-size: 0.9rem;
}

.portal-service-card__footer {
    margin-block-start: auto;
    padding-block-start: 1rem;
    border-block-start: 1px solid #e7edf4;
    color: #74849a;
    font-size: 0.72rem;
}

.portal-service-card__footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--portal-blue-dark);
    font-weight: 850;
}

.portal-service-card__footer a b {
    transition: transform 180ms ease;
}

.portal-service-card__footer a:hover b {
    transform: translate(2px, -2px);
}

[dir="rtl"] .portal-service-card__footer a:hover b {
    transform: translate(-2px, -2px);
}

.portal-empty {
    display: grid;
    min-height: 14rem;
    place-items: center;
    align-content: center;
    gap: 0.6rem;
    border: 1px dashed #bdcde0;
    border-radius: 1.2rem;
    color: var(--portal-muted);
    text-align: center;
}

.portal-empty > span {
    color: #8ca3be;
    font-size: 2.2rem;
}

.portal-empty p {
    margin: 0;
}

.portal-identity {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(5rem, 10vw, 8rem);
    background: linear-gradient(135deg, var(--portal-navy), #092743 55%, #0a3547);
    color: #fff;
}

.portal-identity::after {
    position: absolute;
    z-index: -1;
    width: 42rem;
    height: 42rem;
    inset-block-end: -30rem;
    inset-inline-end: -12rem;
    border-radius: 50%;
    background: rgba(30, 195, 190, 0.12);
    content: "";
}

.portal-identity__grid {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.9fr) minmax(28rem, 1.1fr);
    gap: clamp(3rem, 7vw, 6rem);
}

.portal-section__heading--light h2 {
    color: #fff;
}

.portal-section__heading--light p {
    color: #afc2d3;
}

.portal-flow {
    display: flex;
    max-width: 25rem;
    align-items: center;
    gap: 0.55rem;
    margin-block-start: 2rem;
}

.portal-flow span {
    display: grid;
    min-width: 3.4rem;
    min-height: 2.3rem;
    place-items: center;
    padding: 0.35rem 0.6rem;
    border: 1px solid rgba(165, 201, 226, 0.2);
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.06);
    color: #d8e8f4;
    font-size: 0.72rem;
    font-weight: 850;
}

.portal-flow i {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(102, 164, 226, 0.25), #45d3c4);
}

.portal-identity__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.portal-identity__cards article {
    display: flex;
    min-height: 21rem;
    flex-direction: column;
    padding: 1.6rem;
    border: 1px solid rgba(151, 190, 220, 0.18);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 24px 60px rgba(1, 12, 27, 0.22);
    backdrop-filter: blur(12px);
}

.portal-product-mark {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    border-radius: 1rem;
    color: #fff;
    font-weight: 950;
}

.portal-product-mark--id {
    background: linear-gradient(145deg, #3978f1, #7455e9);
}

.portal-product-mark--wallet {
    background: linear-gradient(145deg, #0ba6a9, #21b878);
}

.portal-identity__cards h3 {
    margin-block: 1.4rem 0.55rem;
    font-size: 1.35rem;
}

.portal-identity__cards p {
    color: #aec0d0;
    font-size: 0.86rem;
    line-height: 1.9;
}

.portal-identity__cards a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-block-start: auto;
    padding-block-start: 1rem;
    border-block-start: 1px solid rgba(151, 190, 220, 0.16);
    color: #86e8df;
    font-size: 0.82rem;
    font-weight: 850;
}

.portal-security {
    background: #fff;
}

.portal-security__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--portal-line);
    border-radius: 1.35rem;
    background: var(--portal-line);
}

.portal-security__grid article {
    min-height: 15rem;
    padding: 1.8rem;
    background: #fff;
}

.portal-security__grid article > span {
    color: var(--portal-blue);
    font-size: 0.72rem;
    font-weight: 900;
}

.portal-security__grid h3 {
    margin-block: 2.2rem 0.65rem;
    font-size: 1.15rem;
}

.portal-security__grid p,
.portal-release-status p {
    margin-block-end: 0;
    color: var(--portal-muted);
    font-size: 0.86rem;
    line-height: 1.85;
}

.portal-release-status {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.4fr) auto auto;
    gap: 2rem;
    margin-block-start: 1rem;
    padding: 1.8rem;
    border: 1px solid #d0deea;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #f7faff, #eff8f7);
}

.portal-release-status h3 {
    margin-block: 0.55rem 0.35rem;
    font-size: 1.2rem;
}

.portal-release-status__legend {
    display: grid;
    gap: 0.65rem;
}

.portal-release-status__legend span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #52657a;
    font-size: 0.75rem;
    font-weight: 750;
}

.portal-release-status__legend i {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
}

.portal-release-status__legend .is-active {
    background: var(--portal-green);
}

.portal-release-status__legend .is-beta {
    background: var(--portal-violet);
}

.portal-release-status__legend .is-building {
    background: #5674b8;
}

.portal-release-status__legend .is-coming {
    background: #94a3b8;
}

.portal-release-status > a {
    padding: 0.75rem 0.95rem;
    border: 1px solid #bfd0e4;
    border-radius: 0.75rem;
    background: #fff;
    color: var(--portal-blue-dark);
    font-size: 0.78rem;
    font-weight: 850;
    white-space: nowrap;
}

.portal-faq__grid {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(17rem, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2rem, 8vw, 7rem);
}

.portal-faq__items {
    display: grid;
    gap: 0.7rem;
}

.portal-faq details {
    border: 1px solid var(--portal-line);
    border-radius: 1rem;
    background: #fff;
}

.portal-faq summary {
    display: flex;
    min-height: 4.4rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    color: var(--portal-ink);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 850;
    list-style: none;
}

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

.portal-faq summary span {
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    flex: none;
    place-items: center;
    border-radius: 0.5rem;
    background: #edf3fc;
    color: var(--portal-blue-dark);
    font-size: 1rem;
    transition: transform 180ms ease;
}

.portal-faq details[open] summary span {
    transform: rotate(45deg);
}

.portal-faq details p {
    margin: 0;
    padding: 0 1.2rem 1.2rem;
    color: var(--portal-muted);
    font-size: 0.86rem;
    line-height: 1.9;
}

.portal-cta {
    display: flex;
    min-height: 20rem;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-block: clamp(4rem, 8vw, 7rem);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 1.8rem;
    background: linear-gradient(125deg, #0a2541, #124d77 60%, #0d7077);
    color: #fff;
    box-shadow: 0 30px 70px rgba(7, 37, 70, 0.2);
}

.portal-cta > div {
    max-width: 47rem;
}

.portal-cta h2 {
    margin-block: 0.8rem 0.65rem;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 1.15;
}

.portal-cta p {
    margin-block-end: 0;
    color: #c1d2df;
    line-height: 1.8;
}

.portal-cta .portal-button {
    flex: none;
}

.portal-footer {
    border-block-start: 1px solid #dce5ee;
    background: #f6f8fb;
}

.portal-footer__grid {
    display: grid;
    grid-template-columns: minmax(15rem, 1.5fr) repeat(3, minmax(8rem, 0.7fr));
    gap: clamp(2rem, 5vw, 4rem);
    padding-block: 4rem 3rem;
}

.portal-footer__brand p {
    max-width: 24rem;
    margin-block: 1rem 0;
    color: var(--portal-muted);
    font-size: 0.82rem;
    line-height: 1.8;
}

.portal-footer__grid > div:not(.portal-footer__brand) {
    display: grid;
    align-content: start;
    gap: 0.7rem;
}

.portal-footer h2 {
    margin-block-end: 0.45rem;
    color: var(--portal-ink);
    font-size: 0.8rem;
    font-weight: 900;
}

.portal-footer__grid > div > a:not(.portal-brand) {
    color: var(--portal-muted);
    font-size: 0.78rem;
}

.portal-footer__grid > div > a:not(.portal-brand):hover {
    color: var(--portal-blue-dark);
}

.portal-footer__bottom {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-block-start: 1px solid #dce5ee;
    color: #77869a;
    font-size: 0.72rem;
}

@media (max-width: 68rem) {
    .portal-header__inner {
        gap: 0.8rem;
    }

    .portal-nav__links {
        gap: 1rem;
    }

    .portal-nav__links a {
        font-size: 0.8rem;
    }

    .portal-user b {
        display: none;
    }
}

@media (max-width: 60rem) {
    .has-js body.portal-v16 {
        --portal-drawer-width: min(23rem, calc(100vw - 3rem));
    }

    .has-js .portal-nav {
        position: fixed;
        z-index: 110;
        width: var(--portal-drawer-width);
        max-width: 100%;
        inset-block: 0;
        inset-inline-end: 0;
        display: flex;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        gap: 2rem;
        padding: 6rem 1.35rem 1.5rem;
        border-inline-start: 1px solid var(--portal-line);
        background: #fff;
        box-shadow: -24px 0 70px rgba(4, 24, 49, 0.18);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform 220ms ease, visibility 220ms ease;
    }

    [dir="rtl"] .has-js .portal-nav {
        transform: translateX(-105%);
    }

    .has-js .portal-nav.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .portal-nav__links {
        align-items: stretch;
        flex-direction: column;
        gap: 0.25rem;
    }

    .portal-nav__links a {
        padding: 0.9rem 0.8rem;
        border-radius: 0.75rem;
        font-size: 0.95rem;
    }

    .portal-nav__links a:hover {
        background: #f0f5fb;
    }

    .portal-nav__links a::after {
        display: none;
    }

    .portal-nav__mobile-actions {
        display: grid;
        gap: 1rem;
    }

    .portal-nav__mobile-actions .portal-language select {
        width: 100%;
    }

    .has-js body.portal-v16 .portal-menu-toggle {
        display: block;
    }

    .has-js body.menu-open {
        overflow: hidden;
    }

    .has-js body.menu-open .portal-menu-toggle {
        position: relative;
        z-index: 120;
    }

    .has-js body.menu-open .portal-menu-toggle span:nth-child(1) {
        transform: translateY(0.43rem) rotate(45deg);
    }

    .has-js body.menu-open .portal-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .has-js body.menu-open .portal-menu-toggle span:nth-child(3) {
        transform: translateY(-0.43rem) rotate(-45deg);
    }

    .portal-hero__grid {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .portal-hero__copy {
        max-width: 50rem;
    }

    .portal-console {
        width: min(100%, 35rem);
        margin-inline: auto;
        transform: none;
    }

    [dir="rtl"] .portal-console {
        transform: none;
    }

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

    .portal-identity__grid {
        grid-template-columns: 1fr;
    }

    .portal-faq__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portal-footer__grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }
}

@media (max-width: 48rem) {
    .portal-shell {
        width: min(100% - 2rem, 78rem);
    }

    .portal-language--desktop,
    .portal-header__actions > .portal-login,
    .portal-header__actions > .portal-user {
        display: none;
    }

    .portal-hero__grid {
        padding-block: 4.5rem;
    }

    .portal-hero__copy h1 {
        font-size: clamp(3rem, 13vw, 4.5rem);
    }

    .portal-metrics__grid {
        grid-template-columns: 1fr;
    }

    .portal-metrics article {
        min-height: 6rem;
        border-inline-end: 0;
        border-block-end: 1px solid var(--portal-line);
    }

    .portal-metrics article:last-child {
        border-block-end: 0;
    }

    .portal-welcome,
    .portal-release-status,
    .portal-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .portal-welcome {
        display: flex;
    }

    .portal-filters {
        grid-template-columns: 1fr;
    }

    .portal-service-grid,
    .portal-identity__cards,
    .portal-security__grid {
        grid-template-columns: 1fr;
    }

    .portal-service-card {
        min-height: 18rem;
    }

    .portal-security__grid {
        gap: 1px;
    }

    .portal-security__grid article {
        min-height: auto;
    }

    .portal-security__grid h3 {
        margin-block-start: 1.5rem;
    }

    .portal-release-status {
        display: flex;
        gap: 1.4rem;
    }

    .portal-release-status > a {
        text-align: center;
    }

    .portal-cta {
        display: flex;
        min-height: auto;
    }

    .portal-cta .portal-button {
        width: 100%;
    }

    .portal-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 32rem) {
    .portal-header__inner {
        min-height: 4.6rem;
    }

    .portal-brand__mark {
        width: 2.25rem;
        height: 2.25rem;
    }

    .portal-brand__name {
        max-width: 10rem;
        overflow: hidden;
        font-size: 0.9rem;
        text-overflow: ellipsis;
    }

    .portal-hero__actions,
    .portal-hero__actions .portal-button {
        width: 100%;
    }

    .portal-console {
        padding: 0.85rem;
    }

    .portal-console__balance {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-proof {
        display: grid;
    }

    .portal-section {
        padding-block: 4.5rem;
    }

    .portal-service-card__badges {
        display: grid;
        justify-items: end;
    }

    .portal-footer__grid {
        grid-template-columns: 1fr;
    }

    .portal-footer__brand {
        grid-column: auto;
    }

    .portal-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 1rem;
    }
}

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

    body.portal-v16 *,
    body.portal-v16 *::before,
    body.portal-v16 *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
