@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --bg: #07090d;
  --bg-elevated: rgba(17, 22, 31, 0.9);
  --card: rgba(19, 24, 34, 0.82);
  --card-strong: #171c26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f8f4ec;
  --muted: #a2aab8;
  --accent: #ff7448;
  --accent-soft: #ffb068;
  --blue: #7aa7ff;
  --purple: #9c67ff;
  --green: #55d6aa;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: min(1280px, calc(100vw - 40px));
  --assembly-progress: 0;
}

.rr-account-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #0d1017 0%, #07090d 100%);
}

.account-brand-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  background: #07080a;
  animation: accountBrandIntroExit 320ms ease-out 2s forwards;
}

.account-brand-intro-content {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.account-brand-intro-logo {
  position: relative;
  width: 188px;
  height: 188px;
  overflow: hidden;
  border-radius: 42px;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.12);
}

.account-brand-intro-logo img {
  display: block;
  width: 188px;
  height: 188px;
  max-width: none;
}

.account-brand-intro-slice {
  position: absolute;
  top: 0;
  width: 63px;
  height: 188px;
  overflow: hidden;
  opacity: 0.32;
  animation: accountBrandSliceAssemble 720ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.account-brand-intro-slice img {
  position: absolute;
  top: 0;
}

.account-brand-intro-slice-left {
  left: 0;
  transform: translate(-72px, 22px) scale(0.92);
}

.account-brand-intro-slice-left img {
  left: 0;
}

.account-brand-intro-slice-center {
  left: 63px;
  transform: translateY(82px) scale(0.92);
}

.account-brand-intro-slice-center img {
  left: -63px;
}

.account-brand-intro-slice-right {
  left: 126px;
  transform: translate(72px, -20px) scale(0.92);
}

.account-brand-intro-slice-right img {
  left: -126px;
}

.account-brand-intro-unified {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: accountBrandUnifiedIn 200ms ease-out 520ms forwards;
}

.account-brand-intro-name {
  display: grid;
  justify-items: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(10px);
  animation: accountBrandNameIn 380ms ease-out 660ms forwards;
}

.account-brand-intro-name strong {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
}

.account-brand-intro-name span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 800;
}

@keyframes accountBrandSliceAssemble {
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes accountBrandUnifiedIn {
  to {
    opacity: 1;
  }
}

@keyframes accountBrandNameIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes accountBrandIntroExit {
  to {
    visibility: hidden;
    opacity: 0;
  }
}

.account-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.account-topbar,
.account-panel,
.account-auth-panel,
.account-link-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 22, 31, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.account-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px 14px 12px 18px;
  border-radius: 18px;
}

.account-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f8f4ec;
  text-decoration: none;
}

.account-brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 8px 22px rgba(0, 0, 0, 0.24);
}

@media (prefers-reduced-motion: reduce) {
  .account-brand-intro {
    animation-delay: 800ms;
    animation-duration: 1ms;
  }

  .account-brand-intro-slice {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .account-brand-intro-unified,
  .account-brand-intro-name {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.account-brand small,
.account-status-text,
.account-link-card p,
.account-profile-lines span,
.account-traffic span,
.account-mini-stats small,
.account-usage-row small,
.account-empty {
  color: #a2aab8;
}

.account-topbar-actions,
.account-link-actions,
.account-section-head,
.account-mini-stats {
  display: flex;
  align-items: center;
}

.account-topbar-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.account-link-button,
.account-secondary,
.account-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #f8f4ec;
  text-decoration: none;
  cursor: pointer;
}

.account-auth {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 120px);
}

.account-auth-panel {
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 20px;
}

.account-kicker {
  margin: 0;
  color: #ffb068;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.account-auth-panel h1,
.account-profile h2,
.account-section h2 {
  margin: 10px 0 0;
  color: #f8f4ec;
  font-family: "Space Grotesk", sans-serif;
}

.account-auth-panel h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.account-auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 22px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.account-auth-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #a7adba;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.account-auth-switch button[aria-pressed="true"] {
  background: #f8f4ec;
  color: #111317;
}

.account-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.account-form label {
  display: grid;
  gap: 8px;
  color: #f8f4ec;
  font-weight: 700;
}

.account-form input,
.account-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0 14px;
  color: #f8f4ec;
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
}

.account-phone-input {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.account-phone-input > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  font-size: 1.25rem;
  line-height: 1;
}

.account-phone-input input,
.account-form .account-phone-input input {
  min-height: 48px;
  border: 0 !important;
  border-radius: 0;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
}

.account-phone-input:focus-within {
  border-color: #2f87ff;
  box-shadow: 0 0 0 2px rgba(47, 135, 255, 0.22);
}

.account-profile-action-line {
  flex-wrap: wrap;
}

.account-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #111317;
  background: #f8f4ec;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.account-contact-editor {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.account-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.account-inline-form label {
  display: grid;
  gap: 8px;
  color: #f8f4ec;
  font-weight: 700;
}

.account-inline-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0 12px;
  color: #f8f4ec;
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
}

.account-contact-verification {
  display: grid;
  gap: 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.account-contact-verification-copy {
  display: grid;
  gap: 5px;
}

.account-contact-verification-copy strong,
.account-contact-verification label {
  color: #f8f4ec;
}

.account-contact-verification-copy span {
  color: #a2aab8;
  line-height: 1.5;
}

.account-contact-verification label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.account-contact-verification input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0 14px;
  color: #f8f4ec;
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  font-size: 1.1rem;
}

