:root {
  --bg: #070707;
  --bg-soft: #0b0b0b;
  --surface: #10100f;
  --surface-raised: #151411;
  --surface-gold: #1a1710;
  --text: #f7f4ed;
  --text-soft: #cbc7be;
  --muted: #96938c;
  --gold: #d6ae62;
  --gold-light: #f0d79f;
  --gold-deep: #8d642d;
  --line: rgba(214, 174, 98, 0.25);
  --line-soft: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --header-height: 78px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(214, 174, 98, 0.07), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: #080705;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--gold-light);
  color: #090806;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(76px, 9vw, 132px) 0;
}

.section--compact {
  padding: clamp(56px, 7vw, 92px) 0;
}

.section--line {
  border-top: 1px solid var(--line-soft);
}

.section--glow::before {
  position: absolute;
  top: 10%;
  left: 50%;
  width: min(820px, 92vw);
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(214, 174, 98, 0.06);
  filter: blur(100px);
  content: "";
  pointer-events: none;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(214, 174, 98, 0.18);
  background: rgba(7, 7, 7, 0.9);
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.97);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  width: min(calc(100% - 40px), 1320px);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand__mark {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(214, 174, 98, 0.55);
  border-radius: 50%;
  background: #070707;
  box-shadow: 0 0 24px rgba(214, 174, 98, 0.12);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  clip-path: circle(48% at 50% 50%);
}

.brand__wordmark {
  display: grid;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand__wordmark span:last-child {
  margin-top: 5px;
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  color: #aaa7a0;
  font-size: 0.9rem;
  font-weight: 650;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 15px;
  bottom: 5px;
  left: 15px;
  height: 1px;
  transform: scaleX(0);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  transition: transform 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  background: rgba(214, 174, 98, 0.08);
  color: var(--gold-light);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(214, 174, 98, 0.05);
  color: var(--gold-light);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 180ms var(--ease),
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--gold);
  color: #090806;
  box-shadow: 0 12px 32px rgba(214, 174, 98, 0.2);
}

.button--solid {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0b0906;
}

.button--solid:hover,
.button--solid:focus-visible {
  background: var(--gold-light);
  box-shadow: 0 14px 38px rgba(214, 174, 98, 0.3);
}

.button--soft {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.button svg,
.text-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  background: #030303;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 56%, rgba(0, 0, 0, 0.45)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 35%);
  content: "";
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 1916 / 821;
  object-fit: cover;
  object-position: center;
}

.hero__mobile-copy {
  display: none;
}

.hero__dock {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(214, 174, 98, 0.05), transparent 32%, rgba(214, 174, 98, 0.04)),
    #0a0a09;
}

.hero__dock-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 112px;
}

.hero__dock-copy {
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero__dock-copy::before {
  width: 42px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.hero__dock-copy strong {
  display: block;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.hero__dock-copy span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero__buttons {
  display: flex;
  gap: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(214, 174, 98, 0.45);
  border-radius: 999px;
  background: rgba(214, 174, 98, 0.055);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 15px;
  height: 15px;
}

.display-title {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(2.7rem, 6vw, 5.9rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.display-title .gold,
.section-title .gold {
  color: var(--gold-light);
}

.section-title {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: clamp(2.15rem, 4.3vw, 4.25rem);
  font-weight: 820;
  letter-spacing: -0.045em;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-style: italic;
}

.lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.centered-heading {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto clamp(42px, 6vw, 72px);
  text-align: center;
}

.centered-heading .section-title,
.centered-heading .lead {
  margin-right: auto;
  margin-left: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.intro-monogram {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.12), transparent 38%),
    repeating-linear-gradient(135deg, transparent 0 32px, rgba(255, 255, 255, 0.012) 32px 33px),
    #0b0b0a;
  box-shadow: var(--shadow);
}

.intro-monogram::before,
.intro-monogram::after {
  position: absolute;
  border: 1px solid rgba(214, 174, 98, 0.14);
  border-radius: 50%;
  content: "";
}

.intro-monogram::before {
  width: 330px;
  height: 330px;
}

.intro-monogram::after {
  width: 250px;
  height: 250px;
}

.intro-monogram img {
  position: relative;
  z-index: 1;
  width: min(72%, 340px);
  clip-path: circle(48% at 50% 50%);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
}

.intro-copy p {
  margin-bottom: 30px;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.mini-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0;
}

.mini-fact {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.mini-fact strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.05rem;
}

.mini-fact span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.07), transparent 40%),
    var(--surface);
  transition:
    transform 260ms var(--ease),
    border-color 260ms ease,
    background 260ms ease;
}

.value-card::after {
  position: absolute;
  right: -28px;
  bottom: -44px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(214, 174, 98, 0.11);
  border-radius: 50%;
  content: "";
}

.value-card:hover {
  transform: translateY(-7px);
  border-color: rgba(214, 174, 98, 0.45);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.12), transparent 44%),
    var(--surface-raised);
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(214, 174, 98, 0.07);
  color: var(--gold-light);
}

.value-card__icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-panel__image {
  min-height: 430px;
  overflow: hidden;
  background: #060606;
}

.feature-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.feature-panel:hover .feature-panel__image img {
  transform: scale(1.025);
}

.feature-panel__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(34px, 5vw, 68px);
  background:
    radial-gradient(circle at 0 0, rgba(214, 174, 98, 0.11), transparent 20rem),
    #0e0e0d;
}

.feature-panel__content h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  letter-spacing: -0.04em;
}

.feature-panel__content p {
  margin-bottom: 28px;
  color: var(--text-soft);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 38px 24px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line-soft);
}

.stat strong {
  display: block;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
}

.stat span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-cta {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visual-cta__image {
  position: relative;
  overflow: hidden;
}

.visual-cta__image img {
  width: 100%;
  aspect-ratio: 2172 / 724;
  object-fit: cover;
}

.visual-cta__bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(90deg, rgba(214, 174, 98, 0.07), transparent 42%),
    #0d0d0c;
}

.visual-cta__bar h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.visual-cta__bar p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  min-height: clamp(430px, 58vw, 650px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 34%, rgba(214, 174, 98, 0.13), transparent 28rem),
    #070707;
}

