:root {
    --blue-700: #124cc7;
    --blue-650: #1758dc;
    --blue-600: #1e63e9;
    --blue-100: #dce9ff;
    --blue-50: #f2f7ff;
    --ink-950: #0b1320;
    --ink-900: #111b2a;
    --ink-800: #243044;
    --ink-700: #3f4c60;
    --ink-600: #58667a;
    --ink-500: #5b697d;
    --line: #dce2e9;
    --line-strong: #cbd3dd;
    --canvas: #edf1f4;
    --surface: #ffffff;
    --surface-muted: #f7f9fb;
    --success: #198754;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(11, 19, 32, 0.05);
    --shadow-md: 0 16px 44px rgba(18, 34, 58, 0.09);
    --container: 1200px;
    --font: "Vazirmatn", Tahoma, Arial, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink-950);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.85;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

img,
svg {
    display: block;
}

h1,
h2,
h3,
p,
ul {
    margin-top: 0;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    inset-block-start: 8px;
    inset-inline-start: 12px;
    padding: 8px 14px;
    background: var(--ink-950);
    color: #fff;
    border-radius: var(--radius-sm);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid #ffbd2e;
    outline-offset: 3px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 19px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.4;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease);
}

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

.button-primary {
    background: var(--blue-650);
    color: #fff;
}

.button-primary:hover {
    background: var(--blue-700);
}

.button-dark {
    background: var(--ink-950);
    color: #fff;
}

.button-dark:hover {
    background: #1c2738;
}

.button-white {
    background: #fff;
    color: var(--ink-950);
}

.button-white:hover {
    background: #f3f6fa;
}

.button-secondary {
    background: var(--surface);
    border-color: var(--line-strong);
    color: var(--ink-900);
}

.button-secondary:hover {
    border-color: var(--ink-700);
}

.button-outline-light {
    border-color: rgba(255, 255, 255, .48);
    color: #fff;
}

.button-outline-light:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
}

.section {
    position: relative;
    padding-block: 72px;
}

.anchor-alias {
    position: absolute;
    inset-block-start: -82px;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.section-kicker {
    margin-bottom: 12px;
    color: var(--blue-700);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.section-kicker::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    margin-inline-end: 9px;
    vertical-align: middle;
    background: currentColor;
}

.section-kicker-on-blue,
.section-kicker-on-dark {
    color: #bcd2ff;
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading h2,
.why-heading h2,
.contact-intro h2 {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 5.5vw, 2.75rem);
    line-height: 1.35;
    letter-spacing: -.025em;
}

.section-heading > p,
.why-heading > p:last-child,
.contact-intro > p:last-child {
    color: var(--ink-600);
    line-height: 1.95;
}

/* Header */
.site-header {
    position: sticky;
    z-index: 100;
    inset-block-start: 0;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 28px rgba(16, 32, 55, .08);
}

.header-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.brand-mark {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.brand-mark svg,
.brand-mark img {
    width: 26px;
    height: 26px;
}

.brand-name {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}

.desktop-nav,
.header-contact {
    display: none;
}

.portal-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 8px;
    background: var(--blue-650);
    color: #fff;
    box-shadow: 0 8px 18px rgba(18, 76, 199, .24);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.portal-link:hover {
    background: #0e43b0;
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
}

.menu-toggle .icon {
    grid-area: 1 / 1;
}

.menu-close-icon {
    opacity: 0;
    transform: rotate(-45deg);
    transition: opacity .18s ease, transform .18s ease;
}

.menu-open-icon {
    transition: opacity .18s ease, transform .18s ease;
}

.menu-toggle[aria-expanded="true"] .menu-open-icon {
    opacity: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-close-icon {
    opacity: 1;
    transform: rotate(0);
}

.mobile-menu {
    position: fixed;
    z-index: 99;
    inset: 70px 0 0;
    padding: 18px 16px 30px;
    background: #fff;
    overflow-y: auto;
}

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

.mobile-menu a {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding-inline: 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-800);
    font-weight: 700;
}

.mobile-menu a:last-child {
    justify-content: center;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    background: var(--blue-650);
    color: #fff;
}

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: 64px 52px;
    background:
        radial-gradient(90% 70% at 100% -10%, rgba(255, 255, 255, .16), transparent 48%),
        linear-gradient(165deg, #1b58d8 0%, #124cc7 62%, #0e3fa6 100%);
    color: #fff;
}

.hero-grid,
.threat-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .28;
    background-image:
        linear-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .15) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to left, #000, transparent 88%);
}