.account-contact-verification input:focus {
  border-color: #2f87ff;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(47, 135, 255, 0.22);
}

.account-contact-verification-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.account-contact-verification-actions .account-primary {
  min-height: 42px;
  padding: 0 16px;
}

.account-license-panel {
  display: grid;
  gap: 4px;
}

.account-license-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.account-license-form button {
  min-width: 180px;
}

.account-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  color: #fff9f3;
  background: linear-gradient(135deg, #ff7448, #ff9f63);
  font-weight: 800;
  cursor: pointer;
}

.account-primary:disabled,
.account-link-button:disabled,
.account-icon-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.account-status-text {
  min-height: 24px;
  margin: 14px 0 0;
  line-height: 1.5;
}

.account-status-text[data-tone="ok"] {
  color: #55d6aa;
}

.account-status-text[data-tone="error"] {
  color: #ff8f7c;
}

.account-dashboard {
  padding-top: 24px;
}

.account-grid,
.account-grid-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 16px;
}

.account-panel {
  border-radius: 18px;
  padding: 20px;
}

.account-profile,
.account-traffic {
  min-height: 188px;
}

.account-profile {
  display: grid;
  align-content: space-between;
  gap: 22px;
}

.account-profile-lines {
  display: grid;
  gap: 10px;
}

.account-profile-lines span {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
}

.account-profile-lines i {
  color: #ffb068;
}

.account-traffic strong {
  display: block;
  margin-top: 8px;
  color: #f8f4ec;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
}

.account-mini-stats {
  gap: 10px;
  margin-top: 18px;
}

.account-mini-stats span {
  display: grid;
  min-width: 0;
  flex: 1;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.account-section {
  margin-top: 16px;
}

.account-section-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.account-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.account-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.account-link-card {
  display: grid;
  gap: 16px;
  min-height: 236px;
  padding: 18px;
  border-radius: 18px;
}

.account-link-card h3 {
  margin: 0;
  color: #f8f4ec;
  font-family: "Space Grotesk", sans-serif;
}

.account-link-card p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.account-link-card code {
  display: block;
  min-height: 54px;
  max-height: 76px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #d7e2ff;
  background: rgba(5, 8, 13, 0.58);
  overflow-wrap: anywhere;
}

.account-link-actions {
  gap: 10px;
  align-self: end;
}

.account-link-actions a,
.account-link-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #f8f4ec;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.account-link-actions button.copied {
  color: #55d6aa;
}

.account-server-list,
.account-usage-list {
  display: grid;
  gap: 10px;
}

.account-status-assessment,
.account-server-row,
.account-usage-row,
.account-empty {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.account-status-assessment,
.account-server-row {
  padding: 12px;
  line-height: 1.5;
}

.account-status-assessment {
  color: #55d6aa;
}

.account-server-row {
  color: #f8f4ec;
}

.account-usage-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

.account-usage-row span {
  display: grid;
  gap: 4px;
}

.account-usage-row strong {
  color: #f8f4ec;
  white-space: nowrap;
}

.account-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 18px;
}

@media (max-width: 980px) {
  .account-grid,
  .account-grid-head,
  .account-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .account-shell {
    width: min(100vw - 20px, 1180px);
    padding-top: 10px;
  }

  .account-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-auth-panel,
  .account-panel,
  .account-link-card {
    padding: 16px;
  }

  .account-mini-stats,
  .account-link-actions,
  .account-license-form,
  .account-inline-form,
  .account-contact-verification-actions,
  .account-usage-row {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .account-contact-verification-actions > button {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 116, 72, 0.24), transparent 34%),
    radial-gradient(circle at top right, rgba(122, 167, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #11151c 0%, #07090d 100%);
  font-family: "Manrope", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 90%);
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, #fff 0 1px, transparent 1px),
    radial-gradient(circle at 35% 70%, #fff 0 1px, transparent 1px);
  background-size: 180px 180px;
}

.public-body,
.dashboard-body {
  position: relative;
}

.site-header,
.public-main,
.dashboard-shell {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(22px);
  background: rgba(8, 10, 16, 0.7);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #ff9a54);
  color: #fff8f0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand strong,
.section-heading h2,
.hero-copy h1,
.assembly-copy h2,
.workflow-list h3,
.catalog-card h3,
.dashboard-topbar h1,
.dashboard-section h2,
.dashboard-card h3,
.login-card h1 {
  font-family: "Space Grotesk", sans-serif;
}

.brand small,
.muted-note {
  display: block;
  color: var(--muted);
}

.site-nav,
.topbar-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ff9554);
  color: #fff9f3;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(255, 116, 72, 0.24);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.glass-card,
.hero-copy,
.hero-panel,
.dashboard-card,
.dashboard-topbar,
.login-card,
.summary-grid article,
.contact-band,
.content-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.public-main {
  padding: 28px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  padding: 34px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-soft);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.assembly-copy h2,
.section-heading h2,
.dashboard-topbar h1,
.login-card h1 {
  margin: 16px 0 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
}

.hero-copy .lead,
.assembly-copy p,
.catalog-card p,
.workflow-list p,
.contact-band p,
.login-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.metric-row li,
.panel-line,
.catalog-card,
.workflow-list li,
.summary-grid article,
.rank-item,
.chat-item,
.history-item,
.legend-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.metric-row li {
  padding: 18px;
}

.metric-row span {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-weight: 800;
}

.metric-row small {
  color: var(--muted);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-line {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  margin-bottom: 14px;
}

.panel-line span {
  color: var(--muted);
}

.panel-line small {
  color: var(--muted);
}

.hero-photo-shell {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  min-height: 280px;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.panel-car-fact strong {
  font-size: 1.24rem;
}

.hero-orb {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 116, 72, 0.38), transparent 44%),
    radial-gradient(circle at 20% 20%, rgba(122, 167, 255, 0.44), transparent 40%);
  filter: blur(14px);
}

.assembly-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  margin-top: 24px;
  min-height: 210vh;
}

.assembly-copy {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 34px;
  height: fit-content;
}

.assembly-stage {
  position: relative;
}

.assembly-sticky {
  position: sticky;
  top: 110px;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 52%),
    linear-gradient(180deg, rgba(15, 20, 29, 0.96), rgba(10, 13, 19, 0.96));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.assembly-glow {
  position: absolute;
  inset: 12% 14%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 116, 72, 0.14), transparent 42%),
    radial-gradient(circle at 60% 40%, rgba(122, 167, 255, 0.18), transparent 35%);
  filter: blur(24px);
}

