:root {
  --ground: #0c0e10;
  --turquoise: #71cccf;
  --muted: #6f7c7e;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--ground);
  color: var(--turquoise);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
}

/* The Constellation sits behind everything and is purely decorative. */
#constellation {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.screen {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
}

/* Lockup + email travel together; the Constellation keeps clear of this box. */
.plate {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 6vh, 3.5rem);
  padding: 1rem;
}

.plate svg {
  display: block;
  width: min(30rem, 68vw);
  height: auto;
  color: var(--turquoise);
}

.email {
  color: var(--turquoise);
  text-decoration: none;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  letter-spacing: 0.06em;
  padding: 0.4em 0.2em;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.email:hover,
.email:focus-visible {
  border-bottom-color: var(--turquoise);
}

footer {
  grid-row: 2;
  padding: clamp(1.25rem, 4vh, 2.5rem);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

footer a:hover,
footer a:focus-visible {
  color: var(--turquoise);
}

:focus-visible {
  outline: 1px solid var(--turquoise);
  outline-offset: 4px;
}

/* ---- Aviso legal ---------------------------------------------------- */

body.doc {
  overflow: auto;
  color: #c9d3d4;
  font-size: 0.95rem;
  line-height: 1.65;
}

.doc main {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 7rem) 1.5rem 5rem;
}

.doc a.home {
  display: inline-block;
  margin-bottom: clamp(2.5rem, 8vh, 4.5rem);
}

.doc a.home img {
  display: block;
  width: 2.4rem;
  height: auto;
}

.doc h1 {
  color: var(--turquoise);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 2.5rem;
}

.doc h2 {
  color: var(--turquoise);
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin: 2.75rem 0 0.75rem;
}

.doc dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(9rem, auto) 1fr;
  gap: 0.4rem 1.5rem;
}

.doc dt { color: var(--muted); }
.doc dd { margin: 0; }

.doc a { color: var(--turquoise); }

@media (max-width: 30rem) {
  .doc dl { grid-template-columns: 1fr; gap: 0 0; }
  .doc dd { margin-bottom: 0.9rem; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