.hero-layout {
    display: grid;
    gap: 48px;
}

.hero h1 {
    margin-bottom: 22px;
    font-size: clamp(2.35rem, 10vw, 4.5rem);
    line-height: 1.2;
    letter-spacing: -.045em;
}

.hero h1 span {
    color: #c9dbff;
}

.hero-lead {
    max-width: 650px;
    margin-bottom: 28px;
    color: #e0eaff;
    font-size: 1rem;
    line-height: 2;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-scope {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 30px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    list-style: none;
    color: #d7e4ff;
    font-size: .83rem;
}

.hero-scope li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-scope li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
}

.infrastructure-map {
    align-self: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius-md);
    background: #0d43aa;
    box-shadow: 0 28px 60px rgba(5, 25, 70, .25);
    overflow: hidden;
}

.map-topline,
.map-footer {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 15px;
    background: rgba(6, 36, 101, .55);
    color: #c8d9fb;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .67rem;
    direction: ltr;
}

.status {
    display: flex;
    align-items: center;
    gap: 6px;
    direction: rtl;
}

.status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ce39a;
    box-shadow: 0 0 0 4px rgba(76, 227, 154, .13);
}

.map-canvas {
    min-height: 350px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 22px;
    padding: 25px;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 18px 18px;
}

.map-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.map-label {
    grid-column: 1 / -1;
    color: #a9c4fa;
    font-size: .69rem;
    text-align: center;
}

.map-node {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 7px;
    background: #144fb4;
    font-size: .76rem;
    font-weight: 700;
}

.map-node .icon {
    color: #c8daff;
}

.map-node-accent {
    background: #fff;
    color: var(--blue-700);
}

.map-node-accent .icon {
    color: var(--blue-700);
}

.map-connector {
    display: none;
}

.map-core {
    position: relative;
    width: 148px;
    height: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-inline: auto;
    border: 1px solid #8fb3fc;
    border-radius: 50%;
    background: #fff;
    color: var(--blue-700);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 0 0 20px rgba(255, 255, 255, .04);
}

.map-core .icon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
}

.map-core strong {
    font-size: .85rem;
}

.map-core small {
    color: var(--ink-600);
    font-size: .62rem;
}

.map-footer {
    justify-content: center;
    gap: 8px;
    direction: rtl;
}

.map-footer i {
    width: 18px;
    height: 1px;
    background: rgba(255, 255, 255, .26);
}

/* Intro strip */
.intro-strip {
    border-bottom: 1px solid var(--line);
    background-color: #f3f6f9;
    background-image: radial-gradient(#d3dce6 .9px, transparent .9px);
    background-size: 16px 16px;
}

.intro-strip-inner {
    padding-block: 24px;
}

.intro-strip p {
    margin-bottom: 18px;
    color: var(--ink-700);
    font-weight: 700;
}

.intro-points {
    display: grid;
    gap: 10px;
}

.intro-points span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-600);
    font-size: .82rem;
}

.intro-points i {
    color: var(--blue-700);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-style: normal;
    font-weight: 700;
}

