:root {
  color-scheme: dark;
  --color-background: #17191c;
  --color-surface: #202327;
  --color-text: #f5f5f2;
  --color-muted: #a4a8aa;
  --color-yellow: #fff000;
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-display: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
}

.page {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  padding: 38px clamp(24px, 7.2vw, 112px) 28px;
  isolation: isolate;
}

.page__texture {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-position: center;
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}

.header,
.footer {
  display: flex;
  width: min(100%, 1220px);
  align-items: center;
  align-self: center;
  justify-content: space-between;
}

.header {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  width: min(250px, 45vw);
  align-items: center;
}

.brand__logo {
  display: block;
  width: 100%;
  height: auto;
}

.header__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d3d5d4;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.header__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 14px rgba(255, 240, 0, 0.65);
}

.hero {
  display: grid;
  width: min(100%, 1220px);
  flex: 1;
  align-items: center;
  align-self: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 7vw, 100px);
  padding: 64px 0 72px;
}

.hero__content {
  max-width: 660px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--color-yellow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow__line {
  width: 30px;
  height: 2px;
  background: currentColor;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.3vw, 6.15rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

h1 span {
  display: block;
  color: var(--color-yellow);
}

.hero__description {
  max-width: 490px;
  margin: 26px 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.8;
}

.progress {
  max-width: 420px;
  margin-top: 42px;
}

.progress__label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: #d6d8d6;
  font-size: 0.78rem;
}

.progress__label span:last-child {
  color: var(--color-yellow);
  font-weight: 600;
}

.progress__track {
  height: 4px;
  overflow: hidden;
  background: #393c3f;
}

.progress__bar {
  display: block;
  width: 28%;
  height: 100%;
  background: var(--color-yellow);
  box-shadow: 0 0 16px rgba(255, 240, 0, 0.4);
}

.contact {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 32px;
}

.contact__label {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  text-decoration-color: rgba(255, 240, 0, 0.55);
  text-underline-offset: 6px;
  transition: color 160ms ease;
}

.contact__link:hover {
  color: var(--color-yellow);
}

.contact__link:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 5px;
}

.contact__icon {
  width: 22px;
  height: 22px;
  color: var(--color-yellow);
}

.hero__visual {
  display: grid;
  min-height: 400px;
  place-items: center;
}

.visual-card {
  position: relative;
  display: grid;
  width: min(100%, 420px);
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 49%, rgba(255, 240, 0, 0.1), transparent 38%),
    linear-gradient(145deg, #24272b, #1a1c1f 65%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.visual-card::before,
.visual-card::after {
  position: absolute;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 0, 0.38), transparent);
  content: "";
}

.visual-card::after {
  transform: rotate(90deg);
}

.visual-card__index,
.visual-card__caption {
  position: absolute;
  z-index: 1;
  color: #a4a8aa;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-card__index {
  top: 22px;
  left: 20px;
}

.visual-card__caption {
  right: 20px;
  bottom: 20px;
  left: 20px;
  text-align: center;
}

.workshop {
  display: block;
  width: 100%;
  height: auto;
  align-self: center;
  margin: 20px 0 12px;
}

.footer {
  min-height: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8e9294;
  font-size: 0.75rem;
}

.footer__message {
  color: #d3d5d4;
}

.footer__message span {
  color: var(--color-yellow);
}

@media (max-width: 760px) {
  .page {
    padding: 24px 24px 18px;
  }

  .header {
    align-items: flex-start;
    gap: 12px;
  }

  .brand {
    width: min(210px, 48vw);
    flex-shrink: 1;
  }

  .header__status {
    flex-shrink: 0;
    max-width: 145px;
    justify-content: flex-end;
    padding-top: 8px;
    font-size: 0.68rem;
    line-height: 1.45;
    text-align: right;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 76px 0 56px;
  }

  .hero__visual {
    min-height: auto;
  }

  .visual-card {
    width: min(76vw, 340px);
  }
}

@media (max-width: 420px) {
  .page {
    padding-right: 18px;
    padding-left: 18px;
  }

  .header__status {
    max-width: 125px;
  }

  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .hero {
    padding-top: 62px;
  }

  .footer {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .progress__bar {
    animation: progress-sweep 2.8s ease-in-out infinite alternate;
  }

  @keyframes progress-sweep {
    to {
      transform: translateX(250%);
    }
  }
}
