@font-face {
  font-family: "KTF Rublena";
  src: url("/assets/marketing/KTFRublena-Solid-187b5daf.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DMTLL Var Trial";
  src: url("/assets/marketing/DMTLLVarTrial-SIZE-ROTA-wght-a8a971fd.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eurostile";
  src: url("/assets/marketing/Eurostile-Reg-b7161135.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.marketing-document {
  /* Cargo scales text with the shorter viewport edge, then boosts portrait screens. */
  font-size: max(3.2px, calc(1.44vmin + clamp(0px, (100svh - 100vw) * .0102857143, .8vmin)));
  scroll-behavior: smooth;
}

.marketing-page {
  margin: 0;
  background: #d9d9d9;
  color: rgba(0, 0, 0, .85);
  font-family: "DMTLL Var Trial", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  -webkit-font-smoothing: antialiased;
}

.marketing-page * { box-sizing: border-box; }
.marketing-page a { color: inherit; text-decoration: none; }
.marketing-page a:active { opacity: .7; }
.marketing-page iframe { display: block; border: 0; }
.marketing-page h1, .marketing-page h2, .marketing-page p { margin: 0; }
.marketing-page h1, .marketing-page h2 { font-family: "KTF Rublena", sans-serif; font-weight: 400; }

.marketing-content { width: 60%; margin: auto; padding: 1.6rem; text-align: center; }
.marketing-intro { position: relative; min-height: 100svh; color: rgba(246, 255, 0, .85); }
.marketing-logo { width: 12.3%; height: auto; vertical-align: bottom; }
.marketing-intro h1 { font-size: 3.627rem; line-height: 1.1; margin-bottom: 3.9897rem; }
.marketing-featured-video { width: 100%; aspect-ratio: 200 / 113; margin-top: 1.76rem; }
.marketing-follow { margin-top: 4.18rem; }
.marketing-socials { display: flex; justify-content: center; align-items: center; gap: 1.3192rem; margin: .1916rem 0 4.2232rem; }
.marketing-socials a:last-child { margin-left: .6596rem; }
.marketing-socials img { display: block; width: 4.1652rem; height: 4.1652rem; filter: brightness(0) saturate(100%) invert(89%) sepia(74%) saturate(1036%) hue-rotate(11deg) brightness(106%) contrast(104%); }
.marketing-email { display: block; font-family: "Eurostile", sans-serif; font-size: 1.7rem; font-weight: 400; line-height: 1.8; margin-bottom: 3.52rem; }

.marketing-background { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #ddd; }
.marketing-background iframe { opacity: .15; position: absolute; left: 50%; top: 50%; width: max(100vw, 177.778svh); height: max(100svh, 56.25vw); transform: translate(-50%, -50%); pointer-events: none; }
.marketing-background::after { content: ""; position: absolute; inset: 0; background: url("/assets/marketing/checkerboard_64-bd3f900d.png") repeat center; background-size: 16px 16px; }

.marketing-newsletter { background: #f9f504; }
.marketing-page .marketing-signup-title { font-size: 2.652rem; line-height: .9; margin-bottom: calc(2.3868rem + 10px); }
.marketing-newsletter-form, .marketing-newsletter-confirmation {
  width: min(100%, 400px);
  margin-inline: auto;
  color: #171717;
  font: 16px/1.2 "Eurostile", sans-serif;
}

.marketing-newsletter-fields { display: flex; gap: 8px; min-height: 55px; }
.marketing-newsletter-fields input[type="email"], .marketing-newsletter-fields button {
  border: 1px solid #171717;
  border-radius: 0;
  padding: 0 12px;
  font: inherit;
}

.marketing-newsletter-fields input[type="email"] { flex: 1; min-width: 0; background: #fff; color: #171717; }
.marketing-newsletter-fields button { background: #171717; color: #fff; cursor: pointer; }
.marketing-newsletter-fields :focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.marketing-page p.marketing-newsletter-confirmation {
  display: grid;
  min-height: 55px;
  margin-inline: auto;
  place-items: center;
  background: #171717;
  color: #fff;
}

.marketing-page p.marketing-newsletter-error { padding-top: 8px; text-align: center; }
.marketing-popup-form .marketing-newsletter-fields button,
.marketing-popup-form .marketing-newsletter-confirmation { background: #f9f504; color: #171717; }
.marketing-popup-form .marketing-newsletter-error { color: #fff; }
.marketing-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.marketing-about { background: #d9d9d9; }
.marketing-about .marketing-content { width: 39%; }
.marketing-about h2 { font-size: 2.2rem; line-height: 1.1; margin: 2.42rem 0; }
.marketing-about p { font-family: "Eurostile", sans-serif; font-size: 1.7rem; font-weight: 400; line-height: 1.1; padding-bottom: 1.87rem; }
.marketing-about p > span { font-size: .85em; }
.marketing-footer { margin-top: -4.159rem; padding: 1.2rem; position: relative; text-align: center; }
.marketing-top { font-variation-settings: normal; }

#newsletter-popup { position: fixed; inset: 0; width: 100%; max-width: none; height: 100svh; max-height: none; margin: 0; padding: 0; border: 0; color: rgba(255, 255, 255, .85); background: center / cover url("/assets/marketing/newsletter-background-d1c6c9f5.jpg"); overflow-y: auto; }
#newsletter-popup::backdrop { background: transparent; }
.marketing-popup-content { width: 60%; min-height: 100%; padding: 1.6rem; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.marketing-popup-stack { width: 100%; padding-top: 7.04rem; }
.marketing-popup-form { height: min(26rem, (100vw - 3.2rem) * .625); }
.marketing-popup-close { display: block; line-height: 1.1; margin: 0 auto 1.76rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.marketing-popup-close:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.marketing-page:has(#newsletter-popup[open]) { overflow: hidden; }
.marketing-popup-content .marketing-signup-title { text-align: center; }

@media (max-aspect-ratio: 4/5) {
  .marketing-document { font-size: max(4.672px, calc((1.44vmin + clamp(0px, (100svh - 100vw) * .0102857143, .8vmin)) * 1.46)); }
  .marketing-content, .marketing-about .marketing-content, .marketing-popup-content { width: 100%; }
}

@media (min-aspect-ratio: 2/3) and (max-height: 500px) {
  .marketing-document { font-size: max(4.672px, calc(2.88vmin * 1.46)); }
  .marketing-content, .marketing-about .marketing-content, .marketing-popup-content { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-document { scroll-behavior: auto; }
  .marketing-background iframe { display: none; }
  .marketing-background { background: linear-gradient(rgba(221, 221, 221, .85), rgba(221, 221, 221, .85)), center / cover url("/assets/marketing/background-poster-3bac1aeb.jpg"); }
}
