/* Farzam School AI / original editorial educational design system.
   No borrowed branded assets or external runtime design libraries. */
:root{color-scheme:light;--bg:#f5f6f2;--white:#fff;--ink:#172d45;--muted:#6d7e8e;--brand:#215d8b;--brand-deep:#164667;--mint:#e7f4ed;--blue:#e7eef9;--line:#e3e8e5;--shadow:0 11px 30px rgba(20,42,57,.045)}
html{scroll-behavior:smooth}body{font-family:"Vazirmatn","IRANSans",Tahoma,Arial,sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #f3b550;outline-offset:3px}
.btn{border-radius:11px;transition:background .17s ease,border-color .17s ease,transform .17s ease,box-shadow .17s ease;letter-spacing:0;box-shadow:none}
.btn:hover:not(:disabled){transform:translateY(-1px);filter:none;box-shadow:0 6px 12px rgba(25,59,86,.08)}
.btn-primary{background:#176e76;color:white}.btn-primary:hover:not(:disabled){background:#0e5d64}
.btn-dark{background:var(--ink)}.btn-soft{background:#e9f1ec;color:#155b60}.btn-ghost{background:#fff;border:1px solid #dce5e5}
.btn-danger{background:#ffede7;color:#aa3f31}.pill{font-weight:750}
.field{border-radius:11px;background:#fcfdfb;border:1px solid #dce4e1;transition:border-color .18s,box-shadow .18s}
.field:focus{border-color:#257481;box-shadow:0 0 0 3px #22798419}
.logo-mark{border-radius:12px;background:#176775;box-shadow:none;width:44px;height:44px;transform:rotate(-1deg)}
.brand-text{font-size:20px;letter-spacing:-.6px;font-weight:950;color:#153b53}.brand-text small{letter-spacing:0;color:#80919a;font-size:10px}
.sidebar{background:#fcfdfb;border-left:1px solid #e1e6e1;padding:27px 16px}.logo-line{margin-bottom:10px}.nav-hint{font-size:10px;color:#98a6ad;letter-spacing:.2px}
.nav-item{border-radius:11px;color:#526a77}.nav-item.active{background:#dcefe9;color:#126568}.nav-item:hover{background:#ecf5f1}
.sidebar-foot{background:#e8ede5;border-radius:14px;border:1px solid #d6e3da;padding:18px}.sidebar-foot strong{color:#215f58}.sidebar-foot p{color:#657e7d}
.topbar{border-bottom:1px solid #dfe5e2}.topbar-left h2{font-size:20px}.top-avatar{border-radius:12px;box-shadow:none}
.app-main{max-width:1600px}.page-head h1{font-size:24px;font-weight:950}.page-head p{font-size:12px}
.hero{background:#173e56;border-radius:20px;min-height:230px;padding:28px 35px;box-shadow:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,315px);gap:25px;border:1px solid #194862;isolation:isolate}
.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff07 1px,transparent 1px),linear-gradient(90deg,#ffffff07 1px,transparent 1px);background-size:35px 35px;opacity:.7;z-index:-1}
.hero:after{content:"";position:absolute;inset:auto auto -110px -60px;border:1px solid #ffffff21;width:360px;height:360px;border-radius:50%;box-shadow:0 0 0 32px #ffffff08,0 0 0 65px #ffffff07;z-index:-1}
.hero .eyebrow{color:#a6e0d8;font-size:11px;font-weight:700;letter-spacing:.2px}
.hero h2{font-size:clamp(25px,2.7vw,36px);margin:11px 0 5px;line-height:1.55;letter-spacing:-.5px}.hero p{color:#d5e0e6;max-width:680px;font-size:12px}
.hero .btn{background:#e8b760;color:#14364f;font-weight:950;border:1px solid #f5c87b}.hero .btn:hover{background:#f4c875}
.hero-demo{width:100%;min-width:0;position:relative;background:#fbfcfa;color:#24475c;border-radius:14px;box-shadow:0 13px 31px #051e2f2c;padding:15px;transform:rotate(-1.5deg);border:1px solid #fff}
.hero-demo-heading{display:flex;align-items:center;gap:7px;color:#58727d;font-size:11px;font-weight:900;padding:0 0 12px;border-bottom:1px solid #e7edeb}.hero-demo-dot{width:8px;height:8px;background:#dba64f;border-radius:50%}
.demo-line{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:800;padding:9px 2px;border-bottom:1px solid #eef0ec}.demo-line:last-child{border-bottom:0;padding-bottom:0}
.demo-number{display:grid;place-items:center;color:#547e84;background:#e8f2ee;border:1px solid #ddebe5;width:30px;height:30px;border-radius:9px;font-size:11px;flex-shrink:0}
.demo-check,.demo-arrow{margin-right:auto;color:#176e76;font-size:18px}
.stat-card,.panel,.class-card{border-radius:17px;box-shadow:none;border:1px solid #e2e8e4;background:#fff}
.stat-card{padding:19px}.stat-card .number{color:#203b55;font-variant-numeric:tabular-nums}
.stat-icon{background:#e9f4ed;color:#2d796c;border-radius:12px}.stat-icon.blue{background:#e9eff9;color:#3c66ae}.stat-icon.purple{background:#f1ecf8;color:#7d5ea2}.stat-icon.orange{background:#fcf0de;color:#b87b31}
.panel{padding:24px}.panel-head h3{font-size:15px}.class-row,.class-card{border-color:#e3e8e4;border-radius:13px}.class-row:hover,.class-card:hover{border-color:#90c9bb;box-shadow:0 7px 18px #1a494112}
.subject-icon{border-radius:12px}.avatar{border-radius:11px;background:#e4f1eb;color:#1b6a61}
.share-widget{background:#eff4ef;border:1px solid #d7e5df;border-radius:17px;box-shadow:none}
.detail-banner + .share-widget{background:#f1f6f1;border-color:#d9e7de;gap:10px 16px}
.share-link{border-radius:13px!important}.share-link:first-of-type{box-shadow:inset 0 3px 0 #236d9a}.share-link:nth-of-type(2){box-shadow:inset 0 3px 0 #1d977f}
.share-link-row input{background:#f9fbfa;border:1px solid #dfe7e2}.share-link .btn{font-size:11px}
.detail-banner{background:#18455c!important;border-radius:17px!important;box-shadow:none!important}
.login-screen{background:#f9faf7}.login-promo{background:#173e56;position:relative}
.login-promo:before{content:"";position:absolute;inset:0;width:auto;height:auto;border-radius:0;box-shadow:none;background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px);background-size:35px 35px;pointer-events:none}
.login-stats>div{border-radius:13px;background:#ffffff0b;backdrop-filter:none}.login-promo p{color:#d4e5e7}.login-stats span{color:#cde0e4}.login-form-side{background:#f8faf7}.login-box{max-width:430px}
.login-box .login-small{color:#166973}.login-box h1{font-size:32px}.login-box .field{border-radius:10px;min-height:52px;background:#fff}
.invite-full{background:#f2f5f1;padding-top:36px}
.invite-header .brand-text{color:#173e56}.invite-header .logo-mark{box-shadow:none}
.invite-school{background:#ffffff18;border-color:#ffffff45}
.invite-hero{background:#173e56;box-shadow:none;border-radius:18px 18px 0 0;padding:32px 33px 25px}
.invite-hero:before{width:220px;height:220px;border:1px solid #ffffff23;left:-60px;top:-100px}
.invite-hero:after{width:300px;height:300px;border:1px solid #ffffff17;left:-100px;top:-135px}
.invite-ornament{display:none}.invite-hero h1{line-height:1.5;font-size:clamp(25px,4vw,36px)}
.invite-card{border-radius:0 0 18px 18px;box-shadow:0 15px 31px #163d5020;padding:28px 32px}
.invite-cta{background:#196f72}.invite-safe{background:#eaf4ee;color:#2c6b52;border-color:#cfe7d5}
.persian-calendar{border-radius:12px;border:1px solid #d7e5dd}.cal-days button:hover,.cal-days button:focus-visible{background:#236d85}
.mobile-nav{box-shadow:0 -10px 24px #183e4c10}
@media(max-width:1000px){.hero{grid-template-columns:minmax(0,1fr) 245px}.hero-demo{padding:11px}.demo-line{font-size:11px}}
@media(max-width:760px){.hero{display:block;padding:25px 22px;min-height:unset}.hero h2{font-size:25px}.hero-demo{display:none}.login-box{max-width:480px}.login-form-side{background:#f8faf7}.app-main{padding-inline:15px}.detail-banner + .share-widget{padding:16px}.share-link-row input{font-size:11px}.topbar{height:82px}.panel{padding:18px}.invite-full{padding:14px 12px 28px}.invite-card{padding:22px 19px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-demo{transform:none}}
