:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f4f5f6;
  color: #111820;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(230, 235, 238, 0.78)),
    #f4f5f6;
}

main {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 32px;
}

main::before,
main::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

main::before {
  top: -20%;
  right: -12%;
  width: min(68vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(41, 68, 82, 0.12);
  transform: rotate(24deg);
}

main::after {
  bottom: -42%;
  left: -22%;
  width: min(72vw, 960px);
  aspect-ratio: 1;
  background: rgba(178, 199, 208, 0.14);
  transform: rotate(34deg);
}

.content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  text-align: center;
}

.logo {
  width: clamp(112px, 14vw, 176px);
  height: auto;
  display: block;
  margin: 0 auto 24px;
}

.brand {
  margin: 0 0 26px;
  color: #182832;
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

.rule {
  width: 52px;
  height: 1px;
  margin: 44px auto 30px;
  background: #6d8794;
}

a {
  color: #253d49;
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration-color: rgba(37, 61, 73, 0.32);
  text-underline-offset: 6px;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

a:hover,
a:focus-visible {
  color: #000;
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid #253d49;
  outline-offset: 8px;
}

@media (max-width: 520px) {
  main {
    padding: 24px;
  }

  .brand {
    margin-bottom: 24px;
  }

  .rule {
    margin-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
