/* Shared styles for the apex legal pages (/tos, /privacy).
   Kept separate from the SvelteKit app so it can be served at the bare
   stationworks.io apex without going through the /mobilize/ base path. */

:root {
  color-scheme: light;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #111827;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-header,
.page-footer {
  border-bottom: 1px solid #e5e7eb;
}
.page-footer {
  border-bottom: 0;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
}

.page-header__inner,
.page-footer__inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.page-header__brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111827;
  text-decoration: none;
}
.page-header__domain {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #6b7280;
}

main.page {
  max-width: 42rem;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.effective {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0 0 2rem;
}

h2 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.5rem;
}

p,
ul {
  font-size: 0.9375rem;
  color: #374151;
  margin: 0 0 0.75rem;
}

ul {
  padding-left: 1.25rem;
}
li {
  margin-bottom: 0.25rem;
}
li strong {
  color: #111827;
  font-weight: 600;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  background: #f3f4f6;
  padding: 0.05rem 0.3rem;
  border-radius: 0.25rem;
}

a {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover {
  text-decoration-thickness: 2px;
}

.page-footer {
  font-size: 0.75rem;
  color: #6b7280;
}
.page-footer__inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.page-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.page-footer a {
  color: #6b7280;
  text-decoration: none;
}
.page-footer a:hover {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 2px;
}
