/* Global reset & typography */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #111827;
  background: #f3f4f6;
}

/* Layout */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section--light {
  background: #ffffff;
}

.section--muted {
  background: #f9fafb;
}

/* Header & nav */
.header {
  background: #111827;
  color: #f9fafb;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.nav__brand span.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #0b1120;
  font-weight: 800;
  font-size: 0.9rem;
}

.nav__links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav__links a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav__links a:hover {
  color: #ffffff;
  opacity: 0.9;
}

.nav__cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #22c55e;
  color: #ecfdf5;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}

.nav__cta:hover {
  filter: brightness(1.05);
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #22c55e;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #020617;
}

.hero-highlight {
  background: linear-gradient(120deg, #22c55e, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: #4b5563;
  max-width: 32rem;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 1.75rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #f9fafb;
  box-shadow: 0 14px 40px rgba(22, 163, 74, 0.45);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.55);
}

.btn--ghost {
  background: rgba(15, 23, 42, 0.05);
  color: #111827;
}

.btn--ghost:hover {
  background: rgba(15, 23, 42, 0.09);
}

.hero-footnote {
  font-size: 0.75rem;
  color: #6b7280;
}

.hero-card {
  background: radial-gradient(circle at top left, #22c55e15, transparent 40%),
    #020617;
  color: #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.7);
}

.hero-card-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.hero-card-metric {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.hero-card-metric span {
  font-size: 1rem;
  color: #a7f3d0;
}

.hero-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  font-size: 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  margin-bottom: 1rem;
}

.hero-card-list {
  list-style: none;
  font-size: 0.8rem;
  display: grid;
  gap: 0.4rem;
  color: #9ca3af;
}

/* Generic section headings */
.section-header {
  margin-bottom: 2.25rem;
  text-align: left;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #020617;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Services grid */
.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.3rem 1.25rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  border: 1px solid #e5e7eb;
}

.card-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.16em;
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.card-body {
  font-size: 0.85rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.card-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Two-column layout (About, etc.) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* Lists */
.list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #4b5563;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.list li::before {
  content: "•";
  color: #22c55e;
  font-weight: 700;
  margin-top: 0.1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
}

.form {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #374151;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font: inherit;
  color: #111827;
  background: #f9fafb;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #22c55e;
  outline-offset: 1px;
  background: #ffffff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #374151;
}

.legal h1 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.legal h2 {
  font-size: 1.05rem;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}

.legal p,
.legal ul {
  margin-bottom: 0.8rem;
}

.legal ul {
  padding-left: 1.1rem;
}

/* Footer */
.footer {
  background: #020617;
  color: #9ca3af;
  padding: 2rem 0 1.6rem;
  font-size: 0.8rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.6rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* Badges row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  font-size: 0.75rem;
  color: #6b7280;
}

.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px dashed #9ca3af;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.2rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    order: -1;
  }

  .nav__links {
    display: none;
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