.page-hero::before {
  position: absolute;
  inset: 0 0 0 42%;
  background:
    linear-gradient(90deg, #070707 0%, rgba(7, 7, 7, 0.58) 28%, rgba(7, 7, 7, 0.05)),
    var(--page-image, url("feature-drive.png")) center / cover no-repeat;
  content: "";
  opacity: 0.62;
}

.page-hero--team {
  --page-image: url("feature-drive.png");
}

.page-hero--partners {
  --page-image: url("information-banner.png");
}

.page-hero--hub {
  --page-image: url("hero-main.png");
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(135deg, transparent 0 54px, rgba(214, 174, 98, 0.025) 54px 55px);
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 70px 0;
}

.page-hero .lead {
  max-width: 590px;
}

.visual-page-hero {
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.visual-page-hero img {
  width: 100%;
  aspect-ratio: 1916 / 821;
  object-fit: cover;
}

.visual-page-hero__mobile-copy {
  display: none;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.content-card {
  position: relative;
  min-height: 260px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(214, 174, 98, 0.07), transparent 38%),
    var(--surface);
}

.content-card__number {
  position: absolute;
  top: 15px;
  right: 24px;
  color: rgba(214, 174, 98, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.5rem;
  line-height: 1;
}

.content-card h2,
.content-card h3 {
  position: relative;
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.content-card p {
  position: relative;
  margin-bottom: 0;
  color: var(--text-soft);
}

.statement {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  font-style: italic;
  line-height: 1.3;
  text-align: center;
}

.statement span {
  color: var(--gold-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 430px));
  justify-content: center;
  gap: clamp(24px, 5vw, 54px);
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.team-card__portrait {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: #151515;
}

.team-card__portrait::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(8, 8, 8, 0.88));
  content: "";
}

.team-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.team-card:first-child .team-card__portrait img {
  object-position: 50% 44%;
}

.team-card:hover .team-card__portrait img {
  transform: scale(1.035);
}

.team-card__body {
  padding: 30px;
}

.team-card__role {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card h2 {
  margin-bottom: 12px;
  font-family: "Segoe UI", "Arial Unicode MS", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  overflow-wrap: anywhere;
}

.team-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.empty-state {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(44px, 8vw, 86px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0, rgba(214, 174, 98, 0.1), transparent 23rem),
    var(--surface);
  text-align: center;
}

.empty-state__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(214, 174, 98, 0.06);
  color: var(--gold-light);
}

.empty-state__icon svg {
  width: 34px;
  height: 34px;
}

.empty-state h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.empty-state p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.partner-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  max-width: 1040px;
  margin: 48px auto 0;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 16% 50%, rgba(214, 174, 98, 0.13), transparent 25rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 52%),
    var(--surface);
}

.partner-card::before {
  position: absolute;
  top: 0;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.partner-card__logo {
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 22px);
}

.partner-card__logo img {
  width: min(100%, 330px);
  height: auto;
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, 0.55));
}

.partner-card__label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-card h3 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.partner-card__content > p {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--muted);
}

.partner-card__meta,
.partner-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-card__meta {
  margin-bottom: 28px;
}

.partner-card__meta span {
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.partner-card__actions .button {
  min-width: 132px;
}

.brand-collection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.brand-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}

.brand-shot:first-child {
  grid-column: 1 / -1;
}

.brand-shot img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transition:
    transform 700ms var(--ease),
    filter 300ms ease;
}

.brand-shot:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

.brand-shot__label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(214, 174, 98, 0.24);
  border-radius: 12px;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(12px);
}

.brand-shot__label strong {
  font-size: 0.85rem;
}

.brand-shot__label span {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-list__item svg {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
}

.hub-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hub-card {
  position: relative;
  min-height: 240px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.07), transparent 44%),
    var(--surface);
}

.hub-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 58px;
}

.hub-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--gold-light);
}

.hub-card__icon svg {
  width: 23px;
  height: 23px;
}

.hub-card__status {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hub-card h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.hub-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0, rgba(214, 174, 98, 0.055), transparent 28rem),
    #050505;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) repeat(2, minmax(160px, 0.45fr));
  gap: 60px;
  padding: 72px 0 54px;
}

.footer-brand p {
  max-width: 430px;
  margin: 22px 0 0;
  color: var(--muted);
}

.footer-heading {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  width: max-content;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line-soft);
  color: #8b8780;
  font-size: 0.76rem;
}

.footer-bottom p {
  max-width: 720px;
  margin-bottom: 0;
}

.back-to-top {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-3px);
  background: rgba(214, 174, 98, 0.08);
}

.back-to-top svg {
  width: 17px;
  height: 17px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 80ms !important;
}

.reveal-delay-2 {
  transition-delay: 160ms !important;
}

