:root{
  --bg:#F7F6F2;
  --blue:#1758C8;
  --orange:#F7941D;
  --text:#0f172a;
  --safe: clamp(18px, 4vw, 44px);
  --frameW: min(860px, calc(100vw - (var(--safe) * 2)));
  --logoW: clamp(120px, 20vw, 220px);
  --brandW: clamp(170px, 36vw, 380px);
  --gap: clamp(12px, 2.2vw, 26px);
  --border: rgba(15,23,42,.18);
  --radius: 28px;
}
@font-face{
  font-family: "IRANSans";
  src: url("./fonts/IRANSans.ttf") format("truetype");
  font-display: swap;
}
@font-face{
  font-family: "Samim";
  src: url("./fonts/Samim.woff2") format("woff2");
  font-display: swap;
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
html, body, *{
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42'><circle cx='14' cy='14' r='9' fill='%23F7941D' fill-opacity='0.30'/><circle cx='14' cy='14' r='4.2' fill='%23F7941D'/></svg>") 14 14, auto !important;
}
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  display:grid;
  place-items:center;
}
.wrap{
  width:100%;
  max-width:980px;
  padding:var(--safe);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
}
.brand-link{
  width:var(--frameW);
  display:block;
  text-decoration:none;
  color:inherit;
  -webkit-tap-highlight-color: transparent;
  user-select:none;
  -webkit-user-select:none;
  -ms-user-select:none;
}
.brand-frame{
  width:100%;
  padding:clamp(16px,3.6vw,36px);
  border:2px solid var(--border);
  border-radius:var(--radius);
}
.brand-lockup{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:var(--gap);
  flex-wrap:wrap;
  user-select:none;
  -webkit-user-select:none;
  -ms-user-select:none;
}
.brand-lockup img{
  max-width:100%;
  height:auto;
  display:block;
  pointer-events:none;
  user-select:none;
  -webkit-user-select:none;
  -ms-user-select:none;
  -webkit-user-drag:none;
  user-drag:none;
}
.logo{ width:var(--logoW); min-width:110px; }
.brand{ width:var(--brandW); min-width:160px; }
section.notice{
  width:var(--frameW);
  padding:clamp(18px,3.2vw,28px);
  border-radius:22px;
  background:var(--bg);
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 16px 45px rgba(2,6,23,.10);
  display:flex;
  flex-direction:column;
  gap:14px;
  direction:rtl;
  text-align:right;
  user-select:none;
}
.notice .pill{
  width:fit-content;
  display:flex;
  align-items:center;
  gap:10px;
  margin-inline-end:auto;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(247,148,29,.18);
  border:1px solid rgba(247,148,29,.45);
  font-family:"IRANSans",system-ui,sans-serif;
  font-weight:900;
  font-size:13px;
  color:#7a3f00;
  white-space:nowrap;
}
.pill .mi{
  font-family:"Material Symbols Rounded";
  font-weight:400;
  font-size:22px;
  line-height:1;
  color:currentColor;
  transform:translateY(1px);
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}
[dir="rtl"] .pill .mi{ transform:translateY(1px) scaleX(-1); }
h1{
  margin:0;
  font-family:"IRANSans",sans-serif;
  font-weight:900;
  font-size:clamp(20px,3vw,34px);
  line-height:1.7;
}
.notice p.desc{
  margin:0;
  font-family:"Samim",sans-serif;
  font-weight:800;
  font-size:clamp(14px,1.4vw,16px);
  line-height:2;
  color:rgba(15,23,42,.72);
  text-align:justify;
  text-align-last:right;
  text-justify:inter-word;
  word-spacing:0.04em;
  overflow-wrap:break-word;
}
.divider{ height:1px; background:rgba(15,23,42,.10); }
.bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.loading{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:"IRANSans";
  font-weight:900;
  color:rgba(23,88,200,.95);
  white-space:nowrap;
}
.dots{ display:inline-flex; gap:4px; }
.dot{
  width:6px; height:6px;
  border-radius:50%;
  background:var(--orange);
  opacity:.35;
  animation:pulse 1.2s infinite ease-in-out;
}
.dot:nth-child(2){ animation-delay:.15s; }
.dot:nth-child(3){ animation-delay:.3s; }
@keyframes pulse{
  0%,100%{ opacity:.35; }
  50%{ opacity:1; }
}
.help{
  margin:0;
  font-family:"Samim";
  font-weight:800;
  color:rgba(15,23,42,.65);
}
.help a{
  color:var(--blue);
  text-decoration:none;
  font-weight:900;
}
.help a:hover{ text-decoration:underline; }
section.contact{
  width:var(--frameW);
  padding:clamp(18px,3.2vw,28px);
  border-radius:22px;
  background:var(--bg);
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 16px 45px rgba(2,6,23,.10);
  display:flex;
  flex-direction:column;
  gap:12px;
  direction:rtl;
  text-align:right;
  user-select:none;
}
.contact h2{
  margin:0;
  font-family:"IRANSans",sans-serif;
  font-weight:900;
  font-size:clamp(16px,2.2vw,22px);
  line-height:1.9;
}
.contact form{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.form-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
.field label{
  display:block;
  margin:0 0 6px;
  font-family:"IRANSans";
  font-weight:900;
  font-size:13px;
  color:rgba(15,23,42,.85);
}
.field input,
.field textarea{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.55);
  padding:12px 12px;
  font-family:"Samim","IRANSans",system-ui,sans-serif;
  font-weight:800;
  font-size:14px;
  outline:none;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
  user-select:text;
  -webkit-user-select:text;
}
.field.message{ grid-column:1 / -1; }
.field textarea{
  min-height: clamp(220px, 34vh, 360px);
  resize:vertical;
}
.field input:focus,
.field textarea:focus{
  border-color: rgba(23,88,200,.45);
  box-shadow: 0 10px 26px rgba(23,88,200,.14);
  background: rgba(255,255,255,.75);
}
.actions-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:2px;
}
.captcha-normal{
  display:flex;
  flex-direction:column;
  gap:0;
  align-items:flex-start;
  justify-content:flex-end;
  user-select:none;
}
.captcha-box{
  transform: scale(.92);
  transform-origin: 100% 100%;
}
.btn{
  border:none;
  border-radius:999px;
  padding:12px 54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:"IRANSans";
  font-weight:900;
  background:var(--blue);
  color:white;
  box-shadow:0 10px 25px rgba(2,6,23,.12);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  user-select:none;
  white-space:nowrap;
  position:relative;
  min-height:46px;
  flex: 0 0 auto;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow:0 14px 30px rgba(2,6,23,.16);
}
.btn:disabled{
  opacity:.65;
  transform:none;
}
.btn .btn-text{
  display:inline-block;
  text-align:center;
  line-height:1;
}
.btn .mi{
  font-family:"Material Symbols Rounded";
  font-weight:400;
  font-size:22px;
  line-height:1;
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  position:absolute;
  inset-inline-end:16px;
  top:50%;
  transform: translateY(-50%) scaleX(-1);
  pointer-events:none;
}
@media (max-width:640px){
  .bottom{ flex-direction:column; align-items:flex-start; }
  .form-grid{ grid-template-columns:1fr; }
  .field.message{ grid-column:auto; }
  .actions-row{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .btn{ width:100%; }
  .captcha-normal{
    align-items:center;
    text-align:center;
  }
  .captcha-box{
    transform: scale(.92);
    transform-origin: 50% 50%;
  }
}
.modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
  opacity:0;
  pointer-events:none;
  transition: opacity 380ms ease;
}
.modal.is-open{
  opacity:1;
  pointer-events:auto;
}
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,6,23,.55);
  backdrop-filter: blur(4px);
  opacity:0;
  transition: opacity 420ms ease;
}
.modal.is-open .modal-backdrop{ opacity:1; }
.modal-card{
  position:relative;
  width:min(520px, 100%);
  border-radius:22px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(247,246,242,.96);
  box-shadow:0 30px 80px rgba(2,6,23,.35);
  padding:18px 18px 14px;
  direction:rtl;
  text-align:right;
  transform: translateY(14px) scale(.98);
  opacity:0;
  transition: transform 460ms cubic-bezier(.2,.9,.2,1), opacity 460ms ease;
  will-change: transform, opacity;
}
.modal.is-open .modal-card{
  transform: translateY(0) scale(1);
  opacity:1;
}
.modal.is-closing{
  opacity:0;
  pointer-events:none;
}
.modal.is-closing .modal-backdrop{ opacity:0; }
.modal.is-closing .modal-card{
  transform: translateY(10px) scale(.985);
  opacity:0;
}
.modal-title{
  margin:0 0 8px;
  font-family:"IRANSans";
  font-weight:900;
  font-size:16px;
  line-height:1.9;
  color: var(--orange);
}
.modal-text{
  margin:0 0 14px;
  font-family:"Samim";
  font-weight:800;
  font-size:14px;
  line-height:2;
  color:rgba(15,23,42,.78);
  white-space:pre-line;
}
.modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
}
.modal-ok{
  border:none;
  border-radius:999px;
  padding:10px 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:"IRANSans";
  font-weight:900;
  background: var(--blue);
  color:#fff;
  box-shadow:0 10px 25px rgba(2,6,23,.12);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  user-select:none;
  white-space:nowrap;
}
.modal-ok:hover{
  transform: translateY(-1px);
  box-shadow:0 14px 30px rgba(2,6,23,.16);
}
.modal-ok:active{ transform: translateY(0); }
.site-footer{
  width: var(--frameW);
  margin-top: -14px;
  padding: 10px 0 0;
}
.copyright{
  direction: ltr;
  text-align: left;
  font-family: "Samim","IRANSans",system-ui,sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: rgba(15,23,42,.55);
  user-select: none;
}
.copyright .license-link{
  color: #1758C8;
  text-decoration: none;
  cursor: pointer;
}
.copyright .license-link:hover{
  text-decoration: underline;
}
.js .reveal{
  opacity: 0;
  will-change: transform, opacity;
}
.js .reveal[data-effect="fade-up"]{
  transform: translateY(18px);
}
.js .reveal[data-effect="zoom-out"]{
  transform: scale(1.07);
}
.js .reveal[data-effect="slide-right"]{
  transform: translateX(28px);
}
.js .reveal.is-inview{
  opacity: 1;
  transform: none;
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(.2,.9,.2,1);
}
.notice p.desc.is-typing{
  position: relative;
}
.notice p.desc.is-typing::after{
  content: "";
  display: inline-block;
  width: 10px;
  height: 1.1em;
  margin-inline-start: 2px;
  border-inline-end: 2px solid rgba(15,23,42,.55);
  transform: translateY(2px);
  animation: caretBlink 900ms steps(2, end) infinite;
}
@keyframes caretBlink{
  0%, 49%{ opacity: 1; }
  50%, 100%{ opacity: 0; }
}

@media (prefers-reduced-motion: reduce){
  .js .reveal,
  .js .reveal.is-inview{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .notice p.desc.is-typing::after{
    animation: none !important;
  }
}
.copyright{ display:block; }
