:root {
  color-scheme: light;
  --ink: #172033;
  --ink-strong: #101828;
  --navy: #101828;
  --navy-soft: #1d2939;
  --paper: #ffffff;
  --muted: #f6f7f9;
  --line: #d0d5dd;
  --text: #344054;
  --text-soft: #667085;
  --accent: #2e90fa;
  --accent-dark: #175cd3;
  --warm: #dc6803;
  --shadow: 0 20px 45px rgba(16, 24, 40, 0.12);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: #ffffff;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
}

h3 {
  font-size: 1.05rem;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.site-nav a {
  text-decoration: none;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 88px 0;
}

.anchor-target {
  position: relative;
  top: -88px;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero + .section {
  padding-top: 64px;
}

.section-muted {
  background: var(--muted);
}

.section-dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}

.hero {
  padding: 72px 0 56px;
}

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

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.section-kicker,
.blog-meta,
.timeline-date {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: var(--accent);
}

.hero-subtitle {
  max-width: 760px;
  margin: 18px 0 18px;
  color: #f4f7fb;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
}

.hero-summary {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: rgba(46, 144, 250, 0.28);
  background: #ffffff;
  color: var(--ink);
}

.section-dark .button-secondary {
  background: #ffffff;
  color: var(--ink);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.feature-item,
.skill-card,
.ai-card,
.blog-card,
.credential-grid article,
.service-list article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-item {
  min-height: 150px;
  padding: 18px;
}

.feature-number {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--text-soft);
  font-weight: 900;
}

.feature-item h3 {
  font-size: 1rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 56px;
  align-items: start;
}

.prose {
  color: var(--text);
  font-size: 1.03rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chip-group span {
  border: 1px solid rgba(46, 144, 250, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  background: #eff8ff;
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.section-kicker) {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.skill-card {
  padding: 20px;
}

.skill-card h3,
.service-list h3,
.blog-card h3 {
  margin-bottom: 10px;
}

.skill-card p,
.service-list p,
.blog-card p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.service-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list article {
  padding: 18px;
  border-left: 4px solid var(--accent);
}

.ai-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ai-card {
  padding: 20px;
  border-color: #b2ddff;
  background: rgba(255, 255, 255, 0.9);
}

.ai-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.ai-card h3 {
  margin-bottom: 10px;
}

.ai-card p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
}

.timeline::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 11px;
  width: 2px;
  background: var(--line);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 18px;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border: 5px solid #d1e9ff;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-content {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.timeline-content h3 {
  font-size: 1.25rem;
}

.timeline-company {
  margin: 6px 0 16px;
  color: var(--accent-dark);
  font-weight: 800;
}

.timeline-content ul,
.credential-grid ul,
.article-body ul {
  padding-left: 20px;
}

.timeline-content li + li,
.credential-grid li + li,
.article-body li + li {
  margin-top: 8px;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.credential-grid article {
  padding: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 22px;
}

.blog-card h3 a {
  text-decoration: none;
}

.blog-card h3 a:hover,
.blog-card h3 a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-dark);
}

.text-link {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
}

.contact-section {
  background: #f9fafb;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.contact-section h2 {
  color: var(--ink);
}

.contact-section .section-kicker {
  color: var(--accent-dark);
}

.contact-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.contact-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
}

.contact-header p:not(.section-kicker) {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1rem;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.contact-card {
  display: flex;
  min-height: 122px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 16px;
  color: var(--ink);
  text-decoration: none;
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: rgba(46, 144, 250, 0.48);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  outline: none;
}

.contact-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
}

.contact-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.contact-card:hover .contact-icon,
.contact-card:focus-visible .contact-icon {
  color: var(--accent-dark);
}

.contact-label {
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-value {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.site-footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  background: #f9fafb;
  color: var(--text-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--text-soft);
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-dark);
}

.article-main {
  background: var(--paper);
}

.article-hero {
  padding: 64px 0 44px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}

.article-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.article-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.article-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
}

.article-body {
  max-width: 790px;
  padding: 58px 0 86px;
  font-size: 1.06rem;
}

.article-body h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.article-body p {
  margin-bottom: 18px;
}

.article-body a {
  color: var(--accent-dark);
  font-weight: 800;
}

.article-breadcrumb {
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.article-breadcrumb a {
  text-decoration: none;
}

.related-notes {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.related-notes h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.related-links {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.related-links a {
  text-decoration: none;
}

.article-note {
  margin: 34px 0;
  border-left: 4px solid var(--warm);
  padding: 18px 20px;
  background: #fff7ed;
  color: var(--ink);
}

.not-found {
  display: grid;
  min-height: calc(100vh - 124px);
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

.not-found h1 {
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 6rem);
}

.not-found p {
  max-width: 560px;
  margin: 18px auto 26px;
  color: var(--text-soft);
}

@media (max-width: 1100px) {
  .contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .service-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
    border-radius: 6px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--muted);
  }

  .hero {
    padding: 38px 0 30px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-summary {
    font-size: 1rem;
  }

  .section {
    padding: 62px 0;
  }

  .hero + .section {
    padding-top: 42px;
  }

  .feature-list,
  .card-grid,
  .blog-grid,
  .ai-grid,
  .contact-card-grid,
  .credential-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: auto;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: auto;
    flex: 1 1 150px;
    padding-inline: 12px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-card {
    min-height: auto;
  }

  .contact-value {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .article-hero {
    padding: 46px 0 34px;
  }

  .article-body {
    padding: 42px 0 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
