:root {
    --primary: #1769aa;
    --primary-dark: #0d4d7d;
    --primary-deep: #093957;
    --primary-soft: #eaf4fb;

    --accent: #1d9bd1;
    --accent-dark: #147eaa;
    --accent-soft: #eaf8fd;

    --text: #142235;
    --text-soft: #334155;
    --muted: #64748b;
    --muted-light: #94a3b8;

    --surface: #ffffff;
    --surface-soft: #f5f8fb;
    --surface-blue: #f1f7fc;

    --border: #dfe7ef;
    --border-strong: #c7d6e4;
    --border-blue: #c7dced;

    --dark: #0b1c2e;
    --dark-soft: #122b43;

    --success: #16845a;
    --success-soft: #eaf8f2;

    --danger: #c62828;
    --danger-soft: #fff1f1;

    --warning: #a86b00;
    --warning-soft: #fff8e8;

    --shadow-sm: 0 4px 14px rgba(15, 38, 64, 0.05);
    --shadow: 0 18px 50px rgba(15, 38, 64, 0.08);
    --shadow-lg: 0 30px 80px rgba(15, 38, 64, 0.14);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius: 20px;
    --radius-lg: 24px;

    --header-height: 78px;

    --invoice-blue: #315b98;
    --invoice-blue-dark: #244a80;
    --invoice-soft: #edf3fb;
    --invoice-border: #8ea9d0;
    --invoice-text: #182b43;

    --font-display:
        "Vazirmatn",
        "IRANSansX",
        "IRANSans",
        "Dana",
        Tahoma,
        "Segoe UI",
        Arial,
        sans-serif;

    --font-body:
        "Vazirmatn",
        "IRANSansX",
        "IRANSans",
        "Dana",
        Tahoma,
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
   RESET / BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top:
        calc(var(--header-height) + 24px);
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.9;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font-family: var(--font-body);
    font-size: inherit;
    line-height: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
    appearance: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
    border: 0;
}

img:not(.hero-product-image):not(.article-hero-image) {
    content-visibility: auto;
}

picture {
    display: block;
    max-width: 100%;
}

a,
button,
input,
textarea,
select {
    max-width: 100%;
}

input,
textarea,
select {
    appearance: none;
}

textarea {
    overflow: auto;
}

summary {
    -webkit-tap-highlight-color: transparent;
}

[hidden] {
    display: none !important;
}

::selection {
    color: #fff;
    background: var(--primary);
}

:focus-visible {
    outline: 3px solid rgba(23, 105, 170, 0.25);
    outline-offset: 3px;
}


/* =========================================================
   GLOBAL UTILITIES
========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    width: min(900px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 94px 0;
}

.section-kicker {
    display: inline-block;
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading h2 {
    margin: 9px 0 12px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 850;
    line-height: 1.5;
    letter-spacing: -.5px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid #d6e7f4;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255, 255, 255, .74);
    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid transparent;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.site-header.scrolled {
    border-color: var(--border);
    box-shadow:
        0 8px 28px rgba(20, 34, 53, .07);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            var(--primary),
            var(--accent)
        );
    border-radius: 14px;
    font-size: 12px;
    font-weight: 900;
    box-shadow:
        0 10px 24px rgba(23, 105, 170, .22);
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.brand-text strong {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .5px;
}

.brand-text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav > a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    color: var(--text-soft);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    transition:
        color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.main-nav > a:hover,
.main-nav > a:focus-visible {
    color: var(--primary);
    background: var(--primary-soft);
}

.main-nav .nav-button {
    margin-right: 7px;
    padding: 11px 16px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--accent)
        );
    box-shadow:
        0 9px 20px rgba(23, 105, 170, .18);
}

.main-nav .nav-button:hover,
.main-nav .nav-button:focus-visible {
    color: #fff;
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    border-radius: 4px;
    transition:
        transform .2s ease,
        opacity .2s ease;
}

.menu-toggle[aria-expanded="true"]
span:nth-child(1) {
    transform:
        translateY(6px)
        rotate(45deg);
}

.menu-toggle[aria-expanded="true"]
span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"]
span:nth-child(3) {
    transform:
        translateY(-6px)
        rotate(-45deg);
}


/* =========================================================
   BREADCRUMB
========================================================= */

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 11px;
}

.article-breadcrumb a {
    color: var(--primary);
    font-weight: 800;
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-breadcrumb span[aria-current] {
    color: var(--text-soft);
    font-weight: 800;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.4;
    cursor: pointer;
    touch-action: manipulation;
    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: none;
}

.button:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.button:focus-visible {
    outline: 3px solid rgba(23, 105, 170, .25);
    outline-offset: 3px;
}

.button-primary {
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--accent)
        );
    box-shadow:
        0 12px 26px rgba(23, 105, 170, .20);
}

.button-primary:hover {
    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            #188ab9
        );
}

.button-secondary {
    color: var(--text);
    background: #fff;
    border-color: var(--border);
}

.button-secondary:hover {
    border-color: #bfd0df;
    background: #f8fbfd;
}

.button-wide {
    width: 100%;
}

.button-loading {
    cursor: wait;
    opacity: .72;
}

.button-loading::after {
    content: "";
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 6px;
    vertical-align: -2px;
    border: 2px solid currentColor;
    border-left-color: transparent;
    border-radius: 50%;
    animation:
        metropod-spin .7s linear infinite;
}

@keyframes metropod-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   TOAST
========================================================= */

