
@font-face {
  font-family: "Refrigerator Deluxe";
  src:
    url("./assets/fonts/RefrigeratorDeluxe-ExtraBold.woff2") format("woff2"),
    url("./assets/fonts/RefrigeratorDeluxe-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "KitSans";
  src: url("./assets/fonts/KitSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "KitSans";
  src: url("./assets/fonts/KitSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "KitSans";
  src: url("./assets/fonts/KitSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --red: #dc2625;
  --red-dark: #cb2323;
  --slate: #374151;
  --slate-dark: #22272f;
  --grey: #8c96a4;
  --light: #f3f4f7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: "KitSans", Arial, sans-serif;
  font-size: 17px;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--red);
  color: var(--white);
  padding: 30px 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand,
.footer-brand {
  display: inline-flex;
}

.brand img {
  width: 128px;
  height: 61px;
  object-fit: contain;
}

.button {
  border-radius: 6px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  overflow: hidden;
  height: 720px;
  min-height: 720px;
  background-color: var(--red);
  color: var(--white);
  padding: 75px 0 94px;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: url("./assets/gamz-shadow-wave.png");
  background-position: center 82px;
  background-repeat: no-repeat;
  background-size: 160% 150%;
  content: "";
  opacity: 0.58;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow.red {
  color: var(--red);
}

h1,
h2 {
  margin: 0;
  color: inherit;
  font-family: "Refrigerator Deluxe", Impact, "Arial Narrow", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  font-size: clamp(70px, 7.2vw, 108px);
  line-height: 0.86;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.94;
}

.hero-intro {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 21px 14px;
  border: 2px solid transparent;
  font-size: 15px;
}

.button svg {
  width: 19px;
  height: 19px;
}

.button-light {
  background: var(--white);
  color: var(--slate);
}

.hero-actions .button:hover {
  transform: none;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.embed-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 32px 75px rgba(93, 16, 16, 0.32);
  color: var(--slate);
  transform: rotate(1.5deg);
}

.browser-bar {
  display: flex;
  height: 52px;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #e8e8e8;
  background: var(--light);
  padding: 0 18px;
}

.browser-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfd3da;
}

.browser-bar p {
  flex: 1;
  margin: 0 52px 0 16px;
  border-radius: 4px;
  background: var(--white);
  color: var(--grey);
  font-size: 12px;
  line-height: 26px;
  text-align: center;
}

.preview-body {
  padding: 28px 30px 22px;
}

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

.preview-heading div:first-child {
  display: grid;
  gap: 5px;
}

.preview-heading span {
  color: var(--grey);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-heading strong {
  font-size: 22px;
}

.preview-tabs {
  display: flex;
  gap: 4px;
}

.preview-tabs span {
  padding: 8px 10px;
  border-radius: 4px;
}

.preview-tabs .active {
  background: var(--red);
  color: var(--white);
}

.ladder {
  overflow: hidden;
  border: 1px solid #e8e8e8;
  border-radius: 7px;
}

.ladder-row {
  display: grid;
  grid-template-columns: 52px 1fr 48px;
  min-height: 55px;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 15px;
  font-size: 14px;
}

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

.ladder-row span:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}

.ladder-row i {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light);
  color: var(--red);
  font-size: 11px;
  font-style: normal;
}

.ladder-row strong {
  text-align: right;
}

.ladder-header {
  min-height: 35px;
  background: var(--slate);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ladder-header span:nth-child(2) {
  font-weight: 700;
}

.ladder-header span:last-child {
  text-align: right;
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 18px;
  color: var(--grey);
  font-size: 10px;
}

.powered-by img {
  width: 48px;
  height: 23px;
  object-fit: contain;
}

.details {
  padding: 104px 0;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 110px;
  align-items: center;
}

.details-copy h2 {
  max-width: 680px;
  color: var(--slate);
}

.details-copy > p:last-child {
  max-width: 610px;
  margin: 25px 0 0;
  color: var(--grey);
  font-size: 19px;
  line-height: 1.6;
}

.benefits {
  display: grid;
  gap: 12px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #e8e8e8;
  border-radius: 9px;
  background: var(--white);
  padding: 17px;
  box-shadow: 0 12px 32px rgba(55, 65, 81, 0.06);
}

.benefit > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
}

.benefit svg {
  width: 20px;
  height: 20px;
}

.benefit p {
  margin: 0;
  font-weight: 700;
}

.root-note {
  padding: 0 0 90px;
}

.note-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  border-radius: 28px;
  background: var(--slate);
  color: var(--white);
  padding: 55px 62px;
}

.note-inner h2 {
  font-size: clamp(42px, 4vw, 61px);
}

.note-or {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-transform: uppercase;
}

.note-inner .button {
  margin-top: 20px;
}

.note-inner .button:hover {
  transform: none;
}

.button-dark {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--slate);
}

footer {
  background: var(--slate);
  color: var(--white);
  padding: 64px 0 40px;
}

.footer-inner {
  display: grid;
  width: min(1280px, calc(100% - 64px));
  grid-template-columns: 1fr auto;
  gap: 24px 45px;
  align-items: start;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand img {
  width: 118px;
  height: 56px;
  object-fit: contain;
}

.footer-brand-block p {
  margin: 0;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-inner small {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
}

a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.details a:focus-visible,
.root-note a:focus-visible,
footer a:focus-visible {
  outline-color: var(--red);
}

@media (max-width: 980px) {
  .hero {
    height: auto;
  }

  .hero-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 56px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .embed-preview {
    width: min(680px, 100%);
    transform: none;
  }

  .details-grid {
    gap: 50px;
  }

  .benefits {
    grid-template-columns: 1fr 1fr;
  }

  .note-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-links {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    padding: 24px 0 14px;
  }

  .brand img {
    width: 96px;
    height: 46px;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding: 52px 0 68px;
  }

  .hero::before {
    background-position: center 52px;
    background-size: auto 150%;
  }

  h1 {
    font-size: clamp(58px, 18vw, 78px);
  }

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

  .hero-copy,
  .details-copy,
  .note-inner {
    text-align: center;
  }

  .hero-copy,
  .hero-intro,
  .details-copy > p:last-child {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .preview-body {
    padding: 20px 16px 17px;
  }

  .preview-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .ladder-row {
    grid-template-columns: 37px 1fr 34px;
    padding: 0 9px;
    font-size: 12px;
  }

  .ladder-row i {
    display: none;
  }

  .details {
    padding: 72px 0;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .root-note {
    padding-bottom: 64px;
  }

  .note-inner {
    align-items: center;
    gap: 32px;
    border-radius: 18px;
    padding: 38px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand-block {
    align-items: center;
  }

  .footer-links {
    grid-column: auto;
    align-items: center;
    flex-direction: column;
  }

  .footer-inner small {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: fade-up 500ms ease both;
  }

  .embed-preview {
    animation: preview-in 650ms 100ms ease both;
  }

  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
  }

  @keyframes preview-in {
    from {
      opacity: 0;
      transform: translateY(22px) rotate(1.5deg);
    }
  }
}
