/* ===== ARISTA OUTDOOR — landing coming soon ===== */
/* Estética: all-black, minimalista, gorpcore / techwear */

:root {
  --bg: #000000;
  --fg: #f2f2f2;
  --muted: #777777;
  --line: #1f1f1f;
  --accent: #ffffff;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

/* Grano sutil para textura técnica */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Etiquetas técnicas en las esquinas ===== */
.frame {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.frame span {
  position: fixed;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  line-height: 1.4;
}

.frame-tl { top: 22px; left: 22px; }
.frame-tr { top: 22px; right: 22px; text-align: right; }

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  gap: 28px;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Logo (PNG negro sobre blanco → invertido a blanco para el fondo negro) */
.logo-mark {
  width: clamp(230px, 50vw, 360px);
  height: auto;
  filter: invert(1);
  /* el PNG trae mucho aire alrededor; compensamos con margen negativo */
  margin: -64px 0 -52px;
}

.brandname {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 1.45rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #fff;
  /* compensa el indent del letter-spacing para centrar óptico */
  text-indent: 0.34em;
}

.wordmark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(3.2rem, 13vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.wordmark .dot {
  color: var(--muted);
  font-weight: 400;
}

.peakline {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.25rem, 4.5vw, 2rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: -14px;
}

.tagline {
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  line-height: 1.6;
  color: #bdbdbd;
  max-width: 34ch;
}

/* ===== Formulario de correo ===== */
.signup {
  display: flex;
  align-items: stretch;
  width: min(420px, 90vw);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
  transition: border-color 0.2s ease;
}

.signup:focus-within {
  border-color: var(--accent);
}

.signup input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 15px 16px;
}

.signup input::placeholder {
  color: #555;
}

.signup button {
  background: var(--accent);
  color: #000;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 0 20px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.signup button:hover {
  opacity: 0.82;
}

.form-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: -10px;
}

/* ===== Redes ===== */
.social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.social a {
  color: var(--fg);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.social a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.social a:hover {
  color: #fff;
}

.social a:hover::after {
  transform: scaleX(1);
}

.social .sep {
  color: var(--muted);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* En pantallas chicas, ocultamos las etiquetas laterales para no saturar */
@media (max-width: 560px) {
  .frame-br { display: none; }
  .frame span { font-size: 10px; }
  .footer { font-size: 9px; }
}