.site-toast {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 99999;
    width: min(430px, calc(100vw - 32px));
    padding: 15px 18px;
    border-radius: 16px;
    color: #fff;
    background: var(--dark);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, .18);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition:
        opacity .25s ease,
        transform .25s ease;
    font-size: 12px;
    line-height: 1.8;
}

.site-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.site-toast.success {
    background: var(--success);
}

.site-toast.error {
    background: var(--danger);
}

.site-toast.warning {
    background: var(--warning);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 76px;
    background:
        radial-gradient(
            circle at 86% 22%,
            rgba(29, 155, 209, .12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f1f7fc 0%,
            #fff 54%,
            #f6fbfe 100%
        );
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 280px;
    height: 280px;
    right: -110px;
    top: 70px;
    background: rgba(23, 105, 170, .06);
    filter: blur(4px);
}

.hero::after {
    width: 190px;
    height: 190px;
    left: 7%;
    bottom: -90px;
    background: rgba(29, 155, 209, .07);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(420px, .98fr);
    align-items: center;
    gap: 52px;
}

.hero h1 {
    max-width: 700px;
    margin: 18px 0 16px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(36px, 4.4vw, 58px);
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -1.2px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--accent)
        );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 670px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 2.15;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
    color: var(--text-soft);
    font-size: 12px;
}

.hero-price strong {
    color: var(--primary-dark);
    font-size: 22px;
    font-weight: 900;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hero-trust span {
    padding: 6px 10px;
    border: 1px solid #d9e8f2;
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, .78);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.7;
}

.hero-highlight {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 22px;
}

.hero-highlight > div {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 13px;
    border: 1px solid #dbe7ef;
    border-radius: 14px;
    background: rgba(255, 255, 255, .74);
}

.hero-highlight strong {
    display: block;
    color: var(--text-soft);
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1.8;
}

.hero-highlight span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 9.5px;
    line-height: 1.8;
}


/* =========================================================
   SCREEN / DASHBOARD
========================================================= */

.hero-visual {
    position: relative;
    min-width: 0;
}

.screen-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid #cfdeea;
    border-radius: 24px;
    background: #dfeaf2;
    box-shadow: var(--shadow-lg);
    transform: rotate(.25deg);
    isolation: isolate;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.screen-frame:hover {
    transform: translateY(-3px);
    box-shadow:
        0 35px 90px rgba(15, 38, 64, .17);
}

.screen-bar {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: #eef4f8;
    border-bottom: 1px solid #cfdeea;
}

.screen-bar > span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #b4c5d3;
}

.screen-bar em {
    margin-right: auto;
    color: #71879a;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .5px;
}

.hero-visual picture {
    width: 100%;
}

.hero-product-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    background: #f8fafc;
}

.dashboard-mockup {
    min-height: 380px;
    padding: 26px;
    background:
        linear-gradient(
            145deg,
            #eff6fb,
            #fff
        );
}

.dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
    border: 1px solid #d7e4ee;
    border-radius: 15px;
    background: #fff;
    box-shadow:
        0 8px 24px rgba(20, 50, 80, .05);
}

.dashboard-head small {
    display: block;
    color: var(--primary);
    font-size: 9px;
    font-weight: 900;
}

.dashboard-head strong {
    display: block;
    margin-top: 3px;
    color: var(--text);
    font-size: 13px;
}

.dashboard-status {
    padding: 6px 10px;
    color: var(--success);
    background: var(--success-soft);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
}

.dashboard-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.dashboard-card {
    min-height: 105px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid #d7e4ee;
    border-radius: 15px;
    background: #fff;
    box-shadow:
        0 6px 18px rgba(17, 43, 68, .035);
}

.dashboard-card-wide {
    grid-column: 1 / -1;
}

.dashboard-card span {
    color: var(--muted);
    font-size: 9.5px;
    line-height: 1.8;
}

.dashboard-card strong {
    color: var(--primary-dark);
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   PRODUCT
========================================================= */

.product-section {
    background: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
    align-items: start;
}

.product-section h2 {
    margin: 9px 0 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 850;
    line-height: 1.55;
}

.product-lead {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 2.15;
}

.product-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.product-audience span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid #dbe6ef;
    border-radius: 999px;
    color: var(--text-soft);
    background: #f8fbfd;
    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   FEATURES
========================================================= */

.features-section {
    background: var(--surface-soft);
}

.features-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feature-card {
    position: relative;
    min-width: 0;
    padding: 24px 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow:
        0 6px 20px rgba(20, 50, 80, .03);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #c9d8e6;
    box-shadow: var(--shadow);
}

.feature-card-primary {
    border-color: #c8def0;
    background:
        linear-gradient(
            145deg,
            #fff,
            #f4fbff
        );
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 12px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 11px;
    font-weight: 900;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.7;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
}


/* =========================================================
   SCREENSHOTS / GALLERY
========================================================= */

.screenshots-section {
    background:
        linear-gradient(
            180deg,
            #fff,
            #f8fbfd
        );
}

.product-gallery {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-blue);
    box-shadow: var(--shadow);
}

.gallery-item a {
    display: block;
}

.gallery-item picture {
    width: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    background: #f1f5f9;
    transition:
        transform .25s ease;
}

.gallery-item:hover img {
    transform: scale(1.015);
}

.gallery-item figcaption {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.8;
}

.image-missing {
    opacity: .35;
}


/* =========================================================
   CALCULATIONS
========================================================= */

.calculations-section {
    background:
        linear-gradient(
            180deg,
            #fff,
            #f7fbfe
        );
}

