:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  background: #152128;
}

body {
  --brand-ink: color-mix(in srgb, var(--accent) 36%, #121923);
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
  box-sizing: border-box;
  background: #152128;
  background: var(--brand-ink);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
}

body::before {
  z-index: -2;
  inset: -8px;
  background: url("/_mail-landing/campus.webp") center / cover no-repeat;
  filter: blur(3px);
}

body::after {
  z-index: -1;
  background: linear-gradient(165deg, #15212826, #15212880);
}

.landing {
  box-sizing: border-box;
  inline-size: min(100%, 34rem);
  padding: clamp(1.5rem, 6vw, 2.75rem);
  border-block-start: 5px solid var(--accent);
  border-radius: 0.75rem;
  background: #fff;
  color: #152128;
  box-shadow: 0 1.25rem 4rem #0e172e40;
  overflow-wrap: anywhere;
}

.domain,
.official-host {
  margin: 0;
  font-size: 0.875rem;
  color: #4a535d;
}

.domain {
  margin-block-end: 0.75rem;
  font-weight: 650;
}

h1,
h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(1.85rem, 6vw, 2.55rem);
}

h2 {
  font-size: 1.35rem;
}

.notice {
  margin: 0.65rem 0 0;
  color: #34414c;
}

.translation {
  margin-block: 1.25rem;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid #dce0e4;
}

.countdown {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
}

.seconds {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.destination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.official-link {
  display: inline-flex;
  flex-direction: column;
  max-inline-size: 100%;
  padding: 0.65rem 0.95rem;
  border-radius: 0.35rem;
  background: #152128;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.official-link [lang="en"] {
  font-size: 0.8rem;
  font-weight: 500;
}

.official-link:hover {
  background: #121923;
  text-decoration: underline;
}

.official-link:focus-visible {
  outline: 3px solid #121923;
  outline-offset: 3px;
}

@media (forced-colors: active) {
  .official-link { border: 1px solid ButtonText; }
}
