/* dotHuman — app styles.
   Brand tokens live in :root; everything else references them.
   Shared by the homepage (body.home) and all rendered pages. External + cached —
   edit here, not inline. Bump the ?v= query in the <link> tags when this changes. */

/* ===================== Design tokens (brand) ===================== */
:root {
  /* color */
  --bg: #0d1f2d;
  --bg-glow: #15273a;
  --ink: #f0f0ec;
  --ink-soft: #b5b8b5;
  --muted: #a8aba7;
  --accent: #5eb9c5;
  --rule: rgba(255, 255, 255, 0.08);
  /* type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* layout */
  --wrap: 760px;
  --radius: 6px;
}

/* ===================== Reset / base ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-sans); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===================== Accessibility ===================== */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: var(--bg); padding: .6rem 1rem; border-radius: 0 0 var(--radius) 0; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===================== Content pages (legal, sitemap) ===================== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 4rem 1.25rem 2rem; }
.legal h1 { font-size: 2rem; margin: 0 0 .25rem; }
.legal .updated { color: var(--muted); font-size: .9rem; margin: 0 0 2rem; }
.legal h2 { font-size: 1.15rem; margin: 2rem 0 .5rem; color: var(--ink); }
.legal p, .legal li { color: var(--ink-soft); }
.legal p a, .legal li a { text-decoration: underline; }  /* in-text links must not rely on color alone */
.legal .review { background: var(--bg-glow); border-left: 3px solid var(--accent); padding: .75rem 1rem; border-radius: var(--radius); font-size: .9rem; margin: 0 0 2rem; }
.home-link { display: inline-block; margin-top: 1.5rem; color: var(--accent); }

/* ===================== Site footer (content pages) ===================== */
.site-footer { border-top: 1px solid var(--rule); background: var(--bg-glow); margin-top: 3rem; }
.ft-cols { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.25rem 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.ft-col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 0 0 .75rem; }
.ft-col a { display: block; color: var(--ink-soft); padding: .4rem 0; }
.ft-col a:hover { color: var(--accent); }
.ft-col p { color: var(--ink-soft); margin: .15rem 0; }
.ft-muted { color: var(--muted); font-size: .85rem; }
.ft-social a { display: inline-block; margin-right: .75rem; }
.ft-bar { border-top: 1px solid var(--rule); max-width: 1100px; margin: 0 auto; padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; color: var(--muted); font-size: .8rem; }

/* ===================== Homepage (coming-soon) — body.home ===================== */
body.home {
  background-image: linear-gradient(160deg, #1c3a52 0%, #0d1f2d 45%, #0e2a35 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 4rem 1.5rem;
}
.home main { max-width: 640px; width: 100%; }
.home .tagline { font-size: clamp(2.25rem, 7vw, 4.25rem); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; margin-bottom: 2rem; text-align: center; text-shadow: 0 4px 18px rgba(0, 0, 0, .55); }
.home .tagline .wordmark { font-weight: 800; letter-spacing: -.04em; }
.home .tagline .human { color: var(--accent); }
.home .positioning { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 3rem; text-align: center; }
.home .intro { font-size: .95rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 3.5rem; }
.home .preview-glass { background: rgba(255, 255, 255, .05); padding: 1.75rem 1.75rem 1.5rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); margin-bottom: 4.5rem; }
.home .preview-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 1.25rem; }
.home ul.preview { list-style: none; }
.home ul.preview li { padding: .75rem 0 .75rem 1.5rem; border-bottom: 1px solid var(--rule); font-size: .95rem; color: var(--ink); position: relative; }
.home ul.preview li:last-child { border-bottom: none; }
.home ul.preview li::before { content: "·"; color: var(--accent); font-weight: 800; position: absolute; left: 0; font-size: 1.5rem; line-height: .6; top: 1.1rem; }
.home footer { font-size: .85rem; color: var(--muted); text-align: center; }
.home footer .launch { color: var(--ink); font-weight: 600; margin-bottom: .5rem; }
.home footer .meta { margin-bottom: 1rem; }
.home footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.home footer a:hover { color: var(--accent); }
.home .social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--rule); border-radius: 50%; color: var(--muted); transition: color .2s, border-color .2s; }
.home .social:hover { color: var(--accent); border-color: var(--accent); }
.home .social svg { width: 18px; height: 18px; display: block; }
.home footer .legal-links { margin-top: 1.25rem; font-size: .8rem; line-height: 1.9; }
@media (max-width: 480px) { body.home { padding: 3rem 1.25rem; } }
