/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1a1d23;
  background: #fafbfc;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout containers */
.page-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5vw;
}

section {
  padding: 56px 0;
}

.section-alt {
  background: #f4f6fa;
}

.section-narrow {
  max-width: 900px;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.03em;
}

h1 {
  font-size: 2.1rem;
  margin: 0 0 16px;
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.subheading {
  font-size: 0.97rem;
  color: #5a6273;
  margin: 0 0 24px;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e4e7ee;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5vw;
  max-width: 1160px;
  margin: 0 auto;
}

.logo-mark {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.75rem;
  color: #6a7283;
}

.nav-links a {
  font-size: 0.9rem;
  margin-left: 18px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #143a66;
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero */
.hero-wrap {
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7b8496;
  margin-bottom: 10px;
}

.hero-title-mark {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e4ecf7;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.hero-text {
  font-size: 0.98rem;
  color: #3f4654;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: none;
  background: linear-gradient(135deg, #143a66, #25578f);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid #143a66;
  color: #143a66;
  background: transparent;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #6a7283;
}

.hero-panel {
  border-radius: 12px;
  background: radial-gradient(circle at top left, #f2f6ff, #e4e8f4);
  padding: 20px 18px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 35px rgba(12, 35, 70, 0.09);
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hero-panel-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-panel-domain {
  font-size: 0.78rem;
  color: #5b6475;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.hero-metric {
  font-size: 0.78rem;
  color: #4a5261;
}

.hero-metric strong {
  display: block;
  font-size: 0.9rem;
  color: #1a1d23;
}

.hero-panel-footer {
  font-size: 0.75rem;
  color: #6a7283;
}

.hero-panel-accent {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at center, rgba(20, 58, 102, 0.12), transparent 70%);
}

/* Section heading with accent line */
.section-head {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.section-head-line {
  width: 28px;
  height: 2px;
  background: #143a66;
  margin-right: 10px;
  border-radius: 999px;
}

/* Grids, cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e3e6f0;
  padding: 16px 16px 14px;
}

.card-soft {
  background: #f7f8fc;
}

.card h3 {
  margin-top: 0;
}

.card p {
  font-size: 0.9rem;
  color: #44495a;
  margin: 0;
}

/* Icon circle in service tiles */
.icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-right: 8px;
  background: rgba(20, 58, 102, 0.06);
  color: #143a66;
}

/* Service tile layout */
.service-tile {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-body {
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #143a66;
}

.service-link span {
  margin-left: 4px;
}

/* Metrics row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.metric-card {
  border-radius: 10px;
  background: #f2f4fb;
  padding: 14px 14px 12px;
  font-size: 0.86rem;
}

.metric-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* Chips / tags */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef1f7;
  color: #44495a;
}

/* Timeline strip */
.timeline-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  margin-top: 10px;
  color: #5a6273;
}

.timeline-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #143a66;
  display: inline-block;
  margin-right: 6px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 24px;
}

.input {
  width: 100%;
  padding: 9px 10px;
  border-radius: 6px;
  border: 1px solid #d2d7e4;
  font-size: 0.9rem;
}

.input:focus {
  outline: none;
  border-color: #143a66;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e4e7ee;
  margin-top: 30px;
}

.footer-upper {
  padding: 20px 5vw 10px;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-lower {
  background: #edf0f6;
  padding: 10px 5vw 14px;
  font-size: 0.78rem;
  color: #5a6273;
}

.footer-lower-inner {
  max-width: 1160px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* for now; can add a burger later */
  }
}