.car-assembly {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
  aspect-ratio: 16 / 10;
}

.car-assembly img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.assembly-layer {
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.32));
  opacity: calc(0.22 + var(--assembly-progress) * 0.72);
  transition: transform 220ms ease-out, opacity 220ms ease-out;
}

.assembly-layer-top {
  clip-path: polygon(0 0, 100% 0, 100% 42%, 0 48%);
  transform:
    translateY(calc((1 - var(--assembly-progress)) * -110px))
    rotate(calc((1 - var(--assembly-progress)) * -4deg));
}

.assembly-layer-mid {
  clip-path: polygon(10% 33%, 96% 24%, 92% 72%, 8% 78%);
  transform: translateX(calc((1 - var(--assembly-progress)) * 150px));
}

.assembly-layer-bottom {
  clip-path: polygon(0 58%, 100% 48%, 100% 100%, 0 100%);
  transform:
    translateY(calc((1 - var(--assembly-progress)) * 110px))
    translateX(calc((1 - var(--assembly-progress)) * -120px));
}

.assembly-final-photo {
  opacity: clamp(0, calc((var(--assembly-progress) - 0.5) * 2.1), 1);
  transform:
    scale(calc(0.9 + var(--assembly-progress) * 0.1))
    translateY(calc((1 - var(--assembly-progress)) * 26px));
  transition: transform 220ms ease-out, opacity 220ms ease-out;
  filter: drop-shadow(0 36px 70px rgba(0, 0, 0, 0.42));
}

.assembly-legend {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.assembly-legend span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.92rem;
}

.content-section,
.contact-band,
.dashboard-section {
  margin-top: 24px;
  padding: 30px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-heading.narrow h2,
.compact-heading h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.catalog-card {
  min-height: 240px;
  padding: 22px;
}

.catalog-card strong {
  display: block;
  margin-top: 18px;
  font-size: 1.12rem;
}

.card-kicker {
  margin: 0 0 10px;
  color: var(--accent-soft);
  font-weight: 700;
}

.accent-red {
  background:
    radial-gradient(circle at top right, rgba(255, 116, 72, 0.2), transparent 36%),
    rgba(255, 255, 255, 0.03);
}

.accent-sand {
  background:
    radial-gradient(circle at top left, rgba(255, 176, 104, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.03);
}

.accent-blue {
  background:
    radial-gradient(circle at top right, rgba(122, 167, 255, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.03);
}

.accent-gold {
  background:
    radial-gradient(circle at top left, rgba(156, 103, 255, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.03);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
}

.workflow-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 20px;
}

.workflow-list span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-soft);
  font-weight: 800;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 24px 0 40px;
}

.dashboard-shell.sidebar-hidden {
  grid-template-columns: 1fr;
}

.dashboard-sidebar {
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(11, 14, 21, 0.92);
  box-shadow: var(--shadow);
}

.dashboard-nav {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.dashboard-nav a,
.sidebar-meta p,
.sidebar-meta small {
  color: var(--muted);
  text-decoration: none;
}

.dashboard-nav a {
  padding: 14px 16px;
  border-radius: 16px;
}

.dashboard-nav a:hover {
  background: rgba(156, 103, 255, 0.12);
  color: var(--text);
}

.sidebar-meta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-main {
  min-width: 0;
}

.dashboard-login {
  min-height: calc(100vh - 48px);
  display: grid;
  place-items: center;
}

.login-card {
  width: min(560px, 100%);
  padding: 34px;
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.login-form label {
  display: grid;
  gap: 8px;
}

.login-form span {
  color: var(--muted);
}

.login-form input,
.dashboard-search {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.form-error {
  margin-top: 14px;
  color: #ff9478;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
}

.dashboard-topbar h1 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.summary-grid article {
  padding: 20px;
}

.summary-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 1.8rem;
}

.summary-grid small {
  color: var(--muted);
}

.dashboard-grid-two {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.dashboard-card {
  padding: 24px;
}

.admin-license-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-license-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-license-form input,
.admin-license-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.admin-license-form button {
  grid-column: 1 / -1;
}

.license-result {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(85, 214, 170, 0.3);
  border-radius: 18px;
  background: rgba(85, 214, 170, 0.08);
}

.license-result code {
  display: block;
  color: #dfffee;
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.license-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.license-tables {
  margin-top: 24px;
}

.card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.card-head h3 {
  margin: 8px 0 0;
  font-size: 1.3rem;
}

.chart-panel {
  min-height: 320px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
}

.line-chart {
  width: 100%;
  height: 320px;
}

.donut-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
}

.donut-chart {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--purple) 0deg 120deg, var(--blue) 120deg 240deg, var(--accent) 240deg 360deg);
  position: relative;
}

.donut-chart::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: #11151c;
  border: 1px solid var(--line);
}

.legend-list,
.rank-list,
.chat-list,
.history-feed,
.bar-chart {
  display: grid;
  gap: 12px;
}

.legend-item,
.rank-item,
.chat-item,
.history-item,
.bar-row {
  padding: 14px 16px;
}

.interactive-row {
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.interactive-row:hover,
.interactive-row:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.legend-item strong,
.rank-item strong,
.chat-item strong,
.history-item strong {
  display: block;
  margin-bottom: 6px;
}

.legend-item small,
.rank-item small,
.chat-item small,
.history-item small,
.bar-label,
.table-shell td small {
  color: var(--muted);
}

.bar-row {
  display: grid;
  gap: 8px;
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--purple), var(--blue));
}

