:root {
  color-scheme: dark;
  --background: #091018;
  --white: #f4f7fa;
  --blue: #2dbaff;
  --muted: #9eafbe;
}

* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  background: var(--background);
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(127deg, transparent 0 78%, rgb(45 186 255 / 6%) 78.05%, transparent 78.15%),
    linear-gradient(127deg, transparent 0 83%, rgb(45 186 255 / 4%) 83.05%, transparent 83.15%),
    radial-gradient(ellipse at 50% 108%, rgb(18 91 135 / 16%), transparent 56%);
}

.landing {
  display: grid;
  place-items: center;
  flex: 1;
  width: 100%;
  padding: clamp(3rem, 8vh, 7rem) 1.5rem clamp(3.5rem, 9vh, 8rem);
}

.hero {
  width: min(100%, 62rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 2.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 550;
  line-height: 1.6;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.brand {
  width: min(100%, 49rem);
  margin: 0 auto 2.6rem;
  font-size: inherit;
  line-height: 0;
}

.brand-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  mix-blend-mode: lighten;
}

.tagline {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.tagline .tagline-accent { color: var(--blue); }
.checkpoint-note { margin: 0.65rem 0 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }
.language-nav { position: absolute; top: 1rem; right: clamp(1rem, 4vw, 3rem); display: flex; gap: 0.25rem; }
.language-nav a { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; color: var(--muted); font-size: 0.875rem; text-decoration: none; }
.language-nav a[aria-current] { color: var(--white); box-shadow: inset 0 -1px var(--blue); }
.language-nav a:hover { color: var(--blue); }
.language-nav a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.intro {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

.mobile-break { display: none; }

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: calc(100% - 6rem);
  max-width: 90rem;
  margin: 0 auto;
  padding: 1.15rem 0 max(1.15rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgb(158 175 190 / 16%);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.footer p { margin: 0; }
.coming { text-align: center; }

.sign-in {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.15rem 0.5rem 0.65rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  text-underline-offset: 0.3em;
}

.sign-in:hover { color: var(--white); text-decoration: underline; }
.sign-in:focus-visible { color: var(--white); outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.sign-in span[aria-hidden] { color: var(--blue); font-size: 1rem; }
::selection { background: #2dbaff; color: #091018; }

@media (max-width: 40rem) {
  .landing { padding: 3.5rem 1.5rem 4rem; }
  .eyebrow { margin-bottom: 1.65rem; letter-spacing: 0.18em; }
  .brand { margin-bottom: 2.4rem; }
  .tagline { font-size: clamp(1.8rem, 8vw, 3rem); }
  .intro { margin-top: 1.5rem; }
  .mobile-break { display: initial; }
  .footer { width: calc(100% - 3rem); grid-template-columns: 1fr auto; padding-top: 1rem; padding-bottom: max(1rem, env(safe-area-inset-bottom)); column-gap: 1rem; row-gap: 0.15rem; }
  .copyright { grid-column: 1; grid-row: 1; }
  .coming { grid-column: 1; grid-row: 2; text-align: left; }
  .sign-in { grid-column: 2; grid-row: 1 / 3; }
}
