:root {
  color-scheme: light;
  --bg: #f5f2ea;
  --bg-soft: #ebe6dc;
  --surface: #ffffff;
  --surface-ink: #111827;
  --surface-muted: #f8f6f1;
  --text: #18202f;
  --muted: #626a78;
  --muted-2: #868b96;
  --line: rgba(24, 32, 47, 0.12);
  --line-strong: rgba(24, 32, 47, 0.2);
  --brand: #2547a8;
  --brand-ink: #173177;
  --accent: #c47a2c;
  --success: #1b7f62;
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.1);
  --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(37, 71, 168, 0.12), transparent 34rem),
    radial-gradient(circle at 78% 18%, rgba(196, 122, 44, 0.12), transparent 28rem);
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 999;
  transform: translateY(-130%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-ink);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(245, 242, 234, 0.78);
  backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 242, 234, 0.92);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-ink);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.06em;
  box-shadow: inset 0 -6px 14px rgba(255, 255, 255, 0.1);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface);
  color: var(--text);
  outline: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.language-btn {
  width: 38px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-btn.is-active {
  background: var(--surface-ink);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section-pad {
  padding: 96px 0;
}

.hero {
  padding-top: 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  gap: 60px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-section h2 {
  margin: 0;
  color: var(--text);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(44px, 7vw, 82px);
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--surface-ink);
  color: #fff;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.14);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand);
  outline: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--surface);
  border-color: var(--line-strong);
  outline: none;
}

.btn-small {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 44px 0 0;
}

.metric-row div {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.45);
}

.metric-row dt {
  color: var(--surface-ink);
  font-size: 24px;
  font-weight: 880;
  line-height: 1;
}

.metric-row dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 24px -10px -14px 24px;
  z-index: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.product-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: #121826;
  color: #f8fafc;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.24);
}

.window-bar strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 78px 1fr;
  min-height: 440px;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 22px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.mock-sidebar span {
  width: 30px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.mock-sidebar .sidebar-logo {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: #fff;
}

.mock-content {
  padding: 24px;
}

.mock-topline,
.mock-card,
.chart-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.mock-topline span,
.mock-card small,
.mock-card span,
.chart-card p {
  color: rgba(255, 255, 255, 0.62);
}

.mock-topline strong {
  color: #fff;
  font-size: 20px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.mock-card {
  padding: 18px;
}

.mock-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 28px;
  line-height: 1;
}

.weight-card {
  background: rgba(37, 71, 168, 0.32);
}

.chart-card {
  margin-top: 14px;
  padding: 18px;
}

.chart-line {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 136px;
  padding: 12px 4px 0;
}

.chart-line span {
  flex: 1;
  min-width: 16px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.2));
}

.chart-card p {
  margin: 16px 0 0;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

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

.proof-grid span {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 20px 22px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.proof-grid span:last-child {
  border-right: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 42px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: 34px;
  align-items: end;
}

.section-heading h2,
.contact-section h2 {
  font-size: clamp(34px, 4.8vw, 58px);
}

.section-heading p:not(.eyebrow),
.contact-section p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.centered {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.centered p:not(.eyebrow) {
  margin-top: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.product-card,
.capability-grid article,
.service-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
}

.product-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.product-card::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 24px;
  width: 140px;
  height: 140px;
  border: 1px solid var(--line);
  border-radius: 999px;
  opacity: 0.75;
}

.product-card-featured {
  background: #111827;
  color: #fff;
}

.product-card-featured::after {
  border-color: rgba(255, 255, 255, 0.12);
}

.product-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 46px;
}

.product-code {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 850;
}

.product-card-featured .tag {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.product-card h3 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0;
  font-size: clamp(25px, 3.3vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.product-card p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.product-card-featured p,
.product-card-featured .check-list li {
  color: rgba(255, 255, 255, 0.72);
}

.check-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--success);
}

.product-card-featured .check-list li::before {
  background: #a7f3d0;
}

.text-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 30px;
  color: var(--brand);
  font-weight: 850;
  text-decoration: none;
}

.text-link::after {
  content: " →";
}

.product-card-featured .text-link {
  color: #fff;
}

.muted-section {
  background: rgba(255, 255, 255, 0.34);
  border-block: 1px solid var(--line);
}

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

.capability-grid article,
.service-grid article {
  padding: 24px;
}

.capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.capability-grid h3,
.service-grid h3,
.timeline h3 {
  margin: 22px 0 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.capability-grid p,
.service-grid p,
.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.42);
  overflow: hidden;
}

.timeline li {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline li > span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

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

.service-grid article {
  min-height: 190px;
}

.contact-section {
  background: #111827;
  color: #fff;
}

.contact-section .eyebrow,
.contact-section h2,
.contact-section p {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.58fr);
  gap: 56px;
  align-items: start;
}

.contact-grid p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.contact-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.contact-item {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.contact-item span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 760;
}

.contact-item strong {
  color: #fff;
  font-size: 16px;
  word-break: break-word;
}

.contact-card .btn {
  margin-top: 18px;
  background: #fff;
  color: #111827;
}

.site-footer {
  padding: 40px 0;
  background: #0f1623;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
}

.footer-brand .brand-mark {
  background: #fff;
  color: #111827;
}

.footer-brand .brand-copy strong,
.footer-brand .brand-copy small {
  color: #fff;
}

.site-footer p {
  max-width: 500px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

@media (max-width: 1060px) {
  .nav-cta {
    display: none;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding-inline: 10px;
  }

  .hero-grid,
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 680px;
  }

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

  .timeline li:nth-child(2) {
    border-right: 0;
  }

  .timeline li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    position: sticky;
  }

  .brand-copy small {
    display: none;
  }

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

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(var(--header-height) + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: 44px;
    justify-content: center;
  }

  .section-pad {
    padding: 72px 0;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 64px);
  }

  .hero-actions,
  .metric-row,
  .mock-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .metric-row {
    display: grid;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-content {
    padding: 18px;
  }

  .mock-topline {
    flex-direction: column;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-grid span:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card,
  .capability-grid article,
  .service-grid article,
  .contact-card,
  .timeline li {
    border-radius: 20px;
  }

  .capability-grid,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline {
    border: 0;
    gap: 12px;
    background: transparent;
  }

  .timeline li,
  .timeline li:nth-child(-n + 2),
  .timeline li:nth-child(2) {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.52);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .language-switch {
    order: 2;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .hero-lead,
  .section-heading p:not(.eyebrow),
  .contact-grid p:not(.eyebrow) {
    font-size: 16px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid span,
  .proof-grid span:last-child,
  .proof-grid span:nth-child(2n) {
    min-height: auto;
    border-right: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