.reveal-delay-3 {
  transition-delay: 240ms !important;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
  }

  .brand__wordmark {
    display: none;
  }

  .nav-link {
    padding-inline: 10px;
    font-size: 0.82rem;
  }

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

  .feature-panel {
    grid-template-columns: 1fr;
  }

  .feature-panel__image {
    min-height: 0;
  }

  .feature-panel__image img {
    aspect-ratio: 1774 / 887;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .nav-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .brand__wordmark {
    display: grid;
  }

  .js .nav-toggle {
    position: absolute;
    z-index: 30;
    top: 50%;
    right: 0;
    display: block;
    transform: translateY(-50%);
  }

  .nav-actions {
    display: none;
  }

  .nav-menu {
    position: fixed;
    z-index: 20;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 4px;
    max-height: calc(100svh - var(--header-height));
    padding: 18px 20px 26px;
    overflow: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 7, 7, 0.985);
    transition:
      transform 300ms var(--ease),
      opacity 200ms ease,
      visibility 200ms ease;
  }

  .js .nav-menu {
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
  }

  .js:not(.nav-ready) .nav-menu {
    transition: none;
  }

  .js .nav-open .nav-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    justify-content: space-between;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid transparent;
    font-size: 0.92rem;
  }

  .nav-link.is-active {
    border-color: var(--line);
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-monogram {
    min-height: 380px;
  }

  .page-hero::before {
    inset: 0;
    opacity: 0.32;
  }

  .page-hero::after {
    background:
      linear-gradient(90deg, rgba(7, 7, 7, 0.96) 0%, rgba(7, 7, 7, 0.64) 70%, rgba(7, 7, 7, 0.35)),
      linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.78));
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 68px 0;
  }

  .section--compact {
    padding: 52px 0;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .hero__visual {
    min-height: 72svh;
  }

  .hero__visual img {
    height: 72svh;
    aspect-ratio: auto;
    object-position: 72% center;
    filter: brightness(0.75);
  }

  .hero__visual::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent);
  }

  .hero__mobile-copy {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 28px;
    left: 20px;
    display: block;
  }

  .hero__mobile-copy .eyebrow {
    margin-bottom: 14px;
  }

  .hero__mobile-copy .mobile-title {
    display: block;
    max-width: 500px;
    margin-bottom: 14px;
    font-size: clamp(2.45rem, 12vw, 4.2rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.055em;
    text-transform: uppercase;
  }

  .hero__mobile-copy p {
    max-width: 470px;
    margin-bottom: 0;
    color: var(--text-soft);
  }

  .hero__dock-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 0 30px;
  }

  .hero__dock-copy {
    display: none;
  }

  .hero__buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .value-grid,
  .content-grid,
  .hub-preview,
  .brand-collection {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 0;
  }

  .value-card__icon {
    margin-bottom: 30px;
  }

  .mini-facts {
    grid-template-columns: 1fr;
  }

  .feature-panel__content {
    padding: 30px 24px 34px;
  }

  .partner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .partner-card__logo img {
    width: min(68vw, 270px);
  }

  .partner-card__meta,
  .partner-card__actions {
    justify-content: center;
  }

  .partner-card__actions .button {
    width: 100%;
  }

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

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .visual-cta__image img {
    min-height: 280px;
    aspect-ratio: auto;
    object-position: 68% center;
  }

  .visual-cta__bar {
    grid-template-columns: 1fr;
  }

  .visual-page-hero {
    position: relative;
  }

  .visual-page-hero img {
    height: 62svh;
    aspect-ratio: auto;
    object-position: 66% center;
    filter: brightness(0.68);
  }

  .visual-page-hero__mobile-copy {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 28px;
    left: 20px;
    display: block;
  }

  .visual-page-hero__mobile-copy .mobile-title {
    display: block;
    margin-bottom: 12px;
    font-size: clamp(2.35rem, 11vw, 4rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.05em;
    text-transform: uppercase;
  }

  .visual-page-hero__mobile-copy p {
    margin-bottom: 0;
    color: var(--text-soft);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .brand-shot:first-child {
    grid-column: auto;
  }

  .brand-shot img {
    min-height: 260px;
    aspect-ratio: auto;
    object-position: 65% center;
  }

  .brand-shot__label {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Driver Hub */
.hub-dashboard-section {
  overflow: hidden;
}

.hub-dashboard__intro {
  max-width: 760px;
  margin-inline: auto;
}

.hub-dashboard {
  position: relative;
  margin-top: clamp(38px, 5vw, 64px);
}

.hub-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(16, 16, 15, 0.82);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.hub-period {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
}

.hub-period__button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.hub-period__button:hover,
.hub-period__button:focus-visible {
  color: var(--text);
}

.hub-period__button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.hub-period__button.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0a0805;
  box-shadow: 0 8px 24px rgba(214, 174, 98, 0.16);
}

.hub-sync {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hub-sync__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #67c983;
  box-shadow: 0 0 0 5px rgba(103, 201, 131, 0.1);
}

.hub-sync.is-stale .hub-sync__dot {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(214, 174, 98, 0.1);
}

.hub-stale {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(214, 174, 98, 0.3);
  border-radius: 13px;
  background: rgba(214, 174, 98, 0.07);
  color: var(--gold-light);
  font-size: 0.84rem;
}

.hub-stale[hidden] {
  display: none;
}

.hub-stale svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hub-skeleton__kpis,
.hub-skeleton__layout {
  display: grid;
  gap: 16px;
}

.hub-skeleton__kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hub-skeleton__layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
  margin-top: 18px;
}

.hub-skeleton__block {
  min-height: 122px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--surface);
}

.hub-skeleton__block::after {
  display: block;
  width: 46%;
  height: 100%;
  transform: translateX(-160%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.055), transparent);
  animation: hub-shimmer 1.5s ease-in-out infinite;
  content: "";
}

.hub-skeleton__block--large {
  min-height: 450px;
}

@keyframes hub-shimmer {
  to {
    transform: translateX(320%);
  }
}

.hub-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 220px;
  padding: 34px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.06), transparent 42%),
    var(--surface);
}

.hub-state[hidden] {
  display: none;
}

.hub-state__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--gold-light);
}

.hub-state__icon svg {
  width: 27px;
  height: 27px;
}

.hub-state h2,
.hub-state h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.hub-state p {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
}

.hub-state__action {
  flex: 0 0 auto;
  margin-left: auto;
}

.hub-noscript {
  margin-top: 28px;
}

.hub-kpi-strip {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(214, 174, 98, 0.055), transparent 40%),
    rgba(16, 16, 15, 0.82);
  box-shadow: 0 20px 65px rgba(0, 0, 0, 0.22);
}

.hub-kpi-strip .stat {
  padding: 30px 18px;
}

.hub-kpi-strip .stat strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.driver-month {
  margin-top: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(214, 174, 98, 0.1), transparent 26rem),
    linear-gradient(145deg, rgba(214, 174, 98, 0.04), transparent 38%),
    var(--surface);
}

.driver-month__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 28px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.driver-month__header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.driver-month__header p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.driver-month__period {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(214, 174, 98, 0.055);
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.driver-month__podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  max-width: 990px;
  margin: 0 auto;
  padding: 30px 24px 28px;
}

.driver-month__podium[hidden] {
  display: none;
}

.driver-month-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 265px;
  padding: 21px 17px 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 17px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.035), transparent 45%),
    #0c0c0b;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.driver-month-card:hover {
  border-color: var(--line);
  transform: translateY(-3px);
}

.driver-month-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.driver-month-card--1 {
  grid-column: 2;
  grid-row: 1;
  border-color: rgba(214, 174, 98, 0.55);
  background:
    radial-gradient(circle at 50% 15%, rgba(240, 215, 159, 0.14), transparent 9rem),
    linear-gradient(150deg, rgba(214, 174, 98, 0.09), transparent 48%),
    #100e0a;
  box-shadow: 0 18px 48px rgba(188, 132, 37, 0.13);
}

.driver-month-card--1:hover {
  border-color: rgba(240, 215, 159, 0.8);
  box-shadow: 0 22px 58px rgba(188, 132, 37, 0.2);
}

.driver-month-card--2 {
  grid-column: 1;
  grid-row: 1;
  margin-top: 30px;
  border-color: rgba(205, 211, 220, 0.28);
}

.driver-month-card--3 {
  grid-column: 3;
  grid-row: 1;
  margin-top: 30px;
  border-color: rgba(173, 113, 61, 0.34);
}

.driver-month__podium[data-count="1"] {
  grid-template-columns: minmax(0, 340px);
  justify-content: center;
}

.driver-month__podium[data-count="1"] .driver-month-card--1 {
  grid-column: 1;
}

.driver-month__podium[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 330px));
  justify-content: center;
}

.driver-month__podium[data-count="2"] .driver-month-card--1 {
  grid-column: 1;
}

.driver-month__podium[data-count="2"] .driver-month-card--2 {
  grid-column: 2;
  margin-top: 0;
}

.driver-month-card__rank {
  display: inline-grid;
  place-items: center;
  justify-self: center;
  width: 48px;
  height: 48px;
  margin-bottom: 11px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: #171613;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 850;
}

