@font-face {
  font-family: Unbounded;
  src: url(/assets/unbounded.woff2) format("woff2");
  font-display: swap;
  font-weight: 400 800;
}
@font-face {
  font-family: Golos;
  src: url(/assets/golos.woff2) format("woff2");
  font-display: swap;
  font-weight: 400 800;
}
:root {
  --primary: #204ce5;
  --ink: #17254b;
  --background: #f6f8fd;
  --surface: #ffffff;
  --ice: #deebff;
  --coral: #ff7d67;
  --muted: #5c6880;
  --border: #dce2ee;
  --danger: #ad2638;
  --success: #257354;
  --scroll-thumb: #8c9bb8;
  --scroll-track: #edf1f8;
  --scroll-hover: #5c6880;
  --scroll-active: #204ce5;
  --font-display: Unbounded, Arial, sans-serif;
  --font-body: Golos, Arial, sans-serif;
  --radius: 20px;
  --page: 1240px;
  scroll-behavior: smooth;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  scrollbar-width: thin;
}
* {
  box-sizing: border-box;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  scrollbar-width: thin;
}
*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
*::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
*::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 8px;
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-hover);
}
*::-webkit-scrollbar-thumb:active {
  background: var(--scroll-active);
}
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button,
a,
input,
textarea {
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s,
    border-color 0.18s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 5px;
}
button:hover:not(:disabled),
a:hover {
  filter: brightness(0.94);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.055em;
}
.site-shell {
  max-width: var(--page);
  padding: 0 40px;
  margin: auto;
}
.header {
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.06em;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin-top: 2px;
}
.brand-icon {
  background: var(--primary);
  color: var(--surface);
  width: 49px;
  height: 49px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  position: relative;
}
.brand-icon span {
  font-family: var(--font-body);
  font-size: 9px;
  background: var(--coral);
  color: var(--ink);
  position: absolute;
  right: -3px;
  bottom: -3px;
  border: 3px solid var(--background);
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  letter-spacing: 0;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}
.nav-link {
  color: var(--muted);
}
.admin-link {
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 11px 18px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 30px;
  padding: 65px 0 70px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
h1 {
  font-size: clamp(42px, 4.7vw, 66px);
  margin: 25px 0 22px;
  line-height: 1.13;
  position: relative;
  letter-spacing: -0.065em;
}
.italic-word {
  color: var(--primary);
}
.coral-star {
  color: var(--coral);
  position: absolute;
  font-size: 75px;
  right: 12px;
  top: 43px;
  line-height: 1;
}
.hero-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 500;
}
.primary {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}
.primary:hover {
  background: var(--ink);
}
.text-link {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.human-note {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 32px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}
.human-note strong {
  color: var(--ink);
  font-weight: 500;
}
.mini-faces {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 21px;
  width: 61px;
  height: 35px;
  padding-left: 8px;
  border-radius: 25px;
  background: var(--ice);
  color: var(--primary);
}
.mini-faces span {
  font-size: 12px;
  background: var(--coral);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-left: 4px;
  color: var(--ink);
  border: 2px solid var(--background);
}
.building-scene {
  border-radius: 25px;
  background: var(--ice);
  position: relative;
  overflow: hidden;
  min-height: 500px;
  isolation: isolate;
}
.scene-top {
  position: absolute;
  top: 22px;
  left: 23px;
  right: 23px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.13em;
  z-index: 3;
}
.orbit {
  border: 1px solid var(--primary);
  opacity: 0.13;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  position: absolute;
  left: -90px;
  top: 80px;
}
.orbit-two {
  width: 360px;
  height: 360px;
  left: -20px;
  top: 150px;
}
.scene-spark {
  position: absolute;
  right: 35px;
  top: 48px;
  font-size: 70px;
  color: var(--primary);
}
.building {
  position: absolute;
  width: 225px;
  height: 370px;
  background: var(--primary);
  left: 50%;
  bottom: 51px;
  transform: translateX(-45%) rotate(-5deg);
  border-radius: 5px 5px 0 0;
  box-shadow: 17px 9px 0 #adc2ed;
}
.roof {
  color: var(--surface);
  border-bottom: 1px solid #6a89ef;
  padding: 13px 17px;
  font-size: 10px;
  letter-spacing: 0.16em;
  display: flex;
  justify-content: space-between;
}
.roof span {
  font-family: var(--font-display);
}
.windows {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 11px 12px;
}
.window {
  height: 23px;
  background: #8da8ff;
  border-radius: 2px;
  box-shadow: inset -4px 0 0 #6585eb;
}
.window.lit {
  background: #fff0b4;
  box-shadow: inset -4px 0 0 #e6d58c;
}
.window.coral {
  background: var(--coral);
  box-shadow: none;
}
.building-door {
  position: absolute;
  bottom: 0;
  left: 80px;
  background: var(--ink);
  color: var(--surface);
  width: 66px;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 8px;
}
.address-tag {
  position: absolute;
  z-index: 2;
  top: 111px;
  left: 22px;
  background: var(--surface);
  padding: 11px 17px;
  font-size: 9px;
  box-shadow: 0 5px 18px #17254b0d;
  transform: rotate(-8deg);
  border-radius: 6px;
}
.address-tag span {
  display: block;
  font-family: var(--font-display);
  font-size: 51px;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.1em;
}
.speech-bubble {
  position: absolute;
  right: 20px;
  bottom: 122px;
  padding: 16px 20px;
  background: var(--surface);
  transform: rotate(4deg);
  border-radius: 15px 15px 15px 0;
  font-size: 14px;
  box-shadow: 0 10px 30px #17254b14;
}
.speech-bubble span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.scene-caption {
  position: absolute;
  bottom: 17px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
}
.scene-coordinate {
  position: absolute;
  bottom: 18px;
  right: 19px;
  font-size: 7px;
  letter-spacing: 0.08em;
}
.ticker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-block: 1px solid var(--border);
  padding: 17px 2px;
  color: var(--primary);
  font-size: 20px;
  gap: 20px;
}
.ticker span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.11em;
  white-space: nowrap;
}
.help-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding: 86px 0;
}
.section-intro h2 {
  font-size: 40px;
  margin: 18px 0;
}
.section-intro > p {
  color: var(--muted);
  font-size: 14px;
}
.topic-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  max-width: 330px;
}
.topic-shortcuts button {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 30px;
  padding: 8px 13px;
  font-size: 11px;
  display: flex;
  gap: 17px;
}
.topic-shortcuts button:hover {
  background: var(--ice);
}
.source-note {
  display: flex;
  gap: 12px;
  font-size: 9px;
  color: var(--muted);
  margin-top: 30px;
}
.source-note > span {
  font-size: 22px;
  color: var(--primary);
}
.source-note a {
  text-decoration: underline;
}
.chat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 15px 55px #17254b06;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 475px;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.assistant-avatar {
  width: 39px;
  height: 39px;
  background: var(--primary);
  color: var(--surface);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 23px;
  text-align: center;
}
.chat-header strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.chat-header small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.chat-badge {
  font-size: 7px;
  color: var(--primary);
  background: var(--ice);
  padding: 4px 8px;
  border-radius: 5px;
  margin-left: auto;
  letter-spacing: 0.07em;
}
.messages {
  padding: 24px 22px;
  min-height: 270px;
  max-height: 520px;
  overflow: auto;
  flex: 1;
  scrollbar-gutter: stable;
}
.message {
  max-width: 90%;
  margin-bottom: 16px;
  font-size: 12px;
  border-radius: 2px 15px 15px 15px;
  padding: 14px 16px;
  background: var(--background);
  white-space: normal;
  overflow-wrap: anywhere;
}
.message-body {
  white-space: pre-wrap;
}
.message-label {
  font-size: 7px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 7px;
}
.message.user {
  background: var(--primary);
  color: var(--surface);
  margin-left: auto;
  border-radius: 15px 2px 15px 15px;
}
.message.user .message-label {
  color: var(--surface);
}
.message a {
  display: block;
  text-decoration: underline;
  color: var(--primary);
  font-size: 10px;
  margin-top: 9px;
}
.chat-starter {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  padding-left: 15px;
}
.chat-starter > span {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 3px;
}
.chat-starter button {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 10px;
  color: var(--ink);
}
.chat-starter button:hover {
  border-color: var(--primary);
  background: var(--ice);
}
.chat-form {
  display: flex;
  align-items: flex-end;
  margin: 10px 20px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 7px;
  background: var(--background);
  gap: 8px;
}
.chat-form textarea {
  border: 0;
  background: transparent;
  padding: 9px 7px;
  flex: 1;
  min-width: 0;
  max-height: 170px;
  min-height: 38px;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.7;
}
.send-button {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 9px;
  background: var(--primary);
  color: var(--surface);
  font-size: 23px;
}
.chat-foot {
  font-size: 8px;
  color: var(--muted);
  text-align: center;
  padding: 0 0 14px;
}
.chat-foot span {
  padding: 0 5px;
}
.form-error {
  color: var(--danger);
  font-size: 11px;
  min-height: 22px;
  padding: 2px 22px;
}
.guide-section {
  padding: 0 0 80px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 27px;
}
.section-heading h2 {
  font-size: 30px;
  margin-top: 13px;
}
.guide-count {
  font-size: 10px;
  color: var(--muted);
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  text-align: left;
  color: var(--ink);
  position: relative;
  min-height: 280px;
}
.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.card-icon {
  font-size: 26px;
  display: block;
  margin-bottom: 20px;
  color: var(--primary);
}
.card-tag {
  font-size: 7px;
  letter-spacing: 0.1em;
  position: absolute;
  right: 22px;
  top: 37px;
  color: var(--muted);
}
.guide-card h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.055em;
}
.guide-card p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  font-size: 10px;
}
.card-bottom b {
  font-size: 20px;
  font-weight: 400;
}
.blue-card {
  background: var(--ice);
  border-color: var(--ice);
}
.pink-card {
  background: #ffede8;
  border-color: #ffede8;
}
.contacts {
  border-top: 1px solid var(--border);
  padding: 45px 0 58px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.contacts h2 {
  font-size: 35px;
  margin-top: 18px;
}
.contact-details {
  padding-top: 15px;
}
.contact-details > span {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.phone {
  font-family: var(--font-display);
  font-size: 21px;
  display: block;
  letter-spacing: -0.05em;
  margin: 13px 0 7px;
}
.contact-details p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 25px 0 32px;
  font-size: 9px;
  color: var(--muted);
}
.footer-brand {
  font-size: 17px;
  color: var(--ink);
}
.footer-star {
  color: var(--coral);
  font-size: 30px;
}
.skip {
  position: fixed;
  top: -70px;
  left: 10px;
  background: var(--surface);
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--surface);
  padding: 12px 20px;
  border-radius: 12px;
  z-index: 50;
  max-width: 90vw;
  font-size: 12px;
}
.toast:empty {
  display: none;
}
.loading {
  min-height: 65px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.loading:before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .site-shell {
    padding-inline: 20px;
  }
  .hero {
    padding-top: 75px;
  }
}
@media (max-width: 900px) {
  .site-shell {
    padding-inline: 25px;
  }
  .hero {
    gap: 25px;
  }
  h1 {
    font-size: 45px;
  }
  .coral-star {
    font-size: 52px;
    right: 0;
    top: 30px;
  }
  .building-scene {
    min-height: 470px;
  }
  .help-section {
    gap: 30px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .section-intro h2 {
    font-size: 31px;
  }
  .header nav {
    gap: 15px;
  }
  .nav-link {
    display: none;
  }
  .guide-card {
    padding: 19px;
  }
  .guide-card h3 {
    font-size: 17px;
  }
  .card-tag {
    font-size: 6px;
    right: 13px;
  }
  .guide-count {
    max-width: 140px;
    text-align: right;
  }
  .phone {
    font-size: 17px;
  }
}
@media (max-width: 620px) {
  .site-shell {
    padding-inline: 20px;
  }
  .header {
    height: 88px;
  }
  .brand {
    font-size: 15px;
  }
  .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 27px;
  }
  .brand small {
    font-size: 9px;
  }
  .admin-link {
    font-size: 0;
    padding: 8px 12px;
    gap: 0;
  }
  .admin-link span {
    font-size: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 35px 0 30px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 46px;
    margin-top: 20px;
    max-width: 350px;
  }
  .hero-desc {
    font-size: 14px;
  }
  .coral-star {
    right: 10px;
    top: 36px;
    font-size: 58px;
  }
  .hero-actions {
    gap: 24px;
    margin-top: 24px;
  }
  .human-note {
    margin-top: 23px;
  }
  .building-scene {
    min-height: 370px;
  }
  .building {
    height: 300px;
    width: 190px;
    bottom: 42px;
  }
  .windows {
    gap: 7px 10px;
    padding: 12px 16px;
  }
  .window {
    height: 18px;
  }
  .building-door {
    left: 65px;
    height: 40px;
  }
  .address-tag {
    top: 75px;
    left: 19px;
  }
  .address-tag span {
    font-size: 44px;
  }
  .scene-spark {
    font-size: 55px;
    top: 47px;
    right: 30px;
  }
  .speech-bubble {
    font-size: 12px;
    right: 13px;
    bottom: 95px;
    padding: 13px;
  }
  .scene-coordinate {
    display: none;
  }
  .scene-top {
    font-size: 7px;
  }
  .ticker {
    gap: 14px;
    overflow: hidden;
    justify-content: flex-start;
    padding-block: 12px;
  }
  .ticker span {
    font-size: 8px;
  }
  .ticker span:last-of-type {
    display: none;
  }
  .help-section {
    grid-template-columns: 1fr;
    padding: 45px 0;
    gap: 28px;
  }
  .section-intro h2 {
    font-size: 32px;
  }
  .section-intro h2 br {
    display: none;
  }
  .section-intro > p br {
    display: none;
  }
  .section-intro > p {
    font-size: 13px;
    max-width: 330px;
  }
  .topic-shortcuts {
    max-width: none;
    margin-top: 18px;
  }
  .source-note {
    margin-top: 17px;
  }
  .chat-header {
    padding: 15px;
  }
  .messages {
    padding: 20px 15px;
    max-height: 440px;
  }
  .chat-form {
    margin-inline: 12px;
  }
  .message {
    font-size: 12px;
    max-width: 94%;
  }
  .chat-badge {
    font-size: 6px;
  }
  .chat-card {
    min-height: 450px;
  }
  .section-heading {
    align-items: start;
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .guide-count {
    display: none;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-card {
    min-height: 230px;
    padding: 24px;
  }
  .guide-card h3 {
    font-size: 24px;
  }
  .card-tag {
    top: 37px;
    right: 25px;
    font-size: 7px;
  }
  .card-bottom {
    margin-top: 18px;
  }
  .guide-section {
    padding-bottom: 40px;
  }
  .contacts {
    grid-template-columns: 1fr;
    padding: 30px 0;
    gap: 15px;
  }
  .contacts h2 {
    font-size: 30px;
  }
  .contacts h2 br {
    display: none;
  }
  .phone {
    font-size: 19px;
  }
  .contact-details {
    padding-top: 0;
  }
  footer {
    align-items: start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-brand {
    width: 100%;
  }
  footer > span {
    font-size: 8px;
    max-width: 200px;
  }
  .button {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none;
    transition: none;
  }
}
@media (forced-colors: active) {
  * {
    scrollbar-color: auto;
  }
  button,
  a,
  input,
  textarea {
    forced-color-adjust: auto;
  }
  .window {
    border: 1px solid CanvasText;
  }
}

@media (max-width: 620px) {
  .hero .coral-star {
    display: none;
  }
}
