/* Landing styles for renten.date - system fonts only, no webfonts */

:root {
  /* 8-pt scale base */
  --space-1: 0.25rem; /* 2px */
  --space-2: 0.5rem;  /* 4px */
  --space-3: 0.75rem; /* 6px */
  --space-4: 1rem;    /* 8px */
  --space-5: 1.25rem; /* 10px */
  --space-6: 1.5rem;  /* 12px */
  --space-7: 2rem;    /* 16px */
  --space-8: 2.5rem;  /* 20px */
  --space-9: 3rem;    /* 24px */
  --space-10: 4rem;   /* 32px */

  /* Light theme (hell/ruhig) */
  --bg: #ffffff;
  --bg-subtle: #f9fafb;
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-focus: #2563eb;
  --focus-ring: 2px solid #2563eb;
  --focus-ring-offset: 2px;
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1026;
    --bg-subtle: #111827;
    --text-primary: #f9fafb;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --border: #1f2937;
    --border-strong: #374151;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-focus: #3b82f6;
    --focus-ring: 2px solid #3b82f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  }
}

* {
  box-sizing: border-box;
}

html {
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header,
main,
footer {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-9) var(--space-6);
}

header h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 var(--space-6) 0;
  font-weight: 600;
  color: var(--text-primary);
}

main p {
  margin: 0 0 var(--space-7) 0;
  color: var(--text-secondary);
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  padding: var(--space-5) var(--space-7);
  border-radius: var(--radius-md);
  font-weight: 500;
  line-height: 1.5;
  transition: background 0.15s ease-in-out;
}

.cta:hover {
  background: var(--primary-hover);
}

.cta:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

footer {
  border-top: 1px solid var(--border);
  padding-top: var(--space-7);
  color: var(--text-muted);
  font-size: 0.875rem;
}

footer nav {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

footer a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

footer a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