.driver-month-card--1 .driver-month-card__rank {
  width: 56px;
  height: 56px;
  border-color: rgba(240, 215, 159, 0.62);
  background: linear-gradient(145deg, #3b2a12, #16120b);
  color: var(--gold-light);
  box-shadow: 0 0 28px rgba(214, 174, 98, 0.17);
}

.driver-month-card--2 .driver-month-card__rank {
  border-color: rgba(205, 211, 220, 0.42);
  color: #d8dce2;
}

.driver-month-card--3 .driver-month-card__rank {
  border-color: rgba(173, 113, 61, 0.5);
  color: #d59b6a;
}

.driver-month-card__identity {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.hub-avatar--month {
  width: 66px;
  height: 66px;
  margin-bottom: 10px;
  font-size: 0.86rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.driver-month-card--1 .hub-avatar--month {
  width: 76px;
  height: 76px;
  border-color: rgba(240, 215, 159, 0.55);
}

.driver-month-card__place {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.driver-month-card--1 .driver-month-card__place {
  color: var(--gold);
}

.driver-month-card__name,
.driver-month-card__account {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.driver-month-card__name {
  font-size: 0.96rem;
}

.driver-month-card__account {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.65rem;
}

.driver-month-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: end;
  margin: 17px -17px 0;
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
}

.driver-month-card__primary,
.driver-month-card__stat {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 61px;
  padding: 9px 6px;
  border-right: 1px solid var(--line-soft);
}

.driver-month-card__stat:last-child {
  border-right: 0;
}

.driver-month-card__stats strong,
.driver-month-card__stats small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.driver-month-card__stats strong {
  color: var(--text-soft);
  font-size: 0.73rem;
  font-variant-numeric: tabular-nums;
}

.driver-month-card__primary strong {
  color: var(--gold-light);
}

.driver-month-card__stats small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.51rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.driver-month__empty {
  margin: 24px;
  padding: 34px 24px;
  border: 1px dashed var(--line-soft);
  border-radius: 14px;
  text-align: center;
}

.driver-month__empty h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.driver-month__empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.7fr);
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}

.hub-panel {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.045), transparent 34%),
    var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.hub-panel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 26px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.hub-panel__header h2 {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hub-panel__kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hub-panel__count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.hub-table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-color: var(--gold-deep) rgba(255, 255, 255, 0.04);
}

.hub-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hub-table th,
.hub-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

.hub-table th {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hub-table tbody tr {
  transition: background 180ms ease;
}

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

.hub-table tbody tr:last-child td {
  border-bottom: 0;
}

.hub-table__rank {
  width: 70px;
}

.hub-rank {
  display: inline-grid;
  place-items: center;
  min-width: 37px;
  min-height: 30px;
  padding: 0 7px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.hub-table__top-1 .hub-rank {
  border-color: rgba(240, 215, 159, 0.55);
  background: rgba(214, 174, 98, 0.11);
  color: var(--gold-light);
}

.hub-table__top-2 .hub-rank {
  border-color: rgba(205, 211, 220, 0.35);
  color: #d8dce2;
}

.hub-table__top-3 .hub-rank {
  border-color: rgba(173, 113, 61, 0.45);
  color: #d59b6a;
}

.hub-driver-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 2px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.hub-driver-link:hover strong,
.hub-driver-link:focus-visible strong {
  color: var(--gold-light);
}

.hub-driver-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
  border-radius: 8px;
}

.hub-driver-link__copy {
  display: grid;
  min-width: 0;
}

.hub-driver-link__copy strong,
.hub-driver-link__copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-driver-link__copy strong {
  max-width: 205px;
  font-size: 0.86rem;
  transition: color 180ms ease;
}

.hub-driver-link__copy span {
  max-width: 205px;
  color: var(--muted);
  font-size: 0.7rem;
}

.hub-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(240, 215, 159, 0.2), transparent 50%),
    #1b1915;
  color: var(--gold-light);
  font-weight: 850;
  letter-spacing: 0.03em;
}

.hub-avatar img,
.hub-avatar__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hub-avatar img {
  z-index: 1;
  object-fit: cover;
}

.hub-avatar__fallback {
  display: grid;
  place-items: center;
}

.hub-avatar--table {
  width: 38px;
  height: 38px;
  font-size: 0.66rem;
}

.hub-table__metric {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.hub-table__metric--primary {
  color: var(--gold-light);
  font-weight: 850;
}

.hub-table__empty {
  height: 118px;
  color: var(--muted);
  text-align: center !important;
}

.hub-highlights {
  margin: 0;
  padding: 4px 26px;
}

.hub-highlight {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.hub-highlight:last-child {
  border-bottom: 0;
}

.hub-highlight dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hub-highlight dd {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
}

.hub-highlight > span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.route-visual,
.route-location,
.route-meta,
.route-city-list,
.route-city-list__item {
  display: inline-flex;
  align-items: center;
}

.route-visual {
  max-width: 100%;
  flex-wrap: wrap;
  gap: 5px;
}

.route-location {
  min-width: 0;
  gap: 5px;
}

.route-location__city {
  overflow-wrap: anywhere;
}

.route-visual__arrow {
  color: var(--gold);
}

.route-flag {
  width: 19px;
  height: 14px;
  flex: 0 0 19px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.36);
}

.route-meta {
  flex-wrap: wrap;
  gap: 4px;
}

.route-meta__driver {
  color: var(--muted);
}

.route-city-list {
  flex-wrap: wrap;
  gap: 5px 8px;
}

.route-city-list__item {
  gap: 4px;
}

.route-city-list__jobs,
.route-city-list__separator {
  color: var(--muted);
}

.convoy-center {
  margin-top: 18px;
  background:
    radial-gradient(circle at 92% 0, rgba(214, 174, 98, 0.1), transparent 30rem),
    linear-gradient(145deg, rgba(214, 174, 98, 0.045), transparent 34%),
    var(--surface);
}

.convoy-center__header p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.convoy-center__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.convoy-center__grid[hidden] {
  display: none;
}

.convoy-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(214, 174, 98, 0.065), transparent 42%),
    rgba(9, 9, 8, 0.76);
  transition: border-color 180ms ease, transform 180ms ease;
}

.convoy-card:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}

.convoy-card--locked {
  background:
    linear-gradient(135deg, rgba(145, 145, 140, 0.045), transparent 42%),
    rgba(9, 9, 8, 0.76);
}

.convoy-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.convoy-card__reference,
.convoy-card__meeting {
  display: grid;
}

.convoy-card__reference {
  justify-items: start;
}

