/* Responsive, code-built cover. No raster backgrounds or fixed viewport crop. */
.welcome-teaching-texture { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.welcome-teaching-texture::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #5c97d30a 0 1px, transparent 1px 64px), repeating-linear-gradient(90deg, #5c97d30a 0 1px, transparent 1px 64px); mask-image: linear-gradient(120deg, #000, transparent 42%, #000); }
.welcome-teaching-texture svg { position: absolute; fill: none; stroke: #5799db; stroke-width: 1.3; }
.welcome-book-lines { width: clamp(230px, 24vw, 430px); left: -3%; bottom: 1%; opacity: .14; transform: rotate(-12deg); }
.welcome-network-lines { width: clamp(320px, 36vw, 740px); top: 7%; right: -3%; opacity: .13; }
.welcome-network-lines circle { fill: #d9f4ff; stroke-width: 2; }
.welcome-data-columns { position: absolute; left: 1%; top: 9%; display: flex; align-items: flex-end; gap: clamp(8px, 1vw, 18px); width: clamp(150px, 18vw, 350px); height: 130px; opacity: .12; transform: skewY(-8deg); }
.welcome-data-columns i { flex: 1; height: 22%; border: 1px solid #70afe1; border-radius: 5px 5px 0 0; background: linear-gradient(#61c8ec60, #b6dbff08); }
.welcome-data-columns i:nth-child(2) { height: 38%; }.welcome-data-columns i:nth-child(3) { height: 31%; }.welcome-data-columns i:nth-child(4) { height: 55%; }.welcome-data-columns i:nth-child(5) { height: 48%; }.welcome-data-columns i:nth-child(6) { height: 73%; }.welcome-data-columns i:nth-child(7) { height: 96%; }
#loginScreen { position: relative; isolation: isolate; }
.welcome-background { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.welcome-background::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#6299dd40 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(130deg, transparent 20%, #000 100%); }
.welcome-background::after { content: ''; position: absolute; width: 76vw; height: 76vw; right: -38vw; top: -36vw; border: 1px solid #65bce633; border-radius: 50%; box-shadow: 0 0 0 56px #65bce609, 0 0 0 112px #65bce606; }
.welcome-background svg { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(140px, 22vh, 300px); fill: none; stroke: #589de22b; stroke-width: 1.5; }
#loginScreen { background: radial-gradient(ellipse at 86% 32%, #d9f2ff, transparent 48%), radial-gradient(ellipse at 9% 100%, #dbe8ff, transparent 48%), linear-gradient(135deg, #fff 12%, #f5faff 64%, #edf2ff); }
#loginScreen .login-layout { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0 clamp(24px, 5vw, 100px); width: 100%; min-height: 100svh; overflow: visible; }
.welcome-header { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 1520px; margin: 0 auto; padding: 28px 0; color: #133874; font-weight: 800; font-size: 19px; }
.welcome-header-note { margin-left: auto; color: #6981a3; font-size: 13px; font-weight: 400; letter-spacing: 1px; }
.welcome-logo,.welcome-title-bars { display: inline-flex; align-items: flex-end; gap: 4px; }
.welcome-logo { width: 30px; height: 30px; }
.welcome-logo b,.welcome-title-bars b { display: block; width: 7px; border-radius: 3px 3px 0 0; background: linear-gradient(#06c3e6, #2b65e4); height: 48%; }
.welcome-logo b:nth-child(2),.welcome-title-bars b:nth-child(2) { height: 72%; }
.welcome-logo b:nth-child(3),.welcome-title-bars b:nth-child(3) { height: 100%; }
.welcome-hero { flex: 1; display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: clamp(24px,4vw,76px); max-width: 1520px; width: 100%; margin: 0 auto; padding: 38px 0 48px; }
.welcome-copy { min-width: 0; }
.welcome-kicker { display: flex; align-items: center; gap: 9px; color: #6280a6; font-size: 13px; margin: 0 0 28px; letter-spacing: 1px; }
.welcome-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: #0bb7d1; box-shadow: 0 0 0 5px #0bb7d110; flex-shrink: 0; }
.welcome-copy h1 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 22px; font-size: clamp(46px,5.7vw,94px); line-height: 1.18; letter-spacing: -3px; font-weight: 900; color: #075ac3; background: linear-gradient(120deg,#103c9c 8%,#136ed8 64%,#00aacf); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.welcome-title-bars { height: .49em; gap: 5px; }
.welcome-title-bars b { width: .1em; }
.welcome-subtitle { margin: 0; color: #244975; font-size: clamp(21px,2vw,31px); line-height: 1.65; letter-spacing: 1px; }
.welcome-subtitle strong { font-weight: 600; }
.welcome-flow { display: flex; align-items: center; list-style: none; width: fit-content; max-width: 100%; margin: 28px 0 0; padding: 13px 21px; border: 1px solid #c5e1f7; border-radius: 999px; background: linear-gradient(100deg,#e3f8ffb3,#efeaffb3); color: #214a8d; font-size: clamp(15px,1.4vw,20px); font-weight: 700; box-shadow: inset 0 1px 0 #fff; }
.welcome-flow li { display: flex; align-items: center; white-space: nowrap; }
.welcome-flow li + li::before { content: '→'; margin: 0 clamp(9px,1.1vw,18px); color: #6398e6; font-weight: 400; }
.welcome-message { margin: 26px 0 28px; color: #5e7798; font-size: clamp(15px,1.25vw,18px); line-height: 1.9; }
#loginScreen .welcome-enter { position: relative; bottom: auto; display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 54px; min-width: 0; padding: 15px 28px; border: 1px solid #1a65ce; border-radius: 12px; background: linear-gradient(110deg,#166de3,#2855c3); color: #fff; font-size: 16px; font-weight: 600; box-shadow: 0 10px 24px #1965d52b; cursor: pointer; }
#loginScreen .welcome-enter span { margin: 0; font-size: 22px; line-height: 1; }
#loginScreen .welcome-enter:hover { background: linear-gradient(110deg,#0d5ed0,#2045ab); }
#loginScreen .welcome-enter:focus-visible { outline: 3px solid #719ddb; outline-offset: 5px; }
.welcome-access-note { margin: 14px 0 0; color: #8191ab; font-size: 12px; letter-spacing: 1px; }
.welcome-scene { position: relative; width: 100%; aspect-ratio: 1.08; max-width: 730px; justify-self: center; overflow: hidden; }
.welcome-scene::before { content: ''; position: absolute; inset: 14% 1% 8%; border-radius: 50%; background: radial-gradient(ellipse,#a5dfff80,#d3e8ff20 65%,transparent 72%); }
.welcome-orbit { position: absolute; inset: 6% 3% 11%; border-radius: 50%; border: 1px solid #86c9f478; transform: rotate(-20deg); box-shadow: inset 0 0 0 14px #fff4,0 0 0 1px #fff8; }
.welcome-orbit-inner { inset: 15% 9% 19%; border-style: dashed; border-color: #a6ccf7; transform: rotate(16deg); box-shadow: none; }
.welcome-node { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 14px 15px; border: 1px solid #fff; border-radius: 17px; background: linear-gradient(135deg,#fff,#f4faffee); box-shadow: 0 14px 32px #367cc318,0 2px 4px #367cc30a; }
.welcome-node strong { display: block; color: #244e85; font-size: 14px; white-space: nowrap; }
.welcome-node small { display: block; color: #8497b3; font-size: 10px; margin-top: 5px; white-space: nowrap; }
.welcome-node > b { align-self: flex-start; color: #adc2e0; font-size: 10px; margin-left: 7px; }
.welcome-node-icon { display: grid; place-items: center; flex-shrink: 0; width: 39px; height: 39px; border-radius: 12px; color: #2271d7; background: linear-gradient(135deg,#e3f6ff,#e6ecff); font: 700 20px/1 Consolas,monospace; }
.welcome-node-code { left: 2%; top: 8%; transform: rotate(-5deg); }.welcome-node-check { right: 0; top: 11%; transform: rotate(5deg); }
.welcome-node-growth { left: 1%; bottom: 7%; transform: rotate(-4deg); }.welcome-node-help { right: 0; bottom: 7%; transform: rotate(4deg); }
.welcome-node-help .welcome-node-icon { color: #7c5be3; background: #f0ebff; }.welcome-node-growth .welcome-node-icon { color: #089bb2; background: #e2faff; }
.welcome-dashboard { position: absolute; z-index: 1; top: 28%; left: 9%; right: 6%; border: 1px solid #fff; border-radius: 18px; background: #ffffffed; box-shadow: 0 30px 60px #2872c326,0 6px 14px #4a95cc0c; transform: rotate(-3deg); overflow: hidden; }
.welcome-dashboard-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #e4eefb; color: #577396; font-size: 11px; }
.welcome-dashboard-top i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: #1db6c6; border-radius: 50%; }.welcome-window-dots { letter-spacing: 4px; color: #bccde5; }
.welcome-dashboard-body { padding: 18px 20px; }
.welcome-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.welcome-chart-heading strong { color: #264a7b; font-size: 15px; }.welcome-chart-heading > span { color: #8da0b9; font-size: 9px; }
.welcome-chart { position: relative; height: clamp(90px,10vw,156px); margin: 16px 0 20px; }
.welcome-chart-grid { position: absolute; inset: 0; background: repeating-linear-gradient(to top,#dbe8fa 0 1px,transparent 1px 25%); }
.welcome-chart-bars { position: absolute; inset: 0 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.welcome-chart-bars i { width: 9%; height: 24%; border-radius: 5px 5px 0 0; background: linear-gradient(#51c5efab,#357dec15); }.welcome-chart-bars i:nth-child(2) { height: 36%; }.welcome-chart-bars i:nth-child(3) { height: 31%; }.welcome-chart-bars i:nth-child(4) { height: 53%; }.welcome-chart-bars i:nth-child(5) { height: 48%; }.welcome-chart-bars i:nth-child(6) { height: 74%; }.welcome-chart-bars i:nth-child(7) { height: 89%; }
.welcome-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.welcome-evidence-tags { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }.welcome-evidence-tags span { font-size: 9px; text-align: center; color: #5d7da5; padding: 6px 0; border-radius: 5px; background: #f0f7ff; white-space: nowrap; }
.welcome-evidence-tags i { display: inline-block; width: 4px; height: 4px; margin-right: 3px; background: #4d9fe1; border-radius: 50%; }
.welcome-dashboard-bottom { display: flex; justify-content: space-between; gap: 8px; padding: 11px 18px; background: #f5f8fe; color: #839ab7; font-size: 9px; }.welcome-dashboard-bottom b { color: #577bc3; font-weight: 500; }
.welcome-scene-caption { position: absolute; bottom: 1%; left: 0; width: 100%; text-align: center; color: #829bbe; font-size: 11px; letter-spacing: 2px; }
.welcome-footer { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; width: 100%; max-width: 1520px; margin: 0 auto; border-top: 1px solid #dbe6f5; color: #8395ad; font-size: 11px; letter-spacing: 1px; }
@media (max-width: 1100px) {
  .welcome-node { padding: 10px; gap: 7px; }.welcome-node-icon { width: 30px; height: 30px; font-size: 16px; }.welcome-node > b { display: none; }
  .welcome-node strong { font-size: 12px; }.welcome-node small { font-size: 9px; }
  .welcome-dashboard-body { padding: 14px; }.welcome-scene { aspect-ratio: .88; }.welcome-chart { height: 90px; }
}
@media (max-width: 800px) {
  .welcome-hero { grid-template-columns: 1fr; gap: 36px; padding: 28px 0 30px; }
  .welcome-copy { text-align: center; }.welcome-kicker { justify-content: center; }.welcome-copy h1 { justify-content: center; font-size: clamp(46px,9vw,74px); }
  .welcome-subtitle { font-size: clamp(20px,4vw,27px); }.welcome-flow { margin: 24px auto 0; }.welcome-message { margin: 22px 0; }
  .welcome-scene { width: min(100%,540px); aspect-ratio: .94; }.welcome-chart { height: clamp(75px,18vw,110px); }.welcome-evidence-tags { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .welcome-header-note { font-size: 10px; letter-spacing: 0; }.welcome-footer { justify-content: center; text-align: center; flex-wrap: wrap; }
}
@media (max-width: 420px) {
  #loginScreen .login-layout { padding: 0 20px; }.welcome-header { padding: 22px 0; font-size: 16px; }.welcome-header-note { max-width: 120px; text-align: right; line-height: 1.6; }
  .welcome-kicker { font-size: 11px; letter-spacing: 0; }.welcome-copy h1 { letter-spacing: -2px; gap: 8px; }.welcome-flow { padding: 12px 17px; }
  .welcome-scene { aspect-ratio: .78; }.welcome-node { padding: 9px; gap: 6px; }.welcome-node small { font-size: 8px; }.welcome-node-icon { width: 28px; height: 28px; }
  .welcome-node-check { top: 13%; }.welcome-node-help,.welcome-node-growth { bottom: 7%; }.welcome-dashboard { top: 27%; left: 5%; right: 5%; }
  .welcome-chart-heading > span { display: none; }.welcome-evidence-tags span { font-size: 8px; }.welcome-dashboard-top { padding: 10px 13px; }.welcome-dashboard-bottom { padding: 9px 12px; font-size: 8px; }
}
/* Keep all labelled elements in document flow as the window changes size. */
.welcome-scene { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 22px 10px; aspect-ratio: auto; padding: 24px 12px; }
.welcome-node { position: relative; top: auto; bottom: auto; left: auto; right: auto; width: fit-content; max-width: 100%; }
.welcome-node-code { grid-area: 1 / 1; justify-self: start; }
.welcome-node-check { grid-area: 1 / 2; justify-self: end; }
.welcome-dashboard { position: relative; top: auto; left: auto; right: auto; grid-area: 2 / 1 / 3 / 3; margin: 10px 6px; }
.welcome-node-growth { grid-area: 3 / 1; justify-self: start; }
.welcome-node-help { grid-area: 3 / 2; justify-self: end; }
.welcome-scene-caption { position: relative; bottom: auto; left: auto; grid-area: 4 / 1 / 5 / 3; }
@media (max-width: 420px) {
  .welcome-scene { padding: 18px 4px; gap: 20px 8px; }
  .welcome-node { gap: 5px; padding: 8px; }
  .welcome-node small { font-size: 8px; }.welcome-node strong { font-size: 11px; }
  .welcome-node-icon { width: 25px; height: 25px; }
}
/* More generous typography and spacing; give large screens a larger composition. */
.welcome-header,.welcome-hero,.welcome-footer { max-width: 1960px; }
.welcome-header { font-size: 23px; padding: 32px 0; }
.welcome-header-note { font-size: 16px; }
.welcome-hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 120px); padding: 48px 0 60px; }
.welcome-copy h1 { font-size: clamp(60px, 5.8vw, 128px); margin-bottom: 34px; }
.welcome-subtitle { font-size: clamp(25px, 2.2vw, 40px); line-height: 1.75; }
.welcome-flow { margin-top: 42px; padding: 16px 26px; font-size: clamp(18px, 1.5vw, 25px); }
.welcome-action { display: flex; align-items: center; gap: 24px; margin-top: 48px; }
#loginScreen .welcome-enter { min-height: 60px; padding: 17px 32px; font-size: 18px; }
.welcome-access-note { display: flex; flex-direction: column; margin: 0; font-size: 15px; line-height: 1.8; color: #647d9e; letter-spacing: 0; }
.welcome-scene { max-width: 930px; gap: 28px 16px; padding: 28px 16px; }
.welcome-node { padding: 18px; gap: 12px; }
.welcome-node strong { font-size: 18px; }.welcome-node small { font-size: 14px; color: #637fa3; margin-top: 7px; }
.welcome-node > b { font-size: 12px; }.welcome-node-icon { width: 46px; height: 46px; font-size: 23px; }
.welcome-dashboard-top { font-size: 15px; padding: 18px 24px; }
.welcome-dashboard-body { padding: 24px; }
.welcome-chart-heading strong { font-size: 22px; }.welcome-chart-heading > span { font-size: 13px; color: #6b83a4; }
.welcome-chart { height: clamp(130px, 11vw, 225px); margin: 24px 0; }
.welcome-evidence-tags span { font-size: 14px; padding: 10px 0; }
.welcome-dashboard-bottom { font-size: 13px; padding: 15px 24px; color: #657fa1; }
.welcome-scene-caption { font-size: 14px; color: #617fa6; }
.welcome-footer { padding: 28px 0; font-size: 15px; color: #5e7da4; align-items: center; line-height: 1.8; }
@media (max-width: 1200px) {
  .welcome-hero { gap: 36px; }.welcome-copy h1 { font-size: clamp(54px, 5.6vw, 70px); }
  .welcome-subtitle { font-size: 25px; }.welcome-node { padding: 12px; gap: 8px; }
  .welcome-node strong { font-size: 15px; }.welcome-node small { font-size: 12px; }.welcome-node-icon { width: 34px; height: 34px; font-size: 19px; }
  .welcome-dashboard-body { padding: 18px; }.welcome-chart-heading strong { font-size: 18px; }.welcome-chart-heading > span { display: none; }
  .welcome-evidence-tags { grid-template-columns: repeat(2,minmax(0,1fr)); }.welcome-evidence-tags span { font-size: 13px; }
  .welcome-dashboard-bottom { font-size: 12px; padding: 12px 16px; }.welcome-action { gap: 16px; }
  .welcome-access-note { font-size: 13px; }
}
@media (max-width: 1000px) {
  .welcome-hero { grid-template-columns: 1fr; gap: 48px; padding: 36px 0; }
  .welcome-copy { text-align: center; }.welcome-copy h1 { justify-content: center; font-size: clamp(54px, 8vw, 80px); }
  .welcome-flow { margin: 30px auto 0; }.welcome-action { justify-content: center; margin-top: 34px; }
  .welcome-scene { width: min(100%, 680px); }.welcome-footer { flex-wrap: wrap; justify-content: center; text-align: center; }
}
@media (max-width: 600px) {
  .welcome-header { padding: 24px 0; font-size: 19px; }.welcome-header-note { font-size: 12px; max-width: 135px; line-height: 1.7; }
  .welcome-copy h1 { font-size: clamp(46px, 10vw, 60px); margin-bottom: 25px; }.welcome-subtitle { font-size: 23px; }
  .welcome-flow { font-size: 17px; padding: 14px 20px; }.welcome-action { flex-direction: column; gap: 16px; }.welcome-access-note br { display: none; }.welcome-access-note { font-size: 14px; }
  .welcome-access-note { flex-direction: row; gap: 12px; }.welcome-scene { padding: 20px 4px; gap: 22px 8px; }
  .welcome-node { padding: 10px; gap: 7px; transform: none; }.welcome-node strong { font-size: 14px; }.welcome-node small { font-size: 12px; white-space: normal; line-height: 1.6; }
  .welcome-node-icon { width: 28px; height: 28px; font-size: 17px; }.welcome-dashboard { transform: none; margin: 4px 0; }
  .welcome-dashboard-top { font-size: 13px; padding: 14px; }.welcome-dashboard-body { padding: 16px; }.welcome-dashboard-bottom { flex-wrap: wrap; }
  .welcome-scene-caption { font-size: 12px; letter-spacing: 1px; }.welcome-footer { font-size: 13px; padding: 24px 0; }
}
@media (max-width: 360px) {
  .welcome-flow { font-size: 15px; padding: 12px 14px; }.welcome-subtitle { font-size: 21px; }
  .welcome-node { padding: 9px; }.welcome-node-icon { display: none; }
}
@media (min-width: 1001px) and (max-width: 1500px) {
  .welcome-header { padding: 22px 0; }.welcome-hero { padding: 24px 0 32px; gap: 48px; }
  .welcome-copy h1 { font-size: clamp(60px, 5.5vw, 82px); margin-bottom: 28px; }
  .welcome-subtitle { font-size: 28px; }.welcome-flow { margin-top: 32px; font-size: 20px; padding: 14px 22px; }
  .welcome-action { margin-top: 36px; gap: 18px; }.welcome-access-note { font-size: 14px; }
  .welcome-scene { padding: 18px 12px; gap: 18px 12px; }.welcome-node { padding: 12px; gap: 9px; }
  .welcome-node strong { font-size: 16px; }.welcome-node small { font-size: 13px; }.welcome-node-icon { width: 36px; height: 36px; font-size: 20px; }
  .welcome-dashboard-top { padding: 14px 18px; font-size: 14px; }.welcome-dashboard-body { padding: 18px; }
  .welcome-chart { height: 125px; margin: 18px 0; }.welcome-chart-heading strong { font-size: 19px; }
  .welcome-evidence-tags span { font-size: 13px; padding: 8px 0; }.welcome-dashboard-bottom { padding: 12px 18px; font-size: 12px; }
  .welcome-scene-caption { font-size: 13px; }.welcome-footer { padding: 20px 0; font-size: 13px; }
}
.welcome-header-note { text-wrap: balance; }
/* A prominent learning promise and a visible, directed four-step cycle. */
.welcome-hero { padding-top: 32px; padding-bottom: 48px; }
.welcome-copy { padding: 16px 0; }
.welcome-copy h1 { margin-bottom: 28px; }
.welcome-subtitle { line-height: 1.65; }
.welcome-flow { margin-top: 32px; }
.welcome-promise { margin: 32px 0 0; color: #36577e; font-size: clamp(20px, 1.5vw, 28px); line-height: 1.85; letter-spacing: .3px; }
.welcome-promise span { color: #1c64c7; font-weight: 650; }
.welcome-action { margin-top: 34px; gap: 22px; }
#loginScreen .welcome-enter { border-radius: 999px; padding: 18px 32px; gap: 36px; box-shadow: 0 12px 28px #1965d52b, inset 0 1px 0 #ffffff40; }
.welcome-scene { padding: 26px 38px; gap: 26px 16px; }
.welcome-connectors { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.welcome-loop-tracks path { fill: none; stroke: #b7d9ff50; stroke-width: 10; stroke-linecap: round; }
.welcome-loop-lines path { fill: none; stroke: url(#welcomeLoopGradient); stroke-width: 2.6; stroke-linecap: round; }
.welcome-node { transform: none; overflow: visible; padding-right: 42px; }
.welcome-node > b { display: inline-flex; position: absolute; right: 12px; top: 12px; font-size: 13px; color: #4085ce; background: #eaf4ff; padding: 3px 5px; border-radius: 6px; line-height: 1.2; margin: 0; }
.welcome-dashboard { margin-left: 6px; margin-right: 6px; transform: rotate(-2deg); }
.welcome-scene-caption { font-size: 14px; letter-spacing: .5px; padding-top: 3px; }
@media (min-width: 1001px) and (max-width: 1500px) {
  .welcome-hero { padding: 24px 0 36px; }.welcome-copy { padding: 0; }
  .welcome-promise { font-size: 20px; margin-top: 26px; }.welcome-action { margin-top: 30px; }
  .welcome-scene { padding: 22px 34px; gap: 22px 12px; }.welcome-node { padding-right: 37px; }
}
@media (max-width: 1000px) {
  .welcome-promise { margin-top: 26px; font-size: 22px; }.welcome-action { margin-top: 30px; }
  .welcome-hero { gap: 36px; }.welcome-scene { padding: 22px 32px; }
}
@media (max-width: 600px) {
  .welcome-promise { font-size: 19px; line-height: 1.9; text-wrap: balance; }
  .welcome-scene { padding: 22px 22px; gap: 24px 30px; }.welcome-node { padding: 12px 9px; display: block; width: 100%; }
  .welcome-node-icon { display: none; }.welcome-node > b { top: 9px; right: 7px; font-size: 11px; }
  .welcome-node strong { font-size: 13px; padding-right: 20px; white-space: normal; }
  .welcome-node small { font-size: 12px; }.welcome-dashboard { transform: none; margin: 4px 0; }
  .welcome-scene-caption { font-size: 12px; line-height: 1.8; text-wrap: balance; }
}
@media (max-width: 360px) {
  .welcome-promise { font-size: 17px; }.welcome-scene { padding-left: 18px; padding-right: 18px; gap: 22px 30px; }
  .welcome-node strong { font-size: 12px; }.welcome-node small { font-size: 11px; }
}
/* Looser reading rhythm on the cover, independent of the illustration. */
.welcome-copy h1 { margin-bottom: 40px; }
.welcome-subtitle { line-height: 1.95; }
.welcome-flow { margin-top: 40px; }
.welcome-promise { margin-top: 36px; line-height: 2.1; }
.welcome-action { margin-top: 40px; }
@media (min-width: 1001px) and (max-width: 1500px) {
  .welcome-copy h1 { margin-bottom: 34px; }.welcome-subtitle { line-height: 1.9; }
  .welcome-flow { margin-top: 34px; }.welcome-promise { margin-top: 30px; line-height: 2; }.welcome-action { margin-top: 34px; }
}
@media (max-width: 1000px) {
  .welcome-copy h1 { margin-bottom: 32px; }.welcome-subtitle { line-height: 1.9; }
  .welcome-flow { margin-top: 32px; }.welcome-promise { margin-top: 30px; line-height: 2; }.welcome-action { margin-top: 34px; }
}
@media (max-width: 600px) {
  .welcome-copy h1 { margin-bottom: 28px; }.welcome-subtitle { line-height: 1.85; }
  .welcome-flow { margin-top: 28px; }.welcome-promise { margin-top: 26px; line-height: 2; }.welcome-action { margin-top: 30px; }
  .welcome-data-columns { opacity: .07; top: 5%; height: 90px; }.welcome-network-lines { opacity: .08; }.welcome-book-lines { opacity: .09; }
}

/* Four soft directional arcs around the evidence card. */
.welcome-scene { display: block; aspect-ratio: 1; padding: 0; overflow: visible; }
.welcome-node { position: absolute; width: max-content; max-width: 32%; transform: translate(-50%, -50%); }
.welcome-node-code { left: 17.5%; top: 17.5%; }.welcome-node-check { left: 82.5%; top: 17.5%; }
.welcome-node-help { left: 82.5%; top: 82.5%; }.welcome-node-growth { left: 17.5%; top: 82.5%; }
.welcome-dashboard { position: absolute; left: 14%; right: 14%; top: 50%; margin: 0; transform: translateY(-50%) rotate(-2deg); }
.welcome-chart { height: clamp(100px, 8vw, 150px); }
.welcome-scene-caption { position: absolute; left: 0; top: 101%; bottom: auto; width: 100%; }
.welcome-orbit { inset: 9%; transform: none; box-shadow: none; opacity: .24; }.welcome-orbit-inner { display: none; }
.welcome-loop-tracks path { stroke: #c6dbff42; stroke-width: 6; }
.welcome-loop-lines path { stroke-width: 2.25; }
@media (max-width: 1200px) {
  .welcome-node { padding: 12px 30px 12px 10px; gap: 7px; }
  .welcome-node small { white-space: normal; font-size: 12px; }.welcome-node-icon { display: none; }
}
@media (max-width: 600px) {
  .welcome-scene { aspect-ratio: .65; margin-bottom: 32px; }
  .welcome-node { padding: 10px 8px; max-width: 34%; }
  .welcome-dashboard { left: 12%; right: 12%; transform: translateY(-50%); }
  .welcome-dashboard-body { padding: 12px; }.welcome-dashboard-top { padding: 12px; }
  .welcome-chart { height: 85px; margin: 16px 0; }.welcome-evidence-tags span { padding: 7px 0; font-size: 12px; }
  .welcome-dashboard-bottom { padding: 10px; font-size: 11px; }.welcome-chart-heading strong { font-size: 16px; }
  .welcome-dashboard-top,.welcome-dashboard-bottom { display: none; }
}
@media (max-width: 360px) { .welcome-scene { aspect-ratio: .55; } }

/* Keep the key sentence together and center the login action under the copy. */
.welcome-promise { white-space: nowrap; font-size: clamp(16px, 1.22vw, 23px); letter-spacing: 0; }
.welcome-action { flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; }
#loginScreen .welcome-enter { min-width: 220px; justify-content: center; }
.welcome-access-note { flex-direction: row; gap: 16px; }
@media (max-width: 1000px) {
  .welcome-promise { white-space: normal; font-size: 20px; }
}
@media (max-width: 600px) {
  .welcome-promise { font-size: 18px; line-height: 1.9; }
}

/* Larger corner identity and a call to action aligned beneath the promise. */
.welcome-header { gap: 15px; font-size: 28px; }
.welcome-logo { width: 44px; height: 42px; gap: 5px; }
.welcome-logo b { width: 10px; border-radius: 4px 4px 0 0; }
.welcome-action { align-items: flex-start; justify-content: flex-start; padding-left: clamp(80px, 8vw, 146px); margin-top: 34px; }
@media (max-width: 1000px) {
  .welcome-action { align-items: center; padding-left: 0; }
}
@media (max-width: 600px) {
  .welcome-header { font-size: 21px; gap: 11px; }
  .welcome-logo { width: 34px; height: 34px; gap: 4px; }.welcome-logo b { width: 8px; }
}

/* Cover finish: restrained editorial accents and a consistent surface system. */
.welcome-header {
  text-shadow: 0 1px 0 #fff;
}
.welcome-header-note {
  padding: 8px 0 8px 16px;
  border-left: 1px solid #8dbde452;
}
.welcome-subtitle {
  position: relative;
  padding-left: 22px;
}
.welcome-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: .28em;
  bottom: .28em;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(#00c4e7, #4273eb 72%, #826ce4);
  box-shadow: 0 0 18px #32aaf044;
}
.welcome-flow {
  border-color: #9ccff3a8;
  background: linear-gradient(100deg, #effbffcf, #f0edffb8);
  box-shadow: inset 0 1px 0 #fff, 0 8px 26px #4e97d611;
  backdrop-filter: blur(8px);
}
.welcome-promise {
  position: relative;
  padding-top: 18px;
}
.welcome-promise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #04bde1, #5a7ff0 78%, transparent);
}
.welcome-promise span {
  color: #0758c4;
  box-shadow: inset 0 -.24em 0 #8edcff59;
}
#loginScreen .welcome-enter {
  overflow: hidden;
  border-color: #2a6ee6;
  background: linear-gradient(120deg, #0578ee, #2459d1 70%, #314bb3);
  box-shadow: 0 18px 32px #1768d12b, 0 4px 8px #0648a222, inset 0 1px 0 #ffffff70;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
#loginScreen .welcome-enter::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 -45%;
  width: 36%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, #ffffff2b, transparent);
  transition: left .45s ease;
}
#loginScreen .welcome-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px #1768d13a, 0 5px 10px #0648a222, inset 0 1px 0 #ffffff80;
}
#loginScreen .welcome-enter:hover::before { left: 115%; }
#loginScreen .welcome-enter:active { transform: translateY(0); }
.welcome-scene::before {
  background: radial-gradient(ellipse at 50% 50%, #a7dfff8c, #d3e8ff30 59%, transparent 73%);
  filter: blur(12px);
}
.welcome-node {
  border-color: #ffffffed;
  background: linear-gradient(145deg, #fffffffa, #f8fbffed 65%, #eef7ffed);
  box-shadow: 0 18px 38px #2870b822, 0 2px 5px #336fb414, inset 0 1px 0 #fff;
  backdrop-filter: blur(12px);
}
.welcome-node > b { box-shadow: inset 0 1px 0 #fff; }
.welcome-dashboard {
  border-color: #fff;
  background: linear-gradient(160deg, #fff, #fafdff);
  box-shadow: 0 34px 70px #2872c32b, 0 7px 18px #4a95cc18, inset 0 1px 0 #fff;
}
.welcome-chart-grid { opacity: .7; }
@media (max-width: 1000px) {
  .welcome-subtitle { width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .welcome-promise::before { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .welcome-header-note { max-width: 152px; padding-left: 10px; font-size: 11px; }
  .welcome-subtitle { padding-left: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  #loginScreen .welcome-enter,
  #loginScreen .welcome-enter::before { transition: none; }
}

/* Make the learning loop legible as the cover's main visual. */
@media (min-width: 1501px) {
  .welcome-hero { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(48px, 4vw, 84px); }
  .welcome-scene { max-width: 1060px; aspect-ratio: .94; }
  .welcome-node { max-width: 34%; padding: 19px 48px 19px 18px; gap: 13px; border-radius: 19px; }
  .welcome-node-icon { width: 50px; height: 50px; font-size: 25px; }
  .welcome-node strong { font-size: 20px; }
  .welcome-node small { font-size: 17px; line-height: 1.5; }
  .welcome-node > b { top: 14px; right: 14px; font-size: 15px; }
  .welcome-dashboard { left: 11%; right: 11%; border-radius: 21px; }
  .welcome-dashboard-top { padding: 19px 27px; font-size: 18px; }
  .welcome-dashboard-body { padding: 27px; }
  .welcome-chart-heading strong { font-size: 27px; }
  .welcome-chart-heading > span { font-size: 16px; }
  .welcome-chart { height: clamp(150px, 9.6vw, 190px); margin: 24px 0; }
  .welcome-evidence-tags { gap: 7px; }
  .welcome-evidence-tags span { padding: 11px 3px; font-size: 17px; }
  .welcome-dashboard-bottom { padding: 16px 27px; font-size: 16px; }
  .welcome-scene-caption { font-size: 18px; }
}
@media (min-width: 1001px) and (max-width: 1500px) {
  .welcome-scene { aspect-ratio: .83; }
  .welcome-node { max-width: 38%; padding: 14px 36px 14px 13px; }
  .welcome-node-icon { width: 40px; height: 40px; font-size: 21px; }
  .welcome-node strong { font-size: 18px; }
  .welcome-node small { font-size: 14px; line-height: 1.4; white-space: normal; }
  .welcome-node > b { font-size: 14px; }
  .welcome-dashboard { left: 11%; right: 11%; }
  .welcome-dashboard-top { font-size: 16px; }
  .welcome-chart-heading strong { font-size: 23px; }
  .welcome-chart { height: 140px; }
  .welcome-evidence-tags span { font-size: 15px; }
  .welcome-dashboard-bottom { font-size: 14px; }
  .welcome-scene-caption { font-size: 15px; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .welcome-scene { aspect-ratio: .78; }
  .welcome-node { max-width: 34%; }
  .welcome-node strong { font-size: 17px; }
  .welcome-node small { font-size: 13px; }
  .welcome-dashboard { left: 11%; right: 11%; }
  .welcome-chart-heading strong { font-size: 20px; }
  .welcome-chart { height: 120px; }
  .welcome-evidence-tags span { font-size: 14px; }
}

/* Four subject-specific translucent icons replace the basic glyphs. */
.welcome-node-icon,
.welcome-node-help .welcome-node-icon,
.welcome-node-growth .welcome-node-icon {
  flex: none;
  width: 66px;
  height: 66px;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.welcome-node-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 1501px) {
  .welcome-node { max-width: 38%; }
  .welcome-node-icon { width: 72px; height: 72px; }
}
@media (min-width: 1001px) and (max-width: 1500px) {
  .welcome-node { max-width: 39%; }
  .welcome-node-icon { width: 52px; height: 52px; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .welcome-node { max-width: 37%; }
  .welcome-node-icon { display: grid; width: 48px; height: 48px; }
}
@media (max-width: 600px) {
  .welcome-scene { aspect-ratio: .55; }
  .welcome-node { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; max-width: 37%; padding: 9px; }
  .welcome-node-icon { display: grid; width: 37px; height: 37px; }
  .welcome-node strong { font-size: 13px; }
  .welcome-node small { font-size: 11px; line-height: 1.4; }
}
@media (max-width: 360px) {
  .welcome-scene { aspect-ratio: .48; }
  .welcome-node-icon { width: 33px; height: 33px; }
  .welcome-node small { font-size: 10px; }
}

/* Header identity: a readable, illustrated teaching-context label. */
#loginScreen .welcome-enter { font-size: 20px; }
.welcome-header-note {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: none;
  padding: 12px 18px;
  border: 1px solid #b8dbf4a6;
  border-radius: 15px;
  background: linear-gradient(115deg, #ffffffe0, #edfaffcc 65%, #edf1ffb3);
  box-shadow: 0 8px 22px #347ec310, inset 0 1px 0 #fff;
  color: #285c9b;
  font-size: clamp(18px, 1.15vw, 23px);
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.4;
  text-shadow: none;
}
.welcome-header-tag { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.welcome-header-tag svg { flex: none; width: 25px; height: 25px; fill: none; stroke: #168bee; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.welcome-header-tag:last-child svg { stroke: #527bd1; }
.welcome-header-divider { flex: none; width: 1px; height: 23px; background: linear-gradient(transparent, #9cbfe4, transparent); }
@media (max-width: 900px) {
  .welcome-header-note { padding: 10px 12px; gap: 11px; font-size: 15px; }
  .welcome-header-tag { gap: 7px; }
  .welcome-header-tag svg { width: 21px; height: 21px; }
}
@media (max-width: 600px) {
  .welcome-header { flex-wrap: wrap; row-gap: 16px; }
  .welcome-header-note { justify-content: center; width: 100%; margin-left: 0; padding: 10px 12px; border-radius: 12px; font-size: 14px; letter-spacing: 0; }
  .welcome-header-tag svg { width: 19px; height: 19px; }
  .welcome-header-divider { height: 19px; }
}
