@font-face {
    font-family: Vazirmatn;
    src: url('/assets/vazirmatn.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}
:root {
    --bg: #e9eef6;
    --card: #fff;
    --text: #10264b;
    --muted: #607089;
    --line: #cbd6e5;
    --brand: #b8893f;
    --green: #33875c;
    --radius: 18px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: Vazirmatn, Tahoma, sans-serif;
}
button,
input {
    font: inherit;
}
button,
a {
    color: inherit;
}
a {
    text-decoration: none;
}
svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.topbar {
    width: min(720px, calc(100% - 32px));
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    border-bottom: 1px solid var(--line);
}
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}
.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: var(--text);
}
.brand-mark img {
    display: block;
    width: 39px;
    height: 39px;
    object-fit: contain;
}
.brand-mark2 {
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: var(--text);
}
.brand-mark2 img {
    display: block;
    width: 89px;
    height: 89px;
    object-fit: contain;
}
.brand strong,
.brand small {
    display: block;
}
.brand strong {
    font-size: 14px;
    direction: ltr;
    text-align: right;
}
.brand small {
    margin-top: 1px;
    color: var(--muted);
    font-size: 9px;
}
.quiet-button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    cursor: pointer;
}
.quiet-button svg {
    width: 18px;
    height: 18px;
}
.page-shell {
    width: min(680px, calc(100% - 32px));
    margin: auto;
}
.intro {
    padding: 68px 0 38px;
    text-align: center;
}
.verified {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 10px;
}
.verified i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px #e5f1ea;
}
.intro h1 {
    margin: 18px 0 13px;
    font-size: clamp(35px, 7vw, 49px);
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -0.05em;
}
.intro p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}
.search-box {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    margin-bottom: 42px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--card);
    box-shadow: 0 7px 22px rgba(16, 38, 75, 0.07);
}
.search-box svg {
    width: 18px;
    height: 18px;
    color: var(--muted);
}
.search-box input {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 12px;
}
.search-box input::placeholder {
    color: #8b97a9;
}
.link-group {
    margin-bottom: 34px;
}
.link-group h2 {
    margin: 0 3px 10px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 550;
}
.simple-links {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 5px 20px rgba(20, 42, 82, 0.035);
}
.simple-links > a {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
    padding: 12px 15px;
    transition: background 0.18s;
}
.simple-links > a + a {
    border-top: 1px solid var(--line);
}
.simple-links > a:hover {
    background: #f7f9fc;
}
.link-icon {
    width: 43px;
    min-width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: #e8eef6;
    color: #142a52;
}
.link-icon svg {
    width: 20px;
    height: 20px;
}
.link-icon img {
    display: block;
    width: auto !important;
    max-width: 29px !important;
    height: auto !important;
    max-height: 29px !important;
    padding: 0 !important;
    object-fit: contain;
}
.link-copy {
    min-width: 0;
}
.link-copy strong,
.link-copy small {
    display: block;
}
.link-copy strong {
    font-size: 13px;
    font-weight: 650;
}
.link-copy small {
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.link-end {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #909bad;
}
.link-end small {
    max-width: 130px;
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.link-end > svg {
    width: 14px;
    height: 14px;
}
.empty-search {
    padding: 30px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}
.share-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 54px 0 70px;
    padding: 22px;
    border: 1px solid #263f68;
    border-radius: var(--radius);
    background: #142a52;
    color: #fff;
    box-shadow: 0 12px 30px rgba(16, 38, 75, 0.16);
}
.share-card strong,
.share-card span {
    display: block;
}
.share-card strong {
    font-size: 12px;
}
.share-card span {
    margin-top: 4px;
    color: #bdc9da;
    font-size: 9px;
}
.share-card button {
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 11px;
    background: #fff;
    color: #142a52;
    font-size: 9px;
    font-weight: 650;
    cursor: pointer;
}
.simple-footer {
    width: min(680px, calc(100% - 32px));
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
}
.qr-dialog {
    width: min(390px, calc(100% - 28px));
    padding: 24px;
    border: 0;
    border-radius: 22px;
    background: var(--bg);
    box-shadow: 0 25px 90px rgba(0, 0, 0, 0.3);
}
.qr-dialog::backdrop {
    background: rgba(20, 21, 18, 0.65);
    backdrop-filter: blur(4px);
}
.dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.dialog-head strong,
.dialog-head span {
    display: block;
}
.dialog-head strong {
    font-size: 15px;
}
.dialog-head span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}
.dialog-head button {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    cursor: pointer;
}
.dialog-head svg {
    width: 16px;
    height: 16px;
}
.qr-frame {
    width: 220px;
    height: 220px;
    display: grid;
    place-items: center;
    margin: 24px auto;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
}
.qr-frame img,
.qr-frame canvas,
#qr-code {
    width: 198px !important;
    height: 198px !important;
}
.copy-address {
    width: 100%;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: white;
    font-size: 10px;
    cursor: pointer;
}
.toast {
    position: fixed;
    z-index: 10;
    bottom: 20px;
    left: 50%;
    padding: 10px 16px;
    transform: translate(-50%, 20px);
    border-radius: 10px;
    background: var(--text);
    color: white;
    opacity: 0;
    pointer-events: none;
    font-size: 10px;
    transition: 0.2s;
}
.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}
:focus-visible {
    outline: 3px solid rgba(169, 121, 54, 0.3);
    outline-offset: 2px;
}
@media (max-width: 560px) {
    .intro {
        padding-top: 50px;
    }
    .intro h1 {
        font-size: 36px;
    }
    .link-end small {
        display: none;
    }
    .share-card {
        align-items: flex-start;
        flex-direction: column;
    }
    .share-card button {
        width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
