.hero{padding-top:33px}
.hero-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px;min-height:565px}
.hero-copy{padding:21px 0 30px}
.hero h1{font-size:clamp(40px,4.75vw,66px)}
.hero-actions{margin-top:26px}
.portrait{height:565px;width:calc(100% + 54px);margin-left:-15px;max-width:none;overflow:visible}
.portrait>img{height:100%;width:100%;object-fit:cover;object-position:center bottom;mask-image:linear-gradient(#000 91%,transparent);-webkit-mask-image:linear-gradient(#000 91%,transparent)}
.hero-journey{margin-top:27px;max-width:510px}
.journey-title{font-size:14px;font-weight:650;letter-spacing:-.025em;margin-bottom:11px;color:var(--ink)}
.journey-scores{display:grid;grid-template-columns:minmax(0,1fr) 23px minmax(0,1fr);align-items:center;gap:8px}
.journey-score{display:flex;align-items:center;gap:12px;text-align:left;border:0;background:#f5f5f7;border-radius:13px;padding:12px;color:var(--ink);min-width:0;transition:background .2s}
.journey-score:hover{background:#e9e9ed}
.journey-score img{width:43px;height:137px;object-fit:contain;flex-shrink:0;border:1px solid #dddde2;border-radius:3px;background:white}
.journey-detail{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:4px;line-height:1.4}
.journey-detail small{font-size:11px;font-weight:600;color:#66666b;white-space:nowrap}
.journey-detail strong{font-size:28px;letter-spacing:-.07em;line-height:1.15;font-weight:780;white-space:nowrap}
.journey-detail>span{color:#55555d;font-size:12px;white-space:nowrap;font-weight:650}
.journey-better{background:#edf4fd}.journey-better strong{color:var(--blue)}.journey-better:hover{background:#e0edff}
.journey-open{color:var(--blue)!important;margin-top:8px}
.journey-arrow{font-size:19px;text-align:center;color:#8b8b91;font-weight:500}
.journey-credential{font-size:11px;color:#73737a;margin-top:11px}
#dialog-img[src*="score-certificate-"]{width:min(95%,720px);height:auto;max-width:95%;}
.screen-body{display:flex;align-items:center;justify-content:center;overflow:hidden;min-width:0;padding:10px;background:#f5f6fa}
.screen-body img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}
dialog:has(#dialog-img[src$="-hd.png"]){width:min(96vw,1380px)}
#dialog-img[src$="-hd.png"]{max-width:98%;width:auto;height:auto}
@media(max-width:760px){.screen-body{height:clamp(190px,58vw,320px);padding:6px}}
@media(max-width:1000px) and (min-width:761px){.hero-grid{gap:8px;grid-template-columns:1.3fr 1fr}.portrait{height:505px;width:calc(100% + 35px);margin-left:-5px}.hero-copy{padding-top:19px}.hero h1{font-size:clamp(37px,5vw,51px)}.journey-score{gap:8px;padding:10px}.journey-score img{width:35px;height:112px}.journey-detail strong{font-size:24px}.journey-detail>span{font-size:10px}.journey-detail small{font-size:10px}}
@media(max-width:760px){.hero{padding-top:26px}.hero-grid{gap:2px;min-height:0}.hero-copy{padding:3px 0 0}.hero h1{font-size:clamp(34px,8.3vw,52px)}.hero-actions{margin-top:23px}.hero-journey{margin-top:24px;max-width:none}.journey-title{font-size:13px;margin-bottom:9px}.journey-scores{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:5px}.journey-score{padding:9px 8px;gap:8px;border-radius:11px}.journey-score img{width:30px;height:96px}.journey-detail{gap:3px}.journey-detail small{font-size:9px}.journey-detail strong{font-size:22px}.journey-detail>span{font-size:10px}.journey-open{margin-top:4px}.journey-arrow{font-size:16px}.journey-credential{font-size:10px}.portrait{height:360px;width:min(115%,440px);max-width:none;margin:0 auto;flex-shrink:0}.portrait>img{object-fit:cover;object-position:center 56%}}
@media(max-width:360px){.journey-score{padding:8px 6px;gap:6px}.journey-score img{width:24px;height:77px}.journey-detail strong{font-size:20px}.journey-detail>span{font-size:9px}.journey-detail small{font-size:8px}.portrait{height:320px}}
@media(max-width:760px){.nav-links{display:flex;margin-left:auto;white-space:nowrap;gap:0;font-size:13px;color:var(--blue)}.nav-links a:not([href="/reviews"]){display:none}.nav .button.small{padding:9px 12px}}
.portrait{height:600px;display:flex;justify-content:center;align-items:flex-start}
.hero-profile{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;max-width:100%;padding:10px 12px 0;text-align:left;color:var(--ink)}
.hero-profile h2{font-size:clamp(31px,3.3vw,43px);font-weight:800;letter-spacing:-.065em;line-height:1.05;white-space:nowrap;margin:0;padding-right:18px;border-right:1px solid #dedee4}
.hero-profile-career{min-width:0;display:grid;gap:3px;line-height:1.4}
.hero-profile p{font-size:13px;color:#626267;font-weight:550;letter-spacing:-.035em;word-break:keep-all}
.hero-profile .profile-admission{font-size:.93em;color:#7b7b82;white-space:nowrap}
.portrait>img{height:calc(100% - 54px);object-fit:contain;object-position:center bottom}
@media(max-width:1000px) and (min-width:761px){.portrait{height:540px}.portrait>img{height:calc(100% - 64px)}.hero-profile{gap:12px;padding-inline:5px}.hero-profile h2{font-size:32px;padding-right:12px}.hero-profile p{font-size:12px}}
@media(max-width:760px){.portrait{height:clamp(408px, min(100vw + 38px, 510px), 510px);margin-top:20px;width:min(100%,440px)}.hero-profile{gap:12px;padding:13px 0 0}.hero-profile h2{font-size:30px;padding-right:12px}.hero-profile p{font-size:12px}.hero-profile-career{gap:3px}.portrait>img{height:calc(100% - 54px)}.hero-actions{gap:14px;flex-wrap:wrap}.hero-actions .button{gap:13px;padding-inline:19px}.hero-actions .text-link{font-size:14px}}
@media(max-width:360px){.portrait{height:386px}.hero-profile h2{font-size:27px}.hero-profile p{font-size:11px}.hero-profile{gap:10px}.hero-actions{gap:12px}.hero-actions .button{font-size:13px;padding-inline:14px}.hero-actions .text-link{font-size:12px}}

/* Multi-screen preview: each tab can contain a walkthrough of real screens. */
.screen-gallery{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;background:#fff;border-top:1px solid var(--line)}
.screen-gallery[hidden]{display:none}
.gallery-arrow{display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;width:38px;height:38px;background:#fff;color:var(--blue);font-size:26px;line-height:1;flex-shrink:0}
.gallery-arrow:disabled{opacity:.32;cursor:default}
.gallery-center{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center}
.gallery-step{font-size:12px;font-weight:650;color:var(--muted)}
.gallery-dots{display:flex;align-items:center;gap:2px}
.gallery-dot{width:24px;height:30px;border:0;padding:0;background:transparent;display:grid;place-items:center}
.gallery-dot:before{content:'';width:7px;height:7px;border-radius:50%;background:#c5c9d0}
.gallery-dot[aria-current=true]:before{background:var(--blue);width:9px;height:9px}
.screen-body{touch-action:pan-y pinch-zoom}
dialog:has(#dialog-img[src$="-hd.jpg"]){width:min(96vw,1380px)}
#dialog-img[src$="-hd.jpg"]{max-width:98%;width:auto;height:auto}

@media(max-width:760px){
  .compare-scroll{overflow:hidden}
  .compare-table{table-layout:fixed;width:100%;min-width:0;font-size:clamp(10.5px,3.05vw,12px);line-height:1.45}
  .compare-table th,.compare-table td{padding:11px 5px;vertical-align:middle;word-break:normal;overflow-wrap:anywhere;text-align:center}
  .compare-table tr>*:first-child{width:25%;position:static;text-align:left;padding-left:7px}
  .compare-table tr>*:nth-child(2),.compare-table tr>*:nth-child(3){width:23.5%}
  .compare-table tr>*:last-child{width:28%}
  .system-grid{grid-template-columns:minmax(0,1fr)}
  .system-menu{min-width:0;gap:6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;padding:2px 0 4px}
  .system-menu::-webkit-scrollbar{display:none}
  .system-menu button{flex:0 0 calc((100% - 12px)/3);min-width:0;min-height:65px;padding:7px 5px;flex-direction:column;justify-content:center;align-items:center;gap:3px;text-align:center}
  .system-menu strong{font-size:clamp(11px,3.1vw,13px);line-height:1.27;word-break:keep-all;overflow-wrap:anywhere}
  .system-menu b{font-size:10px}
  .system-menu button[aria-selected=true] strong{color:var(--blue)}
  .gallery-center{gap:4px;flex-direction:column}
  .gallery-step{font-size:12px;line-height:1.2}
  .gallery-dot{height:15px}
  .screen-gallery{padding:7px 10px}
}