.table-shell {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-active,
.status-trial,
.status-redeemed {
  color: #bff7dd;
  border-color: rgba(85, 214, 170, 0.38);
  background: rgba(85, 214, 170, 0.1);
}

.status-unused {
  color: #dbe7ff;
  border-color: rgba(122, 167, 255, 0.4);
  background: rgba(122, 167, 255, 0.1);
}

.status-expired,
.status-revoked,
.status-blocked,
.status-canceled {
  color: #ffc1b2;
  border-color: rgba(255, 116, 72, 0.42);
  background: rgba(255, 116, 72, 0.1);
}

.license-action-button {
  min-height: 36px;
  padding: 0 14px;
  color: #ffc1b2;
}

.profile-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(2, 4, 8, 0.58);
  backdrop-filter: blur(6px);
}

.profile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 36;
  width: min(760px, 100vw);
  height: 100vh;
  padding: 24px;
  background: rgba(8, 11, 17, 0.96);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
}

.drawer-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

.profile-drawer-body {
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.profile-head h2 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.profile-meta-grid > div,
.profile-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.profile-meta-grid > div {
  padding: 16px;
}

.profile-meta-grid small,
.profile-note {
  color: var(--muted);
}

.profile-meta-grid strong {
  display: block;
  margin-top: 8px;
}

.profile-graphs {
  display: grid;
  gap: 18px;
}

.profile-card {
  padding: 20px;
}

.profile-note {
  margin: 0 0 16px;
}

.drawer-open {
  overflow: hidden;
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-grid,
  .assembly-section,
  .split-layout,
  .dashboard-shell,
  .dashboard-grid-two {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
  }

  .sidebar-meta {
    position: static;
    margin-top: 22px;
  }

  .catalog-grid,
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --content-width: min(100vw - 24px, 100%);
  }

  .site-header,
  .dashboard-topbar,
  .contact-band {
    border-radius: 28px;
  }

  .site-header,
  .dashboard-topbar,
  .contact-band,
  .card-head {
    flex-direction: column;
    align-items: start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-photo-shell,
  .hero-photo {
    min-height: 220px;
  }

  .hero-copy,
  .hero-panel,
  .content-section,
  .contact-band,
  .dashboard-card,
  .dashboard-topbar,
  .login-card {
    padding: 24px;
  }

  .metric-row,
  .catalog-grid,
  .summary-grid,
  .admin-license-form,
  .assembly-legend,
  .donut-layout {
    grid-template-columns: 1fr;
  }

  .assembly-section {
    min-height: auto;
  }

  .assembly-copy,
  .assembly-sticky {
    position: relative;
    top: 0;
  }

  .assembly-sticky {
    min-height: 420px;
  }

  .car-assembly {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .workflow-list li {
    grid-template-columns: 1fr;
  }

  .dashboard-search {
    min-width: 0;
  }

  .data-table {
    min-width: 760px;
  }

  .profile-drawer {
    width: 100vw;
    padding: 18px;
  }

  .profile-meta-grid {
    grid-template-columns: 1fr;
  }
}

/* Russian Ride public landing */
.rr-site {
  --rr-bg: #000;
  --rr-bg-1: #0a0a0a;
  --rr-bg-2: #111;
  --rr-bg-3: #1c1c1c;
  --rr-line: #2a2a2a;
  --rr-line-soft: rgba(255, 255, 255, 0.08);
  --rr-text: #f4f4f4;
  --rr-muted: #9b9b9b;
  --rr-gold: #d4af37;
  --rr-gold-soft: #edcf7b;
  --rr-blue: #5f8cff;
  --rr-green: #48d2a0;
  --rr-wrap: min(1440px, calc(100vw - 48px));
  min-height: 100vh;
  overflow-x: clip;
  background: var(--rr-bg);
  color: var(--rr-text);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

.rr-site::before {
  display: none;
}

.rr-site *,
.rr-site *::before,
.rr-site *::after {
  letter-spacing: 0;
}

.rr-site a {
  color: inherit;
  text-decoration: none;
}

.rr-site img {
  display: block;
  max-width: 100%;
}

.rr-wrap {
  width: var(--rr-wrap);
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

.rr-header {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 200;
  width: min(1384px, calc(100% - 104px));
  transform: translateX(-50%);
  border: 1px solid var(--rr-line-soft);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
}

.rr-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px 22px;
}

.rr-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--rr-gold);
}

.rr-logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 8px;
  background: linear-gradient(135deg, #2a2413, #090909 55%, #1c1c1c);
  color: var(--rr-gold);
  font-weight: 800;
  font-size: 13px;
}

.rr-logo-text {
  color: var(--rr-gold);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.rr-nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.rr-nav-links a,
.rr-phone,
.rr-login,
.rr-lang {
  color: #d9d9d9;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 160ms ease;
}

.rr-nav-links a:hover,
.rr-phone:hover,
.rr-login:hover {
  color: var(--rr-gold);
}

.rr-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.rr-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.rr-lang {
  color: #bdbdbd;
}

.rr-btn,
.rr-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--rr-gold);
  color: #090909;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.rr-btn:hover,
.rr-cta:hover {
  background: var(--rr-gold-soft);
  transform: translateY(-1px);
}

.rr-btn {
  padding: 0 26px;
}

.rr-btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 12px;
}