.calculation-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.calculation-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: start;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow:
        0 7px 24px rgba(17, 43, 68, .035);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.calculation-card:hover {
    transform: translateY(-3px);
    border-color: #c6d9e8;
    box-shadow: var(--shadow);
}

.calculation-card-special {
    border-color: #c3d8ec;
    background:
        linear-gradient(
            145deg,
            #fff,
            #f1f8fd
        );
}

.calculation-number {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--accent)
        );
    font-size: 12px;
    font-weight: 900;
    box-shadow:
        0 9px 20px rgba(23, 105, 170, .16);
}

.calculation-card h3 {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.7;
}

.calculation-card p {
    margin: 0;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 2;
}


/* =========================================================
   PROCESS
========================================================= */

.process-section {
    background: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.process-card {
    min-width: 0;
    padding: 23px 19px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: #fff;
    box-shadow:
        0 5px 18px rgba(15, 38, 64, .025);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.process-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.process-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 50%;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--accent)
        );
    font-size: 13px;
    font-weight: 900;
    box-shadow:
        0 9px 20px rgba(23, 105, 170, .18);
}

.process-card h3 {
    margin: 0 0 7px;
    font-size: 14px;
    line-height: 1.7;
}

.process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 2;
}


/* =========================================================
   PRICING
========================================================= */

.pricing-section {
    background:
        linear-gradient(
            135deg,
            #f5faff,
            #fff
        );
}

.pricing-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 52px;
    align-items: center;
}

.pricing-copy h2 {
    margin: 9px 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(28px, 3.3vw, 42px);
    font-weight: 850;
    line-height: 1.55;
}

.pricing-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 2;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 18px;
}

.price strong {
    color: var(--primary-dark);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -.8px;
}

.price span {
    color: var(--muted);
    font-size: 12px;
}

.price-note {
    margin-top: 7px !important;
    font-size: 10.5px !important;
}

.pricing-card {
    padding: 30px;
    border: 1px solid #cadeee;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--border);
}

.pricing-header span {
    padding: 6px 9px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 8px;
    font-size: 9px;
    font-weight: 900;
}

.pricing-header strong {
    font-size: 16px;
    letter-spacing: .5px;
}

.pricing-price {
    margin-top: 18px;
    color: var(--primary-dark);
    font-size: 22px;
    font-weight: 900;
}

.pricing-card ul {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.pricing-card li {
    position: relative;
    padding: 8px 23px 8px 0;
    border-bottom: 1px dashed #e0e8ef;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.9;
}

.pricing-card li:last-child {
    border-bottom: 0;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 7px;
    color: var(--success);
    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   FORMS
========================================================= */

.quote-section {
    background: #fff;
}

.quote-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 65px;
    align-items: start;
}

.quote-copy,
.contact-copy {
    padding-top: 18px;
}

.quote-copy h2,
.contact-copy h2 {
    margin: 9px 0 12px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 850;
    line-height: 1.55;
    letter-spacing: -.4px;
}

.quote-copy > p,
.contact-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 2;
}

.quote-info {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.quote-info > div {
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fafcfe;
}

.quote-info small {
    display: block;
    color: var(--muted);
    font-size: 9.5px;
}

.quote-info strong {
    display: block;
    margin-top: 4px;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.8;
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 14px;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text-soft);
    background: #f8fbfd;
    font-size: 10.5px;
    line-height: 1.9;
}

.payment-info > strong {
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 900;
}

.payment-info[data-payment-state="sandbox"] {
    border-color: #efd59e;
    color: #79560a;
    background: var(--warning-soft);
}

.payment-info[data-payment-state="zarinpal"] {
    border-color: #c9dfef;
    background: #f3f9fd;
}

.payment-info[data-payment-state="legacy"] {
    border-color: #d8e3ed;
    background: #f8fafc;
}

.glass-form {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
}

.form-top {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
}

.form-top span {
    padding: 5px 9px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 8px;
    font-size: 9px;
    font-weight: 900;
}

.form-top strong {
    font-size: 17px;
}

.form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 0 14px;
}

.form-field {
    min-width: 0;
    margin-bottom: 6px;
}

.form-field-full {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 15px;
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.7;
}

label > span {
    color: var(--danger);
}

input,
textarea,
select {
    width: 100%;
    margin-top: 6px;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d4e1eb;
    border-radius: 11px;
    outline: 0;
    color: var(--text);
    background: #fff;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}

input::placeholder,
textarea::placeholder {
    color: #9aaabd;
    opacity: 1;
}

input:hover,
textarea:hover,
select:hover {
    border-color: #b7cadb;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow:
        0 0 0 4px rgba(23, 105, 170, .08);
}

input:invalid:focus,
textarea:invalid:focus,
select:invalid:focus {
    border-color: var(--danger);
    box-shadow:
        0 0 0 4px rgba(198, 40, 40, .08);
}

input:disabled,
textarea:disabled,
select:disabled {
    cursor: not-allowed;
    opacity: .7;
    background: #f5f8fb;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

select {
    cursor: pointer;
}

.honeypot-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0 0 0 0) !important;
}

.quote-total-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 2px 0 16px;
    padding: 14px 15px;
    border: 1px solid #cfe0ee;
    border-radius: 13px;
    background: var(--primary-soft);
}

.quote-total-preview > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.quote-total-preview span {
    color: var(--muted);
    font-size: 10px;
}

.quote-total-preview small {
    color: #7a8ea4;
    font-size: 8.5px;
    line-height: 1.7;
}

