/* Landing estilo Palantir — solo index (page-home.landing-palantir) */

.landing-palantir {
  --pl-bg: #0b0b0b;
  --pl-fg: #f5f5f5;
  --pl-muted: #9a9a9a;
  --pl-line: rgba(255, 255, 255, 0.12);
  --pl-accent: #0284c7;
  --pl-gold: #b8933f;
  background: var(--pl-bg);
  color: var(--pl-fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.landing-palantir .site-header,
.landing-palantir .site-footer {
  display: none;
}

.landing-palantir .pl-serif {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Header */
.pl-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.pl-header.is-scrolled {
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--pl-line);
}

.pl-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.pl-brand img {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(1.05);
}

.pl-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.pl-nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--pl-muted);
  transition: color 0.15s;
}

.pl-nav-link:hover,
.pl-nav-link.active {
  color: var(--pl-fg);
}

.pl-header-cta {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--pl-fg);
  color: var(--pl-fg);
  transition: background 0.15s, color 0.15s;
}

.pl-header-cta:hover {
  background: var(--pl-fg);
  color: var(--pl-bg);
}

.pl-menu {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--pl-line);
  color: var(--pl-fg);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
}

.pl-main {
  padding-top: 72px;
}

/* Hero */
.pl-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 28px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pl-hero::before {
  content: '';
  position: absolute;
  inset: 10% 20% 30% 10%;
  background: radial-gradient(ellipse at center, rgba(2, 132, 199, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.pl-hero-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pl-muted);
  margin: 0 0 28px;
}

.pl-hero-title {
  position: relative;
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  line-height: 1.05;
  max-width: 14ch;
  margin: 0 0 32px;
}

.pl-hero-lead {
  position: relative;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--pl-muted);
  max-width: 42rem;
  margin: 0 0 40px;
  text-wrap: pretty;
}

.pl-hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pl-btn-primary {
  background: var(--pl-fg);
  color: var(--pl-bg);
}

.pl-btn-primary:hover {
  background: #ddd;
}

.pl-btn-secondary {
  border-color: var(--pl-line);
  color: var(--pl-fg);
}

.pl-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

/* Featured rail */
.pl-section {
  border-top: 1px solid var(--pl-line);
  padding: 64px 0 80px;
}

.pl-section-head {
  max-width: 1400px;
  margin: 0 auto 32px;
  padding: 0 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.pl-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pl-muted);
  margin: 0;
}

.pl-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 28px 8px;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.pl-rail::-webkit-scrollbar {
  height: 6px;
}

.pl-rail-card {
  flex: 0 0 min(340px, 78vw);
  scroll-snap-align: start;
  border: 1px solid var(--pl-line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 55%);
  padding: 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.pl-rail-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.pl-rail-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pl-accent);
  margin-bottom: auto;
  padding-bottom: 48px;
}

.pl-rail-card h3 {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 10px;
  font-family: 'Instrument Serif', Georgia, serif;
}

.pl-rail-card p {
  margin: 0;
  font-size: 14px;
  color: var(--pl-muted);
  line-height: 1.45;
}

/* Platform stack */
.pl-platform {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}

.pl-platform-intro {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: var(--pl-muted);
  max-width: 52rem;
  margin: 0 0 56px;
  text-wrap: pretty;
}

.pl-platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pl-platform-item {
  border-top: 1px solid var(--pl-line);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 24px 32px;
  align-items: start;
}

.pl-platform-item:last-child {
  border-bottom: 1px solid var(--pl-line);
}

.pl-platform-index {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--pl-muted);
  padding-top: 6px;
}

.pl-platform-body h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.pl-platform-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--pl-muted);
  max-width: 36rem;
}

.pl-platform-link {
  align-self: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--pl-fg);
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

.pl-platform-link:hover {
  color: var(--pl-accent);
  border-bottom-color: var(--pl-accent);
}

/* Metrics */
.pl-metrics {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--pl-line);
}

.pl-metric {
  border-left: 1px solid var(--pl-line);
  padding-left: 24px;
}

.pl-metric:first-child {
  border-left: none;
  padding-left: 0;
}

.pl-metric-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  font-family: 'Instrument Serif', Georgia, serif;
}

.pl-metric-value span {
  color: var(--pl-gold);
}

.pl-metric-label {
  margin: 0;
  font-size: 13px;
  color: var(--pl-muted);
  line-height: 1.4;
}

/* Manifesto */
.pl-manifesto {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 28px 120px;
  border-top: 1px solid var(--pl-line);
}

.pl-manifesto h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  max-width: 16ch;
  margin: 0 0 28px;
}

.pl-manifesto p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--pl-muted);
  max-width: 40rem;
  margin: 0 0 36px;
}

.pl-quote {
  border-left: 2px solid var(--pl-gold);
  padding-left: 24px;
  max-width: 36rem;
}

.pl-quote blockquote {
  margin: 0 0 16px;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--pl-fg);
}

.pl-quote cite {
  font-style: normal;
  font-size: 13px;
  color: var(--pl-muted);
}

/* CTA band */
.pl-cta {
  border-top: 1px solid var(--pl-line);
  text-align: center;
  padding: 100px 28px 120px;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 132, 199, 0.06) 100%);
}

.pl-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin: 0 0 16px;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.pl-cta p {
  color: var(--pl-muted);
  margin: 0 0 32px;
  font-size: 1.05rem;
}

/* Footer */
.pl-footer {
  border-top: 1px solid var(--pl-line);
  padding: 48px 28px 56px;
}

.pl-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pl-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
}

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

.pl-footer-nav a:hover {
  color: var(--pl-fg);
}

.pl-footer-copy {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #666;
  margin: 32px 0 0;
}

.landing-palantir .toast {
  background: #1a1a1a;
  border-color: var(--pl-line);
  color: var(--pl-fg);
}

@media (max-width: 900px) {
  .pl-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .pl-metric:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
  .pl-metric:nth-child(even) {
    border-left: 1px solid var(--pl-line);
    padding-left: 24px;
  }
  .pl-platform-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pl-platform-index {
    padding-top: 0;
  }
  .pl-platform-link {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .pl-menu {
    display: block;
  }
  .pl-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 28px 28px;
    background: var(--pl-bg);
    border-bottom: 1px solid var(--pl-line);
    margin-left: 0;
  }
  .pl-nav.open {
    display: flex;
  }
  .pl-header-cta {
    display: none;
  }
  .pl-header-inner {
    position: relative;
  }
}
