@font-face {
  font-family: "Neue Machina Inktrap";
  src: url("../fonts/PPNeueMachina-InktrapRegular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Neue Machina Plain";
  src: url("../fonts/PPNeueMachina-PlainRegular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal Mono";
  src: url("../fonts/PPNeueMontrealMono-Medium.ttf") format("truetype");
  font-display: swap;
}

:root {
  --orange: #fe5f38;
  --orange-hover: #ff3c28;
  --bg: #0e0e0e;
  --bg-panel: #141414;
  --border: #3e3e3e;
  --muted: #cdcdcd;
  --ink: #141414;
  --white: #fff;
  --content: min(1440px, 86vw);
  --gutter: calc((100vw - var(--content)) / 2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--orange);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Neue Machina Plain", sans-serif;
  font-size: 18px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Neue Machina Inktrap", sans-serif;
  font-weight: 500;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

h1 {
  font-size: 64px;
  line-height: 120%;
}

h2 {
  font-size: 58px;
  line-height: 130%;
}

h3 {
  font-size: 32px;
  line-height: 130%;
}

h4 {
  font-family: "Neue Montreal Mono", sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 130%;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}
:focus:not(:focus-visible) {
  outline: none;
}

.btn {
  font-family: "Neue Montreal Mono", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  text-transform: uppercase;
  color: #000;
  background-color: var(--orange);
  padding: 12px 16px;
  border: 2px solid transparent;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  border-color: var(--orange);
  color: var(--white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-enter {
  position: relative;
  padding: 14px 24px 14px 52px;
  min-width: 244px;
  letter-spacing: 1.5px;
  overflow: hidden;
}

.btn-enter::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 25px;
  height: 25px;
  background-image: url("../images/enter-icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.btn-enter:hover::before {
  filter: brightness(0) invert(1);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px var(--gutter) 0;
}

.brand-logo {
  width: calc(var(--content) * 0.203);
  height: auto;
}

.hero {
  position: relative;
  padding: min(205px, 11.2vw) var(--gutter) 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
}

.hero-title {
  margin: 0 0 70px;
  text-align: left;
}

.hero-accent {
  position: sticky;
  bottom: 0;
  margin-top: calc(12vw - 30px);
  margin-inline: calc(-1 * var(--gutter));
  height: 30px;
  background: url("../images/divider-right.png") center / 100% 100% no-repeat;
  z-index: 2;
}

.newsletter {
  position: relative;
  width: calc(var(--content) * 0.495);
  padding: 31px;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.newsletter::before,
.newsletter::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px solid var(--white);
  pointer-events: none;
}
.newsletter::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.newsletter::after {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.newsletter-lede {
  font-size: 21px;
  max-width: 560px;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 410px;
}

.newsletter-frame-bottom {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.newsletter-frame-bottom::before,
.newsletter-frame-bottom::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px solid var(--white);
}
.newsletter-frame-bottom::before {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}
.newsletter-frame-bottom::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  font-family: "Neue Machina Plain", sans-serif;
  font-size: 18px;
  line-height: 140%;
  color: var(--white);
  background-color: var(--bg-panel);
  border: 2px solid var(--border);
  padding: 22px 16px;
}

.newsletter-input::placeholder {
  color: var(--muted);
}

.newsletter-button {
  padding: 22px 19px;
}

.newsletter-status {
  margin-top: 16px;
  color: var(--orange);
  font-family: "Neue Montreal Mono", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.newsletter-status.is-error {
  color: var(--orange-hover);
}

.newsletter-footnote {
  margin-top: 24px;
  font-size: 11px;
  color: var(--muted);
}

.newsletter-footnote a {
  color: var(--muted);
  transition: color 0.3s ease;
}

.newsletter-footnote a:hover {
  color: var(--orange);
}

.features {
  padding: 12vw var(--gutter) 0 0;
}

.section-title {
  max-width: 800px;
  margin: 0 0 0 var(--gutter);
}

.features-grid {
  position: relative;
  display: grid;
  grid-template-columns: calc(var(--content) * 0.661) calc(var(--content) * 0.37);
  justify-content: space-between;
  margin-top: 8vw;
}

.product-shot {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: calc(var(--content) * 0.661);
}

.feature-list {
  grid-column: 2;
  display: flex;
  flex-direction: column;
}

.feature-card {
  padding: 0 0 49px;
  border-bottom: 1px solid var(--orange);
}

.feature-card + .feature-card {
  padding-top: 16px;
}

.feature-card:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.feature-card h4 {
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 18px;
}

.cta {
  max-width: 960px;
  margin: 0 auto;
  padding: calc(100px + 9.4vw) 0 11.5vw;
  text-align: center;
  line-height: 0;
}

.cta-title {
  margin-bottom: 44px;
}

.section-divider {
  height: 30px;
  background: url("../images/divider-left.png") center / 100% 100% no-repeat;
}

.site-footer {
  position: relative;
  background: var(--orange);
  color: var(--ink);
  padding: 92px var(--gutter) 31px;
  overflow: hidden;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-headline {
  font-family: "Neue Machina Inktrap", sans-serif;
  font-size: 28px;
  line-height: 130%;
  max-width: 540px;
  margin: 34px 0 0;
  color: var(--ink);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-social img {
  height: 52px;
  width: 52px;
  filter: brightness(0);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  font-family: "Neue Montreal Mono", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-wordmark {
  display: block;
  width: var(--content);
  margin-top: 57px;
  filter: brightness(0);
}

.footer-copyright {
  font-family: "Neue Montreal Mono", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--border);
  margin: 31px 0 0;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .reveal-fade {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal-fade.is-visible {
    opacity: 1;
  }

  .reveal-1 {
    transition-delay: 0.08s;
  }
  .reveal-2 {
    transition-delay: 0.16s;
  }
  .reveal-3 {
    transition-delay: 0.24s;
  }
}

@media only screen and (max-width: 900px) {
  .hero {
    padding: 117px clamp(20px, 5vw, 80px) 40px;
  }
  .hero-media img,
  .hero-media video {
    object-position: 72% 18%;
  }
  .hero-content {
    max-width: none;
  }
  .hero-title {
    margin-bottom: 129px;
  }
  .newsletter {
    width: 100%;
    padding: 20px;
  }
  .newsletter-button {
    align-self: flex-start;
  }
  .hero-accent {
    margin-inline: calc(-1 * clamp(20px, 5vw, 80px));
  }
  .features {
    padding: 64px clamp(20px, 5vw, 40px);
  }
  .section-title {
    margin-left: 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .feature-list {
    grid-column: auto;
  }
  .product-shot {
    position: static;
    transform: none;
    width: 100%;
    margin: 40px 0 0;
  }
}

@media only screen and (max-width: 767px) {
  h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 34px;
  }
  h4 {
    font-size: 24px;
  }
  .section-title {
    font-size: 30px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 32px;
  }
  .footer-top {
    flex-direction: column;
    gap: 24px;
  }
  .footer-meta {
    align-items: flex-start;
  }
  .footer-links {
    align-items: flex-start;
  }
}
