:root {
  --navy: #0a2540;
  --navy-deep: #061a30;
  --teal: #00d4aa;
  --teal-dark: #00b894;
  --ink: #1a2b3c;
  --muted: #5a6b7c;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --border: #e3e9ef;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 760px; }
.container.center { text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy);
  color: var(--teal);
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-mark.small { width: 26px; height: 26px; font-size: 0.85rem; margin-right: 8px; }

.site-nav { display: flex; align-items: center; gap: 22px; }

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--navy); }

.site-nav .nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
}

.site-nav .nav-cta:hover { background: var(--navy-deep); color: #fff; }

/* Nav dropdown */
.nav-dropdown { position: relative; }

.nav-drop-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  font-family: inherit;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.nav-drop-toggle:hover { color: var(--navy); }

.nav-drop-toggle .caret { font-size: 0.7rem; transition: transform 0.2s; }
.nav-dropdown.open .nav-drop-toggle { color: var(--navy); }
.nav-dropdown.open .caret { transform: rotate(180deg); }

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.14);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 200;
}

.nav-dropdown:hover .nav-drop-panel,
.nav-dropdown.open .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .caret { transform: rotate(180deg); }
.nav-dropdown:hover .nav-drop-toggle { color: var(--navy); }

.drop-option {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.drop-option:hover { background: var(--bg-alt); color: var(--navy); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, #0d3050 100%);
  color: #fff;
  padding: 110px 0 120px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.15;
  margin: 14px 0 20px;
  letter-spacing: -0.02em;
}

.hero .lede {
  max-width: 640px;
  font-size: 1.15rem;
  color: #b8c7d6;
  margin-bottom: 34px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.hero .eyebrow { color: var(--teal); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn.primary {
  background: var(--teal);
  color: var(--navy-deep);
}

.btn.primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 212, 170, 0.3);
}

.btn.ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn.ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn.large { font-size: 1.15rem; padding: 16px 36px; }

/* Sections */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-alt); }

.section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: var(--navy);
  margin: 10px 0 36px;
  letter-spacing: -0.01em;
}

.section p { color: var(--muted); }

.container.narrow p { font-size: 1.08rem; margin-bottom: 18px; }

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.grid.industries { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.18s, box-shadow 0.18s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.09);
}

.card-icon { font-size: 1.8rem; margin-bottom: 12px; }

.card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card p { font-size: 0.95rem; }

/* Service tasks */
.tasks {
  list-style: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.tasks li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 7px;
}

.tasks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--teal);
}

/* Leadership */
.leader {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  margin-bottom: 22px;
}

.leader-avatar {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
}

.leader-body h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 2px; }

.leader-role {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 14px !important;
}

.leader-body p { font-size: 0.98rem; margin-bottom: 12px; }

.leader-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

.leader-tags span {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.section-intro {
  max-width: 720px;
  font-size: 1.05rem;
  margin: -18px 0 32px;
}

/* Products */
.product {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.product + .product { margin-top: 22px; }
.product[hidden] { display: none; }

.product-media img {
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.12);
}

.product-icon {
  width: 112px;
  height: 112px;
  border-radius: 20px;
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.12);
}

.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px 26px;
  margin: 20px 0 6px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.product-features .feature h4 {
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.product-features .feature p {
  font-size: 0.9rem !important;
  color: var(--muted);
  margin-bottom: 0 !important;
}

.product-body h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: 4px; }

.product-tagline {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 12px !important;
}

.product-body p { font-size: 0.98rem; margin-bottom: 14px; }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.store-badges a { display: inline-flex; transition: transform 0.15s; }
.store-badges a:hover { transform: translateY(-2px); }
.store-badges img { height: 48px; width: auto; display: block; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #b8c7d6;
  padding: 50px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.site-footer strong { color: #fff; font-size: 1.05rem; }

.footer-tag { font-size: 0.85rem; margin-top: 6px; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }

.footer-links a {
  color: #b8c7d6;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-links a:hover { color: var(--teal); }

.copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* 404 */
.notfound { padding: 140px 0; text-align: center; }
.notfound h1 { font-size: 5rem; color: var(--navy); }

/* Mobile */
@media (max-width: 640px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 0.85rem; }
  .brand-name { display: none; }
  .hero { padding: 80px 0 90px; }
  .section { padding: 64px 0; }
  .leader { flex-direction: column; gap: 18px; padding: 26px 22px; }
  .product { flex-direction: column; gap: 20px; padding: 26px 22px; }
  .nav-drop-toggle { font-size: 0.85rem; }
  .nav-drop-panel { left: auto; right: 0; transform: translateY(-6px); min-width: 220px; }
  .nav-dropdown.open .nav-drop-panel { transform: translateY(0); }
}
