/* Phlox / Hamin-inspired site chrome */
:root {
    --ink: #001733;
    --ink-soft: #444444;
    --muted: #707070;
    --paper: #ffffff;
    --surface: #ffffff;
    --accent: #01808c;
    --accent-bright: #1bb0ce;
    --accent-deep: #016a74;
    --cta: #fc858c;
    --cta-deep: #f06a74;
    --support: #f5c518;
    --line: rgba(0, 23, 51, 0.1);
    --shadow: 0 18px 48px rgba(0, 23, 51, 0.08);
    --shadow-cta: 0 12px 28px rgba(252, 133, 140, 0.35);
    --radius: 1.15rem;
    --radius-control: 999px;
    --header-h: 3.65rem;
    --font: "Arad", "Dana", "IRANYekanX", IRANYekan, Vazir, Tahoma, ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font-family: "Arad", "Dana", "IRANYekanX", IRANYekan, Vazir, Tahoma, ui-sans-serif, system-ui, sans-serif !important;
    color: var(--ink);
    background:
        radial-gradient(900px 480px at 92% -8%, rgba(27, 176, 206, 0.12), transparent 55%),
        radial-gradient(720px 420px at -8% 30%, rgba(252, 133, 140, 0.1), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f7fafb 55%, #f3f6f8 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
[dir="ltr"],
.ltr,
.latin-nums,
.brand-card-url,
.handle,
.links-handle,
.hub-sub,
code,
kbd,
samp,
pre {
    -moz-font-feature-settings: normal;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
}
#pricing-cycle-root {
    -moz-font-feature-settings: "ss02", "ss03";
    -webkit-font-feature-settings: "ss02", "ss03";
    font-feature-settings: "ss02", "ss03";
}
#pricing-cycle-root [dir="ltr"],
#pricing-cycle-root .ltr,
#pricing-cycle-root .latin-nums,
#pricing-cycle-root code,
#pricing-cycle-root kbd,
#pricing-cycle-root samp,
#pricing-cycle-root pre {
    -moz-font-feature-settings: normal;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1240px, calc(100% - 1.5rem)); margin: 0 auto; }
@media (min-width: 640px) { .wrap { width: min(1240px, calc(100% - 2rem)); } }

.site-header {
    position: sticky; top: 0; z-index: 40;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(0, 23, 51, 0.06);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    min-height: var(--header-h); gap: .65rem;
    padding-block: .2rem;
}

.brand-block {
    display: inline-flex; align-items: center; gap: .7rem;
    flex-shrink: 0; min-width: 0;
}
.brand-mark {
    width: auto;
    height: 2.15rem;
    max-width: 6.5rem;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
}
.brand-copy {
    display: flex; flex-direction: column; gap: .12rem; min-width: 0;
    justify-content: center;
}
.brand-name {
    font-weight: 800; font-size: 0.98rem; letter-spacing: -.02em; line-height: 1.15;
    color: var(--ink);
    white-space: nowrap;
}
.brand-tagline {
    font-size: .7rem; color: var(--muted); font-weight: 500; line-height: 1.35;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 14rem;
}
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (max-width: 640px) {
    .brand-tagline { max-width: 9.5rem; }
}
@media (max-width: 420px) {
    .brand-name { font-size: 0.88rem; }
    .brand-tagline { display: none; }
}

.nav-desktop {
    display: none;
    list-style: none; margin: 0; padding: 0;
    align-items: center; gap: .15rem;
    flex: 1 1 auto; justify-content: center;
}
.nav-desktop > li {
    display: inline-flex; align-items: center;
}
.nav-desktop a {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .88rem; padding: .35rem .5rem; border-radius: .7rem;
    color: var(--ink); font-weight: 600;
    transition: color .15s ease, background .15s ease;
}
.nav-desktop a .tak-icon {
    font-size: .92rem; line-height: 1; color: var(--muted);
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
    color: var(--accent);
}
.nav-desktop a:hover .tak-icon,
.nav-desktop a[aria-current="page"] .tak-icon {
    color: var(--accent);
}

