/* DESUNOB — shared stylesheet */
/* Colors, typography, and layout per design spec 2026-04-21 */

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-accent: #1c3a5e;
  --color-accent-hover: #2d5a8a;
  --color-border: #e5e7eb;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 640px;
  --container-pad: 24px;
}

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-stack);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: var(--color-accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.site-header {
  padding-top: 32px;
  padding-bottom: 16px;
}

.site-header .wordmark {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
}

main {
  padding-top: 48px;
  padding-bottom: 96px;
}

/* Landing (index.html) */
.hero {
  padding-top: 72px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
  line-height: 1.1;
}

.hero .tagline {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-muted);
  margin: 0;
}

.about {
  margin-top: 48px;
  text-align: center;
}

.about p {
  margin: 0;
}

.contact {
  margin-top: 48px;
  text-align: center;
}

.contact p {
  margin: 0 0 8px;
}

.contact .location {
  color: var(--color-muted);
}

/* Inner pages (privacy, terms, 404) */
.page h1 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 8px;
}

.page .meta {
  color: var(--color-muted);
  font-size: 15px;
  margin: 0 0 40px;
}

.page h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 40px 0 12px;
}

.page p {
  margin: 0 0 16px;
}

.page .back {
  margin-top: 48px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  padding-bottom: 48px;
  color: var(--color-muted);
  font-size: 13px;
}

.site-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: baseline;
}

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

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

.site-footer .copyright {
  width: 100%;
  margin-top: 12px;
  font-size: 12px;
}

/* Mobile */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 36px; }
  .hero .tagline { font-size: 18px; }
  .page h1 { font-size: 28px; }
  main { padding-top: 32px; padding-bottom: 64px; }
  .site-footer .row { flex-direction: column; gap: 4px; }
}

/* Reduced motion — honor user preference even though we have no motion today */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
