:root {
  --orange: #ff6a00;
  --orange-soft: #fff2e8;
  --blue: #1769ff;
  --blue-soft: #eef5ff;
  --navy: #071735;
  --text: #1a2842;
  --muted: #64718c;
  --line: #e6edf7;
  --gray-100: #f6f8fb;
  --green: #20b26b;
  --violet: #7f5cff;
  --shadow-small: 0 8px 24px rgba(13, 35, 82, 0.08);
  --shadow-medium: 0 18px 48px rgba(13, 35, 82, 0.12);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

:focus-visible {
  outline: 3px solid rgba(23, 105, 255, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 7vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 4px solid var(--blue);
  border-radius: 14px;
  transform: rotate(30deg);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border-radius: 8px;
}

.brand-mark::before {
  inset: -5px;
  border-top: 4px solid var(--orange);
  border-bottom: 4px solid var(--orange);
}

.brand-mark::after {
  width: 14px;
  height: 14px;
  background: var(--blue-soft);
}

.brand-mark span {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--blue);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  color: #273955;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.top-nav a {
  position: relative;
  padding: 25px 0 23px;
}

.top-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.top-nav a:hover,
.top-nav a.is-active {
  color: var(--orange);
}

.top-nav a.is-active::after,
.top-nav a:hover::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.hero-section,
.content-section,
.site-footer {
  padding-inline: 7vw;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 70px;
  padding-bottom: 36px;
  background:
    linear-gradient(180deg, rgba(246, 249, 255, 0.95), rgba(255, 255, 255, 0.96) 46%, #ffffff),
    #fff;
}

.hero-asset {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: min(70vw, 1060px);
  height: 440px;
  object-fit: cover;
  object-position: right top;
  opacity: 0.9;
  pointer-events: none;
}

.hero-content,
.metrics-heading,
.metrics-grid,
.home-grid,
.value-strip {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 690px;
  min-height: 260px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.hero-content h1 {
  margin: 0;
  color: var(--navy);
  font-size: 58px;
  line-height: 1.12;
  font-weight: 850;
}

.hero-content h1 span {
  display: block;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #465674;
  font-size: 20px;
  font-weight: 600;
}

.orange-line {
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--orange);
}

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

.metrics-heading {
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.2;
}

.section-heading h2 small {
  margin-left: 12px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

#data-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

#data-status.is-error {
  color: #d13a22;
}

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

.metric-card,
.module-card,
.panel,
.team-card,
.skill-card,
.case-card,
.news-card,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-small);
}

.metric-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 18px;
  min-height: 134px;
  padding: 24px;
}

.metric-card h3,
.module-card h3,
.panel h3,
.team-card h3,
.skill-card h3,
.case-card h3 {
  margin: 0;
  color: var(--navy);
}

.metric-label,
.metric-caption,
.module-card p,
.panel p,
.team-card p,
.skill-card p,
.case-card p,
.news-card p,
.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.metric-label {
  font-size: 14px;
  font-weight: 800;
}

.metric-value {
  margin-top: 3px;
  color: var(--navy);
  font-size: 32px;
  line-height: 1;
  font-weight: 850;
}

.metric-delta {
  margin-left: 8px;
  color: var(--orange);
  font-size: 15px;
  font-weight: 800;
}

.metric-caption {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
}

.card-arrow {
  color: #9aacc9;
  font-size: 28px;
  line-height: 1;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: var(--blue);
  background: var(--blue-soft);
}

.icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-trophy,
.icon-target {
  color: var(--orange);
  background: var(--orange-soft);
}

.icon-layers,
.icon-spark {
  color: var(--violet);
  background: #f3efff;
}

.icon-shield,
.icon-bot {
  color: var(--green);
  background: #eaf8f1;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.module-card {
  min-height: 292px;
  padding: 24px;
}

.module-card.wide {
  grid-column: span 2;
}

.module-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.module-head h3 {
  font-size: 20px;
}

.module-head p {
  margin-top: 6px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 850;
}

.text-link::after {
  content: "→";
}

.stage-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.stage-rail.compact {
  margin-bottom: 24px;
}

.stage-item {
  position: relative;
  min-width: 0;
  padding-top: 30px;
  color: var(--muted);
  font-size: 12px;
}

.stage-item::before {
  position: absolute;
  top: 10px;
  left: 16px;
  width: calc(100% - 8px);
  height: 2px;
  background: var(--line);
  content: "";
}

.stage-item:last-child::before {
  display: none;
}

.stage-dot {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cdd8eb;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.stage-item.is-completed .stage-dot {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.stage-item.is-current .stage-dot {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.stage-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 13px;
}

.stage-item span {
  display: block;
  margin-top: 3px;
}

.task-list {
  display: grid;
  gap: 12px;
}

.task-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(72px, auto);
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2fa;
}

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

.task-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.task-row h4,
.trend-panel h4 {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
}

.task-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.task-status {
  justify-self: end;
  min-width: 68px;
  border-radius: 999px;
  padding: 5px 9px;
  text-align: center;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 800;
}

.task-status.is-completed {
  color: var(--green);
  background: #eaf8f1;
}

.task-status.is-upcoming {
  color: var(--muted);
  background: var(--gray-100);
}

.progress {
  width: 100%;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: #eef3fb;
  overflow: hidden;
}

.progress span {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #6da0ff);
}

.team-preview-card {
  display: grid;
  gap: 16px;
}

.team-title-row,
.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.avatar-row {
  display: flex;
  align-items: center;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff1e5, #eaf3ff);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.avatar:first-child {
  margin-left: 0;
}

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

.stat-box {
  border-radius: 12px;
  background: var(--gray-100);
  padding: 12px;
}

.stat-box span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stat-box strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 18px;
}

