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

@font-face {
  font-family:Inter;
  src:url('../fonts/Inter-Bold.woff2') format('woff2');
  font-weight:800;
  font-display:swap;
}

:root {
  --red:#ed2439;
  --white:#f5f2ee;
  --black:#090909;
  --muted:#aaa5a4;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:2rem;
  background:var(--black);
}

body.home-page {
  margin:0;
  min-width:320px;
  background:var(--black);
  color:var(--white);
  font-family:Inter,Arial,sans-serif;
}

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

button {
  font:inherit;
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible {
  outline:3px solid #fff;
  outline-offset:6px;
}

button {
  cursor:pointer;
}

img {
  max-width:100%;
}

[hidden] {
  display:none!important;
}

.skip-link {
  position:fixed;
  top:-100px;
  left:1rem;
  z-index:100;
  padding:1rem;
  background:#fff;
  color:#000;
}

.skip-link:focus {
  top:1rem;
}

.home-layout {
  position:relative;
  min-height:100svh;
  display:grid;
  grid-template-rows:1fr auto;
  overflow:clip;
  background:radial-gradient(ellipse at 75% 45%, #63101a 0, #240c10 35%, var(--black) 72%);
}

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

.hero-photo {
  position:absolute;
  right:3%;
  top:0;
  bottom:0;
  width:52%;
  pointer-events:none;
}

.hero-photo img {
  position:absolute;
  max-width:none;
  width:auto;
  height:155%;
  top:-29%;
  left:50%;
  transform:translateX(-42.67%);
}

.hero-photo::after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,#090909 2%,transparent 23%);
  pointer-events:none;
}

.hero-content {
  position:relative;
  z-index:1;
  grid-column:1;
  justify-self:end;
  padding:clamp(1.75rem,5svh,3.5rem) 0 clamp(1.25rem,3svh,2.25rem);
  align-self:center;
  text-align:center;
  width:100%;
  max-width:clamp(350px,38vw,600px);
}

.hero h1 {
  color:var(--white);
  position:static;
  margin:0;
  font:900 clamp(4.5rem,min(9.5vw,15svh),10rem)/.87 Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
  letter-spacing:-.025em;
}

.hero h1 span {
  display:inline;
  font:inherit;
  color:var(--red);
  letter-spacing:inherit;
}

.hero-description {
  font-size:.92rem;
  line-height:1.8;
  color:#b8b2b1;
  margin:1.8rem auto 1.5rem;
  max-width:360px;
}

.hero-actions {
  display:grid;
  gap:.8rem;
  margin:1.7rem auto 1.2rem;
  max-width:355px;
}

.action {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.8rem;
  border-radius:18px;
  min-height:60px;
  width:100%;
  padding:1.15rem 1.4rem;
  border:2px solid transparent;
  text-align:left;
  font-size:.88rem;
  font-weight:800;
  transition:background .15s,transform .15s,box-shadow .15s;
}

.action-secondary {
  border-color:#bd4552;
  background:#130d0e;
  color:#fff;
}

.action-secondary:hover {
  background:#2c1117;
  transform:translateY(-3px) rotate(1deg);
}

.social-links {
  display:flex;
  justify-content:center;
  gap:1.3rem;
  align-items:center;
}

.social-links a {
  display:inline-flex;
  padding:.3rem;
  color:#aaa5a4;
}

.social-links a:hover {
  color:#fff;
}

.social-links svg {
  width:20px;
  height:20px;
  fill:currentColor;
}

.site-footer {
  position:relative;
  padding:1.8rem max(5vw,24px);
}

.site-footer__inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2rem;
}

.site-footer ul {
  display:flex;
  gap:1.6rem;
  flex-wrap:wrap;
  list-style:none;
  padding:0;
  margin:0;
}

.site-footer nav a {
  font-size:.65rem;
  color:#a8a0a0;
}

.site-footer nav a:hover {
  color:#fff;
}

.endgame-logo {
  width:130px;
  flex-shrink:0;
}

.endgame-logo img {
  display:block;
  width:100%;
  height:auto;
}

@media(max-width:850px) {
  .hero-photo {
    width:58%;
    right:-6%;
    opacity:.8;
  }
  .hero-description {
    max-width:300px;
  }
  .hero-actions {
    max-width:310px;
  }
}

@media (min-width:601px) and (max-height:760px) {
  .hero-description {
    margin-block:1.25rem 1rem;
  }
  .hero-actions {
    margin-top:1.25rem;
  }
  .site-footer {
    padding-block:1.35rem;
  }
}