.convoy-card__reference .hub-panel__kicker {
  margin-bottom: 6px;
}

.convoy-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(107, 206, 133, 0.3);
  border-radius: 999px;
  color: #9cdda9;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.convoy-card__status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #68ce83;
  box-shadow: 0 0 10px rgba(104, 206, 131, 0.6);
  content: "";
}

.convoy-card__status--locked {
  border-color: var(--line-soft);
  color: var(--muted);
}

.convoy-card__status--locked::before {
  background: #85857e;
  box-shadow: none;
}

.convoy-card__meeting {
  justify-items: end;
  text-align: right;
}

.convoy-card__meeting strong {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}

.convoy-card__relative {
  margin-top: 3px;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 750;
}

.convoy-card__label,
.convoy-card__detail dt {
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.convoy-card__route {
  display: grid;
  gap: 8px;
  padding: 17px 18px 15px;
}

.route-visual--convoy {
  color: var(--text);
  font-size: 0.91rem;
  font-weight: 850;
}

.convoy-card__companies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.convoy-card__company {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 18px;
  background: rgba(10, 10, 9, 0.96);
}

.convoy-card__company strong {
  overflow: hidden;
  color: var(--text-soft);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.convoy-card__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  margin: 0;
  padding: 14px 18px;
}

.convoy-card__detail {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.convoy-card__detail dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.convoy-card__note {
  margin: 0 18px 15px;
  padding: 10px 12px;
  border-left: 2px solid var(--gold-deep);
  background: rgba(214, 174, 98, 0.045);
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.convoy-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 13px 18px;
  border-top: 1px solid var(--line-soft);
}

.convoy-card__participation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.convoy-card__organizer {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 750;
}

button.convoy-card__organizer {
  cursor: pointer;
}

button.convoy-card__organizer:hover,
button.convoy-card__organizer:focus-visible {
  color: var(--gold-light);
}

button.convoy-card__organizer:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 8px;
}

.hub-avatar--convoy {
  width: 28px;
  height: 28px;
  font-size: 0.5rem;
}

.convoy-card__participants,
.convoy-card__multiplier {
  padding: 5px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  white-space: nowrap;
}

.convoy-card__multiplier.is-active {
  border-color: rgba(214, 174, 98, 0.42);
  background: rgba(214, 174, 98, 0.09);
  color: var(--gold-light);
}

.convoy-card__join {
  min-height: 34px;
  padding: 7px 13px;
  font-size: 0.62rem;
  white-space: nowrap;
}

.convoy-center__empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px;
  padding: 25px 26px;
  border: 1px dashed var(--line-soft);
  border-radius: 14px;
}

.convoy-center__empty[hidden] {
  display: none;
}

.convoy-center__empty h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.convoy-center__empty p,
.convoy-center__footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.convoy-center__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 55px;
  padding: 11px 18px;
  border-top: 1px solid var(--line-soft);
}

.convoy-center__footer a {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: 0.69rem;
  font-weight: 800;
  text-decoration: none;
}

.convoy-center__footer a:hover,
.convoy-center__footer a:focus-visible {
  color: #fff1c8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.achievement-hall {
  margin-top: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0, rgba(214, 174, 98, 0.1), transparent 29rem),
    linear-gradient(145deg, rgba(214, 174, 98, 0.04), transparent 38%),
    var(--surface);
}

.achievement-hall__header p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.achievement-hall__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.achievement-hall__grid[hidden],
.achievement-hall__empty[hidden] {
  display: none;
}

.achievement-driver-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background:
    linear-gradient(140deg, rgba(214, 174, 98, 0.055), transparent 44%),
    rgba(9, 9, 8, 0.76);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.achievement-driver-card:hover {
  border-color: rgba(214, 174, 98, 0.46);
  background:
    linear-gradient(140deg, rgba(214, 174, 98, 0.09), transparent 44%),
    rgba(9, 9, 8, 0.82);
  transform: translateY(-2px);
}

.achievement-driver-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.achievement-driver-card__identity {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.achievement-driver-card__rank {
  position: absolute;
  z-index: 1;
  right: -4px;
  bottom: -3px;
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  place-items: center;
  border: 1px solid rgba(214, 174, 98, 0.52);
  border-radius: 7px;
  background: #17130c;
  color: var(--gold-light);
  font-size: 0.51rem;
  font-weight: 900;
}

.hub-avatar--achievement {
  width: 42px;
  height: 42px;
  border-color: rgba(214, 174, 98, 0.28);
  font-size: 0.64rem;
}

.achievement-driver-card__copy,
.achievement-driver-card__next-copy {
  display: grid;
  min-width: 0;
}

.achievement-driver-card__copy strong {
  overflow: hidden;
  color: var(--text-soft);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.achievement-driver-card__copy span,
.achievement-driver-card__next-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.6rem;
}

.achievement-driver-card__marks {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.achievement-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: #a96f45;
}

.achievement-icon svg {
  width: 17px;
  height: 17px;
}

.achievement-icon--bronze {
  border-color: rgba(181, 119, 73, 0.42);
  background: rgba(181, 119, 73, 0.08);
  color: #c98b5b;
}

.achievement-icon--silver {
  border-color: rgba(190, 196, 202, 0.35);
  background: rgba(190, 196, 202, 0.07);
  color: #c7ccd1;
}

.achievement-icon--gold {
  border-color: rgba(222, 183, 103, 0.45);
  background: rgba(222, 183, 103, 0.09);
  color: var(--gold-light);
}

.achievement-driver-card__next {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(90px, 0.7fr);
  align-items: end;
  gap: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line-soft);
}

.achievement-driver-card__next-copy strong {
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.68rem;
}

.achievement-driver-card__complete {
  grid-column: 1 / -1;
  color: var(--gold-light);
  font-size: 0.66rem;
}

.achievement-progress {
  position: relative;
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
}

.achievement-progress__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  box-shadow: 0 0 10px rgba(214, 174, 98, 0.26);
}

.achievement-progress--compact {
  margin-bottom: 3px;
}

.achievement-hall__empty {
  margin: 18px;
  padding: 25px 26px;
  border: 1px dashed var(--line-soft);
  border-radius: 14px;
}

.achievement-hall__empty h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.achievement-hall__empty p,
.achievement-hall__footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.achievement-hall__footer {
  min-height: 49px;
  padding: 14px 18px;
  border-top: 1px solid var(--line-soft);
}

.level-roadmap {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(214, 174, 98, 0.26);
  border-radius: 15px;
  background:
    radial-gradient(circle at 88% 0, rgba(214, 174, 98, 0.12), transparent 25rem),
    linear-gradient(145deg, rgba(214, 174, 98, 0.055), transparent 42%),
    rgba(10, 10, 9, 0.78);
}

