/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #111827;
  background-color: #f9fafb;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(249, 250, 251, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 700;
}

.logo-text {
  font-weight: 600;
  font-size: 1rem;
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: #374151;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: #111827;
}

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #2563eb;
}

/* Mobile nav toggle */
.mobile-nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
}

/* Mobile nav menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem 1rem;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-nav a {
  text-decoration: none;
  color: #111827;
}

.mobile-nav-open {
  display: flex;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 1rem;
}

.hero-text p {
  margin: 0 0 1.5rem;
  color: #4b5563;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-trust {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Hero card */
.hero-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.hero-card p {
  margin: 0 0 0.75rem;
  color: #4b5563;
}

.hero-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #4b5563;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: #f3f4f6;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  margin: 0 0 1.8rem;
  color: #6b7280;
  max-width: 34rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid #e5e7eb;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0 0 0.8rem;
  color: #4b5563;
}

.card-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #4b5563;
  font-size: 0.95rem;
}

/* Pill cards */
.pill-card {
  background: #ffffff;
  border-radius: 999px;
  padding: 1rem 1.3rem;
  border: 1px solid #e5e7eb;
}

.pill-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.pill-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* About section */
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.about-inner p {
  color: #4b5563;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.metric {
  background: #ffffff;
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #e5e7eb;
}

.metric-number {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
}

.metric-label {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  color: #4b5563;
}

.contact-details a {
  color: #2563eb;
}

.contact-form {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.5rem 1.5rem;
  border: 1px solid #e5e7eb;
}

.field-group {
  margin-bottom: 1rem;
}

.field-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #374151;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font: inherit;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.1s ease;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
}

.btn-outline {
  background: #e5edff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.btn-outline:hover {
  background: #dbeafe;
}

.btn-full {
  width: 100%;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-inner {
  text-align: center;
}

.footer-small {
  margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