.quote-total-preview strong {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.quote-secure-note {
    margin-top: 10px;
    color: var(--muted);
    text-align: center;
    font-size: 9.5px;
    line-height: 1.8;
}

.form-message {
    min-height: 24px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.form-message.is-error {
    color: var(--danger);
}

.form-message.is-success {
    color: var(--success);
}

.form-message.is-warning {
    color: var(--warning);
}

.quote-result {
    display: none;
    margin-top: 18px;
}

.quote-result.show {
    display: block;
}

.quote-result[hidden] {
    display: none;
}

.quote-result-card {
    padding: 20px;
    border: 1px solid #dce7f2;
    border-radius: 18px;
    background: #f8fbff;
}

.quote-result-number {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 900;
}

.quote-result-price {
    margin-top: 10px;
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 900;
}

.quote-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.payment-status {
    margin-top: 12px;
    padding: 10px 13px;
    border-radius: 11px;
    color: var(--text-soft);
    background: #f5f8fb;
    font-size: 11px;
    line-height: 1.8;
}

.payment-status[data-status="paid"] {
    color: var(--success);
    background: var(--success-soft);
}

.payment-status[data-status="failed"] {
    color: var(--danger);
    background: var(--danger-soft);
}

.payment-status[data-status="pending"],
.payment-status[data-status="processing"] {
    color: var(--warning);
    background: var(--warning-soft);
}

.payment-message {
    min-height: 22px;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    background: var(--surface-soft);
}

.faq-list {
    display: grid;
    gap: 9px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.faq-item:hover {
    border-color: #cbd9e5;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    position: relative;
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 900;
    padding-left: 48px;
    line-height: 1.8;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 18px;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 2;
}

.faq-item p a {
    color: var(--primary);
    font-weight: 900;
}

.faq-item p a:hover {
    text-decoration: underline;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 65px;
    align-items: start;
}

.contact-copy {
    padding-top: 14px;
}

.contact-details {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 25px;
}

.contact-details > a,
.contact-details > div {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fafcfe;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.contact-details > a:hover,
.contact-details > a:focus-visible {
    transform: translateY(-2px);
    border-color: var(--border-blue);
    box-shadow: var(--shadow-sm);
}

.contact-details small {
    display: block;
    color: var(--muted);
    font-size: 9px;
}

.contact-details strong {
    display: block;
    margin-top: 4px;
    color: var(--text-soft);
    font-size: 10.5px;
    line-height: 1.8;
    word-break: break-word;
}

.contact-details a:hover strong,
.contact-details a:focus-visible strong {
    color: var(--primary);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 52px 0 20px;
    color: #cbd5e1;
    background: var(--dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 45px;
}

.footer-brand .brand-text strong,
.site-footer .brand-text strong {
    color: #fff;
}

.site-footer p {
    max-width: 380px;
    color: #8ea3b7;
    font-size: 10.5px;
    line-height: 2;
}

.site-footer h3 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 12px;
}

.footer-column a,
.footer-column span {
    display: block;
    margin: 7px 0;
    color: #91a5b8;
    font-size: 10px;
    line-height: 1.8;
    transition: color .18s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 35px;
    padding-top: 17px;
    border-top:
        1px solid rgba(255, 255, 255, .08);
    color: #63798e;
    font-size: 9px;
    line-height: 1.8;
}


/* =========================================================
   ARTICLE
========================================================= */

.article-main {
    padding: 55px 0 90px;
    background:
        linear-gradient(
            180deg,
            #f5f9fc 0%,
            #fff 45%
        );
}

.article-shell {
    width: min(960px, 100%);
    margin-inline: auto;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: #fff;
    box-shadow:
        0 20px 70px rgba(15, 38, 64, .07);
}

.article-header {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.article-header h1 {
    max-width: 850px;
    margin: 17px 0 14px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(31px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.48;
    letter-spacing: -.8px;
}

.article-lead {
    max-width: 820px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 2.1;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.article-meta span {
    padding: 7px 11px;
    border: 1px solid #dbe6ef;
    border-radius: 999px;
    color: var(--text-soft);
    background: #f8fbfd;
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1.8;
}

.article-feature-image {
    margin: 28px 0 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #f7fafc;
}

.article-feature-image picture {
    width: 100%;
}

.article-feature-image img {
    width: 100%;
    aspect-ratio: 16 / 8.5;
    object-fit: cover;
}

.article-feature-image figcaption {
    padding: 10px 14px;
    color: var(--muted);
    font-size: 9.5px;
    line-height: 1.8;
}

.article-toc {
    display: grid;
    gap: 6px;
    margin: 28px 0;
    padding: 18px;
    border: 1px solid #d8e6f0;
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            #f4f9fd,
            #fff
        );
}

.article-toc strong {
    margin-bottom: 5px;
    color: var(--primary-dark);
    font-size: 12px;
}

.article-toc a {
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.9;
    transition: color .18s ease;
}

.article-toc a:hover,
.article-toc a:focus-visible {
    color: var(--primary);
}

.article-section {
    padding: 28px 0;
    border-bottom: 1px solid #edf1f5;
    scroll-margin-top:
        calc(var(--header-height) + 30px);
}

.article-section h2 {
    margin: 0 0 14px;
    color: var(--primary-dark);
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 31px);
    font-weight: 850;
    line-height: 1.6;
}

.article-section h3 {
    margin: 22px 0 8px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(15px, 2vw, 19px);
    font-weight: 800;
    line-height: 1.7;
}

.article-section p {
    margin: 0 0 13px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 2.3;
}

.article-section strong {
    color: var(--text);
}

.article-list {
    margin: 12px 0 16px;
    padding-right: 20px;
    color: var(--text-soft);
}

.article-list li {
    margin-bottom: 8px;
    font-size: 12.5px;
    line-height: 2.1;
}

.article-callout {
    margin-top: 18px;
    padding: 18px 20px;
    border-right: 4px solid var(--primary);
    border-radius: 14px;
    background: var(--primary-soft);
}

.article-callout strong {
    display: block;
    margin-bottom: 4px;
    color: var(--primary-dark);
    font-size: 12px;
}

.article-callout p {
    margin: 0;
}

.article-inline-links {
    margin-top: 18px !important;
    padding: 14px 16px;
    border: 1px solid #dbe7ef;
    border-radius: 14px;
    background: #f8fbfd;
}

.article-inline-links a {
    color: var(--primary);
    font-weight: 900;
}

.article-inline-links a:hover,
.article-inline-links a:focus-visible {
    color: var(--primary-dark);
    text-decoration: underline;
}

.article-table-wrap {
    overflow-x: auto;
    margin-top: 18px;
    border: 1px solid #d5e1eb;
    border-radius: 16px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.article-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 10.5px;
}

.article-table th,
.article-table td {
    padding: 12px 10px;
    border-left: 1px solid #d9e3ec;
    border-bottom: 1px solid #d9e3ec;
    text-align: right;
    vertical-align: top;
    line-height: 1.9;
}

.article-table th:last-child,
.article-table td:last-child {
    border-left: 0;
}

.article-table th {
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );
    font-weight: 900;
}

.article-table tr:nth-child(even) td {
    background: #f8fbfd;
}

.article-table tr:hover td {
    background: #eef6fb;
}

.article-card-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 18px;
}

.article-info-card {
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: #fff;
    box-shadow:
        0 7px 20px rgba(15, 38, 64, .03);
}

.article-info-card > span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 9px;
    font-weight: 900;
}

.article-info-card h3 {
    margin: 12px 0 6px;
    font-size: 15px;
}

.article-info-card p {
    font-size: 11px;
}

.method-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 18px;
}

.method-card {
    padding: 20px;
    border: 1px solid #d6e4ee;
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            #fff,
            #f7fbfe
        );
}

