@font-face {
  font-family: Vazirmatn;
  src: local("Vazirmatn"), url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@33.003/fonts/webfonts/Vazirmatn%5Bwght%5D.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #15203b;
  --muted: #485773;
  --edge: #dbe3f0;
  --accent: #5232c7;
  --night: #0a1024;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: #f5f7fc; color: var(--ink); font: 400 1rem/1.9 Vazirmatn, Tahoma, sans-serif; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #6b4cee; outline-offset: 4px; }
.cs-skip { position: absolute; z-index: 5; inset-block-start: 8px; inset-inline-start: 8px; background: #fff; padding: 8px 14px; transform: translateY(-150%); }
.cs-skip:focus { transform: none; }
.cs-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-header { position: relative; z-index: 2; background: var(--night); color: #fff; border-bottom: 1px solid #ffffff19; }
.header-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.brand-copy strong { font-size: 1.78rem; font-weight: 800; }
.brand-copy span { font-size: .84rem; color: #c7cce2; white-space: nowrap; }
.brand img { display: block; width: 46px; height: 46px; object-fit: contain; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 2vw, 30px); }
.main-nav a { padding: 12px 2px; font-weight: 600; font-size: .96rem; white-space: nowrap; color: #eef0fa; }
.main-nav a[aria-current], .main-nav a:hover { color: #d7c8ff; }
.main-nav a[aria-current] { box-shadow: inset 0 -2px #aa92ff; }
.header-auth-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.login-link, .header-cta { padding: 8px 14px; border-radius: 999px; font-weight: 750; }
.login-link { border: 1px solid #ffffff31; }
.header-cta { background: #6644d7; }
.menu-toggle { display: none; }
.cs-hero { color: #fff; background: radial-gradient(ellipse at 13% 40%, #302365, transparent 53%), radial-gradient(ellipse at 73% 0%, #18274f, transparent 55%), var(--night); overflow: hidden; }
.cs-hero-inner { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: clamp(28px, 6vw, 90px); padding-block: clamp(44px, 7vw, 102px) clamp(78px, 9vw, 136px); }
.cs-hero h1 { font-size: clamp(2.05rem, 4.9vw, 4.15rem); line-height: 1.3; margin: 0 0 17px; font-weight: 900; }
.cs-hero p { margin: 0 0 26px; max-width: 39rem; color: #dce4f7; line-height: 2.1; }
.cs-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; border: 0; border-radius: 12px; padding: 11px 20px; background: #5738cb; color: #fff; font: inherit; font-weight: 800; text-align: center; cursor: pointer; }
.cs-button:hover { background: #4226a8; }
.cs-button:disabled { opacity: .72; cursor: wait; }
.cs-hero .cs-button { background: #e7dfff; color: #241758; }
.cs-hero .cs-button:hover { background: #f8f4ff; }
.cs-hero-art { display: block; min-width: 0; aspect-ratio: 1080 / 760; }
.cs-hero-art img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 22px 65px #090c2c99; }
.cs-icon svg, .cs-request svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linejoin: round; stroke-linecap: round; }
.cs-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: -34px; position: relative; }
.cs-service { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--edge); border-radius: 20px; padding: clamp(18px, 2.4vw, 29px); box-shadow: 0 10px 26px #19214e0c; }
.cs-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 13px; color: var(--accent); background: #eee9ff; }
.cs-service:nth-child(2) .cs-icon { color: #1949a0; background: #e6efff; }
.cs-service:nth-child(3) .cs-icon { color: #12675f; background: #ddf6f2; }
.cs-service .cs-category { font-size: .81rem; color: var(--accent); font-weight: 800; margin: 14px 0 2px; }
.cs-service h2 { font-size: clamp(1.14rem, 1.9vw, 1.45rem); margin: 0 0 7px; line-height: 1.55; }
.cs-service p, .cs-intake-guide p { color: var(--muted); margin: 0; }
.cs-service ul { padding-inline-start: 1.15rem; color: #344461; font-size: .9rem; margin: 15px 0 20px; }
.cs-service li::marker { color: #694ed3; }
.cs-service-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--edge); margin-top: auto; color: var(--accent); font-weight: 800; }
.cs-service-link:hover { text-decoration: underline; }
.cs-intake { display: grid; grid-template-columns: minmax(230px,.8fr) minmax(0,1.8fr); gap: clamp(20px, 5vw, 70px); padding-block: clamp(36px, 7vw, 84px); }
.cs-intake-guide h2 { margin: 0 0 6px; font-size: clamp(1.55rem, 3vw, 2.3rem); }
.cs-intake-guide ol { margin: 21px 0 0; padding-inline-start: 1.45rem; }
.cs-intake-guide li { padding-inline-start: 4px; margin-bottom: 12px; }
.cs-intake-guide li::marker { color: var(--accent); font-weight: 800; }
.cs-intake-guide li span { display: block; font-size: .9rem; color: var(--muted); }
.cs-forms { display: grid; align-content: start; gap: 10px; }
.cs-request { border: 1px solid var(--edge); border-radius: 17px; background: #fff; }
.cs-request[open] { border-color: #b8a9f1; box-shadow: 0 12px 28px #39238b0c; }
.cs-request summary { display: flex; align-items: center; gap: 11px; cursor: pointer; padding: 14px 18px; border-radius: 17px; min-height: 57px; font-weight: 850; list-style: none; }
.cs-request summary::-webkit-details-marker { display: none; }
.cs-request summary::after { content: "+"; font-size: 1.3rem; margin-inline-start: auto; color: var(--accent); }
.cs-request[open] summary::after { content: "−"; }
.cs-request summary svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--accent); }
.cs-request form { display: grid; gap: 17px; margin: 0 18px 19px; padding-top: 15px; border-top: 1px solid var(--edge); }
.cs-request fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.cs-request legend { padding: 0; margin-bottom: 8px; font-weight: 850; }
.cs-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cs-request label { display: grid; gap: 5px; min-width: 0; font-size: .92rem; font-weight: 700; }
.cs-request :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 46px; padding: 8px 11px; border: 1px solid #bac6dd; border-radius: 9px; color: var(--ink); background: #fafbff; font: 400 1rem/1.7 Vazirmatn, Tahoma, sans-serif; }
.cs-request :is(input[type=tel], input[type=email]) { direction: ltr; text-align: start; }
.cs-request textarea { resize: vertical; }
.cs-help { font-size: .86rem; font-weight: 400; color: var(--muted); }
.cs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cs-actions a, .cs-feedback a { text-decoration: underline; color: var(--accent); }
.cs-feedback { padding: 10px 13px; border-radius: 9px; background: #e6f6ee; color: #155138; overflow-wrap: anywhere; }
.cs-feedback[data-error] { background: #ffedf0; color: #8e182a; }
.cs-footer { background: #0c1229; color: #e9edfa; }
.cs-footer .container { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 25px; padding-block: 21px; }
.cs-footer strong { margin-inline-end: auto; }
@media (max-width: 980px) {
  .header-row { grid-template-columns: auto 1fr auto; min-height: 72px; gap: 10px; }
  .menu-toggle { display: inline-grid; place-items: center; justify-self: end; width: 42px; height: 42px; padding: 0; border: 1px solid #ffffff35; border-radius: 13px; background: #ffffff0e; color: #fff; font: 1.15rem/1 Tahoma,sans-serif; cursor: pointer; }
  .main-nav { display: none; position: absolute; inset: calc(100% + 6px) 12px auto; flex-direction: column; align-items: stretch; justify-content: start; gap: 4px; max-height: calc(100vh - 90px); overflow: auto; background: #111830; border: 1px solid #ffffff24; border-radius: 17px; padding: 9px; box-shadow: 0 12px 32px #0005; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 9px 12px; border-radius: 8px; }
  .main-nav a[aria-current] { box-shadow: none; background: #281d59; }
  .cs-hero-inner { gap: 30px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1200px); }
  .header-row { grid-template-columns: 1fr auto; padding-block: 8px; min-height: 0; }
  .header-auth-actions { grid-column: 1 / -1; justify-content: end; }
  .login-link, .header-cta { font-size: .83rem; padding: 4px 13px; }
  .brand-copy strong { font-size: 1.12rem; }
  .brand-copy span { font-size: .67rem; }
  .brand img { width: 38px; height: 38px; }
  .cs-hero-inner, .cs-intake { grid-template-columns: 1fr; }
  .cs-hero-inner { padding-top: 36px; padding-bottom: 58px; gap: 15px; }
  .cs-hero-art { width: min(72%, 330px); margin-inline: auto; }
  .cs-services { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .cs-fields { grid-template-columns: 1fr; }
  .cs-actions .cs-button { width: 100%; }
}
