:root {
  color-scheme: light;
  --page: #ffffff;
  --ink: #8f99a2;
  --ink-strong: #6f8fb0;
  --blue: #79add7;
  --blue-soft: #dceffb;
  --blue-lift: #eef8ff;
  --line: #d9e9f5;
  --shadow: 0 24px 70px rgba(83, 137, 184, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 36%, rgba(223, 242, 253, 0.66), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 64%, #f7fcff 100%);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink-strong);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 34px;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 74px;
  height: auto;
}

.brand-name {
  color: #8d99a4;
}

.brand-name::first-letter {
  color: var(--blue);
}

.header-link,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(121, 173, 215, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #6c91b5;
  font-size: 0.93rem;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 12px 34px rgba(90, 142, 184, 0.1);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.header-link {
  padding: 0 20px;
}

.primary-link {
  min-width: 212px;
  margin-top: 34px;
  padding: 0 28px;
}

.header-link:hover,
.primary-link:hover {
  transform: translateY(-1px);
  border-color: rgba(92, 154, 207, 0.58);
  box-shadow: 0 16px 42px rgba(90, 142, 184, 0.16);
}

.header-link:focus-visible,
.primary-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(121, 173, 215, 0.34);
  outline-offset: 5px;
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(900px, calc(100% - 40px));
  margin: -18px auto 0;
  padding: 78px 0 148px;
  text-align: center;
}

.hero::before {
  position: absolute;
  inset: 6% 50% auto auto;
  width: min(620px, 88vw);
  height: min(620px, 88vw);
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 249, 255, 0.96) 0%, rgba(255, 255, 255, 0) 68%);
  transform: translateX(50%);
  z-index: -1;
}

.hero-logo {
  display: grid;
  place-items: center;
  width: min(420px, 74vw);
  margin: 0 auto 34px;
  filter: drop-shadow(0 22px 38px rgba(129, 177, 217, 0.18));
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}

h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(4.7rem, 12vw, 9rem);
  font-weight: 200;
  line-height: 0.92;
  letter-spacing: 0;
}

p {
  margin: 26px 0 0;
  color: #a1abb3;
  font-size: clamp(1.32rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.35;
}

.wave-field {
  position: absolute;
  right: -10vw;
  bottom: 82px;
  left: -10vw;
  height: min(22vw, 220px);
  z-index: 1;
  opacity: 0.58;
  overflow: hidden;
  pointer-events: none;
}

.wave {
  position: absolute;
  left: -7%;
  width: 114%;
  height: 250px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform-origin: center bottom;
}

.wave-one {
  bottom: -154px;
  background: linear-gradient(100deg, rgba(211, 235, 250, 0.68), rgba(240, 248, 253, 0.94));
  transform: rotate(-4deg);
}

.wave-two {
  bottom: -182px;
  background: linear-gradient(105deg, rgba(236, 247, 254, 0.94), rgba(218, 239, 252, 0.72));
  transform: rotate(5deg);
}

.site-footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 82px;
  margin: 0;
  padding: 18px max(24px, calc((100% - 1120px) / 2)) 22px;
  border-top: 1px solid rgba(121, 173, 215, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), #ffffff 58%);
  color: #8093a3;
  font-size: 0.92rem;
  font-weight: 300;
  box-shadow: 0 -18px 48px rgba(143, 189, 224, 0.08);
}

.footer-brand,
.footer-link {
  display: inline-flex;
  align-items: center;
  color: #6f8fb0;
}

.footer-brand {
  justify-self: start;
  gap: 12px;
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 26px;
  overflow: hidden;
}

.footer-mark img {
  display: block;
  width: 58px;
  height: auto;
}

.copyright {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: center;
}

.footer-link {
  justify-self: end;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease;
}

.footer-link:hover {
  background: rgba(255, 255, 255, 0.62);
  color: #5687b5;
}

.footer-link:focus-visible,
.footer-brand:focus-visible {
  outline: 3px solid rgba(121, 173, 215, 0.34);
  outline-offset: 5px;
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 32px, 1120px);
    min-height: 78px;
  }

  .brand {
    gap: 10px;
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 58px;
    height: 28px;
  }

  .brand-mark img {
    width: 58px;
  }

  .header-link {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .hero {
    margin-top: -8px;
    padding: 54px 0 120px;
  }

  .hero-logo {
    width: min(310px, 78vw);
    margin-bottom: 26px;
  }

  h1 {
    font-size: clamp(4.2rem, 21vw, 6rem);
  }

  .primary-link {
    min-width: 196px;
    margin-top: 30px;
  }

  .wave-field {
    right: -26vw;
    bottom: 76px;
    left: -26vw;
    height: 150px;
  }

  .wave {
    left: -12%;
    width: 124%;
    height: 180px;
  }

  .wave-one {
    bottom: -136px;
  }

  .wave-two {
    bottom: -154px;
  }

  .site-footer {
    min-height: 76px;
    gap: 14px;
    padding: 16px 20px 18px;
    font-size: 0.88rem;
  }

  .copyright {
    font-size: 0.88rem;
  }
}

@media (max-width: 420px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .brand-name {
    display: none;
  }

  .hero {
    width: calc(100% - 28px);
  }

  .primary-link {
    width: min(100%, 260px);
  }

  .wave-field {
    bottom: 132px;
  }

  .site-footer {
    min-height: 132px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding: 16px 14px 18px;
  }

  .footer-brand,
  .footer-link {
    justify-self: center;
  }
}

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