/* Services */
.services-section {
    background:
        radial-gradient(circle at 100% 0, rgba(30, 99, 233, .07), transparent 26%),
        linear-gradient(180deg, #f8fbfe 0, #fff 240px);
}

.services-section::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 auto;
    height: 250px;
    background-image:
        linear-gradient(rgba(18, 48, 84, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 48, 84, .045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent);
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.service-layout {
    display: grid;
    border-top: 1px solid var(--line-strong);
    border-inline-start: 1px solid var(--line);
}

.service-card,
.service-feature {
    min-height: 250px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-inline-end: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    transition: background-color .22s ease;
}

.service-card::before,
.service-feature::before {
    content: "";
    position: absolute;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    width: 11px;
    height: 11px;
    border-top: 1px solid #c5d0dc;
    border-inline-end: 1px solid #c5d0dc;
}

.service-feature::before {
    border-color: #465774;
}

.service-card:hover {
    background: #f5f9ff;
}

.service-card:hover::before,
.service-card-emphasis::before {
    border-color: var(--blue-650);
}

.service-index {
    color: var(--ink-500);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .68rem;
    direction: ltr;
}

.service-card-icon,
.service-feature-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-block: 34px 20px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--blue-700);
}

.service-card-icon {
    padding: 8px;
    overflow: visible;
}

.service-feature-icon .icon {
    width: 22px;
    height: 22px;
}

.service-card h3,
.service-feature h3 {
    margin-bottom: 9px;
    font-size: 1.07rem;
}

.service-card p,
.service-feature p {
    margin-bottom: 0;
    color: var(--ink-600);
    font-size: .86rem;
    line-height: 1.9;
}

.service-feature {
    background: var(--ink-950);
    color: #fff;
}

.service-feature:hover {
    background: #152235;
}

.service-feature .service-index,
.service-feature p {
    color: #aab6c8;
}

.service-feature-icon {
    border-color: #405069;
    color: #8eb4ff;
}

.service-meta {
    margin-top: auto;
    padding-top: 24px;
    color: #708099;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .68rem;
    direction: ltr;
}

.service-card-emphasis {
    background:
        linear-gradient(180deg, rgba(30, 99, 233, .08), rgba(30, 99, 233, .02)),
        #fff;
    box-shadow: inset -3px 0 0 var(--blue-650);
}

.service-card-emphasis a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--blue-700);
    font-size: .78rem;
    font-weight: 800;
}

.service-card-emphasis a .icon {
    width: 16px;
    height: 16px;
}

/* Threat intelligence */
.threat-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink-950);
    color: #fff;
}

.threat-grid {
    opacity: .15;
    mask-image: linear-gradient(to bottom, #000, transparent 68%);
}

.threat-intro {
    display: grid;
    gap: 22px;
    margin-bottom: 45px;
}

.threat-intro h2 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(1.9rem, 6vw, 3.35rem);
    line-height: 1.35;
}

.threat-intro-copy p {
    color: #abb8ca;
    line-height: 2;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-size: .84rem;
    font-weight: 700;
}

.text-link-light {
    color: #b9d0ff;
}

.text-link .icon {
    width: 16px;
    height: 16px;
}

.threat-pipeline {
    display: grid;
    gap: 12px;
}

.threat-pipeline article {
    min-height: 238px;
    position: relative;
    padding: 26px;
    border: 1px solid #29364a;
    background: rgba(17, 29, 46, .88);
}

.threat-pipeline article > .icon {
    width: 32px;
    height: 32px;
    margin-block: 40px 18px;
    color: #8eb4ff;
}

.pipeline-number {
    position: absolute;
    inset-block-start: 24px;
    inset-inline-end: 24px;
    color: #526079;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .7rem;
}

.threat-pipeline h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.threat-pipeline p {
    margin: 0;
    color: #9eacbf;
    font-size: .84rem;
    line-height: 1.9;
}

.pipeline-arrow {
    display: none;
}

.threat-details {
    display: grid;
    margin-top: 24px;
    border: 1px solid #29364a;
    background: #0e1827;
}

