:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #111111;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(148, 163, 184, 0.05), transparent 45%),
    radial-gradient(circle at 12% 24%, rgba(203, 213, 225, 0.08), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 48%, #f5f7fb 72%, #e5e7eb 100%);
  color: color-mix(in srgb, var(--fg) 85%, transparent);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  text-align: left;
}

.landing-main {
  width: min(100%, 876px);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing-claim {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.closing-claim-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

.closing-claim h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--fg);
  font-weight: 600;
  margin: 0;
}

.claim-loop-banner {
  width: 100%;
  padding: 0.9rem 1rem;
  background: transparent;
}

.claim-loop-text {
  margin: 0;
  transition: opacity 0.34s ease, transform 0.34s ease, filter 0.34s ease;
  will-change: opacity, transform, filter;
  user-select: none;
  -webkit-user-select: none;
}

.claim-loop-text.is-transitioning {
  opacity: 0.04;
  transform: translateY(6px);
  filter: blur(2px);
}

.landing-logo {
  width: min(100%, 150px);
  height: auto;
  display: block;
  opacity: 0.95;
  display: none;
}

#landing-upperfooter-mount,
#legal-footer,
.footer-link {
  width: min(100%, 876px);
}

.ls-upperfooter {
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
  user-select: none;
  -webkit-user-select: none;
}

.ls-upperfooter * {
  user-select: none;
  -webkit-user-select: none;
}

.ls-upperfooter img {
  -webkit-user-drag: none;
  user-drag: none;
}

.ls-upperfooter-col {
  min-width: 0;
}

.ls-upperfooter-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  gap: 0.6rem;
  min-height: 72px;
}

.ls-upperfooter-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 150px);
  height: auto;
  display: block;
  opacity: 0.95;
  cursor: pointer;
  touch-action: manipulation;
}

.ls-upperfooter-contact .contact-info {
  margin-top: 0;
  display: grid;
  row-gap: 0.65rem;
  transform: translateY(14px);
}

.ls-upperfooter-contact .contact-info-item {
  margin: 0;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 0.5rem;
  align-items: start;
}

.ls-upperfooter-contact .contact-icon-link {
  width: 18px;
  height: 18px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--fg) 78%, transparent);
  border: none;
  text-decoration: none;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ls-upperfooter-contact .contact-icon-link:hover,
.ls-upperfooter-contact .contact-icon-link:focus-visible {
  color: var(--fg);
  border: none;
}

.ls-upperfooter-contact .contact-info-item p {
  line-height: 1.35;
  margin: 0;
  text-align: left;
}

.contact-info-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--fg);
}

.contact-info-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.legal-footer {
  margin-top: 4.5rem;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.7;
}

.footer-link {
  margin-top: 0.1rem;
  text-align: center;
  font-size: 0.75rem;
}

.footer-link a,
.ls-upperfooter a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 640px) {
  body {
    padding: 24px;
  }
}

@media (max-width: 900px) {
  .ls-upperfooter {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ls-upperfooter-col {
    padding: 0.95rem 0;
  }

  .ls-upperfooter-col + .ls-upperfooter-col {
    border-top: none;
  }

  .ls-upperfooter-brand {
    justify-content: center;
    align-items: center;
  }

  .ls-upperfooter-contact .contact-info {
    justify-content: center;
    transform: none;
  }

  .ls-upperfooter-contact .contact-info-item {
    justify-content: center;
  }
}
