/* Стартова сторінка «/». Мова «Синьої сцени» учня (student/v0.css, блок wl-scene): темно-синій, коло в куті, зелена кнопка з тінню-сходинкою.
   Макет: 09-дизайн/стартова-привітання-26-11/. Найменший шрифт 15 px. Без зовнішніх шрифтів і картинок. */
:root {
  --navy: #1E3A8A; --navy2: #1D4ED8; --navy3: #2D4DA6; --ice: #DCE9FF; --green: #8EE63E; --green-ink: #183300; --green-step: #5FA82A;
  --page: #E8EEFF; --text: #1E293B; --text2: #4A5A72; --blue: #1F5FFF; --blue-ink: #1D4ED8;
  --font: 'Onest', system-ui, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--page); }
body { margin: 0; font-family: var(--font); color: var(--text); font-size: 1.0625rem; line-height: 1.45; -webkit-font-smoothing: antialiased; background: var(--page); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.nojs { padding: 24px 16px; max-width: 420px; margin: 0 auto; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 104% -6%, var(--navy2) 0, var(--navy2) 160px, transparent 161px) no-repeat, var(--navy); color: #fff; padding: 0 16px 36px; }
.top { display: flex; align-items: center; min-height: 60px; max-width: 1120px; margin: 0 auto; }
.top img { height: 26px; filter: brightness(0) invert(1); display: block; }
.hero-in { max-width: 560px; margin: 0 auto; text-align: center; }
.fan { display: flex; justify-content: center; padding: 18px 0 10px; }
.fan b { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; margin: 0 -4px; box-shadow: 0 4px 0 rgba(0,0,0,.22); background: var(--ice); }
.fan img { width: 44px; height: 44px; object-fit: contain; }
.fan b:nth-child(1) { transform: rotate(-9deg) translateY(6px); }
.fan b:nth-child(2) { background: var(--green); transform: rotate(-4deg); }
.fan b:nth-child(3) { background: #fff; transform: rotate(2deg) translateY(-6px); width: 76px; height: 76px; z-index: 1; }
.fan b:nth-child(3) img { width: 56px; height: 56px; }
.fan b:nth-child(4) { background: var(--green); transform: rotate(6deg); }
.fan b:nth-child(5) { transform: rotate(10deg) translateY(6px); }
h1 { font-size: 2.375rem; line-height: 1.08; letter-spacing: -.025em; margin: 18px 0 16px; font-weight: 700; }
h1 mark { background: var(--green); color: var(--green-ink); padding: 0 8px; border-radius: 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { color: var(--ice); font-size: 1.1875rem; margin: 0 auto 24px; max-width: 30ch; }
.go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 64px; border-radius: 18px; background: var(--green); color: var(--green-ink); font-weight: 700; font-size: 1.375rem; text-decoration: none; box-shadow: 0 5px 0 var(--green-step); }
.go:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--green-step); }
.adults { display: flex; flex-direction: column; align-items: center; margin-top: 14px; }
.adults a { display: flex; align-items: center; min-height: 44px; padding: 0 8px; color: #fff; font-weight: 600; font-size: 1rem; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.55); }
.adults-cap { font-size: .9375rem; color: var(--ice); margin: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--ice); font-size: .9375rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.more i { width: 28px; height: 28px; border-radius: 50%; background: var(--navy3); display: grid; place-items: center; font-style: normal; color: #fff; }

.know { max-width: 1120px; margin: 0 auto; padding: 32px 16px 8px; }
.know > h2 { font-size: 1.625rem; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 20px; }
.grid { display: grid; gap: 28px; }
.step-h { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; }
.num { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; box-shadow: 0 3px 0 #0F2466; }
.step h3 { font-size: 1.25rem; line-height: 1.2; margin: 3px 0 2px; letter-spacing: -.01em; }
.step .sub { color: var(--text2); margin: 0; font-size: 1rem; }
.card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 1px 3px rgba(30,58,120,.06), 0 10px 30px rgba(30,58,120,.10); }

.arch { display: grid; grid-template-columns: 132px 1fr; }
.arch.nopic { grid-template-columns: 1fr; }
.arch .pic { background: #E3E9FB; }
.arch .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.arch .body { padding: 14px 14px 16px; }
.cap { font-size: .9375rem; font-weight: 700; color: var(--blue-ink); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 4px; }
.arch .name { font-size: 1.25rem; font-weight: 700; line-height: 1.15; margin: 0 0 10px; }
.forces { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.forces li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; }
.forces b { flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--ice); display: grid; place-items: center; }
.forces li:nth-child(2) b { background: var(--green); }
.forces img { width: 24px; height: 24px; }

.strip { display: flex; gap: 8px; margin: 0 0 10px; }
.strip figure { margin: 0; flex: 1; position: relative; border-radius: 16px; overflow: hidden; height: 92px; }
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 6px; font-size: .9375rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(10,20,50,.85)); line-height: 1.15; }
.day .ph { height: 150px; position: relative; }
.day .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.day .ph .tag { position: absolute; left: 12px; top: 12px; background: var(--navy); color: #fff; font-size: .9375rem; font-weight: 700; padding: 5px 10px; border-radius: 10px; }
.day .body { padding: 14px 16px 16px; }
.day .name { font-weight: 700; font-size: 1.1875rem; margin: 0 0 2px; }
.day .where { color: var(--text2); font-size: .9375rem; margin: 0 0 10px; }
.day .voice { margin: 0; font-size: 1.0625rem; line-height: 1.45; }

.study .body { padding: 16px; }
.study .spec { font-weight: 700; font-size: 1.125rem; line-height: 1.25; margin: 0 0 12px; }
.route { list-style: none; margin: 0 0 12px; padding: 0 0 0 4px; }
.route li { position: relative; padding: 0 0 12px 26px; font-size: .9375rem; font-weight: 600; }
.route li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.route li::after { content: ""; position: absolute; left: 6px; top: 20px; bottom: -2px; width: 3px; background: #BFD4FF; }
.route li:last-child { padding-bottom: 0; }
.route li:last-child::after { display: none; }
.route li:last-child::before { background: var(--green); border-color: var(--green-step); }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nums div { background: var(--ice); border-radius: 14px; padding: 10px 12px; }
.nums b { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--navy); }
.nums span { font-size: .9375rem; color: var(--text); }
.src { font-size: .9375rem; color: var(--text2); margin: 8px 0 0; }

.end { margin: 36px 0 0; background: var(--navy); color: #fff; padding: 28px 16px 24px; text-align: center; }
.end-in { max-width: 420px; margin: 0 auto; }
.end p.t { font-size: 1.375rem; font-weight: 700; margin: 0 0 16px; letter-spacing: -.01em; }
.foot { display: flex; justify-content: center; padding: 22px 0 8px; }
.foot img { height: 22px; filter: brightness(0) invert(1); opacity: .9; }

.trio { display: none; }

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  .top { min-height: 76px; }
  .top img { height: 30px; }
  .hero { padding: 0 40px 48px; background: radial-gradient(circle at 100% -10%, var(--navy2) 0, var(--navy2) 300px, transparent 301px) no-repeat, var(--navy); }
  .hero-in { max-width: 1120px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; text-align: left; }
  .hero-in.solo { grid-template-columns: 1fr; max-width: 560px; text-align: center; }
  .hero-in .fan { justify-content: flex-start; padding-left: 6px; }
  .hero-in .lead { margin-left: 0; }
  .hero-in .go { margin: 0; }
  .hero-in .adults { justify-content: flex-start; }
  .hero-in.solo .fan, .hero-in.solo .adults { justify-content: center; }
  .trio { display: block; position: relative; height: 470px; }
  .trio figure { position: absolute; margin: 0; width: 230px; height: 324px; border-radius: 28px; overflow: hidden; background: #E3E9FB; box-shadow: 0 8px 0 rgba(0,0,0,.22); border: 5px solid #fff; }
  .trio img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
  .trio figcaption { position: absolute; left: 10px; bottom: 10px; background: var(--navy); color: #fff; font-weight: 700; font-size: .9375rem; padding: 6px 12px; border-radius: 12px; }
  .trio figure:nth-child(1) { left: 0; top: 90px; transform: rotate(-7deg); }
  .trio figure:nth-child(2) { left: 150px; top: 10px; z-index: 2; transform: rotate(2deg); width: 250px; height: 352px; }
  .trio figure:nth-child(3) { left: 300px; top: 110px; transform: rotate(8deg); }
  .fan b { width: 84px; height: 84px; border-radius: 26px; margin: 0 -2px; }
  .fan img { width: 58px; height: 58px; }
  .fan b:nth-child(3) { width: 104px; height: 104px; }
  .fan b:nth-child(3) img { width: 76px; height: 76px; }
  h1 { font-size: 4rem; }
  .lead { font-size: 1.375rem; max-width: 34ch; }
  .go { max-width: 420px; margin: 0 auto; min-height: 72px; font-size: 1.5rem; }
  .adults { flex-direction: row; justify-content: center; gap: 24px; flex-wrap: wrap; }
  .adults-cap { width: 100%; text-align: center; margin-bottom: -6px; }
  .more { display: none; }
  .end .adults { flex-direction: column; gap: 0; }
  .end .adults-cap { margin-bottom: 0; }
  .know { padding: 48px 40px 8px; }
  .know > h2 { font-size: 2rem; text-align: center; margin-bottom: 28px; }
  .grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; align-items: start; }
  .arch { grid-template-columns: 1fr; }
  .arch .pic { height: 300px; }
  .arch .body { padding: 16px 18px 18px; }
  .day .ph { height: 170px; }
  .end { margin-top: 56px; padding: 40px 16px 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .fan b { animation: pop .5s cubic-bezier(.2,.9,.3,1.3) both; }
  .fan b:nth-child(2) { animation-delay: .05s; } .fan b:nth-child(3) { animation-delay: .1s; } .fan b:nth-child(4) { animation-delay: .15s; } .fan b:nth-child(5) { animation-delay: .2s; }
  @keyframes pop { from { opacity: 0; translate: 0 14px; } }
}
