:root {
    --brand-red: #be1a21;
    --brand-red-dark: #a71219;
    --ink: #181616;
    --muted: #706b68;
    --paper: #fbfaf7;
    --canvas: #e9e5df;
    --line: #e6e0da;
    --white: #ffffff;
    --shadow: 0 34px 90px rgba(34, 26, 22, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--canvas);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 14%, rgba(190, 26, 33, 0.08), transparent 26rem),
        linear-gradient(135deg, #f3f0eb 0%, var(--canvas) 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
a {
    font: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(190, 26, 33, 0.25);
    outline-offset: 3px;
}

.page-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 56px);
}

.notice-card {
    width: 100%;
    max-width: 1240px;
    min-height: min(780px, calc(100vh - 80px));
    display: grid;
    grid-template-columns: minmax(390px, 0.84fr) minmax(520px, 1.16fr);
    overflow: hidden;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.brand-panel {
    position: relative;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--brand-red);
}

.brand-panel::before,
.brand-panel::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.brand-panel::before {
    width: 31rem;
    height: 31rem;
    top: -14rem;
    left: -13rem;
}

.brand-panel::after {
    width: 22rem;
    height: 22rem;
    right: -11rem;
    bottom: -9rem;
}

.brand-frame {
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.brand-logo {
    width: min(100%, 520px);
    height: auto;
    display: block;
}

.brand-url {
    position: absolute;
    right: 45px;
    bottom: 40px;
    color: rgba(255, 255, 255, 0.72);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.67rem;
    letter-spacing: 0.24em;
}

.content-panel {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: clamp(36px, 5.5vw, 76px) clamp(32px, 6vw, 88px) 34px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.eyebrow-line {
    width: 34px;
    height: 2px;
    background: var(--brand-red);
}

.language-switcher {
    height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    direction: rtl;
}

.language-switcher > span {
    width: 1px;
    height: 14px;
    background: var(--line);
}

.language-button {
    min-width: 41px;
    height: 32px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    color: #8e8884;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease;
}

.language-button:hover {
    color: var(--brand-red);
}

.language-button.is-active {
    color: var(--white);
    background: var(--brand-red);
}

.message-block {
    margin-top: clamp(64px, 10vh, 108px);
}

.status-pill {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--brand-red-dark);
    background: rgba(190, 26, 33, 0.08);
    font-size: 0.73rem;
    font-weight: 700;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-red);
    box-shadow: 0 0 0 5px rgba(190, 26, 33, 0.1);
}

h1 {
    max-width: 600px;
    font-family: Georgia, "Times New Roman", Tahoma, serif;
    font-size: clamp(2.6rem, 4.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

html[lang="fa"] .content-panel {
    font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
}

html[lang="fa"] h1 {
    font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
    font-size: clamp(2.15rem, 3.4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
}

.brand-period {
    color: var(--brand-red);
}

.lead {
    max-width: 590px;
    margin-top: 28px;
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 2;
}

.note {
    max-width: 570px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.95;
}

.contact-area {
    margin-top: auto;
    padding-top: 46px;
}

.contact-label {
    margin-bottom: 13px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-link {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--white);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    border-color: rgba(190, 26, 33, 0.38);
    box-shadow: 0 10px 24px rgba(36, 24, 20, 0.07);
}

.contact-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--brand-red);
}

.contact-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.contact-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-copy small {
    color: var(--muted);
    font-size: 0.65rem;
}

.contact-copy strong {
    font-family: Arial, sans-serif;
    font-size: clamp(0.76rem, 1vw, 0.88rem);
    white-space: nowrap;
}

.contact-arrow {
    margin-inline-start: auto;
    color: var(--brand-red);
    font-family: Arial, sans-serif;
    font-size: 1rem;
}

.footer {
    display: flex;
    align-items: center;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #746e6a;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.8;
}

html[lang="en"] .content-panel {
    direction: ltr;
    font-family: Arial, sans-serif;
}

html[lang="en"] h1 {
    max-width: 660px;
    font-size: clamp(1.9rem, 4vw, 3.5rem);
    line-height: 1.08;
    white-space: nowrap;
}

html[lang="en"] .eyebrow {
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

html[lang="en"] .language-switcher {
    direction: ltr;
}

@media (max-width: 980px) {
    .page-shell {
        padding: 0;
    }

    .notice-card {
        min-height: 100vh;
        grid-template-columns: minmax(300px, 0.75fr) minmax(460px, 1.25fr);
    }

    .content-panel {
        padding-inline: clamp(28px, 5vw, 54px);
    }

    .contact-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .page-shell {
        display: block;
        width: 100%;
    }

    .notice-card {
        display: block;
        width: 100%;
        max-width: none;
    }

    .brand-panel {
        min-height: 285px;
    }

    .brand-frame {
        inset: 14px;
    }

    .brand-logo {
        width: 390px;
        max-width: 100%;
        margin-top: -14px;
    }

    .brand-url {
        right: 28px;
        bottom: 24px;
    }

    .content-panel {
        width: 100%;
        min-height: calc(100vh - 285px);
        overflow: hidden;
        padding: 30px 24px 26px;
    }

    .message-block {
        margin-top: 58px;
    }

    h1 {
        max-width: 100%;
        font-size: clamp(2.55rem, 12vw, 4rem);
        overflow-wrap: anywhere;
    }

    .contact-area {
        padding-top: 42px;
    }

    .footer {
        margin-top: 30px;
    }
}

@media (max-width: 420px) {
    .brand-panel {
        min-height: 235px;
    }

    .brand-logo {
        width: 320px;
        max-width: 100%;
    }

    .content-panel {
        min-height: calc(100vh - 235px);
        padding-inline: 20px;
    }

    .eyebrow-line {
        width: 22px;
    }

    .message-block {
        margin-top: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