.rr-first-screen {
  position: relative;
  min-height: 100vh;
  padding: 0 0 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.74)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 58%),
    url("/static/img/bmw-x6-hero.jpg") center / cover no-repeat;
}

.rr-first-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.42) 78%, #000 100%),
    radial-gradient(80% 44% at 50% -18%, rgba(212, 175, 55, 0.46), transparent 74%);
}

.rr-hero {
  position: relative;
  z-index: 2;
  min-height: 59vh;
}

.rr-hero-grid {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  align-items: end;
  gap: 48px;
  width: var(--rr-wrap);
  padding: 124px 28px 30px;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.rr-kicker {
  margin: 0 0 18px;
  color: var(--rr-gold);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.rr-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 76px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.rr-hero-tagline {
  margin: 12px 0 0;
  color: #fff;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 600;
}

.rr-hero-right {
  justify-self: end;
  max-width: 390px;
  padding-bottom: 10px;
}

.rr-gold-line {
  display: block;
  width: 100%;
  height: 2px;
  margin-bottom: 18px;
  background: var(--rr-gold);
}

.rr-hero-right p,
.rr-section-head p,
.rr-trust-strip p,
.rr-partner p,
.rr-delivery p,
.rr-why p,
.rr-faq p,
.rr-footer p,
.rr-footer span {
  color: #bdbdbd;
  line-height: 1.65;
}

.rr-hero-right p {
  margin: 0;
  font-size: 15px;
}

.rr-search,
.rr-cats,
.rr-brands {
  position: relative;
  z-index: 3;
  width: var(--rr-wrap);
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

.rr-search {
  z-index: 30;
  margin-top: 10px;
}

.rr-search-bar {
  display: flex;
  align-items: stretch;
  min-height: 84px;
  padding: 14px;
  border-radius: 8px;
  background: var(--rr-bg-1);
}

.rr-search-seg {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 190px;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
}

.rr-search-seg i {
  color: #aaa;
  font-size: 22px;
  flex-shrink: 0;
}

.rr-search-seg small {
  display: block;
  margin-bottom: 4px;
  color: #858585;
  font-size: 11px;
  text-transform: uppercase;
}

.rr-search-dates {
  flex: 1;
}

.rr-search-brand {
  min-width: 230px;
}

.rr-cta {
  align-self: stretch;
  min-width: 180px;
  margin-left: 12px;
  padding: 0 30px;
}

.rr-cats {
  margin-top: 22px;
}

.rr-cats-head,
.rr-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.rr-cats-head h2,
.rr-section-head h2,
.rr-specials h2,
.rr-reviews h2,
.rr-partner h2,
.rr-delivery h2,
.rr-why h2,
.rr-faq h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 700;
}

.rr-cats-head a,
.rr-section-head a {
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--rr-bg-1);
  color: #cfcfcf;
  font-size: 13px;
  transition: background 160ms ease, color 160ms ease;
}

.rr-cats-head a:hover,
.rr-section-head a:hover {
  background: var(--rr-bg-3);
  color: #fff;
}

.rr-cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.rr-cat,
.rr-brand,
.rr-car-card,
.rr-review-card,
.rr-delivery-grid article,
.rr-why-grid article,
.rr-faq-list details {
  border-radius: 8px;
  background: var(--rr-bg-1);
}

.rr-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 138px;
  gap: 12px;
  padding: 20px 12px;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease;
}

.rr-cat i {
  color: #d8d8d8;
  font-size: 42px;
  line-height: 1;
}

.rr-cat span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.rr-cat:hover {
  background: var(--rr-bg-3);
  transform: translateY(-2px);
}

.rr-cat:hover i {
  color: var(--rr-gold);
}

.rr-brands {
  margin-top: 14px;
}

.rr-brands-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.rr-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 58px;
  padding: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease;
}

.rr-brand span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--rr-bg-3);
  color: var(--rr-gold);
  font-size: 11px;
  font-weight: 800;
}

.rr-brand:hover {
  background: var(--rr-bg-2);
  transform: translateY(-2px);
}

