@font-face { font-family: 'Timbermash Montserrat'; src: url('./timbermash-Montserrat-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Timbermash Montserrat'; src: url('./timbermash-Montserrat-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Timbermash Montserrat'; src: url('./timbermash-Montserrat-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  color-scheme: dark;
  font-family: "Timbermash Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  background: #242424;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 45%, #bc9c6320, transparent 48%),
    radial-gradient(ellipse at 100% 0%, #52677719, transparent 45%);
}
a { color: inherit; }
.page {
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1328px;
  margin: auto;
  padding: 36px 64px 26px;
  display: flex;
  flex-direction: column;
}
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 22px; font-weight: 650; letter-spacing: -.6px; }
.brand-mark { display: block; width: 37px; height: 37px; object-fit: contain; }
.layout { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; padding: 72px 0 88px; }
.intro { padding-bottom: 8px; }
.portrait-wrap { position: relative; display: inline-block; margin-bottom: 40px; }
.portrait { display: block; border-radius: 50%; object-fit: cover; border: 1px solid #d7c5a632; padding: 5px; background: #c7b28e0d; }
.portrait-caption { position: absolute; right: -30px; bottom: 10px; border: 1px solid #383b36; border-radius: 24px; padding: 7px 12px; background: #20251f; color: #c1cfb1; font-size: 11px; letter-spacing: .02em; }
.portrait-caption::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; border-radius: 50%; background: #b6c6a3; }
.eyebrow { margin: 0 0 18px; color: #c6b18b; font-size: 10px; line-height: 1.5; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(52px, 5.3vw, 72px); line-height: 1.04; font-weight: 500; letter-spacing: -.055em; }
.intro-copy { margin: 25px 0 0; color: #a7a9a9; font-size: 15px; line-height: 1.75; }
.card { border: 1px solid #34383d; border-radius: 24px; background: #1b2025; box-shadow: 0 24px 80px #00000021; padding: 42px 38px 28px; width: 100%; max-width: 460px; justify-self: end; }
.card-eyebrow { margin-bottom: 13px; }
h1 { margin: 0; font-size: 29px; line-height: 1.25; font-weight: 550; letter-spacing: -.035em; }
.card-copy { color: #b1b5b8; margin: 13px 0 32px; font-size: 14px; line-height: 1.65; }
button, .login-button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 10px; padding: 12px 16px; background: #e9dfce; color: #24221e; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s, transform .15s; }
button:hover, .login-button:hover { background: #f8efdf; }
button:active, .login-button:active { transform: translateY(1px); }
button:focus-visible, a:focus-visible { outline: 3px solid #c9b28d; outline-offset: 4px; }
.yandex-mark { display: grid; place-items: center; background: #fc4037; color: white; border-radius: 50%; width: 26px; height: 26px; font-size: 18px; line-height: 1; font-weight: 500; }
.arrow { font-size: 20px; font-weight: 400; margin-left: auto; }
button > .yandex-mark, .login-button > .yandex-mark { margin-right: auto; }
.account-help { margin: 18px 0 0; text-align: center; font-size: 12px; line-height: 1.65; color: #aab0b5; }
.notice { margin: -8px 0 24px; padding: 14px 16px; border: 1px solid #ba80514d; border-radius: 10px; background: #ac713312; color: #e5c5a6; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.notice strong { font-weight: 600; }
.notice p { margin: 0; }
.notice strong + p { margin-top: 5px; }
.notice b { font-weight: 500; }
.back-link { display: block; width: fit-content; margin: 22px auto 4px; font-size: 14px; text-underline-offset: 4px; color: #c5c9cc; }
.footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #ffffff0c; padding-top: 20px; color: #93999e; font-size: 11px; line-height: 1.5; }
@media (min-width: 761px) and (max-height: 800px) {
  .page { padding-top: 24px; padding-bottom: 18px; }
  .layout { padding-top: 30px; padding-bottom: 30px; }
}
@media (max-width: 1000px) {
  .page { padding: 28px 40px 24px; }
  .layout { gap: 36px; }
  .card { padding: 34px 26px 26px; }
  .desktop-break { display: none; }
}
@media (max-width: 760px) {
  .page { max-width: 510px; padding: 24px 24px 22px; }
  .layout { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 36px 0; }
  .intro { padding: 0; }
  .intro > .eyebrow, .intro h2, .intro-copy { display: none; }
  .portrait-wrap { margin: 0; }
  .portrait { width: 80px; height: 80px; padding: 3px; }
  .portrait-caption { right: -48px; bottom: 2px; font-size: 10px; padding: 5px 9px; }
  .card { max-width: none; padding: 30px 26px 24px; border-radius: 20px; }
  h1 { font-size: 28px; }
  .card-copy { margin-bottom: 26px; }
  .footer { justify-content: center; font-size: 10px; }
  .footer > span:last-child { display: none; }
}
@media (max-width: 360px) {
  .page { padding-left: 16px; padding-right: 16px; }
  .card { padding: 26px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Timbermash application brand: shared with the signed-in workspace. */
:root { --tmb-yellow: #fac52c; --tmb-graphite: #242424; }
body::before { background: none; }
.page { border-top: 4px solid var(--tmb-yellow); }
.brand { font-weight: 700; }
.brand-mark { width: 34px; height: 34px; }
.eyebrow { color: var(--tmb-yellow); letter-spacing: .14em; }
h2 { font-weight: 600; letter-spacing: -.055em; }
.intro-copy { color: #c4c4c4; }
.portrait { border-color: #fac52c80; background: #303030; }
.portrait-caption { background: #303030; border-color: #505050; color: #f4f4f4; }
.portrait-caption::before { background: var(--tmb-yellow); }
.card { background: #303030; border-color: #484848; border-radius: 16px; box-shadow: 0 16px 48px #00000026; }
.card-copy { color: #dedede; }
button, .login-button { background: var(--tmb-yellow); color: var(--tmb-graphite); border-radius: 10px; }
button:hover, .login-button:hover { background: #ffd126; }
button:focus-visible, a:focus-visible { outline-color: var(--tmb-yellow); }
.account-help { color: #bdbdbd; }
.footer { color: #bdbdbd; border-color: #484848; }
.notice { color: #ffe39a; border-color: #fac52c66; background: #fac52c0d; }
@media (max-width: 760px) { .card { border-radius: 14px; } }
