:root {
  --page: #f7f6f3;
  --paper: #ffffff;
  --ink: #070707;
  --muted: #4f4f4f;
  --soft: #777777;
  --line: rgba(7, 7, 7, 0.12);
  --line-strong: rgba(7, 7, 7, 0.2);
  --red: #bd1717;
  --red-dark: #8d1010;
  --green: #1b7f55;
  --dark: #050505;
  --shadow: 0 24px 70px rgba(16, 17, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 246, 243, 0.9) 58%, #f7f6f3),
    repeating-linear-gradient(90deg, rgba(7, 7, 7, 0.026) 0 1px, transparent 1px 92px);
}

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

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

.progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 3px;
  background: transparent;
}

.progress-bar-fill {
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width 180ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: 70px;
  padding: 0 54px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 243, 0.9);
  backdrop-filter: blur(20px);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 14px;
  min-width: 0;
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.language-switcher button {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  color: #555555;
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button:focus-visible,
.language-switcher button.active {
  color: #ffffff;
  background: #111111;
}

.wordmark {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 23px;
  font-weight: 520;
  line-height: 1;
  text-transform: uppercase;
}

.wordmark span:nth-child(3),
.wordmark span:nth-child(7) {
  color: var(--red-dark);
}

.main-nav {
  display: flex;
  justify-content: end;
  gap: 44px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a,
.button,
.top-menu a,
.simulate-btn,
.side-menu li {
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.top-menu a:hover,
.top-menu a:focus-visible {
  color: var(--red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible,
.simulate-btn:hover,
.simulate-btn:focus-visible {
  transform: translateY(-1px);
}

.button-dark {
  color: #ffffff;
  background: var(--dark);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #202020;
}

.button-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: rgba(189, 23, 23, 0.44);
  color: var(--red-dark);
  background: #ffffff;
}

.button-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.18);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
  width: min(100% - 56px, 1180px);
  min-height: min(760px, calc(100vh - 70px));
  margin: 0 auto;
  padding: 58px 0 34px;
}

.hero-copy {
  padding-bottom: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 58px;
  font-weight: 780;
  line-height: 1.02;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.proof-grid article {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 44px rgba(20, 20, 20, 0.06);
}

.proof-marker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  border: 1px solid rgba(189, 23, 23, 0.55);
  border-radius: 50%;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 850;
}

.proof-grid h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.proof-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.dashboard-section {
  width: min(100% - 48px, 1240px);
  margin: 26px auto 0;
  padding-top: 52px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2,
.ownership-section h2,
.premium-band h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.08;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.dashboard-frame {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #f2f1ee;
  box-shadow: var(--shadow);
}

.top-menu {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 16px 22px 14px 92px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(18px);
}

.top-menu-left ul,
.top-menu-right ul,
.side-menu ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-menu-left ul {
  justify-content: flex-start;
}

.top-menu-right ul {
  justify-content: flex-end;
}

.top-menu li a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #424242;
  font-size: 12px;
  font-weight: 740;
  white-space: nowrap;
}

.top-menu li.active a {
  color: var(--red-dark);
  border-color: rgba(189, 23, 23, 0.22);
  background: rgba(189, 23, 23, 0.07);
}

.side-menu {
  position: sticky;
  top: 90px;
  z-index: 7;
  float: left;
  width: 64px;
  margin: 20px 0 0 18px;
}

.side-menu ul {
  flex-direction: column;
  gap: 10px;
}

.side-menu li {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #393939;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.07);
  cursor: default;
}

.side-menu li:hover,
.side-menu li.active {
  color: #ffffff;
  border-color: #111111;
  background: #111111;
  transform: translateY(-1px);
}

.menu-symbol {
  font-size: 13px;
  font-weight: 850;
}

.main-content {
  min-width: 0;
  margin-left: 84px;
  padding: 24px 24px 34px 0;
}

.dashboard-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 16px;
}

.dashboard-kicker {
  margin: 0 0 7px;
  color: var(--red-dark);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.title-section h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 780;
  line-height: 1.05;
}

.title-section p:not(.dashboard-kicker) {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.simulate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  color: #ffffff;
  background: #0a0a0a;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.simulate-btn:hover,
.simulate-btn:focus-visible {
  background: #202020;
}

.info-banner {
  margin-bottom: 16px;
  border: 1px solid rgba(189, 23, 23, 0.2);
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(90deg, #070707 0%, #151515 56%, #5b0909 100%);
}

.info-banner-content {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

.info-banner-content > i {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: #ffffff;
}

.info-banner h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.info-banner p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.masonry-left,
.masonry-center,
.masonry-right {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.widget,
.stat-card,
.loading-placeholder {
  border-radius: 8px;
}

.widget {
  overflow: hidden;
  border: 1px solid rgba(7, 7, 7, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(20, 20, 20, 0.07);
}

.widget:hover {
  border-color: rgba(189, 23, 23, 0.28);
  transform: translateY(-1px);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 0;
}

.widget-header h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0;
  color: #121212;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
}

.widget-header h3 i {
  color: var(--red-dark);
  font-size: 13px;
}

.badge {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(189, 23, 23, 0.18);
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(189, 23, 23, 0.06);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.widget-content {
  padding: 16px;
}

.kpi-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.kpi-value {
  color: #050505;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
}

.trend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(27, 127, 85, 0.08);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.sub-text {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.progress-bar-bg {
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.08);
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #111111, var(--red));
  transition: width 220ms ease;
}

.activity-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #2d2d2d;
  font-size: 13px;
}

.activity-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.dot {
  display: inline-block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--red);
}

.region-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(7, 7, 7, 0.08);
  color: #2e2e2e;
  font-size: 13px;
}

.region-row:last-child {
  border-bottom: 0;
}

.double-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  padding: 14px;
  border: 1px solid rgba(7, 7, 7, 0.08);
  background: rgba(247, 246, 243, 0.82);
}

.stat-value {
  color: #070707;
  font-size: 22px;
  font-weight: 800;
}

.stat-label {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.widget canvas {
  display: block;
  width: 100% !important;
  max-width: 100%;
}

.ownership-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 54px;
  width: min(100% - 48px, 1080px);
  margin: 86px auto 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
}

.ownership-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.ownership-copy p + p {
  margin-top: 16px;
}

.premium-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(100% - 48px, 1080px);
  margin: 64px auto 0;
  padding: 28px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(90deg, #070707 0%, #111111 58%, #530909 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.premium-band .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.premium-band p:not(.eyebrow) {
  max-width: 700px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  width: min(100% - 48px, 1080px);
  margin: 72px auto 0;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 750;
}

@media (max-width: 1080px) {
  .site-header {
    gap: 24px;
    padding: 0 28px;
  }

  .main-nav {
    gap: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

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

  .proof-grid article {
    min-height: 160px;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 0 18px;
  }

  .main-nav {
    display: none;
  }

  .wordmark {
    gap: 7px;
    font-size: 19px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

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

  .section-heading,
  .ownership-section,
  .premium-band {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .ownership-section h2,
  .premium-band h2 {
    font-size: 34px;
  }

  .top-menu {
    position: static;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .top-menu-left ul,
  .top-menu-right ul {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .side-menu {
    display: none;
  }

  .main-content {
    margin-left: 0;
    padding: 18px;
  }

  .dashboard-header {
    grid-template-columns: 1fr;
  }

  .simulate-btn {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .header-actions {
    gap: 8px;
  }

  .language-switcher {
    gap: 3px;
    padding: 3px;
  }

  .language-switcher button {
    min-width: 30px;
    height: 28px;
    padding: 0 6px;
  }

  .site-header .button {
    min-width: 40px;
    width: 40px;
    padding: 0;
  }

  .site-header .button span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero,
  .dashboard-section,
  .ownership-section,
  .premium-band,
  .site-footer {
    width: min(100% - 28px, 1080px);
  }

  .hero {
    padding: 46px 0 28px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions .button,
  .premium-band .button {
    width: 100%;
  }

  .proof-grid,
  .masonry-grid,
  .double-stat {
    grid-template-columns: 1fr;
  }

  .dashboard-section {
    padding-top: 38px;
  }

  .dashboard-frame {
    min-height: auto;
  }

  .info-banner-content {
    align-items: flex-start;
  }

  .kpi-value {
    font-size: 26px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