.rr-specials,
.rr-reviews,
.rr-partner,
.rr-delivery,
.rr-why,
.rr-faq {
  background: #000;
}

.rr-specials {
  padding: 72px 0 24px;
}

.rr-fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 58px;
}

.rr-car-card {
  overflow: hidden;
  transition: transform 160ms ease, background 160ms ease;
}

.rr-car-card:hover {
  transform: translateY(-4px);
  background: var(--rr-bg-2);
}

.rr-car-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--rr-bg-3);
}

.rr-car-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-car-img-alt img {
  object-position: 58% 44%;
}

.rr-car-img-tight img {
  object-position: 42% 52%;
  transform: scale(1.08);
}

.rr-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--rr-gold);
  color: #070707;
  font-size: 11px;
  font-weight: 800;
}

.rr-car-info {
  padding: 18px 20px 20px;
}

.rr-car-head,
.rr-price-row,
.rr-trust-strip,
.rr-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.rr-car-head {
  align-items: flex-start;
  margin-bottom: 18px;
}

.rr-car-head h3 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
}

.rr-car-head p {
  margin: 6px 0 0;
  color: #969696;
  font-size: 13px;
}

.rr-car-head i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--rr-bg-3);
  color: var(--rr-gold);
  font-size: 20px;
}

.rr-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--rr-line);
}

.rr-specs b,
.rr-specs small {
  display: block;
}

.rr-specs b {
  color: #fff;
  font-size: 16px;
}

.rr-specs small {
  margin-top: 4px;
  color: #858585;
  font-size: 12px;
}

.rr-price-row {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rr-line);
}

.rr-price-row strong {
  color: #fff;
  font-size: 23px;
  line-height: 1;
}

.rr-price-row small {
  margin-left: 6px;
  color: #888;
  font-size: 12px;
  font-weight: 400;
}

.rr-price-row a {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--rr-gold);
  color: #070707;
  font-size: 13px;
  font-weight: 800;
}

.rr-trust-strip {
  align-items: center;
  padding: 42px 0 18px;
  border-top: 1px solid var(--rr-line);
}

.rr-trust-strip h3 {
  max-width: 560px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 34px;
  line-height: 1.18;
}

.rr-trust-strip p {
  max-width: 510px;
  margin: 0;
  font-size: 14px;
}

.rr-rating {
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.rr-rating span {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
}

.rr-rating div,
.rr-stars {
  color: var(--rr-gold);
}

.rr-rating small {
  color: #8f8f8f;
}

.rr-reviews {
  padding: 48px 0 76px;
}

.rr-reviews h2 {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 44px;
}

.rr-review-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  min-height: 430px;
  padding: 42px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.72)),
    url("/static/img/bmw-x6-hero.jpg") center / cover no-repeat;
}

.rr-review-card {
  align-self: end;
  min-height: 220px;
  padding: 22px;
  background: rgba(18, 18, 18, 0.94);
}

.rr-stars {
  margin-bottom: 14px;
  font-size: 14px;
}

.rr-review-card p {
  margin: 0 0 20px;
  color: #d0d0d0;
  font-size: 14px;
  line-height: 1.7;
}

.rr-review-card strong,
.rr-review-card small {
  display: block;
}

.rr-review-card strong {
  color: #fff;
  font-size: 14px;
}

.rr-review-card small {
  margin-top: 4px;
  color: #858585;
  font-size: 12px;
}

.rr-partner {
  padding: 56px 0 64px;
}

.rr-partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.rr-partner-grid > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  padding: 44px;
  border-radius: 8px;
  background: var(--rr-bg-1);
}

.rr-partner h2 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: 40px;
}

.rr-partner p {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 15px;
}

.rr-partner .rr-btn {
  align-self: flex-start;
}

.rr-partner-car {
  overflow: hidden;
  border-radius: 8px;
  background: var(--rr-bg-1);
}

.rr-partner-car img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.rr-delivery {
  padding: 42px 0 64px;
}

.rr-section-head p {
  max-width: 600px;
  margin: 0;
  font-size: 15px;
}

.rr-delivery-grid,
.rr-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rr-delivery-grid article,
.rr-why-grid article {
  padding: 28px;
  border: 1px solid var(--rr-line-soft);
}

.rr-delivery-grid i {
  color: var(--rr-gold);
  font-size: 32px;
}

.rr-delivery-grid h3,
.rr-why-grid h3 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 20px;
}

.rr-delivery-grid p,
.rr-why-grid p {
  margin: 0;
  font-size: 14px;
}

.rr-why {
  padding: 36px 0 64px;
}

.rr-why h2 {
  margin-bottom: 24px;
}

.rr-why-grid {
  grid-template-columns: repeat(4, 1fr);
}

.rr-why-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--rr-gold);
  font-weight: 800;
}

.rr-faq {
  padding: 48px 0 82px;
}

.rr-faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
}

.rr-faq-grid > div:first-child p {
  max-width: 440px;
  margin: 16px 0 0;
}

.rr-faq-list {
  display: grid;
  gap: 10px;
}

.rr-faq-list details {
  border: 1px solid var(--rr-line-soft);
  background: var(--rr-bg-1);
}

.rr-faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: #fff;
  font-weight: 700;
  list-style: none;
}

.rr-faq-list summary::-webkit-details-marker {
  display: none;
}