.level-roadmap__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.level-roadmap__header .driver-profile-section-title {
  margin: 4px 0 0;
}

.level-roadmap__next {
  padding: 6px 9px;
  border: 1px solid rgba(214, 174, 98, 0.32);
  border-radius: 999px;
  background: rgba(214, 174, 98, 0.07);
  color: var(--gold-light);
  font-size: 0.6rem;
  font-weight: 850;
  white-space: nowrap;
}

.level-roadmap__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 17px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--line-soft);
}

.level-roadmap__stat {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px 14px;
  background: rgba(10, 10, 9, 0.96);
}

.level-roadmap__stat span {
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.level-roadmap__stat strong {
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.level-roadmap__progress {
  margin-top: 17px;
}

.level-roadmap__progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.level-roadmap__progress-copy span,
.level-roadmap__progress-copy strong {
  color: var(--muted);
  font-size: 0.61rem;
}

.level-roadmap__progress-copy strong {
  color: var(--gold-light);
}

.level-roadmap__bar {
  display: block;
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
}

.level-roadmap__bar-fill {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8f682a, var(--gold), #f0d18e);
  box-shadow: 0 0 15px rgba(214, 174, 98, 0.38);
}

.level-roadmap__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(86px, 1fr));
  gap: 8px;
  margin-top: 21px;
}

.level-roadmap__track::before {
  position: absolute;
  top: 15px;
  right: 9%;
  left: 9%;
  height: 1px;
  background: linear-gradient(90deg, rgba(214, 174, 98, 0.48), rgba(214, 174, 98, 0.13));
  content: "";
}

.level-roadmap__step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  text-align: center;
}

.level-roadmap__marker {
  display: inline-grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #11110f;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
}

.level-roadmap__step.is-reached .level-roadmap__marker {
  border-color: rgba(107, 206, 133, 0.35);
  background: #0f1710;
  color: #8bd29b;
}

.level-roadmap__step.is-current .level-roadmap__marker {
  border-color: var(--gold);
  background: linear-gradient(145deg, var(--gold-light), var(--gold-deep));
  color: #17130c;
  box-shadow: 0 0 0 5px rgba(214, 174, 98, 0.09), 0 0 19px rgba(214, 174, 98, 0.28);
}

.level-roadmap__step-copy {
  display: grid;
  gap: 2px;
}

.level-roadmap__step-copy strong {
  color: var(--text-soft);
  font-size: 0.62rem;
}

.level-roadmap__step-copy span {
  color: var(--muted);
  font-size: 0.52rem;
}

.level-roadmap__step.is-current .level-roadmap__step-copy strong,
.level-roadmap__step.is-current .level-roadmap__step-copy span {
  color: var(--gold-light);
}

.level-roadmap__history {
  margin: 18px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.61rem;
  line-height: 1.55;
}

.driver-achievements {
  margin-top: 34px;
  padding-top: 29px;
  border-top: 1px solid var(--line-soft);
}

.driver-achievements__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.driver-achievements__header .driver-profile-section-title {
  margin: 4px 0 0;
}

.driver-achievements__count {
  padding: 6px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.6rem;
  font-weight: 850;
  white-space: nowrap;
}

.driver-achievements__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.driver-achievement {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 11px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: rgba(13, 13, 12, 0.72);
}

.driver-achievement.is-unlocked {
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.07), transparent 48%),
    rgba(13, 13, 12, 0.76);
}

.driver-achievement.is-locked {
  opacity: 0.64;
}

.driver-achievement.is-locked .achievement-icon {
  filter: grayscale(1);
}

.driver-achievement__header,
.driver-achievement__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.driver-achievement__tier {
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.driver-achievement__copy h5 {
  margin: 0 0 5px;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.driver-achievement__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.63rem;
  line-height: 1.5;
}

.driver-achievement__footer span,
.driver-achievement__footer strong {
  color: var(--muted);
  font-size: 0.56rem;
}

.driver-achievement__footer strong {
  flex: 0 0 auto;
  color: var(--gold-light);
}

.delivery-feed {
  margin-top: 18px;
}

.delivery-feed__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.delivery-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background:
    linear-gradient(140deg, rgba(214, 174, 98, 0.055), transparent 42%),
    rgba(10, 10, 9, 0.68);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.delivery-card:hover {
  border-color: var(--line);
  background:
    linear-gradient(140deg, rgba(214, 174, 98, 0.085), transparent 46%),
    rgba(12, 12, 11, 0.82);
  transform: translateY(-2px);
}

.delivery-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.delivery-card__driver {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.delivery-card__driver:hover strong,
.delivery-card__driver:focus-visible strong {
  color: var(--gold-light);
}

.delivery-card__driver:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
  border-radius: 8px;
}

.hub-avatar--delivery {
  width: 42px;
  height: 42px;
  font-size: 0.68rem;
}

.delivery-card__identity {
  display: grid;
  min-width: 0;
}

.delivery-card__identity strong,
.delivery-card__identity span {
  overflow: hidden;
  max-width: 220px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-card__identity strong {
  font-size: 0.84rem;
  transition: color 180ms ease;
}

.delivery-card__identity span,
.delivery-card__time {
  color: var(--muted);
  font-size: 0.68rem;
}

.delivery-card__time {
  flex: 0 0 auto;
  white-space: nowrap;
}

.delivery-card__cargo,
.delivery-card__route {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 15px 18px 0;
}

.delivery-card__cargo strong {
  overflow-wrap: anywhere;
  font-size: 0.91rem;
}

.delivery-card__label,
.delivery-card__metric dt {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.route-visual--delivery {
  color: var(--text-soft);
  font-size: 0.79rem;
  font-weight: 750;
}

.delivery-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 17px;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line-soft);
}

.delivery-card__metrics {
  display: flex;
  gap: 26px;
  margin: 0;
}

.delivery-card__metric {
  display: grid;
  gap: 3px;
}

.delivery-card__metric dd {
  margin: 0;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.delivery-card__link {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: 0.71rem;
  font-weight: 800;
  text-decoration: none;
}

a.delivery-card__link::after {
  content: "  ↗";
}

a.delivery-card__link:hover,
a.delivery-card__link:focus-visible {
  color: #fff1c8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.delivery-feed__empty {
  margin: 18px;
  padding: 34px 24px;
  border: 1px dashed var(--line-soft);
  border-radius: 14px;
  text-align: center;
}

.delivery-feed__empty h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.delivery-feed__empty p,
.delivery-feed__footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.delivery-feed__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 12px 18px;
  border-top: 1px solid var(--line-soft);
}

.delivery-feed__more {
  min-height: 34px;
  padding: 7px 15px;
  font-size: 0.66rem;
}

.driver-profile-shell {
  scroll-margin-top: calc(var(--header-height) + 24px);
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 0, rgba(214, 174, 98, 0.1), transparent 27rem),
    var(--surface);
  box-shadow: var(--shadow);
}

