/* Team GoodWorks - Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #111827;
  background-color: #f9fafb;
}

a {
  color: #1d4ed8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo span:first-child {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.logo span:last-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #6b7280;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
}

nav a:hover {
  color: #111827;
}

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #eff6ff;
  color: #1d4ed8;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #22c55e;
}

.hero h1 {
  font-size: clamp(2.25rem, 3vw + 1rem, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #0f172a;
}

.hero h1 span {
  color: #1d4ed8;
}

.hero-subtitle {
  font-size: 1rem;
  color: #4b5563;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  display: inline-block;
  margin-top: 0.75rem;
  padding-left: 0.4rem;
  border-left: 3px solid #1d4ed8;
  color: #111827;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button-primary,
.button-secondary {
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.button-primary {
  background-color: #111827;
  color: #f9fafb;
}

.button-primary:hover {
  background-color: #020617;
}

.button-secondary {
  background-color: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.button-secondary:hover {
  background-color: #f9fafb;
}

.hero-meta {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-card {
  background: radial-gradient(circle at top left, #dbeafe, #eff6ff 40%, #ffffff);
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.hero-card h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #1f2937;
  margin-bottom: 0.9rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.stat-pill {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 0.9rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #e5e7eb;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}

.section {
  padding: 2.5rem 0 2.2rem;
}

.section-header {
  margin-bottom: 1.8rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.4rem;
  color: #111827;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #4b5563;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.1rem;
  min-height: 100%;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #111827;
}

.card p {
  font-size: 0.9rem;
  color: #4b5563;
}

.card-tag {
  display: inline-flex;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background-color: #eff6ff;
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.card-list {
  margin-top: 0.6rem;
  padding-left: 1rem;
  font-size: 0.88rem;
  color: #4b5563;
}

.card-list li {
  margin-bottom: 0.25rem;
}

.columns-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.quote-box {
  background-color: #111827;
  color: #e5e7eb;
  border-radius: 1.1rem;
  padding: 1.2rem 1.3rem;
}

.quote-box p {
  font-size: 0.9rem;
}

.quote-attrib {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.8rem 0;
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer a {
  color: #6b7280;
  font-size: 0.85rem;
}

.footer a:hover {
  color: #111827;
}

.badge-inline {
  font-size: 0.74rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background-color: #ecfeff;
  color: #0e7490;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Subpage hero */
.sub-hero {
  padding: 2.5rem 0 1.8rem;
}

.sub-hero h1 {
  font-size: 1.9rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.9rem;
}

.sub-hero p {
  font-size: 0.96rem;
  color: #4b5563;
  max-width: 42rem;
}

/* Simple table */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.simple-table th,
.simple-table td {
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.simple-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

/* Contact form */
.form-card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.2rem 1.3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-grid-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.6rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: #111827;
  background-color: #f9fafb;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid #1d4ed8;
  outline-offset: 1px;
  background-color: #ffffff;
}

.form-help {
  font-size: 0.76rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 1rem;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .columns-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