.method-card > span {
    color: #9fb1c2;
    font-size: 9px;
    font-weight: 900;
}

.method-card h3 {
    margin: 10px 0 6px;
    color: var(--primary-dark);
}

.method-card p {
    margin: 0;
}

.article-steps {
    display: grid;
    gap: 11px;
    margin-top: 18px;
}

.article-steps > div {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}

.article-steps > div > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--accent)
        );
    font-size: 11px;
    font-weight: 900;
}

.article-steps h3 {
    margin: 0 0 4px;
    font-size: 14px;
}

.article-steps p {
    margin: 0;
    font-size: 10.8px;
}

.mistake-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 18px;
}

.mistake-grid article {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fbfdff;
}

.mistake-grid article h3 {
    margin: 0 0 7px;
    color: var(--text);
    font-size: 14px;
}

.mistake-grid article p {
    margin: 0;
    font-size: 10.8px;
}

.checklist-box {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.checklist-box label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-soft);
    background: #fff;
    cursor: pointer;
    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.checklist-box label:hover {
    border-color: #c8d9e7;
    background: #f9fcfe;
    transform: translateY(-1px);
}

.checklist-box label.is-checked {
    border-color: #b9dccb;
    background: var(--success-soft);
}

.checklist-box input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 2px 0 0;
    accent-color: var(--primary);
}

.checklist-box span {
    font-size: 10.8px;
    line-height: 1.9;
}

.article-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #cfe0ed;
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            #f1f8fd,
            #fff
        );
}

.article-cta h2 {
    margin: 10px 0 8px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 850;
}

.article-cta p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 2;
}

.article-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    flex-shrink: 0;
}


/* =========================================================
   ERROR PAGES
========================================================= */

.error-page {
    min-height: 100vh;
    background:
        linear-gradient(
            180deg,
            #f2f7fb,
            #fff
        );
}

.error-card {
    width: min(620px, calc(100% - 20px));
    margin: 8vh auto 0;
    padding: 42px 30px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.error-code {
    color: var(--primary);
    font-size: clamp(46px, 12vw, 88px);
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1;
}

.error-card h1 {
    margin: 20px 0 10px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 850;
}

.error-card p {
    max-width: 500px;
    margin: 0 auto 22px;
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
}


/* =========================================================
   INVOICE
========================================================= */

.result-page {
    min-height: 100vh;
    padding: 36px 16px;
    background:
        linear-gradient(
            180deg,
            #f2f7fb,
            #fff
        );
}

.result-shell {
    width: min(1050px, 100%);
    margin: 0 auto;
}

.result-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
}

.result-toolbar .button {
    min-height: 42px;
}

.invoice-card {
    overflow: hidden;
    border: 1px solid #d8e4ed;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.invoice-classic {
    border: 1px solid var(--invoice-border);
    border-radius: 0;
    box-shadow: none;
    color: var(--invoice-text);
    background: #fff;
}

.invoice-classic-head {
    display: grid;
    grid-template-columns: 1fr 1.35fr .42fr;
    gap: 20px;
    align-items: center;
    min-height: 112px;
    padding: 18px 22px 16px;
    border-bottom:
        1px solid var(--invoice-border);
}

.invoice-date-box {
    display: grid;
    gap: 13px;
    align-self: start;
    padding-top: 4px;
}

.invoice-date-box div {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-height: 24px;
    border-bottom: 1px dotted #8197b3;
}

