/* site/css/style.css — Shared styles for nivedu.de static pages */

/* ── Fonts ── */
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSansVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base ── */
:root {
  --color-primary: #8b3068;
  --color-primary-dark: #6a2050;
  --color-text: #2a0f20;
  --color-text-muted: rgba(42, 15, 32, 0.5);
  --color-surface: #fdf8fc;
  --color-surface-raised: #ffffff;
  --color-border: #e8d4e2;
  --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-surface);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ── Layout ── */
.page {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
  width: 100%;
}

.page-landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

/* ── Typography ── */
h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-text);
}

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--color-text);
}

p, li {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

ul {
  padding-left: 24px;
}

/* ── Landing page ── */
.logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 32px;
}

.login-link {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-primary);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  transition: background 150ms ease;
}

.login-link:hover {
  background: var(--color-primary-dark);
  color: white;
  text-decoration: none;
}

/* ── Table (for subprocessors if ever needed on static site) ── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}

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

th {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 24px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

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

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

.footer-sep {
  margin: 0 8px;
}
