@font-face {
  font-family: Vazirmatn;
  src: url("/assets/vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #152443;
  --muted: #465873;
  --blue: #244aba;
  --ice: #d5e3ff;
  --mint: #a9f3da;
  --line: #d7e2f4;
  --glass: rgba(255,255,255,.81);
  --shadow: 0 18px 45px #17396913;
  --ease: cubic-bezier(.21,.74,.26,1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; color: var(--ink); background: #f2f6fe; font: 400 16px/1.8 Vazirmatn,Tahoma,sans-serif; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,p { margin: 0; }
button,input,textarea,select { font: inherit; }
button,select,input[type=color],summary { cursor: pointer; }
:focus-visible { outline: 3px solid #bb680b; outline-offset: 4px; }
:focus:not(:focus-visible) { outline: none; }
.shell { width: min(1216px, calc(100% - 44px)); margin-inline: auto; }
.skip { position: fixed; z-index: 30; top: 9px; right: 9px; transform: translateY(-140%); background: white; color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { transform: none; }
.top { position: sticky; z-index: 8; top: 0; color: #eef4ff; background: #09162deb; border-bottom: 1px solid #aaccff26; backdrop-filter: blur(18px); }
.top-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 17px; }
.brand { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; flex: none; }
.brand img { border-radius: 10px; }
.brand strong,.brand small { display: block; line-height: 1.25; }
.brand strong { font-size: 23px; font-weight: 890; }
.brand small { font-size: 10px; margin-top: 3px; font-weight: 500; }
.top nav { display: flex; align-items: center; gap: clamp(12px,3vw,36px); font-weight: 560; color: #dce8ff; font-size: 14px; }
.top nav a { display: flex; align-items: center; min-height: 44px; }
.top nav a:hover { color: white; text-decoration: underline; text-underline-offset: 6px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 15px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 750; line-height: 1.3; white-space: nowrap; transition: background .2s, box-shadow .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: none; }
.button:disabled,.link-button:disabled { cursor: wait; opacity: .68; transform: none; }
.button svg,.service-icon svg,.value-bar svg,.hero-note svg { width: 19px; height: 19px; flex: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.top-entry,.quiet { color: #f2f7ff; background: #7aade42b; border-color: #b8d6ff57; }
.top-entry:hover,.quiet:hover { background: #8ac1fa42; }
.primary { background: #b7f5e1; color: #112d37; border-color: #cef8eb; box-shadow: 0 7px 25px #66dfc832; }
.primary:hover { background: #d5ffef; }
.solid { background: var(--blue); color: #fff; }
.solid:hover { background: #19378e; }
.outline { background: white; color: var(--ink); border-color: #cbd9ef; }
.hero { isolation: isolate; overflow: clip; position: relative; color: #f4f8ff; background: radial-gradient(ellipse at 17% 45%,#233e7e 0%,#13274f 47%,#0a162e 78%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(270deg,#07132c 12%,#07132c87 51%,#07132c00 77%),linear-gradient(0deg,#08142e 0%,transparent 17%); }
.hero-light { position: absolute; z-index: -2; inset: 0 auto 0 0; width: min(100%,1040px); opacity: .79; background: url("/assets/hero.webp") center 48% / cover no-repeat; }
.hero-layout { min-height: 630px; display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: clamp(28px,6vw,92px); padding-block: 59px 79px; }
.hero-copy { max-width: 555px; animation: rise .74s both var(--ease); }
.flag { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #9dd2f04f; color: #dbf5ff; background: #8ec4f318; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 650; }
.flag span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px #a7f9d7; }
.hero h1 { font-size: clamp(48px,5.35vw,82px); line-height: 1.12; letter-spacing: -.059em; font-weight: 900; margin: 19px 0 16px; }
.hero h1 em { color: #b6f5df; font: inherit; }
.hero-summary { color: #d7e4fd; font-size: clamp(15px,1.35vw,19px); max-width: 432px; line-height: 1.9; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.hero-note { display: flex; align-items: center; gap: 7px; color: #d2e4f9; font-size: 12px; margin-top: 14px; }
.hero-note svg { color: var(--mint); width: 15px; }
.hero-visual { position: relative; align-self: center; min-width: 0; margin-inline: 4px 16px; animation: rise .88s .13s both var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: none; } }
.visual-orbit { position: absolute; inset: -18px 7% -18px 1%; border: 1px solid #c2e8ff38; border-radius: 40%; transform: rotate(-13deg); pointer-events: none; }
.visual-dash { position: relative; isolation: isolate; border: 1px solid #c2e8ff6e; border-radius: 22px; background: linear-gradient(145deg,#bcd7ff43,#203d7faa); box-shadow: 0 25px 70px #030e2a9f,inset 0 1px #e0eeff4f; backdrop-filter: blur(17px); overflow: hidden; }
.dash-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 11px 15px; text-align: center; font-size: 11px; background: #1429578c; border-bottom: 1px solid #9bbbe84d; }
.dash-top div { display: flex; gap: 4px; }
.dash-top div i { width: 6px; height: 6px; border-radius: 50%; background: #bfd2ff; opacity: .7; }
.dash-dot { background: #b5f6d9; width: 7px; height: 7px; border-radius: 50%; margin-inline-start: auto; }
.dash-content { padding: clamp(12px,3vw,30px); }
.dash-overview { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dash-overview div small,.dash-overview div strong { display: block; }
.dash-overview div small { color: #d1e1fc; font-size: 11px; }
.dash-overview div strong { font-size: clamp(15px,2.05vw,25px); line-height: 1.55; }
.dash-overview > span { flex: none; color: #c9ffeb; background: #214944ba; padding: 4px 9px; border: 1px solid #a3ffdb57; border-radius: 999px; font-size: 10px; }
.dash-timeline { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; font-size: 11px; margin-block: 20px; color: #d8e4fc; }
.dash-timeline span { display: flex; min-width: 0; align-items: center; gap: 4px; flex-wrap: wrap; }
.dash-timeline i { width: 100%; height: 4px; border-radius: 3px; background: #6c81b2; }
.dash-timeline span:nth-child(-n+2) i { background: #85b1ec; }
.dash-timeline .now { color: #c9ffe6; }
.dash-timeline .now i { background: #aff0d7; box-shadow: 0 0 13px #8ed8d777; }
.dash-preview { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; }
.dash-preview > div { border: 1px solid #98b3e661; border-radius: 9px; padding: 11px; min-height: 131px; overflow: hidden; }
.dash-art { position: relative; isolation: isolate; background: radial-gradient(ellipse at 15% 65%,#435bb7,#182758 75%); }
.dash-art b,.dash-aside span { font-size: 11px; font-weight: 700; }
.dash-art > span { display: block; position: absolute; width: 44%; height: 5px; background: #aebcf6; border-radius: 4px; bottom: 18px; box-shadow: 0 -10px #c8d6ff9c; }
.mock-letter { position: absolute; width: 70%; height: 89%; left: -14%; bottom: -39%; border: 23px solid #9edbf67a; border-radius: 37%; transform: rotate(-22deg); box-shadow: 0 0 23px #a8ccfb64,inset 0 0 10px #a7d2ff61; }
.dash-aside { background: #20366fad; }
.dash-aside > div { display: flex; gap: 5px; margin: 12px 0 4px; }
.dash-aside i { width: 17px; height: 17px; background: #b0f2e1; border-radius: 50%; }
.dash-aside i:nth-child(2) { background: #9cbaff; }.dash-aside i:nth-child(3) { background: #c9b7f0; }
.dash-aside small { color: #d0ddf5; font-size: 10px; }
.floating-note { position: absolute; bottom: -23px; left: -18px; display: flex; align-items: center; gap: 8px; padding: 9px 11px; background: #e9f4ffed; color: #172844; border: 1px solid #eaf5ff; border-radius: 13px; box-shadow: 0 13px 35px #061c4c61; }
.floating-note b,.floating-note small { display: block; line-height: 1.45; }
.floating-note b { font-size: 12px; }.floating-note small { color: #475c7b; font-size: 10px; }
.value-bar { border-bottom: 1px solid #d5e2f7; background: #e7effd; }
.value-bar .shell { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 17px; }
.value-bar span { display: flex; justify-content: center; align-items: center; gap: 8px; color: #263a65; font-size: 14px; font-weight: 720; }
.value-bar span + span { border-inline-start: 1px solid #ccdafa; }
.value-bar svg { color: #304ca9; }
.section { padding-block: 80px; }
.section-head { max-width: 570px; margin-bottom: 24px; }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 750; margin-bottom: 4px; }
.section h2,.closing h2 { font-size: clamp(32px,4vw,54px); font-weight: 890; line-height: 1.22; letter-spacing: -.044em; }
.section-head > p:last-child,.closing p { color: var(--muted); margin-top: 9px; }
.glass { border: 1px solid #d7e2f5; border-radius: 16px; background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(13px); }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.service { padding: 22px; min-height: 174px; }
.service-icon { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: #2c4aab; background: #e2eaff; }
.service-icon.aqua { background: #dcf6ef; color: #215f55; }.service-icon.violet { background: #eee7fc; color: #584096; }
.service h3,.steps h3 { line-height: 1.4; margin: 10px 0 4px; font-size: 20px; }
.service p,.steps p { color: var(--muted); }
.process-band { background: radial-gradient(ellipse at 15% 0%,#dce9ff,#eaf0fe 58%,#e9f6f3); border-block: 1px solid #d5e2f7; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.steps li { border-top: 1px solid #a7bde8; padding-top: 12px; }
.steps span { color: #1e48ae; font-size: 17px; font-weight: 820; }
.steps h3 { margin-top: 3px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: 20px; }
.faq details,.subform,.record details { border: 1px solid var(--line); background: white; border-radius: 10px; padding-inline: 13px; margin-bottom: 7px; }
summary { font-weight: 730; padding: 9px 0; min-height: 44px; }
.faq details p { padding-bottom: 12px; color: var(--muted); }
.closing { padding: clamp(18px,5vw,55px); display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid #a9bee9; border-radius: 21px; background: radial-gradient(ellipse at 0% 90%,#293e79,#12264b 66%,#112245); color: white; }
.closing h2 { font-size: clamp(26px,3.7vw,46px); }.closing p { color: #d7e4ff; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 13px; padding-block: 23px; }
.footer > span,.footer > a:last-child { color: var(--muted); font-size: 13px; }
.reveal.pending { opacity: 0; transform: translateY(24px); }
.reveal { transition: opacity .64s var(--ease), transform .64s var(--ease); }
.service:nth-child(2),.steps li:nth-child(2) { transition-delay: 50ms; }
.service:nth-child(3),.steps li:nth-child(3) { transition-delay: 100ms; }.steps li:nth-child(4) { transition-delay: 150ms; }

.workspace { background: radial-gradient(ellipse at 15% 12%,#dce8fe,transparent 44%),radial-gradient(ellipse at 100% 75%,#dcefeb,transparent 56%),#f3f6fc; min-height: 100vh; }
.panel-top { border-bottom: 1px solid #d5e1f8; background: #f7faffb8; backdrop-filter: blur(14px); }
.panel-top .top-inner { justify-content: start; gap: 8px; }
.panel-top .brand { margin-inline-end: auto; }
.panel-main { padding-block: 40px 74px; }
.auth { width: min(100%,460px); margin: clamp(10px,6vh,70px) auto 0; padding: clamp(17px,4vw,35px); }
.auth h1,.portal-head h1 { font-size: clamp(26px,4vw,39px); line-height: 1.27; font-weight: 870; letter-spacing: -.03em; }
.auth > p:not(.feedback) { color: var(--muted); margin-block: 9px 15px; }
.auth-mark { width: 53px; height: 53px; margin-bottom: 12px; }
.auth form { display: grid; gap: 7px; }
.auth form .solid { margin-top: 5px; }
.auth-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.link-button { min-height: 44px; background: transparent; border: 0; color: var(--blue); font-weight: 660; }
.demo-tip { font-size: 13px; padding: 8px 10px; border-radius: 7px; background: #edf4ff; }
.feedback { color: #234c91; font-size: 14px; margin-block: 8px; }
.feedback.error { color: #9f302f; }
.feedback:empty { display: none; }
.portal-head { display: flex; gap: 13px; align-items: center; justify-content: space-between; padding: 20px; margin-bottom: 12px; }
.portal-head #account { color: var(--muted); margin-top: 5px; }
.portal-layout { display: grid; grid-template-columns: 185px minmax(0,1fr); gap: 12px; }
.side { display: grid; align-content: start; gap: 3px; padding: 8px; align-self: start; }
.side button { min-height: 44px; text-align: start; border: 1px solid transparent; background: transparent; color: var(--ink); border-radius: 8px; padding: 4px 9px; }
.side button[aria-current=page] { font-weight: 760; color: #243f9b; background: #e7efff; border-color: #d4e2ff; }
.pane { padding: clamp(12px,3vw,23px); min-width: 0; }
.pane h2 { font-size: clamp(23px,3vw,32px); font-weight: 860; line-height: 1.35; }
.lead { margin-block: 5px 13px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 9px; margin-top: 10px; }
.form-grid > label,.auth label { display: block; font-weight: 680; }
.form-grid > label > span,.form-grid small { color: var(--muted); font-size: 12px; font-weight: 490; }
.form-grid small { display: block; margin-top: 3px; }.full { grid-column: 1/-1; }
input:not([type=checkbox]),select,textarea { display: block; width: 100%; min-width: 0; color: var(--ink); min-height: 46px; border: 1px solid #b3c5de; border-radius: 7px; padding: 7px 9px; background: #fdfefe; }
.form-grid :is(input,select,textarea) { margin-top: 4px; }
textarea { resize: vertical; }
input[type=color] { max-width: 82px; padding: 4px; }
input[type=file] { font-size: 14px; }
.switches { display: flex; flex-wrap: wrap; gap: 3px 12px; margin: 0; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; }
.switches label { display: inline-flex; align-items: center; min-height: 44px; gap: 4px; }
.switches legend { color: var(--muted); padding-inline: 6px; }
.records { display: grid; gap: 8px; margin-top: 10px; }
.record { padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: white; overflow-wrap: anywhere; }
.record-head { display: flex; justify-content: space-between; align-items: start; gap: 7px; flex-wrap: wrap; }
.record h3 { font-size: 18px; }.record p { white-space: pre-wrap; }
.pill { font-size: 12px; font-weight: 700; display: inline-block; border-radius: 999px; padding: 2px 9px; background: #e7efff; color: #26438a; }
.record details { margin-top: 7px; margin-bottom: 0; background: #fbfdff; }
.record details > *:last-child:not(summary) { margin-bottom: 9px; }
.record a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.record .stage-list { display: flex; flex-wrap: wrap; gap: 4px 7px; list-style: none; margin: 10px 0; padding: 0; font-size: 12px; }
.stage-list li { padding: 3px 8px; border-radius: 6px; border: 1px solid #dbe4f1; color: #4f607a; }
.stage-list .past { background: #e5f3ef; color: #205847; }.stage-list [aria-current=step] { background: #263f9b; color: white; border-color: #263f9b; }
.event-list { padding-inline-start: 22px; color: var(--muted); }.event-list time,.message time { color: var(--muted); font-size: 12px; margin-inline-start: 5px; }
.message { margin-block: 7px; padding: 8px; background: #eef4ff; border-radius: 7px; }
.subform form { margin-bottom: 11px; }
.admin-grid { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 12px; align-items: start; }
.admin-tickets { grid-column: 1/-1; }
.empty { color: var(--muted); padding: 12px; border: 1px dashed #a7bbd8; border-radius: 8px; }
@media(max-width:900px) { .hero-layout{min-height:525px}.hero h1{font-size:clamp(42px,6.5vw,68px)}.steps{grid-template-columns:repeat(2,minmax(0,1fr))}.section{padding-block:55px} }
@media(max-width:700px) {
  .shell{width:calc(100% - 28px)}.top-inner{min-height:65px;gap:5px}.top nav{display:none}.brand strong{font-size:20px}.brand img{width:34px;height:34px}.brand small{font-size:9px}.button{min-height:45px;padding-inline:10px;font-size:13px}
  .hero-layout{display:block;padding-block:39px 55px;min-height:0}.hero-copy{max-width:unset}.hero h1{font-size:clamp(47px,10vw,68px)}.hero-summary{font-size:16px}.hero-light{width:100%;opacity:.48}.hero::after{background:linear-gradient(0deg,#091730d9,transparent 45%,#091730b0)}
  .hero-visual{margin:28px 0 8px}.floating-note{left:4px;bottom:-16px}.dash-content{padding:13px}.dash-preview >div{min-height:88px}.dash-timeline{margin-block:10px 15px}
  .value-bar .shell{gap:5px}.value-bar span{font-size:11px;flex-direction:column;gap:3px;text-align:center}.value-bar svg{width:16px}
  .service-grid,.faq-layout{grid-template-columns:1fr}.service{min-height:0;padding:14px}.section{padding-block:42px}.closing{align-items:start;flex-direction:column}.footer>span{display:none}
  .portal-layout,.admin-grid{grid-template-columns:1fr}.side{grid-template-columns:repeat(4,minmax(0,1fr));padding:4px}.side button{text-align:center;font-size:12px;padding:4px}.portal-head{padding:12px;align-items:start;flex-direction:column}.panel-main{padding-block:18px 45px}
}
@media(max-width:430px) { .form-grid{grid-template-columns:1fr}.hero h1{font-size:clamp(40px,11vw,49px)}.brand{gap:5px}.hero-note{font-size:11px}.auth{margin-top:9px}.dash-timeline{font-size:10px} }
@media(prefers-reduced-motion:reduce) { html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}.reveal.pending{opacity:1;transform:none} }
