:root {
    --tmk-brand: #6D28D9;
    --tmk-brand-strong: #4C1D95;
    --tmk-brand-soft: #F1E7FF;
    --tmk-accent: #C026D3;
    --tmk-accent-soft: #FCE7F3;
    --tmk-bg: #FFFCFF;
    --tmk-surface: #FFFFFF;
    --tmk-surface-soft: #FBF7FF;
    --tmk-border: rgba(76, 29, 149, 0.10);
    --tmk-border-strong: rgba(109, 40, 217, 0.18);
    --tmk-text: #171322;
    --tmk-muted: #6B6478;
    --tmk-muted-strong: #3B3349;
    --tmk-shadow: 0 24px 72px rgba(76, 29, 149, 0.10);
    --tmk-shadow-soft: 0 14px 42px rgba(76, 29, 149, 0.08);
    --tmk-radius-sm: 16px;
    --tmk-radius-md: 24px;
    --tmk-radius-lg: 36px;
    --tmk-container: 1160px;
    --tmk-section-gap: clamp(72px, 9vw, 136px);
    --tmk-section-pad: clamp(56px, 8vw, 112px);
    --tmk-grid-gap: clamp(18px, 3vw, 36px);
    --tmk-header-height: 78px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
}

body.marketing-body {
    margin: 0;
    color: var(--tmk-text);
    background:
        radial-gradient(circle at 8% 0%, rgba(109, 40, 217, 0.08), transparent 28rem),
        radial-gradient(circle at 92% 10%, rgba(192, 38, 211, 0.07), transparent 30rem),
        linear-gradient(180deg, #FFFFFF 0%, var(--tmk-bg) 100%);
    font-family: Vazirmatn, Vazir, Tahoma, sans-serif;
    text-rendering: optimizeLegibility;
}

body.marketing-body a {
    color: inherit;
}

.tmk-container {
    width: min(var(--tmk-container), calc(100% - clamp(32px, 6vw, 96px)));
    margin-inline: auto;
}

.tmk-skip-link {
    position: fixed;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    z-index: 1000;
    transform: translateY(-140%);
    border-radius: 999px;
    padding: 10px 16px;
    color: #FFFFFF;
    background: var(--tmk-brand);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.2s ease;
}

.tmk-skip-link:focus {
    transform: translateY(0);
    outline: 3px solid rgba(109, 40, 217, 0.22);
    outline-offset: 3px;
}

.tmk-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 20;
    min-height: var(--tmk-header-height);
    border-bottom: 1px solid rgba(76, 29, 149, 0.08);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.tmk-header__inner {
    display: grid;
    min-height: var(--tmk-header-height);
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
}

.tmk-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    color: var(--tmk-text);
    text-decoration: none;
}

.tmk-brand img {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 16px;
    object-fit: contain;
}

.tmk-brand span {
    display: grid;
    gap: 2px;
}

.tmk-brand strong {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.tmk-brand small {
    color: var(--tmk-muted);
    font-size: 11px;
    font-weight: 700;
}

.tmk-nav,
.tmk-header__actions {
    display: inline-flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 22px);
}

.tmk-nav {
    justify-content: center;
}

.tmk-nav a,
.tmk-link-button,
.tmk-footer__links a,
.tmk-mobile-menu nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    color: var(--tmk-muted-strong);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tmk-nav a:hover,
.tmk-nav a:focus-visible,
.tmk-link-button:hover,
.tmk-link-button:focus-visible,
.tmk-footer__links a:hover,
.tmk-footer__links a:focus-visible,
.tmk-mobile-menu nav a:hover,
.tmk-mobile-menu nav a:focus-visible {
    color: var(--tmk-brand);
}

.tmk-button,
.tmk-link-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 18px;
    white-space: nowrap;
}

.tmk-link-button {
    border: 1px solid var(--tmk-border);
    background: rgba(255, 255, 255, 0.72);
}

.tmk-button {
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
}

.tmk-button--primary {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--tmk-brand), var(--tmk-accent));
    box-shadow: 0 16px 36px rgba(109, 40, 217, 0.20);
}

.tmk-button--primary:hover,
.tmk-button--primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(109, 40, 217, 0.26);
}

.tmk-button:focus-visible,
.tmk-link-button:focus-visible,
.tmk-brand:focus-visible,
.tmk-mobile-menu summary:focus-visible {
    outline: 3px solid rgba(109, 40, 217, 0.18);
    outline-offset: 4px;
}

.tmk-mobile-menu {
    display: none;
    position: relative;
    justify-self: end;
}

.tmk-mobile-menu summary {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    border: 1px solid var(--tmk-border);
    border-radius: 999px;
    padding: 0 16px;
    color: var(--tmk-muted-strong);
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    list-style: none;
}

.tmk-mobile-menu summary::-webkit-details-marker {
    display: none;
}

