:root {
  --bg: #000;
  --text: #f4f4f2;
  --muted: rgba(244, 244, 242, 0.42);
  --muted-strong: rgba(244, 244, 242, 0.58);
  --line: rgba(255, 255, 255, 0.28);
  --line-soft: rgba(255, 255, 255, 0.16);
  --orange: #ff4b09;
  --green: #34b84d;
  --container: 1200px;
  --font-display: "Eurostile", "Eurostile Regular", "Eurostile LT Std", "Space Grotesk", Arial, sans-serif;
  --font-body: "Space Grotesk", "Space Grotesk Light", "Eurostile", Arial, sans-serif;
}

@font-face {
  font-family: "Eurostile";
  src: local("Eurostile"), local("Eurostile Regular"), local("Eurostile LT Std");
  font-weight: 300 600;
}

@font-face {
  font-family: "Space Grotesk";
  src: local("Space Grotesk Light"), local("Space Grotesk");
  font-weight: 300;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 1180px;
  margin: 0;
  color: var(--text);
  background:
    url("./assets/images/website-background.png") center top / 100% auto no-repeat,
    var(--bg);
  font-family: var(--font-body);
  font-weight: 300;
}

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

.site-bg {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: -2;
  width: 100%;
  height: 1714px;
  background: linear-gradient(180deg, transparent 0%, transparent 76%, #000 100%);
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 180px 1fr 122px;
  align-items: center;
  width: var(--container);
  height: 71px;
  margin: 47px auto 0;
  padding: 0 36px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(20, 20, 20, 0.64);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  width: 78px;
  opacity: 0.9;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 104px;
  color: rgba(244, 244, 242, 0.36);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
}

.nav-links a {
  position: relative;
  padding: 22px 0;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 1px;
  background: var(--orange);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
  content: "";
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 0 18px rgba(255, 75, 9, 0.35);
}

.nav-links a:hover::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.login-button {
  display: grid;
  place-items: center;
  width: 122px;
  height: 48px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: transparent;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background 180ms ease;
}

.login-button:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.055);
}

main {
  position: relative;
  padding-bottom: 260px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 723px;
  padding-top: 185px;
  text-align: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 31px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: rgba(244, 244, 242, 0.42);
  background: rgba(24, 24, 24, 0.72);
  font-size: 17px;
  line-height: 1;
}

.status-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 24px rgba(255, 75, 9, 0.62);
}

.hero h1 {
  margin: 39px 0 0;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero h1 span,
.hero h1 strong {
  display: block;
  font-weight: inherit;
}

.hero h1 strong {
  color: var(--orange);
}

.methods {
  width: var(--container);
  margin: 0 auto;
  padding-top: 71px;
}

.section-intro {
  width: 850px;
  margin: 0 auto;
  text-align: center;
}

.section-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 300;
  line-height: 1.14;
  white-space: nowrap;
}

.section-intro p {
  margin: 41px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.28;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 68px;
  margin-top: 95px;
}

.method-card {
  min-height: 577px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(91, 29, 1, 0.76) 31%, rgba(5, 5, 12, 0.95) 57%),
    #06060a;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.method-card:hover {
  border-color: rgba(255, 113, 36, 0.72);
  box-shadow: 0 0 34px rgba(255, 75, 9, 0.16);
  transform: translateY(-4px);
}

.video-placeholder {
  height: 205px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.24);
  background:
    linear-gradient(rgba(0, 0, 0, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 1px, transparent 1px),
    var(--green);
  background-size: 119px 68px, 119px 68px, auto;
  transition: filter 180ms ease;
}

.method-card:hover .video-placeholder {
  filter: saturate(1.12) brightness(1.05);
}

.method-content {
  padding: 39px 30px 25px;
}

.method-content h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.1;
}

.method-content p {
  min-height: 144px;
  margin: 56px 0 27px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.32;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px 15px;
}

.metric {
  min-height: 49px;
  padding: 10px 13px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 3, 10, 0.38);
}

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

