/* Studio Haste — public site theme.
   Palette is taken from the studio mark: dark navy ground, white ink,
   ember-orange accent. This file is the reference for "studiohaste.com
   style"; landing pages and other public surfaces should feel related. */

:root {
  --page: #0a0d14;
  --surface: #121724;
  --surface-2: #1a2132;
  --ink: #f2f4f8;
  --ink-2: #c3c9d4;
  --muted: #8a92a3;
  --accent: #ff6a2b;
  --ember: linear-gradient(100deg, #e8262d, #ff9438);
  --border: rgba(255, 255, 255, 0.09);
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--page);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

/* Header shared by every page */
.site-header {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--page) 88%, transparent);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.site-header img { width: 34px; height: 34px; }
.site-header .wordmark {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.site-header a { display: flex; align-items: center; gap: 0.75rem; }
.site-header a:hover { text-decoration: none; }

/* Body copy blocks (legal pages) */
.doc { padding: 2.5rem 0 4rem; }
.doc h1 { font-size: 1.9rem; line-height: 1.2; letter-spacing: 0.01em; }
.doc .effective { margin-top: 0.4rem; color: var(--muted); font-size: 0.9rem; }
.doc h2 {
  margin-top: 2.2rem;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.doc h3 { margin-top: 1.4rem; font-size: 1rem; color: var(--ink); }
.doc h4 { margin-top: 1.1rem; font-size: 0.95rem; color: var(--ink-2); }
.doc p, .doc li { margin-top: 0.7rem; color: var(--ink-2); font-size: 0.95rem; }
.doc ul { padding-left: 1.3rem; margin-top: 0.4rem; }
.doc strong { color: var(--ink); }

.doc .notice {
  margin-top: 1.6rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.92rem;
}

.doc .tablewrap { margin-top: 1rem; overflow-x: auto; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.doc th, .doc td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  color: var(--ink-2);
}
.doc th { color: var(--ink); background: var(--surface); white-space: nowrap; }

/* Footer shared by every page */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.8rem 0 2.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.site-footer .links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer .links a { color: var(--ink-2); }
.site-footer .legal { margin-top: 0.9rem; line-height: 1.5; }