.nav-actions {
    display: none; align-items: center; gap: .55rem; flex-shrink: 0;
}
.nav-cta {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ink); color: #fff; font-weight: 700; font-size: .84rem;
    border-radius: var(--radius-control); padding: .4rem .95rem;
    min-height: 2.15rem; white-space: nowrap;
}
.nav-cta:hover { background: #0a2a4a; color: #fff; }
.nav-cta-soft {
    background: var(--cta); box-shadow: var(--shadow-cta);
}
.nav-cta-soft:hover { background: var(--cta-deep); }
.nav-ghost {
    display: inline-flex; align-items: center;
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    border-radius: var(--radius-control); padding: .5rem 1rem;
    font-weight: 700; font-size: .88rem; min-height: 2.45rem;
}
.nav-support {
    display: inline-flex; align-items: center; gap: .45rem;
    color: var(--ink); font-weight: 700; font-size: .88rem;
    max-width: 11rem;
}
.nav-support-icon {
    width: 2.1rem; height: 2.1rem; border-radius: 999px;
    background: var(--support); color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.nav-support-icon .tak-icon { font-size: .95rem; line-height: 1; }
.nav-support-text {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nav-mobile-tools { display: flex; align-items: center; gap: .45rem; }
.nav-mobile-cta {
    display: inline-flex; align-items: center; font-size: .85rem; font-weight: 700;
    padding: .5rem 1rem; border-radius: var(--radius-control);
    background: var(--cta); color: #fff; box-shadow: var(--shadow-cta);
}
.menu-btn {
    width: 2.35rem; height: 2.35rem; border: 1px solid var(--line); border-radius: .75rem;
    background: #fff; display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 4px; cursor: pointer; padding: 0;
}
.menu-btn span { display: block; width: 1.1rem; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-drawer { display: none; border-top: 1px solid var(--line); background: #fff; padding: .75rem 0 1rem; }
.mobile-drawer.is-open { display: block; }
.mobile-drawer a {
    display: flex; justify-content: flex-start; align-items: center; gap: .55rem;
    padding: .75rem .15rem; border-bottom: 1px solid var(--line); font-weight: 600;
}
.mobile-drawer a > span {
    display: inline-flex; align-items: center; gap: .55rem;
}
.mobile-drawer a .tak-icon {
    font-size: 1rem; color: var(--muted); flex-shrink: 0;
}
.mobile-drawer a.cta-block {
    margin-top: .75rem; justify-content: center; border: 0; border-radius: var(--radius-control);
    background: var(--cta); color: #fff; padding: .95rem; box-shadow: var(--shadow-cta);
}
.mobile-drawer a.ghost-block {
    justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-control);
    margin-top: .5rem; background: #f7fafb; padding: .85rem;
}
@media (min-width: 1100px) {
    .nav-desktop { display: flex; }
    .nav-actions { display: flex; }
    .nav-mobile-tools { display: none; }
    .mobile-drawer { display: none !important; }
}
@media (min-width: 1100px) and (max-width: 1280px) {
    .nav-support-text { display: none; }
    .nav-desktop a { padding: .4rem .4rem; font-size: .84rem; }
}
.footer {
    margin-top: auto;
    width: 100%;
    padding: .85rem 0;
    color: var(--ink-soft);
    font-size: .8rem;
    border-top: 0;
    background:
        linear-gradient(180deg, #d8eef1 0%, #c5e4e8 100%);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .65rem 1.25rem;
}
.footer-brand-row {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    flex: 0 1 auto;
    min-width: 0;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.footer-brand img {
    display: block;
    height: 1.65rem;
    width: auto;
}
.footer-copy {
    color: var(--ink-soft);
    font-weight: 600;
    white-space: nowrap;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem .9rem;
    margin: 0;
}
.footer a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer a:hover { color: var(--accent-deep); }
.footer-brand:hover { opacity: .85; }
body > .wrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
body > .wrap > .site-main {
    flex: 1 1 auto;
}
body > main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
body.menu-open { overflow: hidden; }