.rr-faq-list summary::after {
  content: "+";
  float: right;
  color: var(--rr-gold);
}

.rr-faq-list details[open] summary::after {
  content: "-";
}

.rr-faq-list details p {
  margin: 0;
  padding: 0 22px 20px;
  color: #bdbdbd;
  font-size: 14px;
}

.rr-footer {
  padding: 46px 0 38px;
  border-top: 1px solid var(--rr-line);
  background: #050505;
}

.rr-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 40px;
}

.rr-logo-footer {
  margin-bottom: 18px;
}

.rr-footer p {
  max-width: 420px;
  margin: 0;
  font-size: 14px;
}

.rr-footer h3 {
  margin: 0 0 14px;
  color: var(--rr-gold);
  font-size: 14px;
  text-transform: uppercase;
}

.rr-footer a,
.rr-footer span {
  display: block;
  margin-bottom: 10px;
  color: #bdbdbd;
  font-size: 14px;
}

.rr-footer a:hover {
  color: var(--rr-gold);
}

.rr-preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.rr-preloader.rr-preloader-done {
  opacity: 0;
  visibility: hidden;
}

.rr-preloader-inner {
  display: grid;
  gap: 24px;
  width: min(360px, calc(100vw - 48px));
}

.rr-preloader-logo {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 16px;
  background: linear-gradient(135deg, #2a2413, #050505 60%, #191919);
  color: var(--rr-gold);
  font-size: 24px;
  font-weight: 800;
  animation: rrLogoPulse 1.4s ease-in-out infinite alternate;
}

.rr-preloader-track {
  position: relative;
  height: 2px;
  background: #242424;
}

.rr-preloader-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--rr-gold);
  transition: width 160ms ease;
}

.rr-preloader-percent {
  position: absolute;
  left: 0;
  bottom: 12px;
  color: var(--rr-gold);
  font-size: 12px;
  font-weight: 700;
  transform: translateX(-50%);
  transition: left 160ms ease;
}

.rr-page-transition {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  background: #000;
}

.rr-page-transition-in {
  opacity: 1;
}

.rr-page-transition-out {
  opacity: 0;
  transition: opacity 420ms ease;
}

.rr-reveal,
.rr-reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 640ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 640ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rr-reveal.rr-visible,
.rr-reveal-item.rr-visible {
  opacity: 1;
  transform: translateY(0);
}

.rr-reveal-item:nth-child(2) {
  transition-delay: 70ms;
}

.rr-reveal-item:nth-child(3) {
  transition-delay: 140ms;
}

.rr-reveal-item:nth-child(4) {
  transition-delay: 210ms;
}

.rr-reveal-item:nth-child(5) {
  transition-delay: 280ms;
}

.rr-reveal-item:nth-child(6) {
  transition-delay: 350ms;
}

.rr-reveal-item:nth-child(7) {
  transition-delay: 420ms;
}

.rr-header {
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.rr-header.rr-header-scrolled {
  border-color: rgba(212, 175, 55, 0.18);
  background: rgba(8, 8, 8, 0.9);
}

.rr-search {
  position: relative;
}

.rr-search-seg {
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: background 160ms ease, color 160ms ease;
}

.rr-search-seg:hover,
.rr-search-seg[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.035);
}

.rr-date-popup,
.rr-brand-popup {
  position: absolute;
  top: calc(100% + 12px);
  z-index: 320;
  width: min(340px, calc(100vw - 48px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: var(--rr-bg-1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
  animation: rrPopupIn 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rr-date-popup {
  left: min(280px, 24vw);
}

.rr-brand-popup {
  right: 210px;
}

.rr-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rr-popup-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.rr-popup-hint {
  color: #666;
  font-size: 12px;
}

.rr-date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.rr-date-day {
  display: grid;
  place-items: center;
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #cfcfcf;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.rr-date-day:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.rr-date-day.rr-date-active {
  background: var(--rr-gold);
  color: #080808;
  font-weight: 800;
}

.rr-date-day.rr-date-range {
  background: rgba(212, 175, 55, 0.16);
  color: var(--rr-gold-soft);
}

.rr-brand-options {
  display: grid;
  gap: 4px;
}

.rr-brand-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #cfcfcf;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.rr-brand-option::before {
  content: "";
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border: 1px solid #333;
  border-radius: 5px;
}

.rr-brand-option:hover,
.rr-brand-option.rr-brand-active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.rr-brand-option.rr-brand-active::before {
  border-color: var(--rr-gold);
  background:
    radial-gradient(circle at center, var(--rr-gold) 0 4px, transparent 5px),
    rgba(212, 175, 55, 0.14);
}

.rr-car-img img {
  transition: opacity 180ms ease, transform 300ms ease;
}

.rr-car-card:hover .rr-car-img img {
  transform: scale(1.04);
}

.rr-car-img.rr-gallery-swapping img {
  opacity: 0;
}

.rr-card-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.56);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 150ms ease, background 150ms ease;
}

.rr-car-card:hover .rr-card-nav,
.rr-card-nav:focus-visible {
  opacity: 1;
}

.rr-card-nav:hover {
  background: rgba(0, 0, 0, 0.78);
}

.rr-card-prev {
  left: 10px;
}

.rr-card-next {
  right: 10px;
}

.rr-card-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 5;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
}

.rr-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transition: width 150ms ease, border-radius 150ms ease, background 150ms ease;
}

