@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-024F;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-024F;
}

:root {
  --ink: #13285c;
  --ink-soft: #4a5a7e;
  --blue: #1e7fd8;
  --deep: #1b4797;
  --teal: #45c4b6;
  --teal-text: #1f8f84;
  --paper: #ffffff;
  --mist: #eef5f8;
  color-scheme: light;
}

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

html { height: 100%; }

body {
  position: relative;
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--blue); }
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Formas de esquina, iguales al membrete */
.corner {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.corner--tr { top: 0; right: 0; width: min(34vw, 300px); }
.corner--bl { bottom: 0; left: 0; width: min(26vw, 220px); }
.corner--ring { top: 0; left: 0; width: min(14vw, 110px); }
.dots {
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  left: clamp(90px, 16vw, 190px);
  width: 260px;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(96px, 14vh, 160px) clamp(24px, 8vw, 120px) calc(min(26vw, 220px) + 24px);
  max-width: 1100px;
}

/* Logotipo */
.logo {
  position: relative;
  width: clamp(240px, 70vw, 520px);
  max-width: 100%;
  margin: 0;
  line-height: 0;
}
.logo picture { display: block; }
.logo img {
  display: block;
  width: 100%;
  height: auto;
}
/* Guiño: la Ō se cierra como un ojo y vuelve a abrirse, una vez al cargar la página */
.logo .wink {
  position: absolute;
  left: 63.347%;
  top: 0;
  width: 17.704%;
  transform-origin: 50% 62.89%;
  animation: wink 0.45s ease-in-out 1.2s 1;
}
@keyframes wink {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.06); }
}
@media (prefers-reduced-motion: reduce) {
  .logo .wink { animation: none; }
}

.lead {
  margin: clamp(2.5rem, 6vh, 4rem) 0 0;
  max-width: 34ch;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink);
}

.status {
  margin: 1rem 0 0;
  max-width: 52ch;
  color: var(--ink-soft);
}

.product {
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
  padding: 1.25rem 1.5rem;
  max-width: 34rem;
  background: var(--mist);
  border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0;
}
.product h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}
.product p { margin: 0.35rem 0 0; color: var(--ink-soft); }
.product a { font-weight: 600; }
.product .hook {
  margin-top: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--deep);
}
.product kbd {
  display: inline-block;
  padding: 0 0.45em;
  border: 1px solid #b9c7d8;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--paper);
  font-family: inherit;
  font-size: 0.9em;
  color: var(--ink);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid #cfe6e3;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-text);
}
.product .soon { margin-top: 0.9rem; font-weight: 600; color: var(--ink); }

.contact {
  margin-top: auto;
  padding-top: 3.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.contact p { margin: 0.2rem 0; }

/* Página de error */
.notfound .lead { max-width: 28ch; }

@media (max-width: 640px) {
  .corner--tr { width: 42vw; }
  .corner--bl { width: 36vw; }
  .dots { display: none; }
  .page { padding-top: 120px; padding-bottom: calc(36vw + 24px); }
}

