:root {
  color-scheme: dark;
  --bg: #101111;
  --bg-soft: #151716;
  --surface: #1b1d1b;
  --surface-strong: #232620;
  --text: #f5f0e8;
  --muted: #b8b0a5;
  --line: rgba(245, 240, 232, 0.14);
  --line-strong: rgba(245, 240, 232, 0.24);
  --red: #d95454;
  --green: #44b96f;
  --amber: #e2a548;
  --violet: #9270ed;
  --cyan: #5cb7bc;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 4%, rgba(217, 84, 84, 0.2), transparent 31rem),
    radial-gradient(circle at 86% 12%, rgba(68, 185, 111, 0.12), transparent 28rem),
    linear-gradient(180deg, #111211 0%, #141513 48%, #0f1010 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem max(1rem, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(16, 17, 17, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  max-width: clamp(10rem, 22vw, 16.5rem);
}

.brand__logo {
  width: 100%;
  height: auto;
  max-height: 3rem;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 24px rgba(217, 84, 84, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(245, 240, 232, 0.08);
  color: var(--text);
  outline: none;
}

.site-nav .nav-apply {
  margin-left: 0.35rem;
  color: var(--text);
  background: rgba(217, 84, 84, 0.18);
  border: 1px solid rgba(217, 84, 84, 0.34);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(245, 240, 232, 0.06);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.23rem auto;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

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

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

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  padding: 9rem max(1rem, calc((100vw - var(--container)) / 2)) 5.25rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 14rem;
  background: linear-gradient(0deg, rgba(16, 17, 17, 1), transparent);
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.58;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 17, 17, 0.96) 0%, rgba(16, 17, 17, 0.82) 34%, rgba(16, 17, 17, 0.38) 100%),
    linear-gradient(180deg, rgba(16, 17, 17, 0.58) 0%, rgba(16, 17, 17, 0.08) 50%, rgba(16, 17, 17, 0.96) 100%);
}

.hero__image {
  position: absolute;
  width: 44rem;
  max-width: none;
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-radius: 8px;
  filter: saturate(0.82) contrast(0.92) brightness(0.86);
  transform: rotate(-3deg);
  box-shadow: var(--shadow);
}

.hero__image--one {
  top: 7.8rem;
  right: -5rem;
}

.hero__image--two {
  top: 21rem;
  right: 18rem;
  width: 32rem;
  transform: rotate(4deg);
}

.hero__image--three {
  top: 32rem;
  right: -3rem;
  width: 36rem;
  transform: rotate(-1deg);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(41rem, 100%);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

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

h1 {
  margin-bottom: 1.2rem;
  font-size: 4.6rem;
  font-weight: 900;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.55rem;
  font-weight: 900;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.22rem;
}

.hero__lead,
.section__heading p,
.final-cta p,
.builder-panel__content p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__lead {
  max-width: 34rem;
  margin-bottom: 1.7rem;
}

.hero__actions,
.final-cta__inner .button {
  margin-top: 1.6rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--red), #bb4dd8);
  color: white;
  box-shadow: 0 18px 38px rgba(217, 84, 84, 0.22);
}

.button--primary:hover,
.button--primary:focus-visible {
  border-color: rgba(255, 255, 255, 0.36);
}

.button--secondary {
  border-color: var(--line-strong);
  background: rgba(245, 240, 232, 0.07);
  color: var(--text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(245, 240, 232, 0.12);
}

.button--card {
  width: 100%;
  margin-top: auto;
  border-color: var(--line);
  background: rgba(245, 240, 232, 0.07);
  color: var(--text);
}

.button--card:hover,
.button--card:focus-visible {
  border-color: var(--line-strong);
  background: rgba(245, 240, 232, 0.11);
}

.icon {
  width: 1.12rem;
  height: 1.12rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  min-width: 9.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 240, 232, 0.055);
  backdrop-filter: blur(12px);
}

.hero__facts strong,
.hero__facts span {
  display: block;
}

.hero__facts strong {
  font-size: 1.35rem;
  line-height: 1;
}

.hero__facts span {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 5.5rem max(1rem, calc((100vw - var(--container)) / 2));
}

.section--roles {
  background: var(--bg);
}

.section--benefits {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.section__inner--split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.section__heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section__heading p {
  margin-bottom: 0;
}

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

.role-card {
  display: flex;
  min-height: 30rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 52px rgba(0, 0, 0, 0.18);
  flex-direction: column;
}

.role-card__media {
  position: relative;
  height: 12.8rem;
  overflow: hidden;
  background: #111;
}

.role-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.42)),
    linear-gradient(90deg, rgba(16, 17, 17, 0.08), rgba(16, 17, 17, 0.34));
}

