/*
 * Standardized Contracts marketing site styles
 *
 * The palette and typography follow the brand guidelines recommending
 * a trust‑evoking blue and a complementary teal accent. The layout
 * uses generous whitespace to improve readability and a clear
 * hierarchy of headings, subheadings and body copy. Responsive
 * design ensures usability on both desktop and mobile screens.
 */

:root {
  --primary-color: #0f4c81;       /* trust blue */
  --secondary-color: #00a89d;     /* innovative teal */
  --text-color: #1f2937;          /* dark charcoal for body text */
  --light-gray: #f5f5f5;          /* light background for sections */
  --border-radius: 4px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #ffffff;
}

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

/* Navigation bar */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.nav-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-color);
}
.nav-links a:hover {
  color: var(--primary-color);
}
.nav-cta {
  margin-left: 1rem;
}
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: background-color 0.2s ease;
}
a.btn-primary {
  color: #ffffff;
}
a.btn-primary:hover {
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--secondary-color);
}
.btn-secondary {
  display: inline-block;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Hero section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.hero-text {
  flex: 1 1 50%;
  padding-right: 2rem;
}
.hero-text h1 {
  font-size: 2.75rem;
  margin: 0 0 1rem;
  color: var(--primary-color);
  line-height: 1.2;
}
.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}
.hero-image {
  flex: 1 1 50%;
  text-align: center;
}
.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Features section */
.features {
  background-color: #ffffff;
  padding: 3rem 1.5rem;
}
.features-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.feature {
  flex: 1 1 30%;
  text-align: center;
}
.feature img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}
.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}
.feature p {
  font-size: 1rem;
  color: var(--text-color);
}

/* Pricing section */
.pricing {
  background-color: var(--light-gray);
  padding: 3rem 1.5rem;
}
.pricing-container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.pricing-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.pricing-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  padding: 2rem;
  flex: 1 1 280px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.pricing-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0.5rem 0 1rem;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.pricing-card li {
  margin-bottom: 0.5rem;
}
.pricing-card .btn-primary {
  margin-top: auto;
}

/* FAQ Section */
.faq {
  padding: 3rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}
.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
}
.faq-item summary {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--primary-color);
}
.faq-item p {
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* Generic section styles */
section {
  padding: 3rem 1.5rem;
}
section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 2rem 1.5rem;
}
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer-column {
  flex: 1 1 200px;
}
.footer-column h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column li {
  margin-bottom: 0.5rem;
}
.footer-column a {
  color: var(--text-color);
}
.footer-column a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    padding-right: 0;
  }
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  .features-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-container {
    flex-direction: column;
  }
}
