/* apps/vb-www/style.css */

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

:root {
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-accent: #2a2a2a;
  --color-accent-hover: #444444;
  --color-border: #e5e5e5;
  --color-focus: #4a7cff;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 720px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  z-index: 100;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Focus states */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  padding: 1.5rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-decoration: none;
}

.header-nav a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--color-text);
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 560px;
}

.hero .subheadline {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.5;
}

.hero .cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.625rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.15s ease;
}

.hero .cta:hover {
  background: var(--color-accent-hover);
}

/* Sections */
section {
  padding: 3rem 0;
}

section + section {
  border-top: 1px solid var(--color-border);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.section-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-list li {
  font-size: 1rem;
  color: var(--color-text);
  padding-left: 1rem;
  position: relative;
}

.section-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

/* Contact */
.contact {
  padding: 3rem 0;
}

.contact p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.contact-btn {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.contact-btn:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
}

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

/* Legal pages */
.legal {
  padding: 3rem 0 4rem;
}

.legal h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.legal .updated {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.legal a {
  color: var(--color-text);
}

/* Responsive */
@media (min-width: 640px) {
  .hero {
    padding: 7rem 0 5rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .subheadline {
    font-size: 1.125rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
