@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/dm-serif-display-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --nachtblau: #0d1b2a;
  --gold: #b07d1a;
  --lime: #9bc53d;
  --text: #3a3a3a;
  --muted: #6e6860;
  --line: #e6dece;
  --white: #ffffff;
  --brand-cursor-duration: 1.1s;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--white);
  color: var(--text);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold) 72%, white);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--nachtblau);
  color: var(--white);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.launch {
  display: grid;
  min-height: calc(100vh - 77px);
  place-items: center;
  padding: clamp(56px, 10vh, 120px) 28px;
}

.launch__content {
  width: min(760px, 100%);
  text-align: center;
}

.brand {
  margin: 0 0 clamp(46px, 8vh, 84px);
  color: var(--nachtblau);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(25px, 3vw, 31px);
  line-height: 1;
}

.brand__cursor {
  color: var(--gold);
  animation: cursor-blink var(--brand-cursor-duration) step-end infinite;
  will-change: opacity;
}

@media (prefers-reduced-motion: reduce) {
  .brand__cursor {
    animation: none;
    opacity: 1;
  }
}

@keyframes cursor-blink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0.2;
  }
}

h1 {
  margin: 0;
  color: var(--nachtblau);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(48px, 8.4vw, 92px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

.launch__positioning {
  max-width: 590px;
  margin: clamp(30px, 5vh, 46px) auto 0;
  color: var(--nachtblau);
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 450;
  line-height: 1.55;
  text-wrap: balance;
}

.launch__note {
  max-width: 590px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 350;
  line-height: 1.7;
}

.service-links {
  display: grid;
  width: min(590px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px auto 0;
}

.service-link {
  display: flex;
  min-height: 76px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 15px 18px;
  border: 1px solid;
  border-radius: 18px;
  background: var(--white);
  color: var(--nachtblau);
  text-align: left;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.service-link--vorlass {
  border-color: var(--lime);
}

.service-link--nachlass {
  border-color: var(--gold);
}

.service-link:hover {
  border-color: var(--nachtblau);
  box-shadow: 0 10px 28px rgb(13 27 42 / 7%);
  transform: translateY(-1px);
}

.service-link--vorlass:hover {
  border-color: var(--lime);
}

.service-link__name {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 19px;
  line-height: 1.2;
}

.service-link__description {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.waitlist {
  width: min(590px, 100%);
  margin: 28px auto 0;
}

.waitlist__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.waitlist__row input {
  min-width: 0;
  min-height: 52px;
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--nachtblau);
  font: inherit;
  font-size: 15px;
}

.waitlist__row input::placeholder {
  color: var(--muted);
}

.waitlist__row input:focus {
  border-color: var(--gold);
  outline: none;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--nachtblau);
  border-radius: 16px;
  background: var(--white);
  color: var(--nachtblau);
  cursor: pointer;
  font-size: 15px;
  font-weight: 560;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  background: var(--nachtblau);
  color: var(--white);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.waitlist__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.waitlist__consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--nachtblau);
}

.waitlist__consent a {
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.waitlist__note,
.waitlist__status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.waitlist__status:empty {
  display: none;
}

.waitlist__status[data-state="success"] {
  color: #557b20;
}

.waitlist__status[data-state="error"] {
  color: #9a3a30;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  display: flex;
  width: min(1120px, calc(100% - 56px));
  min-height: 77px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer a {
  text-underline-offset: 4px;
}

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

.legal-page {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 96px;
}

.legal-header {
  padding: 6px 0 clamp(56px, 9vw, 92px);
  border-bottom: 1px solid var(--line);
}

.legal-header .brand {
  display: inline-block;
  margin: 0 0 64px;
  text-decoration: none;
}

.legal-header h1 {
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.05;
}

.legal-header p {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.legal-content {
  padding-top: 54px;
  font-size: 16px;
  font-weight: 350;
  line-height: 1.8;
}

.legal-content section + section {
  margin-top: 44px;
}

.legal-content h2 {
  margin: 0 0 13px;
  color: var(--nachtblau);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.25;
}

.legal-content p,
.legal-content ul {
  margin: 0;
}

.legal-content p + p,
.legal-content ul + p,
.legal-content p + ul {
  margin-top: 14px;
}

.legal-content a {
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.legal-version {
  margin-top: 58px !important;
  color: var(--muted);
  font-size: 13px;
}

.legal-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 64px;
  color: var(--nachtblau);
  font-weight: 550;
  text-underline-offset: 4px;
}

@media (max-width: 620px) {
  .launch {
    min-height: calc(100vh - 116px);
    padding-inline: 22px;
  }

  .brand {
    margin-bottom: 46px;
  }

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

  .service-links {
    grid-template-columns: 1fr;
  }

  .waitlist__row .button {
    width: 100%;
  }

  .footer {
    min-height: 116px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .legal-page {
    width: min(100% - 40px, 760px);
    padding-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
