@font-face {
    font-family: Vazirmatn;
    src: url(../fonts/Vazirmatn-Regular.woff2) format('woff2');
    font-weight: 400 600;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url(../fonts/Vazirmatn-Bold.woff2) format('woff2');
    font-weight: 700 900;
    font-display: swap;
}

:root {
    color-scheme: light;
    --ink: #132f2c;
    --muted: #4e6660;
    --deep: #103b34;
    --teal: #006457;
    --line: #dce9e1;
    --mint: #eaf4ec;
    --lime: #e5f5ad;
    --paper: #f6faf7;
    --white: #fff;
    --focus: #287e69;
    --nav-ink: #38534d;
    --preview: #eaf3ec;
    --preview-ink: #40615a;
    --pill: #e3f0e5;
    --role-strip: #eef5ef;
    --hover-line: #72a99a;
    --hover-paper: #f9fcfa;
    --band-ink: #d7e9e2;
    --footer: #eaf2ec;
    --footer-line: #d6e4da;
    --shadow: #183e3520;
    --header: rgba(246,250,247,.97);
    --photo-note: rgba(255,255,255,.93);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 1rem/1.85 Vazirmatn, Tahoma, sans-serif;
}

button {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1, h2, h3, p {
    margin: 0;
}

h1, h2, h3 {
    line-height: 1.36;
    font-weight: 800;
}

p {
    color: var(--muted);
}

h1 {
    font-size: clamp(2.35rem,5vw,4.45rem);
    letter-spacing: -.068em;
}

h2 {
    font-size: clamp(1.8rem,3.4vw,2.75rem);
    letter-spacing: -.045em;
}

h3 {
    font-size: 1.18rem;
}

small {
    font-size: .84rem;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}

section {
    scroll-margin-top: 90px;
}

.wrap {
    width: min(1192px,calc(100% - 64px));
    margin-inline: auto;
}

.skip {
    position: fixed;
    inset-inline-start: 1rem;
    top: 1rem;
    z-index: 9;
    transform: translateY(-200%);
}

.skip:focus {
    transform: none;
}

.icon {
    width: 23px;
    height: 23px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 15px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.brand strong {
    display: block;
    font-size: 1.12rem;
    line-height: 1.2;
}

.brand small {
    display: block;
    color: var(--muted);
    line-height: 1.35;
    letter-spacing: .035em;
    text-align: right;
    margin-top: 5px;
}

.top {
    background: var(--header);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 5;
}

.top-row {
    min-height: 77px;
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: space-between;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(13px,2.05vw,29px);
    font-size: .94rem;
}

.nav a {
    padding-block: 12px;
    color: var(--nav-ink);
    white-space: nowrap;
}

.nav a:hover, .nav a[aria-current] {
    color: var(--teal);
    box-shadow: inset 0 -2px var(--teal);
}

.actions {
    display: flex;
    gap: 9px;
    align-items: center;
}

.btn {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 17px;
    border-radius: 13px;
    font-size: .94rem;
    font-weight: 700;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    white-space: nowrap;
}

.btn:hover {
    border-color: var(--teal);
}

.btn.primary {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

.btn.primary:hover {
    background: var(--deep);
}

.btn.lime {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--deep);
}

.btn .icon {
    width: 18px;
    height: 18px;
}

.menu {
    display: none;
}

.preview {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    padding: 7px 16px;
    background: var(--preview);
    color: var(--preview-ink);
    font-size: .84rem;
    text-align: center;
}

.preview .icon {
    width: 15px;
    height: 15px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr .91fr;
    align-items: center;
    gap: clamp(30px,6vw,92px);
    padding-block: 38px 49px;
}

.hero h1 {
    margin: 15px 0 19px;
}

.hero h1 span {
    color: var(--teal);
}

.hero p {
    font-size: 1.095rem;
    max-width: 52ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.hero-actions .btn {
    min-height: 49px;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    font-size: .88rem;
    font-weight: 700;
}

.label .icon {
    width: 18px;
    height: 18px;
}

.label.pill {
    background: var(--pill);
    padding: 5px 12px;
    border-radius: 30px;
}

.frame {
    position: relative;
    min-width: 0;
}

.hero-photo {
    height: clamp(330px,36vw,465px);
    border-radius: 32px;
    overflow: hidden;
    background: var(--mint);
}

.hero-photo img {
    object-position: 48% 46%;
}

.photo-note {
    position: absolute;
    bottom: 20px;
    inset-inline-end: 20px;
    display: flex;
    align-items: center;
    gap: 11px;
    background: var(--photo-note);
    padding: 10px 13px 10px 20px;
    border-radius: 16px;
    box-shadow: 0 6px 28px var(--shadow);
}

.photo-note strong,.photo-note small {
    display: block;
    line-height: 1.55;
}

.photo-note small {
    color: var(--muted);
}

.tile-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--mint);
    color: var(--teal);
    flex: none;
}

.role-strip {
    border-block: 1px solid var(--line);
    background: var(--role-strip);
    padding-block: 25px 29px;
}

.strip-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin-bottom: 14px;
}

