:root {
  --page-bg: #09151D;
  --hero-side: #112F3C;
  --body-text: #d4dbe1;
  --body-strong: #dab693;
  --gold-top: #FFF6AB;
  --gold-bottom: #E09D51;
  --line-core: rgba(100, 86, 66, 1);
  --line-edge: rgba(100, 86, 66, 0);
  --content-width: 800px;
  --side-pad: 20px;
  --space-xl: 32px;
  --space-sm: 14px;
  --body-size: 22px;
  --body-line: 26px;
  --button-w: 300px;
  --button-h: 55px;
--hero-h: min(
  92svh,
  clamp(600px, 56.25vw, 1080px)
);
  --hero-logo-w: 600px;
  --button-hover: #F3D8FF;
  --button-ink: #09151D;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--page-bg);
  color: var(--body-text);
  font-family: "Afacad Flux", sans-serif;
  font-size: var(--body-size);
  line-height: var(--body-line);
}

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

a {
  color: var(--body-strong);
  text-decoration: underline;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--button-hover);
}

.shell {
  width: min(var(--content-width), calc(100vw - (var(--side-pad) * 2)));
  margin: 0 auto;
}

.hero {
  width: 100%;
  height: var(--hero-h);
  position: relative;
  overflow: hidden;
  background: var(--page-bg);
}

.hero-stage {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: var(--hero-side);
}

.hero-side {
  height: 100%;
  background: var(--hero-side);
}

/* bottom gradient fade */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(120px, 20%, 260px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(17,47,60,0) 0%,
    rgba(17,47,60,0.6) 40%,
    var(--page-bg) 100%
  );
    z-index: 1; /* below content */
}

.hero-media {
  width: min(100vw, 1920px);
  height: 100%;
  overflow: hidden;
  flex: 0 0 auto;
}

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

.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
    z-index: 2; /* above gradient */
}

.hero-logo {
  width: var(--hero-logo-w);
  height: auto;
}

.hero-buttons {
  margin-top: 64px;
  display: grid;
  gap: var(--space-sm);
}

.hero-button,
.signup-submit {
  width: var(--button-w);
  min-height: var(--button-h);
  border-radius: 5px;
  background: #FFFFFF;
  color: var(--button-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0 18px;
  box-shadow: 0 2px 4px rgba(0,0,0,.25);
  border: 0;
  font-family: "Grenze", serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.hero-button:hover,
.signup-submit:hover {
  background: var(--button-hover);
  color: var(--button-ink);
}

.button-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(8%) sepia(20%) 
          saturate(1226%) hue-rotate(159deg) brightness(93%) contrast(96%);
}

.mail-icon {
  width: 32px;
  display: inline-flex;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: var(--button-ink);
}

.page-main {
  padding-top: 64px;
  padding-bottom: 80px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: stretch;
}

.section > .body-copy + .body-copy {
  margin-top: -11px;
}

.section-title {
  margin: 0;
  text-align: center;
  font-family: "Grenze", serif;
  font-size: 42px;
  line-height: 1;
  font-weight: 500;
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-bottom) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.body-copy {
  margin: 0;
  color: var(--body-text);
  font-size: var(--body-size);
  font-weight: 300;
  font-style: normal;
  line-height: (var(--body-line));
}

.body-copy + .body-copy {
  margin-top: 21px;
}

.body-copy strong,
.footer strong,
.feature-list strong {
  color: var(--body-strong);
  font-weight: 600;
}

.media-card {
  width: 100%;
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255,255,255,.4);
}

.video-wrapper {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.center-row {
  display: flex;
  justify-content: center;
}

.hero-button--secondary {
  width: 300px;
}

.feature-list ul {
  margin: 14px 0;
  padding-left: 22px;
}

.small-note {
  margin: 14px 0 0;
}

.divider.shell {
  height: 2px;
  margin: 64px auto;
  background: linear-gradient(
    90deg,
    var(--line-edge) 0%,
    var(--line-core) 18%,
    var(--line-core) 82%,
    var(--line-edge) 100%
  );
}

.signup-form,
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-sm);
  align-items: center;
}

