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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  gap: 48px;
  text-align: center;
}

.logo {
  width: min(280px, 70vw);
  height: auto;
  filter: var(--logo-filter);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.btn {
  position: relative;
  justify-content: center;
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px var(--btn-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px var(--btn-shadow);
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--muted);
  outline-offset: 4px;
}

.btn .arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

main.legal {
  display: block;
  flex: 1;
  width: 100%;
  max-width: 640px;
  padding: 32px 0;
  text-align: left;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-home img {
  width: 56px;
  height: auto;
  filter: var(--logo-filter);
}

.legal h1 {
  margin: 24px 0 4px;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 600;
}

.legal h2 {
  margin: 28px 0 6px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.legal h3 {
  margin: 16px 0 4px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.legal p,
.legal address {
  margin: 0 0 8px;
  font-style: normal;
}

.legal a {
  color: inherit;
}

.discover-link {
  color: inherit;
  text-underline-offset: .25em;
}
