@font-face {
  font-family: "Kirgina";
  src: url("./assets/fonts/Kirgina-ExtraBold.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Kirgina";
  src: url("./assets/fonts/Kirgina-Medium.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Uncut Sans";
  src: url("./assets/fonts/Uncut-Sans-Regular.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Uncut Sans";
  src: url("./assets/fonts/Uncut-Sans-Semibold.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  --background: #141414;
  --accent: #c5f800;
  --foreground: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Uncut Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.coming-soon {
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  background: var(--background);
}

.main-content {
  display: flex;
  width: min(100%, 1440px);
  min-height: min(100vh, 900px);
  padding-inline: 112px;
  flex-direction: column;
  justify-content: center;
  gap: 64px;
}

.message {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 24px;
  text-transform: uppercase;
  white-space: nowrap;
}

.message-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
}

.display-text,
.renewal {
  margin: 0;
  color: var(--accent);
  font-family: "Kirgina", "Arial Narrow", sans-serif;
  font-size: 256px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 330px;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.support-text {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  font-variant-ligatures: contextual;
  letter-spacing: -3px;
  line-height: 1;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.support-text--right {
  text-align: right;
}

.renewal {
  display: flex;
  align-items: center;
}

.renewal__arrow {
  font-weight: 500;
}

.renewal > span {
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.actions {
  display: flex;
  width: 100%;
  padding-block: 36px;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 80px;
  padding: 24px 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button > span {
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.button--primary {
  background: var(--accent);
  color: var(--background);
}

.button--secondary {
  background: transparent;
  color: var(--accent);
}

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

.button--primary:hover {
  background: var(--foreground);
  border-color: var(--foreground);
}

.button--secondary:hover {
  background: var(--accent);
  color: var(--background);
}

.button:focus-visible {
  outline: 3px solid var(--foreground);
  outline-offset: 4px;
}

@media (max-width: 1280px) {
  .main-content {
    min-height: 100vh;
    padding-inline: clamp(48px, 7.78vw, 112px);
    gap: clamp(36px, 4.44vw, 64px);
  }

  .display-text,
  .renewal {
    font-size: clamp(144px, 17.78vw, 256px);
    line-height: 1.29;
  }

  .support-text {
    font-size: clamp(26px, 2.5vw, 36px);
    letter-spacing: clamp(-3px, -0.2vw, -2px);
  }

  .button {
    padding: clamp(20px, 1.67vw, 24px) clamp(30px, 3.33vw, 48px);
    font-size: clamp(24px, 2.22vw, 32px);
  }
}

@media (max-width: 860px) {
  .coming-soon {
    overflow: auto;
  }

  .main-content {
    min-height: 100svh;
    padding: 64px 28px;
    gap: 56px;
  }

  .message {
    gap: 48px;
    white-space: normal;
  }

  .message-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .message-row--top .support-text {
    align-self: flex-end;
  }

  .message-row--bottom .support-text {
    margin-bottom: 16px;
  }

  .display-text,
  .renewal {
    font-size: clamp(92px, 23vw, 184px);
    letter-spacing: -1px;
    line-height: 0.82;
  }

  .renewal {
    width: 100%;
  }

  .support-text {
    font-size: clamp(24px, 5vw, 34px);
    letter-spacing: -2px;
  }

  .actions {
    padding: 0;
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 68px;
    padding: 20px 24px;
    font-size: clamp(20px, 4vw, 28px);
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 48px 20px;
    gap: 48px;
  }

  .display-text,
  .renewal {
    font-size: clamp(72px, 23vw, 110px);
  }

  .renewal__arrow {
    margin-right: -2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