.threat-categories,
.threat-outputs {
    padding: 26px;
}

.threat-outputs {
    border-top: 1px solid #29364a;
}

.detail-label {
    margin-bottom: 18px;
    color: #7988a0;
    font-size: .72rem;
    font-weight: 700;
}

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

.category-list span {
    padding: 7px 10px;
    border: 1px solid #334156;
    border-radius: 5px;
    color: #c1ccdc;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .69rem;
    direction: ltr;
}

.threat-outputs ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #c1ccdc;
    font-size: .79rem;
}

.threat-outputs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.threat-outputs .icon {
    width: 16px;
    height: 16px;
    color: #67d9a0;
}

/* Pricing */
.plans-section {
    position: relative;
    background:
        radial-gradient(circle at 0 0, rgba(30, 99, 233, .08), transparent 24%),
        var(--canvas);
}

.plans-section::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
    width: min(42vw, 460px);
    height: 180px;
    background-image:
        linear-gradient(rgba(17, 42, 78, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 42, 78, .05) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to left, #000, transparent);
    pointer-events: none;
}

.shared-features {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .65);
}

.shared-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-700);
    font-size: .79rem;
    font-weight: 700;
}

.shared-features .icon {
    width: 17px;
    height: 17px;
    color: var(--blue-700);
}

.pricing-grid {
    display: grid;
    gap: 12px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.price-card-featured {
    border: 2px solid var(--blue-650);
}

.price-card-enterprise {
    background: var(--ink-950);
    color: #fff;
    border-color: var(--ink-950);
}

.price-badge {
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 24px;
    padding: 5px 10px;
    background: var(--blue-650);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
}

.price-head {
    min-height: 76px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.price-card-enterprise .price-head {
    border-color: #344157;
}

.price-head h3 {
    margin-bottom: 3px;
    font-size: 1.16rem;
}

.price-head span {
    color: var(--ink-500);
    font-size: .76rem;
}

.price-card-enterprise .price-head span {
    color: #9ca9bc;
}

.price {
    min-height: 66px;
    margin-block: 18px;
    color: var(--ink-600);
    font-size: .73rem;
}

.price strong {
    display: inline-block;
    margin-inline-end: 4px;
    color: var(--ink-950);
    font-size: 1.55rem;
    line-height: 1.5;
}

.price-card-enterprise .price,
.price-card-enterprise .price strong {
    color: #fff;
}

.price-card ul {
    display: grid;
    gap: 11px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    color: var(--ink-700);
    font-size: .78rem;
}

.price-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.price-card li .icon {
    width: 15px;
    height: 15px;
    margin-top: 4px;
    color: var(--success);
}

.price-card-enterprise ul {
    color: #c2ccda;
}

.price-card .button {
    width: 100%;
    margin-top: auto;
}

/* Portal */
.portal-section {
    padding-block: 72px;
    background: var(--surface);
}

.portal-panel {
    display: grid;
    gap: 40px;
    padding: 34px 24px 0;
    border-radius: var(--radius-lg);
    background: var(--blue-700);
    color: #fff;
    overflow: hidden;
}

.portal-copy {
    padding-bottom: 8px;
}

.portal-copy h2 {
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    line-height: 1.35;
}

.portal-copy p:not(.section-kicker) {
    max-width: 600px;
    margin-bottom: 24px;
    color: #dce8ff;
    line-height: 2;
}

.portal-window {
    min-width: 500px;
    align-self: end;
    border: 1px solid rgba(255, 255, 255, .35);
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
    background: #f6f8fb;
    box-shadow: 0 25px 65px rgba(0, 25, 80, .3);
    direction: ltr;
    transform: translateX(25%);
}

.portal-window-head {
    height: 34px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-inline: 11px;
    border-bottom: 1px solid #dfe4eb;
    background: #fff;
}

.portal-window-head > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d1d7df;
}

.portal-window-head small {
    margin-inline: auto;
    color: #758196;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .55rem;
}

.portal-window-body {
    min-height: 280px;
    display: grid;
    grid-template-columns: 58px 1fr;
}

.portal-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    padding-top: 25px;
    background: #111d2f;
}