.rr-card-dot.rr-card-dot-active {
  width: 15px;
  border-radius: 4px;
  background: #fff;
}

.rr-review-stage {
  background-position: center;
  transition: background-position 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rr-review-stage.rr-visible {
  background-position: center 45%;
}

.rr-faq-list details {
  overflow: hidden;
  transition: border-color 160ms ease, background 160ms ease;
}

.rr-faq-list details[open] {
  border-color: rgba(212, 175, 55, 0.24);
  background: #121212;
}

.rr-faq-list details p {
  animation: rrFaqIn 180ms ease;
}

@keyframes rrLogoPulse {
  from {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  }

  to {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(212, 175, 55, 0.18);
  }
}

@keyframes rrPopupIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rrFaqIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rr-site *,
  .rr-site *::before,
  .rr-site *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1180px) {
  .rr-header {
    width: calc(100% - 32px);
  }

  .rr-nav {
    flex-wrap: wrap;
  }

  .rr-nav-links {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-top: 2px;
  }

  .rr-hero h1 {
    font-size: 62px;
  }

  .rr-hero-tagline {
    font-size: 28px;
  }

  .rr-cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rr-brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .rr-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .rr-site {
    --rr-wrap: 100%;
  }

  .rr-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .rr-nav {
    gap: 14px;
    padding: 12px 14px;
  }

  .rr-logo-text {
    font-size: 20px;
  }

  .rr-nav-right {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }

  .rr-phone {
    display: none;
  }

  .rr-first-screen {
    min-height: auto;
    padding-bottom: 20px;
  }

  .rr-hero {
    min-height: auto;
  }

  .rr-hero-grid {
    position: static;
    grid-template-columns: 1fr;
    gap: 18px;
    width: auto;
    padding: 150px 18px 26px;
    transform: none;
  }

  .rr-hero-right {
    justify-self: start;
    max-width: 620px;
  }

  .rr-hero h1 {
    font-size: 48px;
  }

  .rr-hero-tagline {
    font-size: 24px;
  }

  .rr-search,
  .rr-cats,
  .rr-brands,
  .rr-wrap {
    width: auto;
    padding-left: 18px;
    padding-right: 18px;
  }

  .rr-search-bar {
    flex-wrap: wrap;
    min-height: 0;
    gap: 8px;
    padding: 12px;
  }

  .rr-search-seg {
    width: 100%;
    min-width: 0;
    padding: 13px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .rr-cta {
    width: 100%;
    min-height: 52px;
    margin-left: 0;
  }

  .rr-date-popup,
  .rr-brand-popup {
    left: 18px;
    right: 18px;
    width: auto;
    max-height: 34vh;
    overflow-y: auto;
  }

  .rr-fleet-grid,
  .rr-partner-grid,
  .rr-delivery-grid,
  .rr-faq-grid,
  .rr-footer-grid {
    grid-template-columns: 1fr;
  }

  .rr-review-stage {
    display: flex;
    gap: 14px;
    min-height: auto;
    margin-left: -18px;
    margin-right: -18px;
    padding: 18px 18px 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .rr-review-stage::-webkit-scrollbar {
    display: none;
  }

  .rr-review-card {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }

  .rr-card-nav {
    opacity: 1;
  }

  .rr-partner-grid > div:first-child {
    min-height: auto;
    padding: 28px 22px;
  }

  .rr-partner-car {
    min-height: 220px;
  }

  .rr-trust-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .rr-rating {
    align-items: flex-start;
  }

  .rr-section-head,
  .rr-cats-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .rr-logo-mark {
    width: 34px;
    height: 34px;
  }

  .rr-logo-text {
    font-size: 18px;
  }

  .rr-nav-links {
    gap: 14px;
  }

  .rr-nav-links a,
  .rr-login,
  .rr-lang {
    font-size: 13px;
  }

  .rr-btn-sm {
    min-height: 38px;
    padding: 0 16px;
  }

  .rr-hero-grid {
    padding-top: 144px;
  }

  .rr-kicker {
    font-size: 12px;
  }

  .rr-hero h1 {
    font-size: 38px;
  }

  .rr-hero-tagline {
    font-size: 20px;
  }

  .rr-cats-head h2,
  .rr-section-head h2,
  .rr-specials h2,
  .rr-reviews h2,
  .rr-partner h2,
  .rr-delivery h2,
  .rr-why h2,
  .rr-faq h2,
  .rr-trust-strip h3 {
    font-size: 26px;
  }

  .rr-cats-grid,
  .rr-brands-grid,
  .rr-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rr-cat {
    min-height: 118px;
    padding: 18px 10px;
  }

  .rr-cat i {
    font-size: 34px;
  }

  .rr-brand {
    justify-content: flex-start;
  }

  .rr-specials {
    padding-top: 48px;
  }

  .rr-specs {
    grid-template-columns: 1fr 1fr;
  }

  .rr-price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .rr-date-grid {
    gap: 3px;
  }

  .rr-date-day {
    height: 34px;
    font-size: 12px;
  }

  .rr-review-card {
    flex-basis: 88%;
  }

  .rr-preloader-inner {
    width: min(300px, calc(100vw - 36px));
  }

  .rr-preloader-logo {
    width: 64px;
    height: 64px;
  }

  .rr-delivery-grid article,
  .rr-why-grid article {
    padding: 22px;
  }

  .rr-footer {
    padding-bottom: 30px;
  }
}