.invoice-date-box span {
    color: #4d6480;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.invoice-date-box strong {
    color: var(--invoice-text);
    font-size: 10px;
    word-break: break-word;
}

.invoice-main-title {
    text-align: center;
}

.invoice-main-title h1 {
    margin: 0;
    color: #173f77;
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 900;
    line-height: 1.4;
}

.invoice-main-title > strong {
    display: block;
    margin-top: 4px;
    color: #24538d;
    font-size: 17px;
    line-height: 1.5;
}

.invoice-main-title small {
    display: block;
    margin-top: 3px;
    color: #5c718b;
    font-size: 9px;
}

.invoice-stamp {
    width: 72px;
    height: 72px;
    justify-self: end;
    display: grid;
    place-items: center;
    border: 2px solid #2c5b9a;
    border-radius: 12px;
    color: #2c5b9a;
    background: #f4f7fc;
    transform: rotate(-2deg);
    box-shadow:
        inset 0 0 0 3px rgba(44, 91, 154, .05);
}

.invoice-stamp span {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.invoice-stamp small {
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .4px;
}

.invoice-classic-section {
    padding: 0 22px;
    border-bottom:
        1px solid var(--invoice-border);
}

.invoice-classic-section > h2 {
    margin: 0 -22px;
    padding: 6px 12px;
    color: #fff;
    background:
        linear-gradient(
            90deg,
            var(--invoice-blue-dark),
            var(--invoice-blue)
        );
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.6;
}

.invoice-info-grid {
    display: grid;
    grid-template-columns:
        1.45fr .85fr 1fr 1.15fr;
    min-height: 70px;
}

.invoice-info-grid > div {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 7px 9px;
    border-left: 1px solid #a9bcda;
    border-bottom: 1px solid #b9c9df;
}

.invoice-info-grid > div:nth-child(4n) {
    border-left: 0;
}

.invoice-info-grid > div.full {
    grid-column: 1 / -1;
    border-left: 0;
    border-bottom: 0;
    min-height: 34px;
}

.invoice-info-grid span {
    color: #405a79;
    font-size: 8.5px;
    font-weight: 800;
    white-space: nowrap;
}

.invoice-info-grid strong {
    color: #172b45;
    font-size: 9.5px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.invoice-products-section {
    padding-bottom: 0;
}

.invoice-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.invoice-classic-table {
    width: 100%;
    min-width: 980px;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 8.5px;
}

.invoice-classic-table th,
.invoice-classic-table td {
    padding: 7px 5px;
    border-left: 1px solid #9fb6d6;
    border-bottom: 1px solid #a9bcda;
    text-align: center;
    vertical-align: middle;
    line-height: 1.6;
}

.invoice-classic-table th:last-child,
.invoice-classic-table td:last-child {
    border-left: 0;
}

.invoice-classic-table th {
    color: #fff;
    background:
        linear-gradient(
            180deg,
            #3c69a3,
            var(--invoice-blue)
        );
    font-weight: 900;
}

.invoice-classic-table tbody tr:nth-child(even) {
    background: var(--invoice-soft);
}

.invoice-classic-table td {
    color: #253d5b;
    min-height: 34px;
    overflow-wrap: anywhere;
}

.invoice-classic-table .description-col {
    width: 24%;
    text-align: right;
}

.invoice-summary-section {
    display: grid;
    justify-content: end;
    padding: 0 22px;
    border-bottom:
        1px solid var(--invoice-border);
}

.invoice-summary-row {
    width: min(470px, 100%);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 12px;
    border-bottom: 1px solid #a9bcda;
    color: #294260;
    background: var(--invoice-soft);
    font-size: 9.5px;
}

.invoice-summary-row:nth-child(even) {
    background: #fff;
}

.invoice-summary-row.grand {
    color: #fff;
    background:
        linear-gradient(
            90deg,
            var(--invoice-blue-dark),
            var(--invoice-blue)
        );
    font-size: 10.5px;
    font-weight: 900;
}

.invoice-bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 130px;
    padding: 0 22px;
    border-bottom:
        1px solid var(--invoice-border);
}

.invoice-bottom-section > div {
    padding: 14px 12px;
}

.invoice-bottom-section > div + div {
    border-right: 1px solid #a9bcda;
}

.invoice-bottom-section h2 {
    margin: 0 0 8px;
    color: var(--invoice-blue);
    font-size: 10px;
    font-weight: 900;
}

.invoice-bottom-section p {
    margin: 4px 0;
    color: #405a79;
    font-size: 9px;
    line-height: 1.9;
}

.invoice-signatures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 125px;
    border-bottom:
        1px solid var(--invoice-border);
}

.invoice-signatures > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 12px 8px;
}

.invoice-signatures > div + div {
    border-right: 1px solid #a9bcda;
}

.invoice-signatures strong {
    color: #405a79;
    font-size: 9px;
    text-align: center;
    line-height: 1.8;
}

.invoice-signatures span {
    display: block;
    width: 90%;
    height: 72px;
    margin-top: 10px;
    border-bottom: 1px dashed #9cb0c9;
}

.invoice-classic-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 12px;
    color: #70839b;
    background: #f7f9fc;
    font-size: 8px;
    line-height: 1.8;
}

.invoice-public-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 22px;
    border-top:
        1px solid var(--invoice-border);
    color: #405a79;
    background: #f8fbff;
    font-size: 9px;
    line-height: 1.8;
}

.invoice-public-link a {
    color: var(--primary);
    font-weight: 900;
}

