:root { font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172139; background: #f7f9fc; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; }
a { color: inherit; }
.al-skip { position: absolute; z-index: 30; top: -60px; left: 16px; padding: 10px 15px; border-radius: 8px; background: #fff; color: #172139; }
.al-skip:focus { top: 12px; }
.al-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 74px; padding: 15px clamp(20px, 4vw, 56px); background: #151e32; color: #fff; }
.al-brand { font-size: 18px; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.al-brand span { color: #b4b1ff; }
.al-back { font-size: 14px; font-weight: 750; text-underline-offset: 4px; }
.al-layout { display: grid; grid-template-columns: minmax(240px, 290px) minmax(0, 1fr); width: min(100%, 1600px); min-height: calc(100vh - 74px); margin-inline: auto; }
.al-side { align-self: stretch; padding: 43px 25px 45px clamp(20px, 3vw, 40px); border-right: 1px solid #e0e5ef; background: #fff; }
.al-side__eyebrow, .al-kicker { margin: 0 0 12px; color: #5a54d6; font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.al-side__title { margin: 0 0 26px; font-size: 23px; font-weight: 850; letter-spacing: -.04em; }
.al-side__note { margin: 0; padding-top: 23px; border-top: 1px solid #e0e5ef; color: #6a7689; font-size: 13px; line-height: 1.6; }
.al-main { min-width: 0; padding: clamp(33px, 5vw, 76px) clamp(20px, 5vw, 82px) 105px; }
.al-lesson { max-width: 1050px; margin-inline: auto; }
.al-lesson[hidden], .al-failure-next[hidden] { display: none !important; }
.al-heading { max-width: 800px; margin-bottom: 30px; }
.al-heading h1 { margin: 0 0 15px; font-size: clamp(38px, 4vw, 60px); font-weight: 850; letter-spacing: -.06em; line-height: 1.1; }
.al-heading > p:last-child { max-width: 760px; margin: 0; color: #526077; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; }
.al-board { overflow: hidden; margin: 0 0 42px; border: 1px solid #dce2ed; border-radius: 22px; background: #fff; box-shadow: 0 20px 55px #192b4720; }
.al-board img { display: block; width: 100%; height: auto; }
.al-board figcaption { padding: 13px 19px; color: #5c687b; font-size: 13px; line-height: 1.5; }
.al-work { padding: clamp(23px, 4vw, 48px); border: 1px solid #dfe5ee; border-radius: 22px; background: #fff; box-shadow: 0 15px 35px #26395b0b; }
.al-work__head h2 { margin: 0 0 9px; font-size: clamp(26px, 2.3vw, 34px); font-weight: 850; letter-spacing: -.045em; }
.al-work__head p { margin: 0 0 25px; color: #59677a; font-size: 16px; line-height: 1.6; }
.al-check { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 21px; padding: 10px 18px; border: 0; border-radius: 12px; background: #252f52; color: #fff; cursor: pointer; font-weight: 800; }
.al-check:hover { background: #4541bd; }
.al-result { margin: 17px 0 0; padding: 15px 18px; border-left: 4px solid #605be6; border-radius: 0 10px 10px 0; background: #f1f1ff; color: #263652; font-size: 15px; line-height: 1.65; }
.al-route { display: grid; gap: 10px; }
.al-route-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 14px 13px 20px; border: 1px solid #dce3ee; border-radius: 13px; background: #f9faff; font-weight: 750; }
.al-route-item div { display: flex; gap: 6px; }
.al-route-item button { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #cbd3e2; border-radius: 9px; background: #fff; color: #353f65; cursor: pointer; font-size: 18px; font-weight: 850; }
.al-route-item button:hover { border-color: #5c58d9; }
.al-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.al-photo-grid button { overflow: hidden; padding: 0 0 18px; border: 2px solid #dce3ee; border-radius: 15px; background: #fff; color: #172139; cursor: pointer; text-align: left; }
.al-photo-grid button[aria-pressed="true"] { border-color: #514bd0; box-shadow: 0 0 0 2px #514bd01b; }
.al-photo-grid strong, .al-photo-grid small { display: block; padding-inline: 17px; }
.al-photo-grid strong { margin-top: 13px; font-size: 16px; }
.al-photo-grid small { margin-top: 6px; color: #5b687a; font-size: 13px; line-height: 1.5; }
.al-thumb { position: relative; display: block; height: 125px; margin: 0; background: #dce8ed; }
.al-thumb::before, .al-thumb::after, .al-thumb i { position: absolute; content: ''; }
.al-thumb--road { background: linear-gradient(#c7dae7 0 44%, #e0e9e2 44% 72%, #7b91a2 72%); }
.al-thumb--road::before { right: 18%; bottom: 28%; width: 26%; height: 34%; border: 4px solid #40516c; background: #f5ead9; }
.al-thumb--road::after { right: 28%; bottom: 28%; width: 7%; height: 24%; background: #526881; }
.al-thumb--road i { left: 26%; bottom: 15%; width: 21%; height: 20%; border-radius: 50% 50% 8% 8%; background: #c76359; }
.al-thumb--sofa { background: linear-gradient(#f0e9db 0 70%, #c7b79f 70%); }
.al-thumb--sofa::before { left: 20%; bottom: 21%; width: 60%; height: 34%; border-radius: 20px 20px 7px 7px; background: #aab6a0; }
.al-thumb--sofa::after { left: 30%; bottom: 34%; width: 40%; height: 18%; border-radius: 10px; background: #d9e1d1; }
.al-thumb--path { background: linear-gradient(#c9d9e7 0 38%, #d5e4cf 38%); }
.al-thumb--path::before { left: 29%; bottom: 0; width: 44%; height: 65%; background: #d5c5af; clip-path: polygon(45% 0, 63% 0, 100% 100%, 0 100%); }
.al-thumb--path::after { left: 9%; bottom: 20%; width: 22%; height: 23%; border: 3px solid #556684; background: #eef2f3; }
.al-thumb--door { background: #f1e6d6; }
.al-thumb--door::before { left: 36%; bottom: 0; width: 29%; height: 86%; border: 6px solid #394c65; border-bottom: 0; border-radius: 9px 9px 0 0; background: #a5c29a; }
.al-thumb--door::after { left: 59%; bottom: 33%; width: 9px; height: 9px; border-radius: 50%; background: #e9e5c6; }
.al-entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .68fr); align-items: start; gap: clamp(24px, 5vw, 60px); }
.al-choice-pair { display: grid; gap: 8px; margin-bottom: 22px; }
.al-choice-pair strong { margin-bottom: 2px; font-size: 14px; }
.al-choice-pair button, .al-message-options button, .al-failure-options button, .al-field-options button { width: 100%; padding: 12px 15px; border: 1px solid #d3dce8; border-radius: 10px; background: #f9fbff; color: #25344c; cursor: pointer; font-size: 15px; font-weight: 700; line-height: 1.5; text-align: left; }
.al-choice-pair button:hover, .al-message-options button:hover, .al-failure-options button:hover, .al-field-options button:hover { border-color: #6b65dd; }
.al-choice-pair button[aria-pressed="true"], .al-message-options button[aria-pressed="true"], .al-field-options button[aria-pressed="true"] { border-color: #5852d8; background: #efefff; }
.al-phone { position: relative; min-height: 465px; padding: 60px 25px 28px; border: 11px solid #202a3c; border-radius: 39px; background: #f4f7fb; box-shadow: 0 20px 30px #1e2b4222; }
.al-phone__top { position: absolute; top: 12px; left: 50%; width: 73px; height: 13px; border-radius: 9px; background: #202a3c; transform: translateX(-50%); }
.al-phone__label { margin: 0 0 10px; color: #5651c7; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.al-phone h3 { margin: 0 0 25px; font-size: 24px; letter-spacing: -.04em; }
.al-phone p:not(.al-phone__label) { margin: 0 0 12px; padding: 12px 13px; border-radius: 10px; background: #fff; color: #344257; font-size: 14px; line-height: 1.5; }
.al-phone__help { margin-top: 23px; padding-top: 15px; border-top: 1px solid #d4deea; color: #556275; font-size: 12px; line-height: 1.5; }
.al-message-options, .al-failure-options, .al-field-options { display: grid; gap: 9px; }
.al-message-preview { margin-top: 24px; padding: 20px 23px; border-radius: 15px; background: #eaf8f3; }
.al-message-preview span { color: #32715d; font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.al-message-preview p { margin: 12px 0 0; color: #28483c; font-size: 16px; line-height: 1.65; }
.al-failure-options button[data-chosen="true"] { border-color: #5852d8; background: #efefff; }
.al-failure-next { margin-top: 35px; padding-top: 30px; border-top: 1px solid #dce3ee; }
.al-failure-next h3 { margin: 0 0 16px; font-size: 23px; letter-spacing: -.03em; }
.al-field-close { margin: 25px 0 0; color: #526077; font-size: 16px; line-height: 1.7; }
button:focus-visible, a:focus-visible { outline: 3px solid #43b595; outline-offset: 3px; }

@media (max-width: 850px) {
  .al-layout { grid-template-columns: minmax(0, 1fr); }
  .al-side { min-width: 0; padding: 20px; border-right: 0; border-bottom: 1px solid #e0e5ef; }
  .al-side__title { margin-bottom: 0; font-size: 18px; }
  .al-side__note { display: none; }
  .al-side__eyebrow { margin-bottom: 6px; }
  .al-main { padding-top: 40px; }
}

@media (max-width: 560px) {
  .al-top { min-height: 64px; padding: 12px 18px; }
  .al-brand { font-size: 14px; }
  .al-back { max-width: 155px; font-size: 12px; text-align: right; }
  .al-side { padding: 17px 14px; }
  .al-main { padding: 32px 16px 70px; }
  .al-heading h1 { font-size: 37px; }
  .al-board { margin-bottom: 25px; border-radius: 15px; }
  .al-board figcaption { font-size: 12px; }
  .al-work { padding: 20px 16px; border-radius: 15px; }
  .al-route-item { padding-left: 12px; font-size: 14px; }
  .al-photo-grid { gap: 8px; }
  .al-photo-grid strong, .al-photo-grid small { padding-inline: 10px; }
  .al-photo-grid strong { font-size: 14px; }
  .al-thumb { height: 90px; }
  .al-entry { grid-template-columns: 1fr; }
  .al-phone { width: min(100%, 330px); margin-inline: auto; }
}