.portal-sidebar span {
    width: 24px;
    height: 5px;
    border-radius: 2px;
    background: #516078;
}

.portal-sidebar .active {
    background: #74a1ff;
}

.portal-content {
    padding: 24px;
}

.portal-welcome {
    width: 42%;
    height: 8px;
    margin-bottom: 22px;
    border-radius: 2px;
    background: #a7b2c2;
}

.portal-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.portal-cards span {
    height: 52px;
    border: 1px solid #e1e5eb;
    border-radius: 4px;
    background: #fff;
}

.portal-chart {
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-top: 14px;
    padding: 17px;
    border: 1px solid #e1e5eb;
    border-radius: 4px;
    background: #fff;
}

.portal-chart i {
    width: 10%;
    height: 25%;
    background: #a9c5fc;
}

.portal-chart i:nth-child(2) { height: 42%; }
.portal-chart i:nth-child(3) { height: 32%; }
.portal-chart i:nth-child(4) { height: 67%; background: #4f83ed; }
.portal-chart i:nth-child(5) { height: 52%; }
.portal-chart i:nth-child(6) { height: 78%; background: #4f83ed; }
.portal-chart i:nth-child(7) { height: 62%; }

/* Why */
.why-section {
    background: var(--surface);
}

.story-note {
    display: grid;
    gap: 10px;
    margin-bottom: 68px;
    padding-block: 0 54px;
    border-bottom: 1px solid var(--line-strong);
    scroll-margin-top: 100px;
}

.story-note h2 {
    margin-bottom: 12px;
    font-size: clamp(1.4rem, 4vw, 2rem);
    line-height: 1.45;
}

.story-note p:last-child {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--ink-600);
}

.why-layout {
    display: grid;
    gap: 44px;
}

.why-heading {
    align-self: start;
}

.why-list {
    border-top: 1px solid var(--ink-950);
}

.why-list article {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding-block: 23px;
    border-bottom: 1px solid var(--line);
}

.why-list article > span {
    color: var(--blue-700);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .69rem;
}

.why-list h3 {
    margin-bottom: 6px;
    font-size: 1rem;
}

.why-list p {
    margin: 0;
    color: var(--ink-600);
    font-size: .84rem;
}

/* FAQ */
.faq-section {
    border-top: 1px solid var(--line);
    background: var(--surface-muted);
}

.faq-layout {
    display: grid;
    gap: 38px;
}

.faq-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(1.7rem, 5vw, 2.5rem);
    line-height: 1.4;
}

.faq-heading > p:last-child {
    color: var(--ink-600);
}

.faq-list {
    border-top: 1px solid var(--ink-950);
}

.faq-list details {
    border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
    position: relative;
    padding-block: 21px;
    padding-inline: 38px 0;
    cursor: pointer;
    list-style: none;
    color: var(--ink-900);
    font-weight: 800;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    inset-inline-start: 4px;
    inset-block-start: 18px;
    color: var(--blue-700);
    font-size: 1.3rem;
    font-weight: 400;
    transition: transform .18s ease;
}

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

.faq-list details p {
    max-width: 700px;
    margin: -2px 0 22px;
    padding-inline-start: 38px;
    color: var(--ink-600);
    font-size: .85rem;
}

/* Contact */
.contact-section {
    padding-block: 72px;
    border-top: 1px solid var(--line);
    background-color: #eef3f7;
    background-image:
        linear-gradient(rgba(17, 39, 68, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 39, 68, .035) 1px, transparent 1px);
    background-size: 46px 46px;
}

.contact-layout {
    display: grid;
    gap: 38px;
}

