/* Обложка: собственная палитра, общие экраны приложения её не наследуют. */
.welcome-page {
  --bg: #f7f2e7;
  --card: #fffcf5;
  --ink: #243e35;
  --muted: #646c5e;
  --accent: #285644;
  --accent-ink: #fffdf6;
  --line: #dedfcd;
  --error: #a32924;
  background: radial-gradient(ellipse at 85% 30%, #e9eddd 0, transparent 55%), var(--bg);
  color-scheme: light;
}
.welcome-header, .welcome-main {
  width: min(1280px, 100%);
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.welcome-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
}
.welcome-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.7px;
}
.welcome-brand-mark { width: 34px; height: 38px; color: var(--accent); flex: none; }
.welcome-about { color: var(--muted); font-size: 14px; text-decoration: none; }
.welcome-about span { margin-left: 5px; }
.welcome-about:hover { color: var(--ink); text-decoration: underline; }
.welcome-main { padding-top: clamp(16px, 4vh, 52px); padding-bottom: 32px; }
.welcome-layout {
  display: grid;
  grid-template-columns: .93fr 1.2fr;
  grid-template-areas: "intro art" "entry art";
  align-items: center;
  column-gap: 28px;
}
.welcome-intro { grid-area: intro; align-self: end; position: relative; z-index: 1; }
.welcome-eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 22px;
  color: #586c49;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.welcome-eyebrow > span { color: #967027; font-size: 18px; line-height: 1; }
.welcome-intro h1 {
  margin: 0;
  font: 500 clamp(38px, 4.8vw, 64px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -2px;
}
.welcome-intro h1 em { color: #436c4b; font-weight: 400; }
.welcome-art { grid-area: art; position: relative; margin: 4px 0; }
.welcome-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 88px 24px 88px 24px;
  box-shadow: 0 24px 60px -40px #27493480;
}
.welcome-art-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #637156;
  font-size: 12px;
  letter-spacing: .4px;
}
.welcome-art-caption > span { color: #967027; }
.welcome-entry { grid-area: entry; align-self: start; }
.welcome-description { margin: 24px 0; color: #556453; font-size: 17px; line-height: 1.65; }
.welcome-actions { display: grid; gap: 10px; max-width: 350px; }
.welcome-actions form { margin: 0; }
.welcome-actions .btn, .welcome-actions button {
  width: 100%;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.welcome-actions .welcome-enter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 16px -8px #28564470;
}
.welcome-enter > span:last-child { font-size: 22px; line-height: 1; font-weight: 400; }
.welcome-actions .welcome-enter:hover { background: #1e4435; border-color: #1e4435; }
.welcome-actions .welcome-try { color: var(--ink); background: #fffcf580; border-color: #c5ccba; }
.welcome-actions .welcome-try:hover { background: #fffdf7; border-color: #7e9471; }
.welcome-actions button:disabled { opacity: .65; cursor: wait; }
.welcome-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.welcome-entry .msg { max-width: 350px; font-size: 14px; }
.welcome-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 28px 0 0;
  margin: clamp(40px, 7vh, 76px) 0 0;
  border-top: 1px solid var(--line);
}
.welcome-steps li { display: flex; align-items: start; gap: 13px; }
.welcome-step-number { color: #a38c56; font: italic 24px/1.3 Georgia, serif; }
.welcome-steps strong { display: block; font-size: 14px; font-weight: 650; }
.welcome-steps strong + span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.welcome-page > footer.wrap {
  max-width: 1168px;
  width: calc(100% - clamp(40px, 8vw, 112px));
  margin-inline: auto;
  padding-inline: 0;
  padding-block: 14px !important;
  border-color: var(--line) !important;
  font-size: 11px !important;
}
.welcome-page > footer a { color: var(--muted); text-decoration: none; }
.welcome-page > footer a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 960px) {
  .welcome-art { margin-right: -20px; }
  .welcome-art img { width: calc(100% + 20px); }
}
@media (min-width: 761px) {
  .welcome-main { display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 760px) {
  .welcome-header { padding-block: 17px; }
  .welcome-brand { font-size: 19px; gap: 9px; }
  .welcome-brand-mark { width: 28px; height: 31px; }
  .welcome-about { font-size: 12px; }
  .welcome-main { max-width: 540px; padding-top: 10px; padding-bottom: 24px; }
  .welcome-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "art" "entry"; gap: 0; }
  .welcome-intro { text-align: center; }
  .welcome-eyebrow { justify-content: center; font-size: 9px; letter-spacing: 1.35px; margin-bottom: 13px; }
  .welcome-eyebrow > span { font-size: 14px; }
  .welcome-intro h1 { font-size: clamp(30px, 8vw, 43px); line-height: 1.12; letter-spacing: -.9px; }
  .welcome-art { margin-top: 22px; }
  .welcome-art img { border-radius: 42px 14px 42px 14px; }
  .welcome-art-caption { margin-top: 10px; font-size: 10px; }
  .welcome-entry { text-align: center; }
  .welcome-description { max-width: 330px; margin: 17px auto; font-size: 14px; line-height: 1.55; }
  .welcome-desktop-break { display: none; }
  .welcome-actions { max-width: 380px; margin-inline: auto; }
  .welcome-actions .btn, .welcome-actions button { min-height: 50px; padding: 12px 18px; font-size: 14px; border-radius: 12px; }
  .welcome-note { margin-top: 11px; font-size: 10px; }
  .welcome-entry .msg { margin-inline: auto; }
  .welcome-steps { margin-top: 30px; padding-top: 22px; gap: 13px; }
  .welcome-steps li { display: block; text-align: center; }
  .welcome-step-number { display: block; font-size: 19px; margin-bottom: 7px; }
  .welcome-steps strong { font-size: 11px; line-height: 1.4; }
  .welcome-steps strong + span { display: none; }
  .welcome-page > footer.wrap { text-align: center; line-height: 1.9; font-size: 10px !important; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .welcome-header { padding-block: 12px; }
  .welcome-main { padding-top: 5px; }
  .welcome-eyebrow { margin-bottom: 8px; }
  .welcome-intro h1 { font-size: 30px; }
  .welcome-art { max-width: 310px; width: 100%; margin: 14px auto 0; }
  .welcome-art-caption { display: none; }
  .welcome-description { margin-block: 12px; font-size: 13px; }
  .welcome-actions { gap: 8px; }
  .welcome-actions .btn, .welcome-actions button { min-height: 46px; padding-block: 10px; }
  .welcome-steps { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-actions .btn, .welcome-actions button { transition: none; }
}
