/* ============================================================
   Vekko — sistema de estilo del sitio (vekkoapp.com)
   Deriva del Brand Guide v1.0 implementado en la app:
     · Color   primary #6366F1 · accent #F472B6 · gradiente 135°
     · Tipo    Fraunces (titulares serif) · Inter (UI/cuerpo)
               JetBrains Mono (metadatos/código)
     · Estética dark-first, wordmark "vekko" en minúsculas
   ============================================================ */

:root {
  --bg:         #0F0F1A;
  --surface:    #16162A;
  --surface-2:  #1C1C32;
  --border:     #26263A;
  --border-soft:#1E1E2E;

  --text:       #EDEDF5;
  --text-mid:   #9696AC;
  --text-soft:  #6E6E84;

  --primary:      #6366F1;
  --primary-deep: #4F46E5;
  --accent:       #F472B6;
  --accent-deep:  #DB2777;

  --gradient: linear-gradient(135deg, #6366F1 0%, #F472B6 100%);

  --maxw-legal:   680px;
  --maxw-landing: 1080px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

/* ── Logo / wordmark ───────────────────────────────────────── */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.logo svg { display: block; }
.logo .wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.5px;
  color: var(--text);
}

/* ── Header ────────────────────────────────────────────────── */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .inner {
  max-width: var(--maxw-landing);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}
.site-header nav a { color: var(--text-mid); }
.site-header nav a:hover { color: var(--text); }

/* ── Footer ────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.site-footer .inner {
  max-width: var(--maxw-landing);
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}
.site-footer nav a { color: var(--text-mid); }
.site-footer nav a:hover { color: var(--text); }
.site-footer .copy {
  font-size: 13px;
  color: var(--text-soft);
  width: 100%;
}

/* ── Hero (landing) ────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 96px 24px 80px;
}
/* resplandor de marca detrás del hero */
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 520px;
  background: radial-gradient(ellipse at center,
              rgba(99, 102, 241, 0.28) 0%,
              rgba(244, 114, 182, 0.14) 42%,
              transparent 72%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin: 0 auto 22px;
}
/* palabra-acento: cursiva ligera rosa — patrón del brand */
.accent-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-mid);
  max-width: 52ch;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* ── Botones de tienda ─────────────────────────────────────── */

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.store-btn:hover {
  color: var(--text);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.store-btn svg { display: block; }
.store-btn .label-small {
  font-size: 10px;
  color: var(--text-soft);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.store-btn .label-big {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}
.store-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

/* ── Tira de valores (landing) ─────────────────────────────── */

.values {
  max-width: var(--maxw-landing);
  margin: 0 auto;
  padding: 24px 24px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
}
.value-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary);
  margin-bottom: 16px;
}
.value-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
}
.value-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* línea divisoria con gradiente — sutil acento de marca */
.gradient-rule {
  height: 2px;
  border: 0;
  background: var(--gradient);
  opacity: 0.6;
  border-radius: 2px;
}

/* ── Páginas legales ───────────────────────────────────────── */

.legal {
  max-width: var(--maxw-legal);
  margin: 0 auto;
  padding: 56px 24px 24px;
}
.legal h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.legal .meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.legal h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 10px;
  scroll-margin-top: 90px;
}
.legal p { color: var(--text-mid); margin-bottom: 12px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { color: var(--text-mid); margin-bottom: 7px; }
.legal li strong { color: var(--text); }

/* callout destacado al inicio de cada documento */
.callout {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px 18px 22px;
  margin: 22px 0 8px;
  overflow: hidden;
  color: var(--text-mid);
}
.callout::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gradient);
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 720px) {
  .values { grid-template-columns: 1fr; }
  .site-header nav { display: none; }
  .hero { padding: 64px 22px 56px; }
}