.metric strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 0.95;
}

.metric span {
  margin-top: 5px;
  color: rgba(244, 244, 242, 0.48);
  font-size: 13px;
  line-height: 1;
}

.info-panel {
  position: relative;
  width: var(--container);
  min-height: 478px;
  margin: 112px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #020202;
}

.about-panel {
  display: grid;
  grid-template-columns: 52% 48%;
}

.about-panel::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 41%, rgba(0, 0, 0, 0.18) 67%, rgba(255, 75, 9, 0.92) 100%),
    radial-gradient(circle at 88% 86%, rgba(255, 177, 66, 0.95) 0, rgba(255, 75, 9, 0.82) 22%, rgba(92, 0, 0, 0.55) 44%, transparent 67%);
  content: "";
}

.panel-copy {
  position: relative;
  z-index: 2;
  width: 535px;
  padding: 70px 0 54px 49px;
}

.panel-copy h2,
.work-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 43px;
  font-weight: 300;
  line-height: 1.05;
}

.panel-copy p,
.work-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.24;
}

.panel-copy p {
  margin: 52px 0 0;
}

.panel-copy p + p {
  margin-top: 28px;
}

.panel-copy h3,
.work-copy h3 {
  margin: 34px 0 0;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.05;
}

.panel-copy h3 + p {
  margin-top: 8px;
}

.robot-art {
  position: absolute;
  right: 0;
  bottom: -35px;
  z-index: 1;
  width: 700px;
  height: 540px;
  background: url("./assets/images/robot-hand.png") 52% 50% / cover no-repeat;
  filter: contrast(1.18) saturate(1.35) brightness(0.92);
  mix-blend-mode: screen;
  opacity: 0.78;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, black 18%, black 100%),
    linear-gradient(180deg, black 0%, black 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, black 18%, black 100%),
    linear-gradient(180deg, black 0%, black 78%, transparent 100%);
  mask-composite: intersect;
}

.robot-art::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 35%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 34%, rgba(0, 0, 0, 0.1) 100%);
  content: "";
}

.work-panel {
  min-height: 418px;
  margin-top: 112px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 91, 5, 0.9) 0, rgba(255, 75, 9, 0.64) 17%, rgba(67, 11, 3, 0.44) 36%, transparent 58%),
    #020202;
}

.work-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 75, 9, 0.16), transparent 48%);
  pointer-events: none;
}

.work-copy {
  position: relative;
  z-index: 1;
  width: 535px;
  margin-left: auto;
  padding: 75px 59px 50px 0;
  text-align: center;
}

.work-copy p {
  margin: 54px 0 0;
}

.work-copy p + p {
  margin-top: 30px;
}

.work-copy h3 {
  margin-top: 34px;
}

.work-copy h3 + p {
  margin-top: 8px;
}

