/* Neurolance company splash — restrained, editorial, dark */

:root {
  --nl-bg: #0b0d11;
  --nl-surface: #12151c;
  --nl-surface-2: #181c26;
  --nl-border: rgba(255, 255, 255, 0.08);
  --nl-text: #eef1f6;
  --nl-muted: #9aa3b5;
  --nl-accent: #e06b1f;
  --nl-accent-2: #6ea8ff;
  --nl-radius: 22px;
  --nl-badge-h: 40px;
  --nl-logo: 56px;
  --nl-font: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --nl-sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(224, 107, 31, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(110, 168, 255, 0.14), transparent 50%),
    var(--nl-bg);
  color: var(--nl-text);
  font-family: var(--nl-sans);
  -webkit-text-size-adjust: 100%;
}

.nl-shell {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.25rem 0 3rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.nl-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.nl-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.nl-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nl-accent), #ffb067);
  box-shadow: 0 0 0 4px rgba(224, 107, 31, 0.12);
  flex-shrink: 0;
}

.nl-name {
  font-family: var(--nl-font);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.nl-tagline {
  margin: 0;
  color: var(--nl-muted);
  font-size: 0.92rem;
}

.nl-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
}

.nl-intro h1 {
  margin: 0 0 0.85rem;
  font-family: var(--nl-font);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.nl-intro p {
  margin: 0;
  max-width: 38rem;
  color: var(--nl-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.nl-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.nl-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--nl-surface-2), var(--nl-surface));
  border: 1px solid var(--nl-border);
  border-radius: var(--nl-radius);
  padding: 1.6rem 1.55rem 1.45rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.nl-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--nl-accent)), transparent);
  opacity: 0.9;
}

.nl-card--savor {
  --card-accent: var(--nl-accent);
}

.nl-card--dnbu {
  --card-accent: var(--nl-accent-2);
}

.nl-card-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nl-muted);
  margin-bottom: 0.95rem;
}

.nl-title-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
  min-width: 0;
}

.nl-app-logo {
  width: var(--nl-logo);
  height: var(--nl-logo);
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.nl-card h2 {
  margin: 0;
  font-family: var(--nl-font);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  min-width: 0;
}

.nl-card p {
  margin: 0;
  color: var(--nl-muted);
  line-height: 1.65;
  flex: 1;
}

.nl-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.nl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.7rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nl-btn:hover {
  transform: translateY(-1px);
}

.nl-btn--primary {
  background: var(--nl-accent);
  color: #111;
}

.nl-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

/* Equal visual height: Play badge PNG has internal transparent padding */
.nl-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--nl-badge-h);
  line-height: 0;
  text-decoration: none;
}

.nl-store img {
  display: block;
  width: auto;
  max-width: 100%;
}

.nl-store--apple img {
  height: var(--nl-badge-h);
}

.nl-store--play img {
  /* Scale past transparent padding so glyph matches App Store badge height */
  height: calc(var(--nl-badge-h) * 1.38);
}

.nl-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--nl-muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--nl-border);
  padding-top: 1.25rem;
}

.nl-footer p {
  margin: 0;
}

.nl-footer a {
  color: inherit;
  text-decoration: none;
}

.nl-footer a:hover {
  color: var(--nl-text);
}

@media (max-width: 860px) {
  .nl-shell {
    width: min(100% - 1.25rem, 1100px);
    padding: 1.35rem 0 2.25rem;
    gap: 1.6rem;
  }

  .nl-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .nl-apps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nl-card {
    padding: 1.35rem 1.2rem 1.25rem;
  }

  .nl-intro p {
    font-size: 1rem;
  }

  .nl-stores {
    width: 100%;
  }

  .nl-store {
    flex: 0 0 auto;
  }
}

@media (max-width: 420px) {
  :root {
    --nl-logo: 48px;
    --nl-badge-h: 36px;
  }

  .nl-title-row {
    gap: 0.7rem;
  }

  .nl-card h2 {
    font-size: 1.35rem;
  }

  .nl-btn {
    width: 100%;
  }

  .nl-stores {
    gap: 0.5rem;
  }
}
