/*
 * Base styles for the nuli brochure site.
 *
 * Colours and typography are drawn from the original slide deck.  Variables
 * define the palette up front so adjustments can be made consistently.
 */
:root {
  --primary-color: #1b2c47;       /* dark blue for headings and logo */
  --secondary-color: #5a7485;     /* muted blue-grey for body text */
  --accent-color: #9ac4da;        /* light blue accent for highlights */
  --background-light: #ffffff;    /* page background */
  --gradient-start: #f3f9fd;      /* soft pastel for hero gradient */
  --gradient-end: #f8f9fa;
}

/* Reset some defaults */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: var(--primary-color);
  background-color: var(--background-light);
}

/* Navigation bar styling */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
nav .logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--primary-color);
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
nav ul li {
  margin-left: 1.75rem;
}
nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: var(--primary-color);
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: var(--accent-color);
}

/* Hero section reminiscent of the deck cover slide */
header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 3rem 6rem;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  text-align: left;
}
.hero-content {
  max-width: 800px;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}
.hero-content .highlight {
  color: var(--accent-color);
  font-weight: 700;
}
.hero-content .subtitle {
  font-size: 1.25rem;
  max-width: 650px;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  line-height: 1.4;
}
.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}
.cta-button:hover {
  background-color: var(--secondary-color);
}

/* Footer styling */
footer {
  padding: 2rem 3rem;
  text-align: center;
  background-color: #f7f9fb;
  color: var(--secondary-color);
  font-size: 0.875rem;
}

/* Early access sign‑up section */
.signup-section {
  padding: 10rem 3rem 6rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
.signup-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.signup-section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  line-height: 1.5;
}
#signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
#signup-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #d1dce5;
  border-radius: 0.5rem;
  outline: none;
}
#signup-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#signup-form button:hover {
  background-color: var(--secondary-color);
}
#success-message {
  margin-top: 1rem;
  color: var(--accent-color);
  font-weight: 500;
}
.hidden {
  display: none;
}

/* Quote section on the early access page, inspired by the closing slide */
.quote-section {
  padding: 4rem 3rem;
  background-color: #f6fafd;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.quote-section blockquote {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  border-left: 4px solid var(--accent-color);
  padding-left: 1rem;
  margin: 0;
}
.quote-section blockquote .highlight {
  color: var(--accent-color);
  font-weight: 700;
}
.quote-section cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }
  nav ul li {
    margin-left: 1rem;
  }
  header {
    padding-top: 8rem;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-content .subtitle {
    font-size: 1rem;
  }
  .cta-button {
    font-size: 0.9rem;
  }
  .signup-section {
    padding-top: 8rem;
  }
  .signup-section h1 {
    font-size: 2rem;
  }
  .quote-section blockquote {
    font-size: 1.5rem;
  }
}
