/* Colorway Clock — static legal / landing */
:root {
  --bg: #0c0c0f;
  --bg-elevated: #14141a;
  --text: #e8e6ec;
  --muted: #9a96a8;
  --line: rgba(255, 255, 255, 0.08);
  --accent-start: #833ab4;
  --accent-mid: #e1306c;
  --accent-end: #f77737;
  --radius: 14px;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: #c8a8e8;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #e8dcf8;
}

.wrap {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 1.75rem) 4rem;
}

.hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.brand-gradient {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: linear-gradient(
    120deg,
    var(--accent-start),
    var(--accent-mid) 45%,
    var(--accent-end)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}

.tagline--entity {
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.nav-pills a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.nav-pills a:hover {
  border-color: color-mix(in srgb, var(--accent-mid) 45%, var(--line));
  background: color-mix(in srgb, var(--bg-elevated) 90%, var(--accent-start));
}

section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type {
  border-bottom: none;
}

section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: #d4d0dc;
}

section p,
section li {
  color: color-mix(in srgb, var(--text) 92%, var(--muted));
}

section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

section li {
  margin-bottom: 0.35rem;
}

.lead {
  font-size: 1.05rem;
  margin-top: 0;
}

.notice {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  font-size: 0.92rem;
  color: var(--muted);
}

.notice strong {
  color: var(--text);
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

footer p {
  margin: 0.35rem 0;
}

.site-domain {
  font-size: 0.92rem;
}

.site-domain a {
  color: var(--muted);
  font-weight: 500;
}

.site-domain a:hover {
  color: #c8a8e8;
}
