/* Translate & Train — landing + legal pages */
:root {
  --bg: #0f0c29;
  --bg-2: #24243e;
  --bg-3: #302b63;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.10);
  --primary: #6c5ce7;
  --accent: #00d4b4;
  --text: #f5f6fa;
  --muted: rgba(245,246,250,0.65);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

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

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

header.site .logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: white;
}

header.site .name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

header.site a {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

nav.crumbs {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 13px;
}

nav.crumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

nav.crumbs a:hover { color: var(--accent); }

h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.last-updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 32px;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px 0;
  color: var(--text);
  letter-spacing: -0.2px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px 0;
  color: var(--text);
}

p {
  margin: 0 0 16px 0;
  color: var(--text);
}

ul, ol {
  margin: 0 0 16px 0;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

a:hover {
  border-bottom-color: var(--accent);
}

strong {
  color: var(--text);
  font-weight: 700;
}

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

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

footer.site a {
  color: var(--muted);
}

/* Landing-specific */
.hero {
  text-align: center;
  padding: 48px 0 32px;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .tagline {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 40px 0;
}

.feat {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.feat h3 {
  margin-top: 0;
  color: var(--accent);
}

.feat p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta .badge {
  display: inline-block;
  padding: 14px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  transition: border-color 0.15s, transform 0.15s;
}

.cta .badge:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .wrap { padding: 32px 18px 64px; }
  h1 { font-size: 26px; }
  .hero h1 { font-size: 34px; }
  nav.crumbs { gap: 12px; font-size: 12px; }
}