.ranking-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(170px, 0.9fr);
  gap: 18px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 38px;
}

.rank-badge {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.rank-badge.top {
  background: var(--orange-soft);
  color: var(--orange);
}

.ranking-row strong {
  display: block;
  overflow: hidden;
  color: var(--navy);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-row span:last-child {
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

.trend-panel {
  border-radius: 14px;
  background: linear-gradient(180deg, #fffaf5, #ffffff);
  padding: 18px;
}

.trend-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.trend-chart {
  width: 100%;
  height: 112px;
  margin-top: 12px;
}

.trend-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

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

.skill-mini {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.skill-mini .icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.skill-mini .icon svg {
  width: 19px;
  height: 19px;
}

.skill-mini strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.skill-mini span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.value-strip span {
  display: grid;
  place-items: center;
  min-height: 64px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  color: #33486d;
  font-size: 15px;
  font-weight: 800;
}

.content-section {
  padding-top: 74px;
  padding-bottom: 26px;
  scroll-margin-top: 88px;
}

.content-section > .section-heading {
  align-items: start;
  justify-content: flex-start;
  display: block;
}

.content-section .section-heading h2 {
  font-size: 36px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.panel {
  padding: 26px;
}

.panel h3 {
  margin-bottom: 18px;
  font-size: 21px;
}

.timeline-list {
  display: grid;
  gap: 18px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding-left: 18px;
}

.timeline-item::before {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.timeline-item::after {
  position: absolute;
  top: 20px;
  bottom: -17px;
  left: 5px;
  width: 2px;
  background: var(--line);
  content: "";
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-date {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.timeline-item strong {
  color: var(--navy);
  font-size: 14px;
}

.timeline-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.team-grid,
.skills-grid,
.case-list,
.news-list {
  display: grid;
  gap: 20px;
}

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

.team-card,
.skill-card,
.case-card,
.news-card {
  padding: 24px;
}

.team-card {
  display: grid;
  gap: 18px;
}

.team-card h3 {
  font-size: 21px;
}

.team-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  border-radius: 999px;
  color: var(--orange);
  background: var(--orange-soft);
  font-weight: 900;
}

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

.activity-list li {
  color: var(--muted);
  font-size: 13px;
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.podium-card {
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, #f7fbff);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-small);
}

.podium-card.rank-1 {
  min-height: 210px;
  border-color: #ffd49c;
  background: linear-gradient(180deg, #fff8ed, #ffffff);
  box-shadow: var(--shadow-medium);
}

.podium-card .rank-badge {
  margin: 0 auto 12px;
}

.podium-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
}

.podium-card strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
}

.podium-card span:last-child {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
}

.ranking-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14px;
}

.ranking-table th,
.ranking-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.ranking-table th {
  color: var(--muted);
  background: #f8fbff;
  font-size: 12px;
  font-weight: 850;
}

.ranking-table td {
  color: var(--text);
  font-weight: 700;
}

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

.trend-up {
  color: var(--green);
}

.trend-down {
  color: #f05b35;
}

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

.skill-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
}

.skill-card h3 {
  font-size: 19px;
}

.skill-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--gray-100);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pill.hot {
  color: var(--orange);
  background: var(--orange-soft);
}

.cases-news {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
}

.case-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  min-height: 192px;
}

.case-card h3 {
  font-size: 18px;
}

.case-card strong {
  display: block;
  margin: 10px 0 12px;
  color: var(--blue);
  font-size: 13px;
}

.case-card .impact {
  margin-top: 18px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.news-list {
  gap: 14px;
}

.news-card {
  display: grid;
  gap: 8px;
  min-height: 88px;
}

.news-card time {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.news-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
}

.site-footer {
  margin-top: 54px;
  padding-top: 38px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
}

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

.footer-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 15px;
}

.footer-grid p {
  margin-top: 6px;
  font-size: 13px;
}

#copyright {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 5vw;
  }

  .header-tools {
    display: none;
  }

  .top-nav {
    flex-wrap: wrap;
    gap: 22px;
  }

  .top-nav a {
    padding: 10px 0;
  }

  .hero-section,
  .content-section,
  .site-footer {
    padding-inline: 5vw;
  }

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

  .metrics-grid,
  .home-grid,
  .team-grid,
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-card.wide {
    grid-column: span 2;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    justify-items: start;
  }

  .brand strong {
    font-size: 16px;
  }

  .top-nav {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }

  .top-nav a {
    flex: 0 0 auto;
  }

  .hero-section {
    padding-top: 42px;
  }

  .hero-asset {
    width: 100%;
    height: 280px;
    opacity: 0.42;
  }

  .hero-content {
    min-height: 230px;
  }

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

  .hero-copy {
    font-size: 17px;
  }

  .section-heading,
  .metrics-heading {
    display: block;
  }

  #data-status {
    margin-top: 8px;
  }

  .metrics-grid,
  .home-grid,
  .two-column,
  .team-grid,
  .podium,
  .skills-grid,
  .cases-news,
  .footer-grid,
  .value-strip {
    grid-template-columns: 1fr;
  }

  .module-card.wide {
    grid-column: auto;
  }

  .ranking-preview-layout {
    grid-template-columns: 1fr;
  }

  .stage-rail {
    grid-template-columns: 1fr;
  }

  .stage-item {
    padding: 0 0 0 36px;
  }

  .stage-item::before {
    top: 22px;
    left: 10px;
    width: 2px;
    height: calc(100% + 12px);
  }

  .content-section .section-heading h2 {
    font-size: 30px;
  }

  .metric-card {
    grid-template-columns: 56px minmax(0, 1fr) 18px;
    padding: 20px;
  }
}

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

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