.invoice-public-link a:hover,
.invoice-public-link a:focus-visible {
    color: var(--primary-dark);
    text-decoration: underline;
}

.invoice-classic .invoice-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
    margin: 0;
    padding: 14px 22px;
    background: #fff;
}

.invoice-classic .invoice-actions form {
    margin: 0;
}


/* =========================================================
   RESPONSIVE 1100
========================================================= */

@media (max-width: 1100px) {

    .hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(380px, .92fr);
        gap: 40px;
    }

    .main-nav > a {
        padding-inline: 8px;
    }

    .main-nav > a:not(.nav-button) {
        font-size: 11px;
    }

    .main-nav .nav-button {
        padding-inline: 13px;
    }
}


/* =========================================================
   RESPONSIVE 980
========================================================= */

@media (max-width: 980px) {

    .container {
        width: min(
            1100px,
            calc(100% - 32px)
        );
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-price,
    .hero-trust {
        justify-content: center;
    }

    .hero-highlight {
        max-width: 860px;
        margin-inline: auto;
        text-align: right;
    }

    .hero-visual {
        width: min(860px, 100%);
        margin-inline: auto;
    }

    .product-grid,
    .pricing-grid,
    .quote-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .product-lead {
        max-width: 800px;
    }

    .process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .product-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns:
            1.2fr 1fr 1fr;
    }
}


/* =========================================================
   RESPONSIVE 860
========================================================= */

@media (max-width: 860px) {

    .main-nav {
        gap: 2px;
    }

    .main-nav > a {
        padding-inline: 7px;
        font-size: 10.5px;
    }

    .main-nav .nav-button {
        padding-inline: 11px;
    }

    .section {
        padding: 82px 0;
    }

    .article-shell {
        padding: 32px;
    }
}


/* =========================================================
   RESPONSIVE 820
========================================================= */

@media (max-width: 820px) {

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 12px;
        left: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 8px;
        border: 1px solid var(--border);
        border-radius: 15px;
        background: #fff;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a {
        min-height: 44px;
        padding: 11px 12px;
        font-size: 12px;
    }

    .main-nav .nav-button {
        margin: 4px 0 0;
        text-align: center;
    }

    .features-grid,
    .calculation-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .article-card-grid,
    .method-grid,
    .mistake-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .article-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .invoice-classic-head {
        grid-template-columns: 1fr;
    }

    .invoice-main-title {
        order: 1;
    }

    .invoice-date-box {
        order: 2;
    }

    .invoice-stamp {
        order: 3;
        justify-self: center;
    }

    .invoice-date-box div {
        justify-content: center;
    }
}


/* =========================================================
   RESPONSIVE 760
========================================================= */