.driver-profile-shell[hidden] {
  display: none;
}

.driver-profile__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 28px;
  border-bottom: 1px solid var(--line-soft);
}

.driver-profile__toolbar h2 {
  margin: 0;
  font-size: 1.35rem;
}

.driver-profile__close {
  min-height: 42px;
}

.driver-profile__state {
  min-height: 180px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.driver-profile-card {
  padding: clamp(26px, 4vw, 48px);
}

.driver-profile-identity {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}

.hub-avatar--profile {
  width: 92px;
  height: 92px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
  font-size: 1.3rem;
}

.driver-profile-identity__copy {
  min-width: 0;
}

.driver-profile-identity__copy h3 {
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  font-size: clamp(1.6rem, 3.5vw, 2.45rem);
}

.driver-profile__trucksbook {
  color: var(--muted);
  font-size: 0.84rem;
}

a.driver-profile__trucksbook:hover,
a.driver-profile__trucksbook:focus-visible {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.driver-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.driver-profile-badge {
  padding: 6px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.driver-profile-badge--gold {
  border-color: var(--line);
  background: rgba(214, 174, 98, 0.08);
  color: var(--gold-light);
}

.driver-role-badge {
  padding: 6px 11px;
  border: 1px solid var(--role-color, #b9a06a);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.025);
  color: var(--role-color, #b9a06a);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.driver-profile-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  margin: 34px 0 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #0c0c0b;
}

.driver-profile-section-heading img {
  width: clamp(140px, 24vw, 260px);
  height: 72px;
  align-self: stretch;
  object-fit: cover;
  object-position: 72% center;
  opacity: 0.72;
  filter: saturate(0.8) contrast(1.08);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 36%);
  mask-image: linear-gradient(to right, transparent, #000 36%);
}

.driver-profile-section-title {
  margin: 34px 0 14px;
  padding-left: 0;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.driver-profile-section-heading .driver-profile-section-title {
  margin: 0;
  padding: 0 22px;
}

.driver-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.driver-profile-stat {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.driver-profile-stat dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.driver-profile-stat dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(0.9rem, 1.7vw, 1.08rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.driver-profile-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.driver-profile-route {
  padding: 19px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.driver-profile-route:last-child {
  grid-column: 1 / -1;
}

.driver-profile-route dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.driver-profile-route dd {
  display: grid;
  gap: 3px;
  margin: 0;
}

.driver-profile-route strong {
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.driver-profile-route dd > span:not(.route-visual):not(.route-city-list) {
  color: var(--muted);
  font-size: 0.73rem;
}

.driver-profile-route .route-visual,
.driver-profile-route .route-city-list {
  color: var(--text);
  font-size: 0.82rem;
}

.driver-route-map-section {
  margin-top: 8px;
}

.driver-route-map {
  width: 100%;
  height: clamp(300px, 48vw, 480px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 52% 45%, rgba(214, 174, 98, 0.1), transparent 42%),
    #0a0a09;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
}

.driver-route-map[hidden] {
  display: none;
}

.driver-route-map .maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #151411;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
}

.driver-route-map .maplibregl-ctrl-group button {
  background-color: #151411;
  filter: sepia(0.45) brightness(1.3);
}

.driver-route-map .maplibregl-ctrl-attrib {
  background: rgba(7, 7, 7, 0.86);
  color: #aaa498;
}

.driver-route-map .maplibregl-ctrl-attrib a {
  color: var(--gold-light);
}

.hub-map-marker {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 7px;
  place-items: center;
  border: 1px solid rgba(242, 201, 109, 0.9);
  border-radius: 50%;
  background: rgba(12, 11, 9, 0.94);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.55), 0 0 16px rgba(228, 185, 91, 0.2);
  cursor: pointer;
}

.hub-map-marker:hover,
.hub-map-marker:focus-visible {
  transform: scale(1.08);
  outline: 2px solid rgba(242, 201, 109, 0.28);
  outline-offset: 2px;
}

.route-flag--marker {
  width: 20px;
  height: 15px;
  flex-basis: 20px;
}

.hub-map-marker__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-light);
}

.hub-map-popup {
  display: grid;
  gap: 4px;
  min-width: 150px;
  color: #17130c;
}

.hub-map-popup strong {
  font-size: 0.8rem;
}

.hub-map-popup span {
  color: #625847;
  font-size: 0.72rem;
}

.driver-route-map .maplibregl-popup-content {
  border: 1px solid rgba(185, 160, 106, 0.42);
  border-radius: 10px;
  background: #f1eee7;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

.driver-route-map .maplibregl-popup-close-button {
  color: #17130c;
}

.driver-route-map__status {
  margin: 10px 3px 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .hub-layout,
  .hub-skeleton__layout {
    grid-template-columns: 1fr;
  }

  .hub-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  .hub-highlight:nth-last-child(2) {
    border-bottom: 0;
  }

  .driver-profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-feed__grid {
    grid-template-columns: 1fr;
  }

  .convoy-center__grid {
    grid-template-columns: 1fr;
  }

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

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

  .driver-month__podium {
    gap: 10px;
    padding-inline: 16px;
  }

  .driver-month-card {
    padding-inline: 12px;
  }

  .driver-month-card__stats {
    margin-inline: -12px;
  }
}

@media (max-width: 680px) {
  .hub-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .hub-period {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-period__button {
    width: 100%;
    padding-inline: 10px;
  }

  .hub-sync {
    padding: 2px 4px;
  }

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

  .hub-skeleton__block {
    min-height: 100px;
  }

  .hub-state {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 22px;
  }

  .hub-state__action {
    width: 100%;
    margin-left: 0;
  }

  .hub-kpi-strip .stat {
    padding: 24px 10px;
  }

  .hub-kpi-strip .stat strong {
    font-size: 1.3rem;
  }

  .hub-kpi-strip .stat span {
    font-size: 0.61rem;
    letter-spacing: 0.08em;
  }

  .achievement-hall__grid,
  .driver-achievements__grid {
    grid-template-columns: 1fr;
  }

  .achievement-driver-card__marks .achievement-icon:nth-child(n + 4) {
    display: none;
  }

  .driver-achievements__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .level-roadmap {
    padding: 17px 14px;
  }

  .level-roadmap__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .level-roadmap__summary {
    grid-template-columns: 1fr;
  }

  .level-roadmap__track {
    grid-template-columns: repeat(5, minmax(76px, 1fr));
    margin-inline: -2px;
    overflow-x: auto;
    padding: 0 2px 8px;
  }

  .level-roadmap__track::before {
    right: 40px;
    left: 40px;
  }

  .driver-month__header {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 20px 19px;
  }

  .driver-month__podium,
  .driver-month__podium[data-count="1"],
  .driver-month__podium[data-count="2"] {
    grid-template-columns: 1fr;
    padding: 14px 12px 18px;
  }

  .driver-month-card--1,
  .driver-month-card--2,
  .driver-month-card--3,
  .driver-month__podium[data-count="1"] .driver-month-card--1,
  .driver-month__podium[data-count="2"] .driver-month-card--1,
  .driver-month__podium[data-count="2"] .driver-month-card--2 {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }

  .driver-month-card {
    min-height: 245px;
  }

  .hub-panel__header {
    align-items: flex-start;
    padding: 21px 20px 18px;
  }

  .delivery-feed__header {
    align-items: flex-end;
  }

  .convoy-center__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .convoy-center__grid {
    padding: 12px;
  }

  .convoy-card__header,
  .convoy-card__footer,
  .convoy-center__empty,
  .convoy-center__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .convoy-card__meeting {
    justify-items: start;
    text-align: left;
  }

  .convoy-card__companies {
    grid-template-columns: 1fr;
  }

  .convoy-card__join,
  .convoy-center__empty .button {
    width: 100%;
  }

  .hub-table {
    min-width: 535px;
  }

  .hub-table th,
  .hub-table td {
    padding: 13px 11px;
  }

  .hub-table__metric-tertiary {
    display: none;
  }

  .hub-driver-link__copy strong,
  .hub-driver-link__copy span {
    max-width: 145px;
  }

  .hub-highlights {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .hub-highlight:nth-last-child(2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .delivery-feed__grid {
    padding: 12px;
  }

  .delivery-card__header,
  .delivery-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .delivery-card__footer {
    gap: 12px;
  }

  .delivery-card__link {
    align-self: stretch;
    padding-top: 2px;
  }

  .delivery-feed__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .delivery-feed__more {
    width: 100%;
  }

  .driver-profile__toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .driver-profile__close {
    width: 100%;
  }

  .driver-profile-card {
    padding: 24px 20px 28px;
  }

  .driver-profile-identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hub-avatar--profile {
    width: 76px;
    height: 76px;
  }

  .driver-profile-stat {
    padding: 15px 13px;
  }

  .driver-profile-section-heading {
    min-height: 62px;
  }

  .driver-profile-section-heading .driver-profile-section-title {
    padding-left: 15px;
  }

  .driver-profile-section-heading img {
    width: 112px;
    height: 62px;
  }

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

  .driver-profile-route:last-child {
    grid-column: auto;
  }

  .driver-route-map {
    height: 320px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Convoy history */
.convoy-history {
  margin-top: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0, rgba(214, 174, 98, 0.08), transparent 28rem),
    var(--surface);
}

.convoy-history__header p {
  max-width: 44rem;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.convoy-history__toolbar {
  display: flex;
  gap: 7px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.convoy-history__filter {
  min-height: 31px;
  padding: 7px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  font: 800 0.61rem/1 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.convoy-history__filter:hover,
.convoy-history__filter:focus-visible,
.convoy-history__filter.is-active {
  border-color: rgba(214, 174, 98, 0.62);
  color: #0b0905;
  background: var(--gold-light);
}

.convoy-history__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.convoy-history__grid[hidden] {
  display: none;
}

.convoy-history-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(214, 174, 98, 0.05), transparent 45%),
    rgba(9, 9, 8, 0.76);
}

.convoy-history-card--cancelled {
  background:
    linear-gradient(145deg, rgba(178, 72, 72, 0.06), transparent 44%),
    rgba(9, 9, 8, 0.76);
}

.convoy-history-card__header,
.convoy-history-card__reference,
.convoy-history-card__footer,
.convoy-history-participant,
.convoy-history-participant__identity {
  display: flex;
  align-items: center;
}

.convoy-history-card__header,
.convoy-history-card__footer {
  justify-content: space-between;
  gap: 12px;
}

.convoy-history-card__reference {
  flex-wrap: wrap;
  gap: 8px;
}

.convoy-history-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(107, 206, 133, 0.3);
  border-radius: 999px;
  color: #9cdda9;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.convoy-history-card__status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.convoy-history-card__status--cancelled {
  border-color: rgba(211, 105, 105, 0.3);
  color: #d88989;
}

.convoy-history-card__finished {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.69rem;
}

.convoy-history-card__route {
  display: grid;
  gap: 7px;
  padding-block: 12px;
  border-block: 1px solid var(--line-soft);
}

.route-visual--history {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 850;
}

.convoy-history-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.convoy-history-card__metric {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.014);
}

.convoy-history-card__metric dt {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.convoy-history-card__metric dd {
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.convoy-history-card__participants {
  display: grid;
  gap: 6px;
}

.convoy-history-participant {
  width: 100%;
  min-width: 0;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px;
  border: 0;
  border-radius: 10px;
  color: inherit;
  background: rgba(255, 255, 255, 0.018);
  font: inherit;
  text-align: left;
}

button.convoy-history-participant {
  cursor: pointer;
}

button.convoy-history-participant:hover,
button.convoy-history-participant:focus-visible {
  background: rgba(214, 174, 98, 0.08);
}

.convoy-history-participant__identity {
  min-width: 0;
  gap: 8px;
}

.hub-avatar--history {
  width: 28px;
  height: 28px;
  font-size: 0.5rem;
}

.convoy-history-participant__name {
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.convoy-history-participant__points {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: 0.65rem;
}

.convoy-history-card__more {
  padding-inline: 8px;
  color: var(--muted);
  font-size: 0.68rem;
}

.convoy-history-card__multiplier {
  color: var(--gold-light);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.convoy-history__empty {
  padding: 38px 18px;
  text-align: center;
}

.convoy-history__empty h3,
.convoy-history__empty p {
  margin: 0;
}

.convoy-history__empty p {
  margin-top: 6px;
  color: var(--muted);
}

.convoy-history__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.7rem;
}

.convoy-history__footer p {
  margin: 0;
}

.convoy-history__footer a {
  color: var(--gold-light);
  font-weight: 800;
}

@media (max-width: 880px) {
  .convoy-history__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .convoy-history__toolbar,
  .convoy-history__grid,
  .convoy-history__footer {
    padding-inline: 13px;
  }

  .convoy-history-card__header,
  .convoy-history-card__footer,
  .convoy-history__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .convoy-history-card__meta {
    grid-template-columns: 1fr;
  }
}
