/* © 2025-2026 Katykhin Ruslan <ruslank123456789@gmail.com>. All rights reserved. */
/* Фон gradientAuth — frontend/src/config/theme.ts */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #fff;
}

.page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 45%, #312e81 100%);
}

.shell {
  width: 100%;
  max-width: 26.25rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.domain {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.5);
}

.lang {
  display: inline-flex;
  padding: 0.125rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang__btn {
  margin: 0;
  padding: 0.25rem 0.625rem;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang__btn:hover {
  color: rgba(255, 255, 255, 0.9);
}

.lang__btn--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.lang__btn:focus-visible {
  outline: 2px solid rgba(103, 232, 249, 0.8);
  outline-offset: 2px;
}

.card {
  padding: clamp(1.25rem, 4vw, 1.75rem);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Hero — как LoginLanding MarketingCopy */
.hero {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 0.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__logo {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
}

.hero__brand {
  flex: 1;
  min-width: 0;
  padding-top: 0.125rem;
  text-align: left;
}

.hero__title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.5rem, 4.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.hero__tagline {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
}

.hero__subtagline {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
}

.features {
  margin: 0;
  padding: 0.25rem 0 0;
  list-style: none;
}

.features__item {
  display: grid;
  grid-template-columns: 1.375rem 1fr;
  column-gap: 0.875rem;
  align-items: start;
  padding: 0.75rem 0;
}

.features__item + .features__item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.125rem;
}

.features__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.features__icon--cyan {
  color: #67e8f9;
}

.features__icon--violet {
  color: #c4b5fd;
}

.features__icon--rose {
  color: #f9a8d4;
}

.features__body {
  min-width: 0;
  text-align: left;
}

.features__title {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.features__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 380px) {
  .shell {
    max-width: 28rem;
  }
}
