/* Landing pública — Orchestrator - Saruman AI (OAuth / homepage)
   Fontes do sistema primeiro: evita falha de crawlers em CDNs externas. */
:root {
  color-scheme: dark;
  --bg: #09090b;
  --bg-card: #18181b;
  --border: rgba(255, 255, 255, 0.1);
  --text: #e4e4e7;
  --muted: #a1a1aa;
  --faint: #71717a;
  --accent: #6366f1;
  --accent-2: #a855f7;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1000px 480px at 12% -8%, rgba(99, 102, 241, 0.22), transparent 55%),
    radial-gradient(800px 400px at 100% 0%, rgba(168, 85, 247, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: #a5b4fc;
  text-decoration: none;
}

a:hover {
  color: #c7d2fe;
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
  font-size: 0.92rem;
}

.header-nav a {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.06);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding: 4rem 0 2.5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero .purpose {
  margin: 0 0 1.5rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.legal-links {
  color: var(--faint);
  font-size: 0.92rem;
}

.legal-links a {
  color: var(--muted);
}

.features {
  display: grid;
  gap: 1rem;
  padding: 0.5rem 0 3.5rem;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(24, 24, 27, 0.85);
}

.feature h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #121216;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1.35rem 0;
  color: var(--faint);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

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

@media (max-width: 560px) {
  .site-header .inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
