@import url("/static/variables.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", var(--fontfamily, sans-serif);
  color: #0f172a;
  background: #dbe7f5;
}

.splash-page {
  width: min(1440px, 100vw);
  min-height: 100vh;
  margin: 0 auto;
  background: #dbe7f5;
  overflow: hidden;
}

.splash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 36px;
  margin: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.64) 100%);
  border: 0;
  box-shadow:
    0 14px 30px rgba(105, 132, 173, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.splash-links {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-left: 68px;
}

.splash-links a {
  color: #121212;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.splash-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 245, 250, 0.9) 100%);
  box-shadow:
    0 10px 24px rgba(114, 130, 168, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  color: #1c1c1c;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.splash-legal-links {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(105, 132, 173, 0.12);
  color: rgba(15, 23, 42, 0.58);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.splash-legal-links a {
  color: inherit;
  text-decoration: none;
}

.splash-legal-links a:hover {
  color: rgba(15, 23, 42, 0.8);
  text-decoration: underline;
}

.splash-login-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(114, 130, 168, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.splash-layout {
  position: relative;
  display: grid;
  grid-template-columns: 620px 1fr;
  align-items: start;
  gap: 0;
  min-height: calc(100vh - 82px);
  padding: 50px 0 0 104px;
  box-sizing: border-box;
}

.splash-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-top: 2px;
  padding-bottom: 0;
  align-self: start;
}

.splash-brand {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  color: #050505;
}

.splash-copy h1 {
  margin: 0 0 58px;
  max-width: 620px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: #050505;
}

.splash-copy article {
  margin: 0 0 38px;
}

.splash-copy h2 {
  margin: 0 0 12px;
  max-width: 470px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.18;
  color: #050505;
}

.splash-copy p {
  margin: 0;
  max-width: 455px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.28;
  color: rgba(15, 23, 42, 0.9);
}

.splash-get-started-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 194px;
  margin-top: 18px;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4c8ff6 0%, #4179e0 100%);
  box-shadow: 0 6px 12px rgba(56, 112, 211, 0.3);
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.splash-image-wrap {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: auto;
  height: min(900px, calc(100vh - 8px));
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
  pointer-events: none;
}

.splash-image {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  margin: 0;
}

@media (max-width: 1320px) {
  .splash-page {
    width: 100%;
  }

  .splash-topbar {
    padding: 18px 26px;
  }

  .splash-links {
    padding-left: 26px;
    gap: 20px;
  }

  .splash-layout {
    grid-template-columns: 540px 1fr;
    padding: 42px 0 0 62px;
  }

  .splash-copy {
    max-width: 540px;
  }

  .splash-copy h1 {
    max-width: 540px;
    font-size: 38px;
    white-space: normal;
  }

  .splash-image {
    width: auto;
    max-width: none;
    height: 100%;
  }

  .splash-image-wrap {
    right: -12px;
    bottom: 0;
    width: auto;
    height: min(800px, calc(100vh - 44px));
  }
}

@media (max-width: 1080px) {
  .splash-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding: 28px 28px 36px;
  }

  .splash-copy {
    max-width: 100%;
    padding-bottom: 0;
  }

  .splash-copy h1,
  .splash-copy h2,
  .splash-copy p {
    max-width: 100%;
  }

  .splash-copy h1 {
    white-space: normal;
  }

  .splash-image-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: auto;
    margin: 0 auto;
  }

  .splash-image {
    width: min(100%, 920px);
    max-width: none;
    height: auto;
  }
}

@media (max-width: 700px) {
  .splash-legal-links {
    left: 16px;
    right: 16px;
    bottom: 14px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .splash-topbar {
    flex-wrap: wrap;
    padding: 16px 18px;
  }

  .splash-links {
    gap: 16px;
    padding-left: 0;
    flex-wrap: wrap;
  }

  .splash-links a,
  .splash-login-btn,
  .splash-get-started-btn {
    font-size: 16px;
  }

  .splash-brand {
    font-size: 24px;
  }

  .splash-copy h1 {
    margin-bottom: 32px;
    font-size: 34px;
    white-space: normal;
  }

  .splash-copy article {
    margin-bottom: 24px;
  }

  .splash-copy h2 {
    font-size: 21px;
  }

  .splash-copy p {
    font-size: 18px;
  }
}
