/* Vaultix · Estilos compartidos para landing, legal y soporte.
   Sin frameworks — un solo CSS de ~5 KB que renderiza todo limpio. */

:root {
  --primary: #14376F;
  --primary-light: #2a5cb8;
  --accent: #ffb300;
  --text: #1a1a1a;
  --text-muted: #5c6470;
  --bg: #fafbfc;
  --bg-card: #ffffff;
  --border: #e5e8ee;
  --shadow: 0 2px 12px rgba(20, 55, 111, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #6ea6ff;
    --primary-light: #94c0ff;
    --text: #f5f7fb;
    --text-muted: #a6adba;
    --bg: #0d1117;
    --bg-card: #161b22;
    --border: #2d333b;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  }
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

header.site .logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(20, 55, 111, 0.25);
}

header.site .brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.4px;
}

header.site nav { margin-left: auto; display: flex; gap: 18px; }
header.site nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
header.site nav a:hover { color: var(--primary); }

h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 8px;
  line-height: 1.15;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 12px;
  letter-spacing: -0.4px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
}

p { margin: 0 0 14px; }

.lede {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.5;
}

.meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

table th, table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

table th {
  background: var(--bg);
  font-weight: 700;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table tr:last-child td { border-bottom: none; }

code, kbd {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, monospace;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
}

a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.15s;
}
a:hover { opacity: 0.7; }

.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}
.callout strong { color: var(--primary); }

footer.site {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

footer.site nav { display: flex; gap: 18px; }
footer.site a {
  color: var(--text-muted);
  text-decoration: none;
  border: none;
}
footer.site a:hover { color: var(--primary); }

/* === Landing-only styles === */
.hero { text-align: center; padding: 40px 0 60px; }
.hero h1 {
  font-size: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
}
.hero .lede { font-size: 20px; max-width: 520px; margin: 0 auto 36px; }
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  transition: transform 0.1s ease, opacity 0.15s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn:hover { transform: translateY(-1px); opacity: 0.95; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 48px 0;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.feature .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: grid; place-items: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { font-size: 14px; color: var(--text-muted); margin: 0; }