.contact-options {
    border-top: 1px solid var(--ink-950);
}

.contact-options > a,
.contact-address {
    min-height: 94px;
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 14px;
    padding-block: 18px;
    border-bottom: 1px solid var(--line-strong);
}

.contact-options > a {
    transition: padding-inline .2s var(--ease), background-color .2s ease;
}

.contact-options > a:hover {
    padding-inline: 12px;
    background: rgba(255, 255, 255, .7);
}

.contact-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: var(--surface);
    color: var(--blue-700);
}

.contact-icon .icon {
    width: 19px;
    height: 19px;
}

.contact-options small,
.contact-options strong,
.contact-options em {
    display: block;
}

.contact-options small {
    margin-bottom: 2px;
    color: var(--ink-500);
    font-size: .7rem;
}

.contact-options strong {
    font-size: .9rem;
    font-style: normal;
}

.contact-options em {
    color: var(--ink-600);
    font-size: .7rem;
    font-style: normal;
}

.contact-arrow {
    width: 17px;
    height: 17px;
    color: var(--ink-500);
}

/* Footer */
.site-footer {
    padding-block: 56px 22px;
    background: var(--ink-950);
    color: #fff;
}

.footer-main {
    display: grid;
    gap: 34px;
    padding-bottom: 42px;
}

.brand-footer .brand-mark {
    border: 0;
    background: transparent;
}

