/* Radius scale: controls 10px (nested 8px), cards and panels 16px, pills 999px, inline marks 6px. */
/* Revision v4 (2026-09-10): vector brand, WebP sprite, real sample question, flow bands (stats, cards, prices, waitlist), tap targets and contrast. */

/* brand: vector mark + wordmark instead of the cropped JPG */
.brand img{display:block;height:auto;aspect-ratio:auto}.brand .brand-mark{width:34%}.brand .brand-word{width:62%}
.footer-lockup img{display:block;height:auto}.footer-lockup img:first-child{width:34%}.footer-lockup img:last-child{width:62%}
.gateway-statue{background-image:url('assets/specialty-sculptures_v3.webp')}

/* header: the login link becomes a real 44px target */
.account-nav .login-link{display:inline-flex;align-items:center;min-height:44px;padding:0 calc(var(--u)*12)}
.account-nav .login-link:hover{color:var(--blue)}
.future-label{color:#56698f}.future-label:hover{color:var(--blue)}

/* decorative neighbour captions never below 12px */
.neighbor-caption{font-size:max(12px,calc(var(--u)*14));color:#6f7f9c}
.far-left .neighbor-caption,.far-right .neighbor-caption{font-size:max(12px,calc(var(--u)*12))}
.portal-caption small{font-size:max(12px,calc(var(--u)*14))}

/* shared flow bands between the artwork scenes */
.band{--u:1px;position:relative;padding:clamp(56px,7vw,112px) clamp(20px,5.3vw,88px);background:#fff;color:var(--navy)}
.band-alt{background:#f5f8ff}
.band-in{max-width:1320px;margin:0 auto}
.band-head{max-width:780px;margin-bottom:clamp(28px,3.4vw,52px)}
.band-eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--blue);font-weight:800;font-size:16px;margin-bottom:12px}
.band-eyebrow:before{content:"";width:28px;height:2px;background:var(--blue)}
.band-head h2{font-size:clamp(30px,3.7vw,58px);line-height:1.32;font-weight:800;letter-spacing:-.5px;text-wrap:balance}.band-head h2 span{color:var(--blue)}
.band-head p{margin-top:16px;font-size:clamp(16px,1.3vw,20px);line-height:1.95;color:#3f527a;font-weight:500}
.band .button{min-height:50px;font-size:17px;padding:10px 24px;gap:12px;border-radius:10px}
.anchor-alias{position:absolute;top:0;right:0;width:0;height:0;pointer-events:none}

/* stats */
.stats{padding-block:clamp(40px,5vw,72px);border-block:1px solid #e6ecf8}
.stats-title{justify-content:flex-start;margin-bottom:18px;font-size:16px;color:#56698f}
.stat-group{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:center;gap:20px;padding:20px 0;border-top:1px solid #edf1f9}
.stat-group h3{font-size:19px;font-weight:800;color:#0e254f}
.stat-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px}
.stat-list li{display:flex;flex-direction:column;gap:2px;min-width:0}
.stat-list strong{font-size:clamp(26px,2.4vw,40px);font-weight:800;color:var(--blue);line-height:1.25;font-variant-numeric:tabular-nums}
.stat-list span{font-size:15px;color:#43587f;font-weight:700}
.stat-note{margin-top:14px;font-size:14px;color:#56698f}

/* news band: one line of news, one CTA */
.news{padding-block:clamp(28px,3.5vw,44px);background:#fff;border-bottom:1px solid #e6ecf8}
.news-in{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 24px}
.news-in .band-eyebrow{grid-column:1/-1;margin:0}
.news-in h2{grid-column:1;margin:0;font-size:clamp(24px,2.6vw,34px);font-weight:800;line-height:1.4}
.news-in p{grid-column:1;margin:0;color:#3f527a;font-size:17px}
.news-in .button{grid-column:2;grid-row:2/4}
@media(max-width:700px){.news-in{grid-template-columns:1fr}.news-in .button{grid-column:1;grid-row:auto;justify-self:start}}

/* feature cards with real screenshots */
.card-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,24px)}
.card-grid>li{min-width:0}
.feature-card{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #dfe7f6;border-radius:16px;overflow:hidden;box-shadow:0 2px 6px #0b2a6608,0 14px 34px #0b2a660d;transition:transform .2s,box-shadow .2s,border-color .2s}
.feature-card:hover{transform:translateY(-4px);border-color:#b9ccf7;box-shadow:0 4px 10px #0b2a660d,0 22px 44px #0b2a6614}
.feature-card:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.card-shot{display:block;aspect-ratio:16/10;overflow:hidden;background:#0b1d4d;border-bottom:1px solid #e3eaf7}
.card-shot img{width:100%;height:100%;object-fit:cover;object-position:center top}
.card-body{display:flex;flex-direction:column;gap:6px;padding:18px 20px 20px;flex:1}
.card-body strong{font-size:19px;font-weight:800;line-height:1.5}
.card-count{font-size:15px;font-weight:800;color:var(--blue)}
.card-desc{font-size:15px;line-height:1.9;color:#43587f}
.card-tags{margin-top:auto;display:flex;flex-wrap:wrap;gap:6px;padding-top:8px}
.card-tags i{font-style:normal;font-size:14px;font-weight:700;color:#244696;background:#eef3ff;border:1px solid #d5e1fb;border-radius:999px;padding:1px 12px}

/* sample question: real content, readable sizes */
.experience-inscription{top:12.5%;color:#eaf1ff}.experience-inscription span{background:#eaf1ff}
.experience-features button>span:last-child{color:#4c5f88}
.demo-switch{display:inline-flex;gap:4px;padding:4px;margin-top:calc(var(--u)*30);background:#eef3fd;border-radius:10px}
.demo-switch button{min-height:44px;padding:6px 18px;border-radius:8px;font-size:max(15px,calc(var(--u)*19));font-weight:800;color:#3b527f}
.demo-switch button[aria-checked=true]{background:var(--blue);color:#fff;box-shadow:0 3px 12px #1354ff26}
.experience-copy .experience-caption{margin-top:calc(var(--u)*26)}
.experience-tabs button{width:auto;min-width:calc(var(--u)*150);padding:0 calc(var(--u)*16);font-size:max(14px,calc(var(--u)*17));min-height:max(38px,calc(var(--u)*43))}
.experience-workspace{grid-template-columns:.72fr 1.75fr 1.75fr;gap:calc(var(--u)*8)}
.demo-source{border:1px solid #eaf0fa;border-radius:10px;padding:14px 12px;display:flex;flex-direction:column;gap:10px;min-width:0;font-size:14px}
.demo-source h3{font-size:15px;display:flex;align-items:center;gap:6px;color:#0e254f;font-weight:800}
.demo-source h3 .icon{color:var(--blue)}
.demo-source dl{margin:0;display:flex;flex-direction:column;gap:8px}
.demo-source dl div{display:flex;flex-direction:column;min-width:0}
.demo-source dt{font-size:14px;color:#5f7299;font-weight:700}
.demo-source dd{margin:0;font-size:15px;font-weight:800;color:#0e254f;line-height:1.6}
.demo-bookmark{display:flex;align-items:center;gap:6px;min-height:44px;padding:6px 10px;border:1px solid #d6e2ff;border-radius:10px;color:var(--blue);font-size:14px;font-weight:700;background:#f6f9ff;margin-top:auto;text-align:right}
.demo-bookmark[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}.demo-bookmark[aria-pressed=true] .icon{fill:currentColor}
.demo-bank{font-size:14px;color:var(--blue);text-decoration:underline;text-underline-offset:4px;line-height:1.7;font-weight:700}
.experience-reading{padding:18px 18px 14px}
.experience-view h3{font-size:18px;margin-bottom:10px}
.experience-view .demo-stem{font-size:16px;line-height:2.05;color:#1d335e;font-weight:500}
.experience-view .demo-hint{font-size:14px;color:#51658e;margin-top:12px;border-right:3px solid var(--blue);padding-right:10px}
.experience-view .demo-locked{font-size:15px;color:#3e5582;background:#f3f7ff;border:1px dashed #b9ccf5;border-radius:10px;padding:14px}
.demo-lesson{font-size:15px;line-height:2;color:#243c68}
.demo-lesson h4{font-size:17px;font-weight:800;color:var(--blue);margin:0 0 6px;line-height:1.7}
.demo-lesson .lesson-head{font-size:15px;font-weight:800;color:#0e254f;margin:12px 0 2px}
.demo-lesson ol,.demo-lesson ul{margin:0;padding-inline-start:22px}.demo-lesson ol{list-style-type:persian}
.demo-lesson li{margin:4px 0}
.demo-lesson .why{list-style:none;padding:0}.demo-lesson .why b{display:inline-block;min-width:34px;color:#b42318}
.demo-lesson mark.pin{background:#fff1c7;color:#6b4800;border-radius:6px;padding:0 6px;font-weight:800;white-space:nowrap}
.demo-lesson .clinical{margin-top:12px;background:#eef5ff;border-right:3px solid var(--blue);padding:10px 12px;border-radius:8px;color:#243c68}
.experience-practice{overflow:auto;scrollbar-width:thin}
.experience-practice fieldset{flex:1 1 auto;overflow:auto}
.experience-practice legend{font-size:15px}
#demo-options{display:flex;flex-direction:column;gap:8px}
#demo-options label{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:9px 12px;border:1px solid #d7e2f7;border-radius:10px;font-size:15px;line-height:1.7;color:#243c68;cursor:pointer;background:#fff;transition:background .15s,border-color .15s}
#demo-options label:hover{border-color:#8fb0ff;background:#f7faff}
#demo-options input{margin-top:4px;width:18px;height:18px;flex:none;accent-color:var(--blue)}
#demo-options b{flex:none;min-width:26px;color:var(--blue);font-weight:800}
#demo-options span{min-width:0;overflow-wrap:anywhere}
#demo-options label.is-correct{border-color:#1f9254;background:#eaf8f0}
#demo-options label.is-wrong{border-color:#d0463a;background:#fdeeed}
.practice-explanation{flex:0 0 auto;padding:10px 12px}
.practice-explanation #answer-status{font-size:14px;line-height:1.8;color:#344d7c;margin:0}
.practice-explanation #answer-status[data-result=correct]{color:#0f7a3e;font-weight:800}
.practice-explanation #answer-status[data-result=wrong]{color:#b42318;font-weight:800}
.practice-actions{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px}
.practice-explanation .practice-actions .text-button{font-size:14px;min-height:36px;margin:0}
.experience-note label{font-size:14px}.experience-note textarea{height:130px;font-size:15px}.experience-note>span{font-size:14px;color:#56698f}

/* prices */
.price-tabs{display:inline-flex;flex-wrap:wrap;gap:6px;padding:6px;background:#e9f0fd;border-radius:10px;margin-bottom:20px}
.price-tabs button{min-height:48px;padding:8px 20px;border-radius:10px;font-size:17px;font-weight:800;color:#3b527f}
.price-tabs button small{font-size:14px;font-weight:700;color:#4a5c85;margin-inline-start:6px}
.price-tabs button[aria-selected=true]{background:#fff;color:var(--blue);box-shadow:0 2px 8px #0b2a6614}
.price-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #dfe7f6;border-radius:16px;overflow:hidden;font-size:16px}
.price-table th,.price-table td{padding:14px 20px;text-align:right;border-bottom:1px solid #edf1f9;vertical-align:middle}
.price-table tbody tr:last-child>*{border-bottom:0}
.price-table thead th{background:#f6f9ff;font-size:14px;color:#56698f;font-weight:800}
.price-table tbody th{font-weight:800;color:#0e254f;white-space:nowrap}
.price-table td{color:#43587f;line-height:1.8}
.price-table .price{white-space:nowrap;text-align:left}
.price-table .price b{font-size:19px;color:#0e254f;font-variant-numeric:tabular-nums}
.price-table .price small{font-size:14px;color:#5f7299}
.price-table .free{display:inline-block;font-size:14px;font-weight:800;color:#0f6b37;background:#e8f7ee;border:1px solid #bfe5cd;border-radius:999px;padding:2px 12px}
.price-until{margin-top:14px;font-size:15px;color:#43587f}
.price-foot{margin-top:28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:22px 24px;background:#fff;border:1px solid #dfe7f6;border-radius:16px}
.price-foot p{font-size:16px;line-height:1.9;color:#30466f;max-width:760px;font-weight:600}

/* motion control: floating on desktop, inline in the footer on phones */
.motion-inline{display:none}
.continuation-copyright{color:#4f6189}.continuation-tagline{color:#56698f}.hero-bottom{color:#52658d}.hero-bottom .ruled{color:#52658d}.continuation-inscription{color:#fff}.continuation-inscription span{background:#fff}
.motion-toggle{font-size:13px}

@media(min-width:901px){
 .experience-demo{left:9.5%;width:57%;top:31%;height:62%}
 .hero-subtitle{margin-top:calc(var(--u)*10)}
}
@media(max-width:1100px){
 .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stat-list{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
 .account-nav .login-link{min-height:44px;padding:0 16px;border:1px solid #c9d6f3;border-radius:999px;background:#fff;color:var(--blue);font-weight:800}
 .account-nav{top:10px}
 .far-left .neighbor-caption,.far-right .neighbor-caption{display:none}
 .stat-group{grid-template-columns:1fr;gap:12px}
 .stat-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
 .stat-list strong{font-size:30px}
 .experience-workspace{grid-template-columns:1fr}
 .demo-source{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px 16px}
 .demo-source h3{width:100%}
 .demo-source dl{flex-direction:row;flex-wrap:wrap;gap:6px 18px}
 .demo-bookmark{margin-top:0}
 .experience-reading{min-height:0}
 .experience-view{min-height:0;max-height:none}
 .experience-practice fieldset{overflow:visible}
 .demo-switch{display:flex;width:max-content;margin-top:22px}
 .experience-tabs button{min-width:0;padding:0 8px;font-size:14px}
 .membership{min-height:0}
 .membership:has(details[open]),.membership:has(details[open] + details[open]){min-height:0}
 .membership .faq{position:relative;top:auto;left:auto;right:auto;width:auto;margin:805px 20px 28px}
 .price-table thead{display:none}
 .price-table,.price-table tbody{display:block}
 .price-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:14px 16px;border-bottom:1px solid #edf1f9}
 .price-table tbody tr:last-child{border-bottom:0}
 .price-table th,.price-table td{display:block;border:0;padding:0}
 .price-table tbody th{grid-column:1;grid-row:1;white-space:normal}
 .price-table .price{grid-column:2;grid-row:1}
 .price-table td:not(.price){grid-column:1/-1;grid-row:2;font-size:15px}
 .price-foot{padding:18px}
 .motion-toggle{display:none}
 .motion-inline{display:flex;align-items:center;gap:8px;margin:0 auto 28px;min-height:44px;padding:8px 18px;border:1px solid #cfdbf0;border-radius:999px;background:#fff;color:#31517d;font-size:14px;position:relative}
 .motion-inline .icon{font-size:16px}
 .portal-caption small,.gateway-scene .portal-caption small{font-size:12px}
 .experience-note>span{font-size:14px}
}
@media(max-width:640px){
 .card-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.feature-card:hover{transform:none}}
