/* Unison web — Warm Signal (app dark theme) */
:root {
  --ink-950: #0b1416;
  --ink-900: #102024;
  --ink-800: #173035;
  --ink-700: #1f3d43;
  --ink-500: #3d6a72;
  --ink-300: #7fa3aa;
  --ink-100: #d5e4e7;
  --signal: #f0b429;
  --signal-soft: rgba(240, 180, 41, 0.16);
  --mist: #8faf9a;
  --text: #eef5f6;
  --text-muted: #7fa3aa;
  --border: rgba(61, 106, 114, 0.4);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --max: 40rem;
  --pad: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(240, 180, 41, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 80%, rgba(143, 175, 154, 0.06), transparent 50%),
    linear-gradient(165deg, var(--ink-950) 0%, var(--ink-900) 45%, #0d1a1c 100%);
  background-attachment: fixed;
}

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

.wrap {
  width: min(100% - 2 * var(--pad), 52rem);
  margin-inline: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0.5rem;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
  color: var(--signal);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.nav-links a {
  color: var(--text-muted);
}
.nav-links a:hover {
  color: var(--signal);
}

.hero {
  min-height: min(78vh, 36rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 4rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 15% 10% auto;
  height: 40%;
  background: radial-gradient(ellipse at center, var(--signal-soft), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 10vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--text);
  line-height: 1.05;
}

.hero-tag {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.5rem);
  font-weight: 500;
  color: var(--signal);
  margin: 0 0 1rem;
}

.hero-lead {
  max-width: 28rem;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.35rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  transform: scale(0.98);
}
.btn-primary {
  background: var(--signal);
  color: var(--ink-950);
}
.btn-primary:hover {
  background: #f6c85a;
  color: var(--ink-950);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--ink-300);
  color: var(--signal);
}

.waves {
  margin: 2.5rem auto 0;
  width: min(12rem, 50vw);
  opacity: 0.55;
  color: var(--mist);
}

.section {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.section p {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  max-width: 36rem;
}

.footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}
.footer a {
  color: var(--text-muted);
}
.footer a:hover {
  color: var(--signal);
}

.legal {
  padding: 1.5rem 0 4rem;
  max-width: var(--max);
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.legal .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-muted);
}

.legal ul {
  padding-left: 1.2rem;
  margin: 0.35rem 0 0.75rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal strong {
  color: var(--ink-100);
  font-weight: 600;
}

@media (max-width: 520px) {
  .nav-links {
    font-size: 0.8rem;
    gap: 0.5rem 0.85rem;
  }
}