.signup-form input[type="email"],
.newsletter-form input[type="email"] {
  width: 100% !important;
  min-width: 0;
  min-height: var(--button-h);
  border-radius: 5px;
  border: 2px solid #FFFFFF;
  background: transparent;
  color: #FFFFFF;
  font-family: "Afacad Flux", sans-serif;
  font-size: 18px;
  line-height: 21px;
  padding: 0 16px;
  outline: none;
}

.signup-form input::placeholder,
.newsletter-form input::placeholder {
  color: #B7BDC2;
}

.newsletter-embed,
.newsletter-embed .ml-form-align-center,
.newsletter-embed .ml-form-embedWrapper,
.newsletter-embed .ml-form-embedBody,
.newsletter-embed .ml-form-formContent,
.newsletter-embed .ml-form-fieldRow,
.newsletter-embed .ml-field-group,
.newsletter-embed .ml-form-embedSubmit {
  width: 100%;
}

.newsletter-embed .ml-form-embedWrapper {
  background: transparent;
}

.newsletter-form .ml-form-formContent {
  grid-column: 1;
  grid-row: 1;
}

.newsletter-form .ml-form-embedSubmit {
  grid-column: 2;
  grid-row: 1;
}

.newsletter-form .consent-row {
  grid-column: 1 / -1;
  grid-row: 2;
}

.newsletter-form .loading {
  display: none;
}

.newsletter-success {
  text-align: center;
}

.ml-form-embedSubmitLoad {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.ml-form-embedSubmitLoad::after {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin: 1px;
  border: 4px solid #FFFFFF;
  border-color: #FFFFFF #FFFFFF #FFFFFF transparent;
  border-radius: 50%;
  animation: ml-form-embedSubmitLoad 1.2s linear infinite;
}

@keyframes ml-form-embedSubmitLoad {
  to {
    transform: rotate(360deg);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  color: var(--body-text);
  font-size: 18px;
  line-height: 22px;
}

.consent-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: 0;
  appearance: none;
  border: 2px solid #FFFFFF;
  border-radius: 5px;
  background: transparent;
  display: inline-block;
  position: relative;
}

.consent-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: #FFFFFF;
  border-radius: 2px;
}

.consent-row input[type="checkbox"]:focus-visible,
.newsletter-form input[type="email"]:focus-visible,
.signup-submit:focus-visible {
  outline: 2px solid var(--button-hover);
  outline-offset: 3px;
}

.socials-section {
  align-items: center;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-links img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

/* hover color = #F3D8FF */
.social-links a:hover img {
  filter: brightness(0) saturate(100%) invert(88%) sepia(14%) 
          saturate(748%) hue-rotate(256deg) brightness(101%) contrast(96%);
}

.footer {
  padding-bottom: 32px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.privacy-page {
  padding-top: 48px;
}

.privacy-content {
  gap: 22px;
  padding-bottom: 32px;
}

.privacy-content .section-title {
  margin-top: 16px;
}

.privacy-content h2 {
  margin: 18px 0 -8px;
  color: var(--body-strong);
  font-family: "Grenze", serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}

.privacy-content ul {
  margin: -4px 0 0;
  padding-left: 28px;
}

.privacy-date {
  text-align: center;
}

.back-link {
  width: fit-content;
}

@media (max-width: 1200px) {
  :root {
    --hero-logo-w: 420px;
  }
  .hero-inner {
    padding-top: 48px;
  }
}

@media (max-width: 900px) {
  :root {
    --hero-logo-w: 300px;
  }
}

@media (max-width: 640px) {
  .signup-form,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form .ml-form-formContent,
  .newsletter-form .ml-form-embedSubmit,
  .newsletter-form .consent-row {
    grid-column: 1;
    grid-row: auto;
  }

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