:root {
  color-scheme: dark;
  font: 100%/1.5 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #eff5f8;
  background: #101920;
}

* { box-sizing: border-box; }

body {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(1.5rem, 8vw, 10rem);
}

body::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 18%;
  background:
    linear-gradient(90deg, #101920 0%, #101920b8 18%, #10192000 52%),
    url('./xcat-00.jpg') center 55% / cover no-repeat;
  content: '';
}

main {
  width: min(100%, 26rem);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border: 1px solid #4b616d;
  border-radius: .75rem;
  background: #111d26;
  box-shadow: 0 1.25rem 4rem #060b1270;
}

.marca {
  margin: 0 0 .9rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.marca span { color: #86c5ff; }

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.descripcion { margin: .8rem 0 1.8rem; color: #b9c9d3; }

form { display: grid; gap: .65rem; }

label { font-size: .9rem; font-weight: 650; }

input, button {
  min-width: 0;
  min-height: 3rem;
  padding: .65rem .9rem;
  border: 1px solid #647b89;
  border-radius: .4rem;
  font: inherit;
}

input { color: inherit; background: #0c151c; }

button {
  margin-top: .35rem;
  border-color: #79bdff;
  color: #0a2036;
  background: #94ccff;
  font-weight: 750;
  cursor: pointer;
}

button:hover { background: #bce1ff; }

:focus-visible { outline: 3px solid #9fd2ff; outline-offset: 4px; }

#aviso { margin: 0 0 1rem; color: #ffd4c7; }

@media (max-width: 42rem) {
  body { justify-items: center; align-items: start; padding: min(42vw, 18rem) 1rem 2rem; }
  body::before {
    inset: 0 0 auto;
    height: min(62vw, 24rem);
    background:
      linear-gradient(0deg, #101920 4%, #10192000 54%),
      url('./xcat-00.jpg') center top / 100% auto no-repeat;
  }
}
