/* ===== SLATEMARK LLC - Shared styles ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-start: #0a0a0a;
  --bg-end: #1a1a2e;
  --text: #ffffff;
  --text-muted: #bbbbbb;
  --text-dim: #888888;
  --text-faint: #666666;
  --accent: #4a9eff;
  --accent-strong: #2563eb;
  --border: #2a2a3a;
  --card: rgba(255, 255, 255, 0.03);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #6bb6ff; }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .brand {
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.1em;
  color: var(--text);
}
.nav .brand:hover { color: var(--text); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-dim);
  font-size: 0.95em;
  letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6em;
  cursor: pointer;
}

/* ===== Layout ===== */
main {
  flex: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px;
}
.center { text-align: center; }

/* ===== Typography ===== */
h1 {
  font-size: 3em;
  margin-bottom: 16px;
  letter-spacing: 2px;
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(90deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 {
  font-size: 1.6em;
  margin: 40px 0 14px;
  font-weight: 600;
  color: var(--text);
}
h3 { font-size: 1.15em; margin: 24px 0 10px; font-weight: 600; }
p { color: var(--text-muted); margin-bottom: 16px; }
.tagline {
  font-size: 1.25em;
  color: var(--text-dim);
  margin-bottom: 36px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.lead { font-size: 1.1em; line-height: 1.8; }
.muted { color: var(--text-dim); }
.small { font-size: 0.9em; }
ul { color: var(--text-muted); margin: 0 0 16px 22px; }
li { margin-bottom: 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 15px 38px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.05em;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(74, 158, 255, 0.3);
}
.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 158, 255, 0.5);
  background: linear-gradient(135deg, #5badff 0%, #3373fb 100%);
}

/* ===== Cards / grids ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  text-align: left;
}
.card h3 { margin-top: 0; color: var(--accent); }
.card p { margin-bottom: 0; font-size: 0.96em; }

/* ===== Forms ===== */
.form { max-width: 560px; margin: 32px auto 0; text-align: left; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9em;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1em;
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ===== Legal pages ===== */
.legal h2 { font-size: 1.35em; }
.legal p, .legal li { font-size: 0.98em; }
.legal .updated { color: var(--text-faint); font-style: italic; margin-bottom: 32px; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 24px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85em;
}
.footer-links { margin-bottom: 12px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); }

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .nav { padding: 16px 20px; }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 15, 0.97);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 24px; width: 100%; border-top: 1px solid var(--border); }
  .nav-toggle { display: block; }
  h1 { font-size: 2.2em; }
  .tagline { font-size: 1em; }
  main { padding: 40px 20px; }
}