@media (max-width: 1179px) {
  body {
    min-width: 0;
  }

  .site-header,
  .methods,
  .info-panel {
    width: min(var(--container), calc(100vw - 48px));
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
    background-size: auto 1060px, auto;
  }

  .site-bg {
    height: 820px;
    background: linear-gradient(180deg, transparent 0%, transparent 70%, #000 100%);
  }

  main {
    padding-bottom: 120px;
  }

  .site-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav";
    height: auto;
    width: min(358px, calc(100% - 32px));
    margin: 18px 16px 0;
    padding: 17px 18px 15px;
    row-gap: 18px;
    border-radius: 8px;
  }

  .brand {
    grid-area: brand;
    width: 67px;
  }

  .nav-links {
    grid-area: nav;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    font-size: 12px;
  }

  .nav-links a {
    padding: 6px 0 4px;
  }

  .nav-links a::after {
    bottom: -2px;
  }

  .login-button {
    display: none;
  }

  .hero {
    height: 535px;
    padding: 104px 20px 0;
  }

  .status-pill {
    height: 28px;
    gap: 10px;
    padding: 0 14px;
    font-size: 13px;
  }

  .status-dot {
    width: 10px;
    height: 10px;
  }

  .hero h1 {
    max-width: min(300px, calc(100% - 44px));
    margin-top: 33px;
    font-size: 31px;
    line-height: 1.16;
    overflow-wrap: normal;
  }

  .methods {
    width: min(358px, calc(100% - 32px));
    max-width: min(358px, calc(100% - 32px));
    margin: 0 16px;
    padding-top: 36px;
    overflow: hidden;
  }

  .section-intro {
    width: 100%;
  }

  .section-intro h2 {
    max-width: 330px;
    margin: 0 auto;
    font-size: 34px;
    line-height: 1.12;
    white-space: normal;
  }

  .section-intro p {
    width: min(100%, 330px);
    margin: 24px auto 0;
    font-size: 14px;
    line-height: 1.35;
  }

  .method-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 54px;
    min-width: 0;
  }

  .method-card {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    border-radius: 7px;
  }

  .video-placeholder {
    height: 190px;
    background-size: 112px 63px, 112px 63px, auto;
  }

  .method-content {
    padding: 32px 26px 25px;
    overflow: hidden;
  }

  .method-content h3 {
    font-size: 24px;
  }

  .method-content p {
    min-height: 0;
    margin: 36px 0 26px;
    font-size: 15px;
    line-height: 1.38;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .metric-grid {
    gap: 12px;
    min-width: 0;
  }

  .metric {
    min-width: 0;
    padding: 10px 12px 9px;
  }

  .metric strong {
    font-size: 21px;
  }

  .metric span {
    font-size: 12px;
  }

  .info-panel {
    width: min(358px, calc(100% - 32px));
    min-height: 0;
    margin: 72px 16px 0;
    border-radius: 16px;
  }

  .about-panel {
    display: block;
    padding-bottom: 235px;
  }

  .about-panel::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.97) 48%, rgba(28, 5, 0, 0.78) 68%, rgba(255, 75, 9, 0.86) 100%),
      radial-gradient(circle at 82% 88%, rgba(255, 177, 66, 0.88) 0, rgba(255, 75, 9, 0.72) 23%, rgba(92, 0, 0, 0.44) 52%, transparent 72%);
  }

  .panel-copy {
    width: auto;
    padding: 44px 28px 0;
  }

  .panel-copy h2,
  .work-copy h2 {
    font-size: 36px;
  }

  .panel-copy p,
  .work-copy p {
    font-size: 15px;
    line-height: 1.34;
  }

  .panel-copy p {
    margin-top: 34px;
  }

  .panel-copy p + p {
    margin-top: 24px;
  }

  .panel-copy h3,
  .work-copy h3 {
    margin-top: 28px;
    font-size: 20px;
  }

  .robot-art {
    right: -82px;
    bottom: -26px;
    width: 450px;
    height: 345px;
    background-position: 52% 50%;
    opacity: 0.7;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, black 24%, black 100%),
      linear-gradient(180deg, black 0%, black 80%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, black 24%, black 100%),
      linear-gradient(180deg, black 0%, black 80%, transparent 100%);
  }

  .work-panel {
    min-height: 520px;
    background:
      radial-gradient(circle at 8% 0%, rgba(255, 91, 5, 0.86) 0, rgba(255, 75, 9, 0.56) 24%, rgba(67, 11, 3, 0.42) 48%, transparent 72%),
      #020202;
  }

  .work-glow {
    background: linear-gradient(180deg, rgba(255, 75, 9, 0.14), transparent 54%);
  }

  .work-copy {
    width: auto;
    margin: 0;
    padding: 56px 28px 48px;
    text-align: center;
  }

  .work-copy p {
    margin-top: 42px;
  }

  .work-copy p + p {
    margin-top: 26px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 29px;
  }

  .section-intro h2 {
    font-size: 31px;
  }

  .robot-art {
    right: -125px;
  }
}