.tmk-mobile-menu nav {
    position: absolute;
    inset-block-start: calc(100% + 12px);
    inset-inline-end: 0;
    display: grid;
    width: min(280px, calc(100vw - 32px));
    gap: 8px;
    border: 1px solid var(--tmk-border);
    border-radius: var(--tmk-radius-md);
    padding: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--tmk-shadow-soft);
}

.tmk-mobile-menu nav a {
    border-radius: 16px;
    padding: 12px 14px;
}

.tmk-mobile-menu nav a:hover,
.tmk-mobile-menu nav a:focus-visible {
    background: var(--tmk-brand-soft);
}

.tmk-main {
    min-height: 64dvh;
}

.tmk-section {
    padding-block: var(--tmk-section-pad);
}

.tmk-section + .tmk-section {
    margin-block-start: calc(var(--tmk-section-gap) - var(--tmk-section-pad));
}

.tmk-section--soft {
    background: linear-gradient(180deg, rgba(241, 231, 255, 0.44), rgba(255, 255, 255, 0));
}

.tmk-section-header {
    display: grid;
    max-width: 760px;
    gap: 14px;
    margin-block-end: clamp(32px, 5vw, 64px);
}

.tmk-section-header--center {
    margin-inline: auto;
    text-align: center;
}

.tmk-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border: 1px solid var(--tmk-border-strong);
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--tmk-brand);
    background: rgba(241, 231, 255, 0.62);
    font-size: 12px;
    font-weight: 900;
}

.tmk-section-header--center .tmk-eyebrow {
    margin-inline: auto;
}

.tmk-heading-xl,
.tmk-heading-lg,
.tmk-heading-md {
    margin: 0;
    color: var(--tmk-text);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.tmk-heading-xl {
    font-size: clamp(42px, 7vw, 76px);
}

.tmk-heading-lg {
    font-size: clamp(32px, 5vw, 52px);
}

.tmk-heading-md {
    font-size: clamp(24px, 3vw, 34px);
}

.tmk-lead,
.tmk-muted {
    margin: 0;
    color: var(--tmk-muted);
    line-height: 2;
}

.tmk-lead {
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: 600;
}

.tmk-muted {
    font-size: 15px;
    font-weight: 500;
}

.tmk-grid {
    display: grid;
    gap: var(--tmk-grid-gap);
}

.tmk-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tmk-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tmk-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tmk-card {
    border: 1px solid var(--tmk-border);
    border-radius: var(--tmk-radius-md);
    padding: clamp(20px, 3vw, 32px);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.70) inset;
}

.tmk-card--elevated {
    box-shadow: var(--tmk-shadow-soft);
}

.tmk-card--soft {
    background: linear-gradient(145deg, rgba(241, 231, 255, 0.72), rgba(255, 255, 255, 0.86));
}

.tmk-card h2,
.tmk-card h3,
.tmk-card p {
    margin-block-start: 0;
}

.tmk-card h2,
.tmk-card h3 {
    margin-block-end: 10px;
    color: var(--tmk-text);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.tmk-card p {
    margin-block-end: 0;
    color: var(--tmk-muted);
    line-height: 1.9;
    font-size: 14px;
    font-weight: 500;
}

.tmk-footer {
    margin-block-start: clamp(72px, 10vw, 140px);
    border-top: 1px solid var(--tmk-border);
    background: rgba(255, 255, 255, 0.72);
}

.tmk-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(160px, 0.6fr));
    gap: clamp(28px, 5vw, 72px);
    padding-block: clamp(42px, 7vw, 76px);
}

.tmk-footer__brand {
    display: grid;
    gap: 18px;
}

.tmk-footer__brand p {
    max-width: 430px;
    margin: 0;
    color: var(--tmk-muted);
    line-height: 2;
    font-size: 14px;
    font-weight: 600;
}

.tmk-footer__links {
    display: grid;
    align-content: start;
    gap: 14px;
}

@media (max-width: 1024px) {
    :root {
        --tmk-container: 920px;
    }

    .tmk-header__inner {
        grid-template-columns: auto 1fr auto;
    }

    .tmk-nav {
        display: none;
    }

    .tmk-mobile-menu {
        display: block;
    }

    .tmk-header__actions {
        justify-content: end;
    }

    .tmk-grid--4,
    .tmk-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    :root {
        --tmk-header-height: 68px;
        --tmk-section-gap: clamp(56px, 16vw, 88px);
        --tmk-section-pad: clamp(42px, 12vw, 72px);
    }

    .tmk-container {
        width: min(100% - 28px, var(--tmk-container));
    }

    .tmk-header__inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .tmk-header__actions {
        display: none;
    }

    .tmk-brand img {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .tmk-brand strong {
        font-size: 16px;
    }

    .tmk-brand small {
        font-size: 10px;
    }

    .tmk-heading-xl {
        font-size: clamp(34px, 11vw, 46px);
    }

    .tmk-grid--4,
    .tmk-grid--3,
    .tmk-grid--2,
    .tmk-footer__inner {
        grid-template-columns: 1fr;
    }

    .tmk-card {
        border-radius: 22px;
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