@media (max-width: 760px) {

    :root {
        --header-height: 68px;
    }

    .container,
    .narrow {
        width: calc(100% - 28px);
    }

    .site-header,
    .header-inner {
        min-height: var(--header-height);
    }

    .header-inner {
        gap: 12px;
    }

    .brand,
    .brand-text {
        min-width: 0;
    }

    .brand-text strong {
        font-size: 14px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .hero {
        padding: 52px 0 48px;
    }

    .hero h1 {
        font-size: clamp(30px, 9vw, 46px);
        letter-spacing: -.8px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-highlight {
        grid-template-columns: 1fr;
    }

    .hero-highlight > div {
        min-height: 0;
        text-align: right;
    }

    .dashboard-mockup {
        padding: 18px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card-wide {
        grid-column: auto;
    }

    .section {
        padding: 64px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading h2 {
        font-size:
            clamp(26px, 7vw, 34px);
    }

    .section-heading p {
        font-size: 12px;
    }

    .feature-card,
    .calculation-card,
    .process-card {
        padding: 20px 18px;
    }

    .pricing-card,
    .glass-form {
        padding: 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .quote-total-preview {
        align-items: flex-start;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .article-main {
        padding: 32px 0 60px;
    }

    .article-shell {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .article-header h1 {
        font-size:
            clamp(27px, 8vw, 39px);
    }

    .article-lead {
        font-size: 12.5px;
    }

    .article-card-grid,
    .method-grid,
    .mistake-grid {
        grid-template-columns: 1fr;
    }

    .article-cta-actions {
        width: 100%;
    }

    .article-cta-actions .button {
        width: 100%;
    }

    .error-card {
        margin-top: 4vh;
        padding: 30px 20px;
    }

    .invoice-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .invoice-info-grid > div {
        border-left:
            1px solid #a9bcda;
    }

    .invoice-info-grid > div:nth-child(2n) {
        border-left: 0;
    }

    .invoice-info-grid > div.full {
        grid-column: 1 / -1;
        border-left: 0;
    }

    .invoice-bottom-section,
    .invoice-signatures {
        grid-template-columns: 1fr;
    }

    .invoice-bottom-section > div + div,
    .invoice-signatures > div + div {
        border-right: 0;
        border-top: 1px solid #a9bcda;
    }

    .invoice-classic-section {
        padding-inline: 12px;
    }

    .invoice-classic-section > h2 {
        margin-inline: -12px;
    }

    .invoice-summary-section {
        padding-inline: 12px;
    }

    .invoice-public-link {
        padding-inline: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .invoice-classic .invoice-actions {
        padding-inline: 12px;
        flex-direction: column;
    }

    .invoice-classic .invoice-actions .button,
    .invoice-classic .invoice-actions form {
        width: 100%;
    }

    .invoice-classic
    .invoice-actions
    form
    .button {
        width: 100%;
    }

    .invoice-table-wrap {
        margin-inline: -12px;
        padding-inline: 12px;
    }
}


/* =========================================================
   RESPONSIVE 620
========================================================= */

@media (max-width: 620px) {

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-price {
        flex-direction: column;
        align-items: center;
    }

    .product-audience {
        justify-content: center;
    }

    .pricing-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .price strong {
        font-size: 32px;
    }

    .article-feature-image img {
        aspect-ratio: 4 / 3;
    }

    .invoice-main-title h1 {
        font-size: 21px;
    }

    .invoice-main-title > strong {
        font-size: 15px;
    }

    .invoice-stamp {
        width: 62px;
        height: 62px;
    }

    .quote-total-preview {
        flex-direction: column;
    }

    .quote-total-preview strong {
        font-size: 14px;
    }

    .quote-result-actions {
        flex-direction: column;
    }

    .quote-result-actions .button {
        width: 100%;
    }
}


/* =========================================================
   RESPONSIVE 480
========================================================= */

@media (max-width: 480px) {

    .site-toast {
        left: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
    }

    .brand-text small {
        display: none;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.5;
    }

    .hero-description {
        font-size: 12.5px;
        line-height: 2;
    }

    .hero-trust {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-trust span {
        text-align: center;
    }

    .button {
        min-height: 46px;
        padding-inline: 16px;
    }

    .glass-form,
    .pricing-card {
        border-radius: 17px;
        padding: 18px;
    }

    input,
    textarea,
    select {
        min-height: 47px;
    }

    .article-main {
        padding-top: 20px;
    }

    .article-shell {
        padding: 20px 15px;
    }

    .article-header h1 {
        font-size: 28px;
        line-height: 1.55;
    }

    .article-toc {
        padding: 15px;
    }

    .article-table {
        min-width: 660px;
    }

    .article-section h2 {
        font-size: 22px;
    }

    .article-section p,
    .article-list li {
        font-size: 11.7px;
        line-height: 2.15;
    }

    .article-meta span {
        font-size: 9px;
    }

    .invoice-info-grid {
        grid-template-columns: 1fr;
    }

    .invoice-info-grid > div,
    .invoice-info-grid > div:nth-child(2n) {
        border-left: 0;
    }

    .invoice-info-grid > div.full {
        grid-column: auto;
    }

    .invoice-classic-head {
        padding: 15px 12px;
    }

    .invoice-summary-row {
        width: 100%;
        gap: 12px;
        font-size: 8.5px;
    }

    .invoice-classic-table {
        min-width: 900px;
    }

    .invoice-classic-table th,
    .invoice-classic-table td {
        padding: 6px 4px;
    }

    .error-card {
        width: calc(100% - 16px);
        border-radius: 18px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .container,
    .narrow {
        width: calc(100% - 20px);
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 13px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .hero-description {
        font-size: 12px;
    }

    .section-heading h2,
    .product-section h2,
    .quote-copy h2,
    .contact-copy h2 {
        font-size: 25px;
    }

    .article-header h1 {
        font-size: 25px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .error-code {
        font-size: 58px;
    }

    .invoice-main-title h1 {
        font-size: 19px;
    }

    .invoice-main-title > strong {
        font-size: 14px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .screen-frame,
    .feature-card,
    .gallery-item,
    .calculation-card,
    .process-card,
    .checklist-box label,
    .button {
        transform: none !important;
    }
}


/* =========================================================
   PRINT / PDF
========================================================= */

@media print {

    @page {
        size: A4 portrait;
        margin: 7mm;
    }

    html,
    body {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    body {
        font-size: 8pt !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .site-header,
    .site-footer,
    .site-toast,
    .result-toolbar,
    .invoice-classic .invoice-actions,
    .invoice-public-link {
        display: none !important;
    }

    .result-page {
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .result-shell {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .invoice-card,
    .invoice-classic {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        border:
            1px solid #6f8fbd !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .invoice-classic-head {
        min-height: 78px !important;
        padding: 8px 12px !important;
        break-inside: avoid !important;
    }

    .invoice-classic-section {
        break-inside: avoid !important;
    }

    .invoice-products-section {
        break-inside: auto !important;
    }

    .invoice-table-wrap {
        overflow: visible !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .invoice-classic-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        font-size: 6.7pt !important;
    }

    .invoice-classic-table th,
    .invoice-classic-table td {
        padding: 3px 2px !important;
        line-height: 1.35 !important;
    }

    .invoice-classic-table .description-col {
        width: 24% !important;
    }

    .invoice-bottom-section {
        min-height: 80px !important;
    }

    .invoice-signatures {
        min-height: 80px !important;
    }

    .invoice-signatures span {
        height: 35px !important;
    }

    .invoice-main-title h1 {
        font-size: 18px !important;
    }

    .invoice-main-title > strong {
        font-size: 12px !important;
    }

    .invoice-main-title small {
        font-size: 7px !important;
    }

    .invoice-stamp {
        width: 52px !important;
        height: 52px !important;
    }

    .invoice-stamp span {
        font-size: 16px !important;
    }

    .invoice-classic-footer {
        padding: 4px 7px !important;
        font-size: 7px !important;
    }

    a[href]::after {
        content: none !important;
    }
}


/* =========================================================
   PRINT MOBILE
========================================================= */

@media print and (max-width: 700px) {

    @page {
        size: A4 portrait;
        margin: 5mm;
    }

    .invoice-info-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .invoice-bottom-section,
    .invoice-signatures {
        grid-template-columns: 1fr !important;
    }
}