@media(max-width:600px) {
  .home-layout {
    background:
      radial-gradient(ellipse at 82% 0, #64121d, transparent 72%)
      top center / 100% 520px no-repeat var(--black);
  }
  .hero {
    display:block;
  }
  .hero-photo {
    width:100%;
    height:520px;
    right:0;
    top:0;
    bottom:auto;
    opacity:1;
  }
  .hero-photo img {
    height:150%;
    top:calc(-35% + 24px);
    mask-image:linear-gradient(to bottom, #000 65%, transparent 88%);
  }
  .hero-photo::after {
    content:none;
  }
  .hero-content {
    padding:100px 6vw 3rem;
    max-width:none;
  }
  .hero h1 {
    font-size:clamp(4.5rem,18vw,7rem);
    max-width:60%;
    text-align:left;
    text-shadow:0 2px 20px #0005;
  }
  .hero-description {
    max-width:none;
    margin-top:175px;
    font-size:.85rem;
  }
  .hero-actions {
    max-width:none;
  }
  .social-links {
    justify-content:center;
    margin-top:1.8rem;
  }
  .site-footer {
    padding:1.8rem 6vw;
  }
  .site-footer__inner {
    align-items:center;
    flex-direction:column;
    gap:1.7rem;
    text-align:center;
  }
  .site-footer ul {
    gap:1rem;
    justify-content:center;
  }
  .endgame-logo {
    width:110px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
  }
}

.action svg {
  width:24px;
  height:24px;
  flex-shrink:0;
}
.contact-actions {
  display:flex;
  justify-content:center;
  gap:.7rem;
  max-width:355px;
  margin:1.5rem auto 0;
}
.contact-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  flex:1;
  min-height:46px;
  padding:.7rem 1rem;
  border:1px solid #554348;
  border-radius:12px;
  color:#d5cdd0;
  font-size:.8rem;
  background:#100c0d;
  transition:background .15s;
}
.contact-button:hover {
  background:#30131a;
  color:#fff;
}
.contact-button svg {
  width:18px;
  height:18px;
}
@media (prefers-reduced-motion:reduce) {
  .action, .contact-button { transition:none; }
  .action:hover { transform:none; }
}

/* Rapidmail injects its own stylesheet. Scope the theme to the homepage popup. */
.home-page #rmOrganism .rmPopup__container {
  align-items:center;
  justify-content:center;
  padding:1rem;
}

.home-page #rmOrganism .rmPopup__backdrop {
  background:rgb(0 0 0 / 78%);
  backdrop-filter:blur(5px);
}

.home-page #rmOrganism .rmPopup.rmPopup--modal {
  /* Override Rapidmail's fixed bottom placement on small screens. */
  position:relative !important;
  inset:auto !important;
  transform:none !important;
  display:block;
  width:100% !important;
  max-width:460px;
  max-height:calc(100svh - 2rem);
  overflow:auto;
  overscroll-behavior:contain;
  color-scheme:dark;
  color:var(--white);
  background:radial-gradient(ellipse at top right, #361017, #110d0e 66%);
  border:1px solid #663039;
  border-radius:24px;
  box-shadow:0 24px 80px #000b;
  font-family:Inter,Arial,sans-serif;
}

.home-page #rmOrganism .rmPopup__close {
  top:.75rem;
  right:.75rem;
  z-index:1;
  width:42px;
  height:42px;
  border:1px solid #663039;
  background:#211417;
  color:var(--white);
}

.home-page #rmOrganism .rmPopup__close:hover {
  background:#421923;
}

.home-page #rmOrganism .rmPopup .rmBase__body {
  overflow:visible;
  background:transparent;
  color:inherit;
  font-family:inherit;
}

.home-page #rmOrganism .rmPopup .rmBase__container {
  padding:3rem clamp(1.15rem, 5vw, 2rem) 2rem;
}

.home-page #rmOrganism .rmPopup .rmBase__el--logo:empty {
  display:none;
}

.home-page #rmOrganism .rmPopup .rmBase__comp--heading {
  color:var(--red);
  font:900 clamp(2.5rem, 9vw, 3.5rem)/1 Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;
  letter-spacing:-.02em;
}

.home-page #rmOrganism .rmPopup .rmBase__comp--text,
.home-page #rmOrganism .rmPopup .vFormCheckbox__label {
  color:#d5cdd0;
  font:400 .85rem/1.5 Inter,Arial,sans-serif;
}

.home-page #rmOrganism .rmPopup .rmBase__comp--input {
  min-height:48px;
  padding:.65rem .85rem;
  border:1px solid #695359;
  border-radius:12px;
  background:#191315;
  color:var(--white);
  font:400 1rem/1.3 Inter,Arial,sans-serif;
}

.home-page #rmOrganism .rmPopup .rmBase__comp--input::placeholder {
  color:#bdb2b6;
  opacity:1;
}

.home-page #rmOrganism .rmPopup input:focus-visible,
.home-page #rmOrganism .rmPopup button:focus-visible {
  outline:2px solid #ff7785;
  outline-offset:3px;
}

.home-page #rmOrganism .rmPopup .vFormCheckbox__input {
  appearance:auto;
  accent-color:var(--red);
  flex-shrink:0;
}

.home-page #rmOrganism .rmPopup .rmBase__comp--cta {
  min-height:50px;
  width:100%;
  padding:.75rem 1rem;
  border:0;
  border-radius:14px;
  background:var(--red);
  color:#090909;
  box-shadow:0 5px 0 #850e20;
  font:800 1rem/1.25 Inter,Arial,sans-serif;
}