.role-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.88);
}

.role-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem;
}

.role-card__tag {
  width: max-content;
  max-width: 100%;
  margin-bottom: 0.85rem;
  padding: 0.32rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.role-card h3 {
  font-size: 1.42rem;
}

.role-card p {
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.role-card--mini .role-card__tag {
  color: #ffd4ae;
  border-color: rgba(226, 165, 72, 0.34);
  background: rgba(226, 165, 72, 0.08);
}

.role-card--smp .role-card__tag {
  color: #bdf1cf;
  border-color: rgba(68, 185, 111, 0.36);
  background: rgba(68, 185, 111, 0.08);
}

.role-card--checker .role-card__tag {
  color: #e6c0bf;
  border-color: rgba(217, 84, 84, 0.28);
  background: rgba(217, 84, 84, 0.08);
}

.role-card--event .role-card__tag,
.role-card--builder .role-card__tag {
  color: #dfd1ff;
  border-color: rgba(146, 112, 237, 0.38);
  background: rgba(146, 112, 237, 0.1);
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-item {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 1rem;
  min-height: 12rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 240, 232, 0.045);
}

.benefit-item .icon {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.55rem;
  border: 1px solid rgba(92, 183, 188, 0.36);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(92, 183, 188, 0.08);
}

.benefit-item h3 {
  font-size: 1.05rem;
}

.benefit-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.section--builder {
  background:
    linear-gradient(135deg, rgba(217, 84, 84, 0.11), transparent 32rem),
    linear-gradient(315deg, rgba(68, 185, 111, 0.09), transparent 30rem),
    var(--bg);
}

.builder-panel {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2.25rem;
  align-items: start;
}

.builder-panel__content {
  position: sticky;
  top: 6rem;
}

.text-link {
  color: var(--amber);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(226, 165, 72, 0.42);
  text-underline-offset: 0.2em;
}

.text-link:hover,
.text-link:focus-visible {
  color: #ffd48e;
  outline: none;
}

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

.criterion {
  min-height: 11rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.criterion span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(226, 165, 72, 0.32);
  border-radius: 8px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(226, 165, 72, 0.08);
}

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

.final-cta {
  padding: 5rem max(1rem, calc((100vw - var(--container)) / 2));
  background: linear-gradient(135deg, rgba(217, 84, 84, 0.18), rgba(146, 112, 237, 0.12));
  border-block: 1px solid var(--line);
}

.final-cta__inner {
  max-width: 46rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem max(1rem, calc((100vw - var(--container)) / 2));
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-brand {
  display: inline-flex;
  width: clamp(10rem, 20vw, 15rem);
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-footer > a:not(.footer-brand) {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero {
    min-height: 640px;
  }

  .hero__image--one {
    right: -20rem;
  }

  .hero__image--two {
    right: -4rem;
    opacity: 0.45;
  }

  .hero__image--three {
    right: -18rem;
  }

  .role-grid,
  .section__inner--split,
  .builder-panel {
    grid-template-columns: 1fr;
  }

  .builder-panel__content {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-block: 0.75rem;
  }

  .brand {
    max-width: 11rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 4.4rem 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16, 17, 17, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-apply {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 7.5rem;
    padding-bottom: 4rem;
  }

  .hero__media {
    opacity: 0.48;
  }

  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(16, 17, 17, 0.94), rgba(16, 17, 17, 0.68)),
      linear-gradient(180deg, rgba(16, 17, 17, 0.62), rgba(16, 17, 17, 0.94));
  }

  .hero__image {
    width: 34rem;
  }

  .hero__image--one {
    top: 7rem;
    right: -20rem;
  }

  .hero__image--two {
    top: 24rem;
    right: -12rem;
    width: 26rem;
  }

  .hero__image--three {
    display: none;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero__lead,
  .section__heading p,
  .final-cta p,
  .builder-panel__content p {
    font-size: 1rem;
  }

  .hero__actions,
  .hero__facts {
    flex-direction: column;
  }

  .button,
  .hero__facts li {
    width: 100%;
  }

  .section {
    padding-block: 4rem;
  }

  .role-card {
    min-height: auto;
  }

  .role-card__media {
    height: 10.8rem;
  }

  .benefit-list,
  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    min-height: auto;
  }

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

@media (max-width: 430px) {
  .brand {
    max-width: 9.2rem;
  }

  h1 {
    font-size: 2.08rem;
  }

  h2 {
    font-size: 1.68rem;
  }

  .role-card h3 {
    font-size: 1.26rem;
  }

  .benefit-item {
    grid-template-columns: 1fr;
  }

  .benefit-item .icon {
    width: 2.35rem;
    height: 2.35rem;
  }
}

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