.footer-brand p {
    max-width: 420px;
    margin: 16px 0 0;
    color: #98a6ba;
    font-size: .82rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-column h2 {
    margin-bottom: 7px;
    color: #718198;
    font-size: .71rem;
}

.footer-column a,
.footer-column p {
    margin: 0;
    color: #b9c4d3;
    font-size: .79rem;
}

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

.footer-contact small {
    color: #718198;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid #273448;
    color: #728198;
    font-size: .69rem;
}

@media (min-width: 560px) {
    .container {
        width: min(100% - 48px, var(--container));
    }

    .intro-points,
    .shared-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-layout,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-options > a,
    .contact-address {
        grid-template-columns: 52px 1fr auto;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 760px) {
    .section,
    .portal-section,
    .contact-section {
        padding-block: 96px;
    }

    .heading-split {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
        align-items: end;
        gap: 60px;
        margin-bottom: 48px;
    }

    .story-note {
        grid-template-columns: .45fr 1.55fr;
        gap: 60px;
    }

    .heading-split > p {
        margin-bottom: 6px;
    }

    .intro-strip-inner {
        min-height: 90px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }

    .intro-strip p {
        margin: 0;
    }

    .intro-points {
        display: flex;
        gap: 30px;
    }

    .map-canvas {
        min-height: 300px;
        grid-template-columns: 1fr 36px 148px 36px 1fr;
        gap: 10px;
        padding: 24px 18px;
    }

    .map-column {
        grid-template-columns: 1fr;
    }

    .map-connector {
        display: flex;
        align-items: center;
        gap: 3px;
    }

    .map-connector i {
        width: 8px;
        height: 2px;
        background: #80a9fb;
    }

    .threat-intro {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, .7fr);
        align-items: end;
        gap: 70px;
        margin-bottom: 55px;
    }

    .threat-intro-copy p {
        margin-bottom: 22px;
    }

    .threat-pipeline {
        grid-template-columns: 1fr 40px 1fr 40px 1fr;
        align-items: center;
        gap: 0;
    }

    .pipeline-arrow {
        display: grid;
        place-items: center;
        color: #61708a;
    }

    .threat-details {
        grid-template-columns: 1.25fr .75fr;
    }

    .threat-outputs {
        border-top: 0;
        border-inline-start: 1px solid #29364a;
    }

    .threat-outputs ul {
        grid-template-columns: 1fr 1fr;
    }

    .portal-panel {
        padding: 54px 48px 0;
    }

    .portal-window {
        min-width: 640px;
        margin-inline: auto;
        transform: none;
    }

    .portal-window-body {
        min-height: 330px;
    }

    .footer-main {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 960px) {
    .header-inner {
        min-height: 78px;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 25px;
        margin-inline: auto;
    }

    .desktop-nav a {
        position: relative;
        color: var(--ink-700);
        font-size: .79rem;
        font-weight: 700;
    }

    .desktop-nav a::after {
        content: "";
        position: absolute;
        height: 2px;
        inset-inline: 0;
        inset-block-end: -9px;
        background: var(--blue-650);
        transform: scaleX(0);
        transition: transform .2s var(--ease);
    }

    .desktop-nav a:hover::after {
        transform: scaleX(1);
    }

    .header-contact {
        display: inline-flex;
        min-height: 42px;
        padding: 8px 15px;
    }

    .menu-toggle,
    .mobile-menu {
        display: none !important;
    }

    .hero {
        min-height: 650px;
        display: flex;
        align-items: center;
        padding-block: 88px 76px;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(500px, .86fr);
        align-items: center;
        gap: 70px;
    }

    .hero-lead {
        max-width: 600px;
        font-size: 1.04rem;
    }

    .service-layout {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-feature {
        grid-row: span 2;
        min-height: 500px;
    }

    .service-card-emphasis {
        grid-column: 1 / -1;
        min-height: 148px;
        flex-direction: row;
        align-items: center;
        gap: 28px;
    }

    .service-card-emphasis .service-card-icon {
        margin: 0;
    }

    .service-card-emphasis p {
        max-width: 52ch;
    }

    .service-card-emphasis a {
        margin-top: 0;
        margin-inline-start: auto;
        padding-top: 0;
        white-space: nowrap;
    }

    .service-feature-icon {
        margin-top: 78px;
    }

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

    .price-card + .price-card {
        border-inline-start: 0;
    }

    .price-card-featured {
        margin-block: -9px;
        z-index: 2;
        padding-block: 33px;
        border-inline-start: 2px solid var(--blue-650) !important;
    }

    .why-layout,
    .contact-layout,
    .faq-layout {
        grid-template-columns: .8fr 1.2fr;
        gap: 100px;
    }

    .why-heading,
    .contact-intro {
        position: sticky;
        inset-block-start: 120px;
    }

    .contact-intro {
        align-self: start;
    }

    .footer-main {
        grid-template-columns: 1.6fr repeat(3, 1fr);
        gap: 50px;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media (min-width: 1120px) {
    .portal-panel {
        min-height: 470px;
        grid-template-columns: .8fr 1.2fr;
        align-items: center;
        gap: 54px;
        padding: 62px 64px 0;
    }

    .portal-copy {
        align-self: center;
        padding-bottom: 62px;
    }

    .portal-window {
        min-width: 680px;
        margin-inline: 0;
        transform: translateX(-4%);
    }
}

@media (min-width: 1280px) {
    .hero-layout {
        gap: 92px;
    }

    .service-card,
    .service-feature {
        padding: 28px;
    }
}

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

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

@media print {
    .site-header,
    .hero-actions,
    .portal-window {
        display: none !important;
    }

    .hero,
    .threat-section,
    .site-footer {
        background: #fff !important;
        color: #000 !important;
    }
}

.plans-section .container,
.services-section .container {
    position: relative;
    z-index: 1;
}

.story-section {
    background:
        linear-gradient(180deg, rgba(18, 76, 199, .045), transparent 180px),
        #f7f9fb;
}

.story-layout {
    display: grid;
    gap: 28px;
    align-items: center;
}

.story-figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: #d7e0e9;
    box-shadow: var(--shadow-md);
}

.story-figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.story-copy h2 {
    margin-bottom: 16px;
    font-size: clamp(1.6rem, 4vw, 2.35rem);
    line-height: 1.4;
}

.story-copy p:not(.section-kicker) {
    color: var(--ink-700);
    line-height: 2.05;
}

.credentials-section {
    background: #fff;
}

.credential-grid,
.client-wall {
    display: grid;
    gap: 12px;
}

.credential-card,
.client-logo {
    border: 1px solid var(--line-strong);
    background: #fff;
}

.credential-card {
    min-height: 230px;
    padding: 16px 16px 18px;
    transition: border-color .2s ease, transform .2s var(--ease);
}

.credential-card:hover,
.client-logo:hover {
    border-color: #b7c6da;
    transform: translateY(-2px);
}

.credential-card img {
    width: 100%;
    height: 132px;
    margin-bottom: 16px;
    object-fit: contain;
}

.credential-card h3 {
    margin-bottom: 3px;
    font-size: .95rem;
}

.credential-card p {
    margin: 0;
    color: var(--ink-600);
    font-size: .75rem;
}

.credential-card-dark {
    background: #121b2b;
    border-color: #121b2b;
    color: #fff;
}

.credential-card-dark p {
    color: #b7c3d3;
}

.clients-section {
    background:
        radial-gradient(#d5dee8 .8px, transparent .8px) 0 0 / 15px 15px,
        #f3f6f9;
}

.client-logo {
    height: 104px;
    display: grid;
    place-items: center;
    padding: 18px;
}

.client-logo img {
    max-width: 88%;
    max-height: 62px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
    transition: filter .2s ease, opacity .2s ease;
}

.client-logo:hover img {
    filter: none;
    opacity: 1;
}

.client-logo-light {
    background: #172233;
    border-color: #172233;
}

.client-logo-light img,
.client-logo-light:hover img {
    filter: none;
    opacity: .95;
}

.footer-trust {
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
    padding-top: 8px;
    border-top: 1px solid #273448;
}

.footer-trust h2 {
    margin: 0;
    color: #8ea0b7;
    font-size: .72rem;
}

.trust-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    min-height: 108px;
}

.enamad-badge,
.zibal-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    min-height: 108px;
    padding: 6px;
    border-radius: 8px;
    background: #fff;
}

.enamad-badge img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.terms-document {
    background:
        radial-gradient(circle at 100% 0, rgba(18, 76, 199, .07), transparent 28%),
        #eef2f6;
}

.terms-main {
    padding: 36px 0 72px;
}

.terms-sheet {
    width: min(100%, 880px);
    margin-inline: auto;
    padding: 32px 20px 48px;
    border: 1px solid var(--line-strong);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.terms-sheet h1 {
    margin-bottom: 14px;
    font-size: clamp(1.55rem, 4vw, 2.15rem);
    line-height: 1.5;
}

.terms-updated {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--blue-700);
    font-size: .78rem;
    font-weight: 800;
}

.terms-body hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.terms-body h2 {
    margin: 0 0 14px;
    font-size: 1.08rem;
    line-height: 1.7;
}

.terms-body p,
.terms-body li {
    color: var(--ink-700);
    font-size: .95rem;
    line-height: 2.08;
}

.terms-body p {
    margin-bottom: 16px;
}

.terms-body ul {
    margin: 0 0 18px;
    padding-inline-start: 1.25rem;
}

.terms-body li {
    margin-bottom: 8px;
}

.terms-body li::marker {
    color: var(--blue-700);
}

.terms-body strong {
    color: var(--ink-950);
}

@media (min-width: 640px) {
    .credential-grid,
    .client-wall {
        grid-template-columns: repeat(2, 1fr);
    }

    .terms-sheet {
        padding: 48px 56px 64px;
    }
}

@media (min-width: 960px) {
    .story-layout {
        grid-template-columns: .92fr 1.08fr;
        gap: 64px;
    }

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

    .client-wall {
        grid-template-columns: repeat(5, 1fr);
    }

    .footer-trust {
        grid-template-columns: 180px 1fr;
        align-items: center;
    }
}
