/* ===== IdentityFirst Solutions — marketing site styles ===== */

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-muted: #64748b;
  --surface: #ffffff;
  --surface-soft: #f7fafc;
  --surface-warm: #fbfafa;
  --border: #e5e7eb;
  --border-soft: #eef2f6;

  --brand: #1D3A6E;
  --brand-dark: #152A52;
  --brand-mid: #2B5099;
  --teal: #2B9B9B;
  --teal-soft: #5BBBBB;
  --teal-bg: #e6f4f4;
  --accent: #ff6b5c;
  --accent-dark: #e8574a;

  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.06);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-dark); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
  z-index: 1000;
}
.skip-link:focus { top: 8px; color: #fff; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  box-shadow: 0 1px 0 var(--border), 0 8px 24px -12px rgba(15,23,42,0.1);
  background: rgba(255,255,255,0.98);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo-img {
  height: 72px;
  width: auto;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--brand); }
@media (max-width: 680px) {
  .nav-links { display: none; }
}

.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(ellipse at top right, rgba(43, 155, 155, 0.10), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(29, 58, 110, 0.08), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--border-soft);
}
.hero-inner { max-width: 880px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--brand);
  margin: 0 0 18px;
}
.sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 32px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-primary:active { transform: translateY(1px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
}
.link-arrow::after {
  content: '\2192';
  margin-left: 8px;
  transition: transform .15s ease;
}
.link-arrow:hover::after { transform: translateX(3px); }

section { padding: 80px 0; }
.muted { background: var(--surface-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.muted-soft { background: var(--teal-bg); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.section-head { margin-bottom: 44px; max-width: 820px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--brand);
  margin: 0;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 17px;
  margin-top: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.service-card:hover { border-color: var(--teal-soft); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card.highlight {
  border: 1px solid var(--teal);
  box-shadow: 0 10px 28px -12px rgba(43, 155, 155, 0.35);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--teal-bg);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--brand);
  margin: 0 0 10px;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.service-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-bullets li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
.tag {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products-grid { grid-template-columns: 1fr; } }
.product-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color .15s ease, transform .15s ease;
}
.product-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--brand);
  margin-bottom: 4px;
}
.product-category {
  font-size: 13px;
  color: var(--ink-muted);
}

.approach-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .approach-grid { grid-template-columns: 1fr; gap: 32px; } }

.founder-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
}
.founder-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--brand);
  margin: 0 0 22px;
}
.founder-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.founder-initials {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--teal-bg);
  color: var(--brand);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-name { font-weight: 700; color: var(--ink); }
.founder-role { font-size: 13px; color: var(--ink-muted); }

.approach-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--brand);
  margin: 10px 0 16px;
}
.approach-body p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.trust-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-list li {
  color: var(--ink-soft);
  font-size: 15px;
  padding-left: 26px;
  position: relative;
}
.trust-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 2px;
  background: var(--teal);
}
.attribution {
  margin-top: 22px;
  font-style: italic;
  color: var(--ink-muted);
  font-size: 14px;
}

.contact-section { background: var(--brand); color: #fff; }
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-section .eyebrow { color: var(--teal-soft); }
.contact-section h2 { color: #fff; }

.contact-email {
  display: inline-block;
  color: #fff;
  font-family: 'Inter', monospace;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  margin: 28px 0 10px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--teal-soft);
}
.contact-email:hover { color: var(--teal-soft); border-color: #fff; }
.contact-location {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  margin: 0 0 28px;
}

.legal-main {
  padding: 56px 0 80px;
  background: var(--surface);
}
.legal {
  max-width: 760px;
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--brand);
  margin: 6px 0 8px;
  letter-spacing: -0.015em;
}
.legal-updated {
  color: var(--ink-muted);
  font-size: 14px;
  margin: 0 0 32px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--brand);
  margin: 32px 0 10px;
}
.legal p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.legal ul {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  padding-left: 22px;
  margin: 0 0 14px;
}
.legal ul li { margin-bottom: 6px; }
.legal a { color: var(--brand); text-decoration: underline; }
.legal a:hover { color: var(--teal); }

.site-footer {
  background: #fff;
  border-top: 1px solid var(--border-soft);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-muted);
}
.footer-logo { height: 28px; width: auto; }
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--ink-muted);
  font-size: 14px;
}
.footer-links a:hover { color: var(--brand); }
