/* Shared styles for Fydra sub-pages (privacy, terms, ssh-agent). */
:root {
  --bg: #000000;
  --bg-elevated: #141414;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.5);
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.4);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px max(1.5rem, 6vw) 80px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.9375rem;
  margin-bottom: 2.5rem;
  transition: color 0.2s ease;
}

.back:hover {
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.updated {
  color: var(--text-tertiary);
  font-size: 0.9375rem;
  margin-bottom: 3rem;
}

h2 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
}

p,
li {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

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

a:hover {
  text-decoration: underline;
}

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

code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.85em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.15em 0.4em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  background: #fff;
  color: #000;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
  text-decoration: none;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  margin: 1.5rem 0;
}

.meta {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
}

pre {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem max(1.5rem, 6vw);
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}