.home-page #rmOrganism .rmPopup .rmBase__comp--cta:hover {
  background:#ff475a;
}

.home-page #rmOrganism .rmPopup .rmBase__compError {
  color:#ff9ea8;
}

:is(.home-page, .privacy-page) .klaro {
  --font-family:Inter,Arial,sans-serif;
  --border-radius:12px;
  --dark1:#160f11;
  --dark2:#4c343a;
  --dark3:#cbbfc3;
  --light1:var(--white);
  --light2:#65474f;
  --green1:var(--red);
  --green2:#ff8490;
  --blue1:#43242d;
}

:is(.home-page, .privacy-page) .klaro .cookie-notice:not(.cookie-modal-notice),
:is(.home-page, .privacy-page) .klaro .cookie-modal .cm-modal.cm-klaro {
  background:linear-gradient(145deg, #261319, #160f11 68%);
  border:1px solid #663039;
  border-radius:20px;
  box-shadow:0 12px 40px #0009;
}

:is(.home-page, .privacy-page) .klaro .cookie-notice:not(.cookie-modal-notice) {
  inset:auto 1rem 1rem auto;
  width:calc(100% - 2rem);
  max-width:410px;
  max-height:calc(100svh - 2rem);
  overflow:auto;
}

:is(.home-page, .privacy-page) .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body {
  padding:1.15rem;
  color:#e0d4d7;
  line-height:1.55;
}

:is(.home-page, .privacy-page) .klaro .cookie-notice .cn-body .cn-learn-more {
  color:#ff9ea8;
  text-decoration:underline;
  text-underline-offset:.2em;
}

:is(.home-page, .privacy-page) .klaro .cookie-notice:not(.cookie-modal-notice) .cn-buttons {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:.5rem;
  width:100%;
  margin-top:.65rem;
  padding-bottom:5px;
}

:is(.home-page, .privacy-page) .klaro .cookie-notice:not(.cookie-modal-notice) .cn-buttons button.cm-btn {
  width:100%;
  padding:.55rem .35rem;
  margin:0;
  min-height:44px;
  border:1px solid #9a4f5c;
  background:#28171c;
  color:var(--white);
  font-size:.75rem;
  text-transform:none;
  order:0;
}

:is(.home-page, .privacy-page) .klaro .cookie-notice:not(.cookie-modal-notice) .cn-buttons button.cm-btn:hover {
  background:#49232e;
}

:is(.home-page, .privacy-page) .klaro .cookie-modal .cm-bg {
  background:rgb(0 0 0 / 78%);
  backdrop-filter:blur(5px);
}

:is(.home-page, .privacy-page) .klaro .cookie-modal .cm-modal.cm-klaro {
  width:calc(100% - 2rem);
  max-height:calc(100svh - 2rem);
  max-width:640px;
  left:50%;
  transform:translate(-50%, -50%);
}

:is(.home-page, .privacy-page) .klaro .cookie-modal .cm-btn {
  min-height:44px;
  padding:.65rem 1rem;
  font-size:.75rem;
  text-transform:none;
}

.action-primary,
:is(.home-page, .privacy-page) .klaro .cookie-notice:not(.cookie-modal-notice) .cn-buttons button.cm-btn-success,
:is(.home-page, .privacy-page) .klaro .cookie-modal .cm-btn-success {
  background:var(--red);
  border-color:transparent;
  border-radius:18px;
  color:#fff;
  box-shadow:0 5px 0 #850e20;
}

.action-primary:hover,
:is(.home-page, .privacy-page) .klaro .cookie-notice:not(.cookie-modal-notice) .cn-buttons button.cm-btn-success:hover,
:is(.home-page, .privacy-page) .klaro .cookie-modal .cm-btn-success:hover {
  background:#c7192c;
}

@media (prefers-reduced-motion:no-preference) {
  .action-primary:hover {
    transform:translateY(-3px) rotate(-1deg);
  }
}

@keyframes enter-rise {
  from {
    opacity:0;
    translate:0 12px;
  }
}

@keyframes enter-portrait {
  from {
    opacity:0;
    translate:14px 0;
  }
}

@media (prefers-reduced-motion:no-preference) {
  .home-page .hero-photo {
    animation:enter-portrait 550ms ease-out backwards;
  }

  .home-page .hero h1,
  .home-page .hero-description,
  .home-page .social-links,
  .home-page .hero-actions,
  .home-page .contact-actions,
  .home-page .site-footer,
  .privacy-page .privacy-shell {
    animation:enter-rise 340ms ease-out backwards;
  }

  .home-page .hero h1 { animation-delay:50ms; }
  .home-page .hero-description { animation-delay:100ms; }
  .home-page .social-links { animation-delay:150ms; }
  .home-page .hero-actions { animation-delay:200ms; }
  .home-page .contact-actions { animation-delay:250ms; }
  .home-page .site-footer { animation-delay:290ms; }

  .home-page :is(.social-links, .hero-actions, .contact-actions, .site-footer):focus-within,
  .privacy-page .privacy-shell:focus-within {
    animation:none;
  }
}