.strip-head h2 {
    font-size: 1.43rem;
}

.strip-head p {
    font-size: .93rem;
}

.grid {
    display: grid;
    gap: 14px;
}

.four {
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.three {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.two {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.role-card {
    min-height: 83px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 17px;
}

.role-card:hover, .card.link:hover {
    border-color: var(--hover-line);
    background: var(--hover-paper);
}

.role-card strong,.role-card small {
    display: block;
    line-height: 1.5;
}

.role-card small {
    color: var(--muted);
    margin-top: 3px;
}

.role-card>.icon {
    width: 16px;
    height: 16px;
    margin-inline-start: auto;
    color: var(--teal);
}

.section {
    padding-block: 70px;
}

.section-head {
    max-width: 680px;
    margin-bottom: 24px;
}

.section-head p {
    margin-top: 8px;
}

.card {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    min-width: 0;
}

.card h3 {
    margin: 11px 0 6px;
}

.card p {
    font-size: .98rem;
}

.card .text-link {
    margin-top: 12px;
}

.text-link {
    color: var(--teal);
    font-weight: 700;
    display: inline-block;
}

.text-link:hover {
    text-decoration: underline;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(24px,5vw,66px);
}

.split p {
    margin-block: 10px 18px;
}

.image-panel {
    height: 340px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--mint);
}

.band {
    background: var(--deep);
    color: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.band h2 {
    font-size: clamp(1.55rem,3vw,2.2rem);
}

.band p {
    color: var(--band-ink);
    margin-top: 5px;
}

.footer {
    background: var(--footer);
    border-top: 1px solid var(--line);
    padding: 27px 0;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: .93rem;
}

.footer-links a:hover {
    color: var(--teal);
    text-decoration: underline;
}

.footer-note {
    border-top: 1px solid var(--footer-line);
    margin-top: 20px;
    padding-top: 12px;
    font-size: .86rem;
}

.page {
    min-height: 65vh;
    padding-block: 28px 60px;
}

.crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .91rem;
    margin-bottom: 21px;
}

.crumb a,
summary {
    color: var(--teal);
}

.crumb .icon {
    width: 14px;
    height: 14px;
}

.page-hero {
    padding: clamp(24px,5vw,54px);
    background: var(--mint);
    border: 1px solid var(--line);
    border-radius: 30px;
}

.page-hero h1 {
    margin-block: 9px 11px;
    font-size: clamp(2rem,5vw,3.8rem);
}

.page-hero p {
    max-width: 68ch;
    font-size: 1.04rem;
}

.page-hero .hero-actions {
    margin-top: 17px;
}

.page-body {
    margin-top: 32px;
}

.page-body h2 {
    margin-bottom: 15px;
}

.page-body .band,
.spacer {
    margin-top: 24px;
}

.page-body .band h2 {
    margin-bottom: 0;
}

.note {
    padding: 15px 17px;
    border-radius: 15px;
    background: var(--preview);
    color: var(--preview-ink);
    margin-top: 17px;
}

.sample {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 19px;
    margin-top: 16px;
}

.sample-head,
.sample-rows div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}

.sample-head {
    padding-bottom: 10px;
}

.sample-head span,
.chip {
    background: var(--pill);
    color: var(--deep);
    border-radius: 30px;
    padding: 4px 10px;
    font-size: .86rem;
}

.sample-rows,
.sample-rows dd {
    margin: 0;
}

.sample-rows div {
    padding-block: 10px;
}

.sample-rows div:last-child {
    border: 0;
    padding-bottom: 0;
}

.sample-rows dt {
    font-weight: 700;
}

.sample-rows dd {
    color: var(--muted);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tabs .btn[aria-pressed="true"] {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.detail {
    min-height: 148px;
}

.detail[hidden] {
    display: none;
}

.detail h3 {
    margin-top: 0;
}

.page-body details {
    border-top: 1px solid var(--line);
    padding-block: 11px;
}

.page-body details p {
    margin-top: 7px;
}

summary {
    cursor: pointer;
    font-weight: 700;
}

@media (max-width: 1050px) {
    .top-row {
        gap: 14px;
    }

    .nav {
        gap: 13px;
    }

    .nav a,.btn {
        font-size: .9rem;
    }

    .top .btn {
        padding-inline: 12px;
    }

    .wrap {
        width: min(1192px,calc(100% - 44px));
    }

    .role-card {
        gap: 8px;
    }
;
}

@media (max-width: 875px) {
    .menu {
        display: inline-flex;
    }

    .top-row {
        min-height: 67px;
    }

    .nav {
        display: none;
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: var(--paper);
        padding: 12px 22px 19px;
        border-bottom: 1px solid var(--line);
        flex-wrap: wrap;
        gap: 2px 22px;
    }

    .nav.open {
        display: flex;
    }

    .hero {
        gap: 25px;
    }

    .hero-photo {
        height: 360px;
    }

    .four {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
;
}

@media (max-width: 620px) {
    .wrap {
        width: calc(100% - 30px);
    }

    .top-row {
        gap: 6px;
    }

    .brand {
        gap: 7px;
    }

    .brand strong {
        font-size: .99rem;
    }

    .brand small {
        font-size: .69rem;
    }

    .mark {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .top .btn {
        padding-inline: 8px;
        min-height: 40px;
        font-size: .81rem;
    }

    .actions {
        gap: 5px;
    }

    .top .join {
        display: none;
    }

    .menu .icon {
        width: 20px;
        height: 20px;
    }

    .hero, .split {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-block: 27px 29px;
        gap: 23px;
    }

    .hero h1 {
        font-size: clamp(2.4rem,10vw,3.6rem);
        margin-block: 10px 13px;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions {
        margin-top: 17px;
    }

    .hero-photo {
        height: clamp(250px,78vw,390px);
        border-radius: 23px;
    }

    .photo-note {
        bottom: 12px;
        inset-inline-end: 12px;
    }

    .strip-head {
        align-items: start;
        flex-direction: column;
        gap: 4px;
    }

    .role-card {
        min-height: 75px;
        padding: 8px;
        gap: 7px;
    }

    .role-card .tile-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .role-card .tile-icon .icon {
        width: 19px;
        height: 19px;
    }

    .role-card strong {
        font-size: .91rem;
    }

    .role-card small {
        font-size: .76rem;
    }

    .role-card>.icon {
        display: none;
    }

    .grid {
        gap: 10px;
    }

    .three, .two {
        grid-template-columns: 1fr;
    }

    .page {
        padding-block: 20px 40px;
    }

    .page-hero {
        border-radius: 22px;
    }

    .section {
        padding-block: 39px;
    }

    .card {
        padding: 17px;
    }

    .image-panel {
        height: 245px;
    }

    .band {
        align-items: start;
        flex-direction: column;
        padding: 21px;
    }

    .footer-links {
        gap: 10px 16px;
    }

    .footer-row {
        align-items: start;
        flex-direction: column;
    }
;
}

.medyar-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.label .medyar-icon {
    width: 18px;
    height: 18px;
}

.nav .mobile-join {
    display: none;
}

@media (max-width: 620px) {
    .nav .mobile-join {
        display: inline-block;
    }
;
}
