:root {
  --ink: #101114;
  --muted: #62666f;
  --soft: #f5f7fb;
  --panel: #ffffff;
  --line: #dce1ea;
  --blue: #2358ff;
  --blue-dark: #173cc8;
  --teal: #0f766e;
  --green: #17803d;
  --amber: #9a6500;
  --red: #b42318;
  --violet: #6246c7;
  --shadow: 0 22px 70px rgba(20, 28, 45, .14);
  --shadow-soft: 0 10px 30px rgba(20, 28, 45, .08);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcff;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(220,225,234,.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 150px;
  height: auto;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2358ff, #0f766e);
  box-shadow: 0 12px 26px rgba(35, 88, 255, .26);
}

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

.nav > a,
.nav summary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  color: #3f4249;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.nav > a:hover,
.nav details[open] summary,
.nav .is-active {
  color: var(--ink);
  background: #f0f4ff;
}

.nav details {
  position: relative;
}

.nav summary {
  list-style: none;
}

.nav summary::-webkit-details-marker { display: none; }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 260px;
  display: grid;
  gap: 4px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.dropdown a {
  padding: 12px;
  border-radius: 6px;
  font-weight: 750;
  color: #383c44;
}

.dropdown a span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}

.dropdown a:hover { background: var(--soft); }

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  white-space: nowrap;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(35, 88, 255, .24);
}

.button-primary:hover { background: var(--blue-dark); }

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button-secondary:hover { border-color: #b9c4d5; }

.button-ghost {
  color: var(--blue);
  background: #eef3ff;
}

.hero {
  position: relative;
  padding: 90px 0 58px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 18%, rgba(15,118,110,.12), transparent 32%),
    linear-gradient(180deg, #f7f9ff 0%, #fff 78%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .11em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 76px);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 15px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  color: #4d515a;
  font-size: 20px;
  line-height: 1.55;
}

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

.utility-line {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.utility-line a {
  color: var(--blue);
  font-weight: 800;
}

.workspace-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #111827;
  border: 1px solid rgba(35,88,255,.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.workspace-visual img,
.image-card img,
.wide-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.workspace-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.metric {
  min-height: 92px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric strong {
  display: block;
  font-size: 24px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
}

.dash-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.dash-panel h4 {
  margin: 0 0 10px;
  font-size: 13px;
}

.work-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #edf0f5;
  font-size: 13px;
}

.work-row:first-of-type { border-top: 0; }

.work-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.status.blue { color: #1742c8; background: #eaf0ff; }
.status.green { color: var(--green); background: #eaf8ef; }
.status.amber { color: var(--amber); background: #fff5db; }
.status.red { color: var(--red); background: #ffecea; }
.status.violet { color: var(--violet); background: #f0edff; }

.pipeline {
  display: grid;
  gap: 9px;
}

.pipe-card {
  padding: 11px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #edf0f5;
  font-size: 13px;
}

.pipe-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 76px 0;
  border-top: 1px solid #edf0f5;
}

.section-header {
  width: min(760px, 100%);
  margin-bottom: 30px;
}

.two-col {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.media-split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.image-card,
.wide-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.image-card {
  aspect-ratio: 16 / 10;
}

.wide-image {
  aspect-ratio: 16 / 7;
  margin-top: 28px;
}

.glass-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(220,225,234,.86);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  padding: 22px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card,
.module-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.module-card {
  min-height: 232px;
  display: flex;
  flex-direction: column;
}

.module-card p,
.card p {
  color: var(--muted);
  line-height: 1.55;
}

.module-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 850;
}

.icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--blue);
  background: #eef3ff;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #434852;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.problem-list {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.client-section {
  background: #101827;
  color: #fff;
}

.client-section .lead,
.client-section p { color: #cbd5e1; }

.client-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.page-hero {
  padding: 76px 0 46px;
  background: linear-gradient(180deg, #f7f9ff, #fff);
}

.page-hero .lead { max-width: 790px; }

.feature-band {
  background: var(--soft);
}

.dark-band {
  background:
    radial-gradient(circle at 84% 18%, rgba(35,88,255,.22), transparent 28%),
    linear-gradient(135deg, #0b1220, #111827);
  color: #fff;
}

.dark-band .lead,
.dark-band p,
.dark-band .check-list li {
  color: #cbd5e1;
}

.dark-band .card {
  color: var(--ink);
}

.pricing-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.price-card strong {
  display: block;
  margin: 8px 0;
  font-size: 38px;
}

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

.resource-link {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.resource-link strong { color: var(--blue); }
.resource-link span { color: var(--muted); }

.site-footer {
  padding: 54px 0 28px;
  color: #d7dde8;
  background: #0b1220;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 28px;
}

.site-footer .brand { color: #fff; }
.site-footer p { color: #b7c0ce; line-height: 1.55; }

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #b7c0ce;
  font-size: 14px;
}

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

.footer-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 980px) {
  .menu-button { display: inline-grid; place-items: center; }
  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
  }
  .nav.is-open { display: grid; }
  .nav > a,
  .nav summary { width: 100%; justify-content: flex-start; }
  .nav details { width: 100%; }
  .dropdown {
    position: static;
    min-width: 0;
    box-shadow: none;
    margin: 4px 0 8px;
  }
  .hero-grid,
  .two-col,
  .media-split,
  .client-box {
    grid-template-columns: 1fr;
  }
  .metrics,
  .grid.three,
  .grid.four,
  .pricing-panel,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav-shell { height: 68px; }
  .nav { top: 68px; }
  .hero { padding-top: 54px; }
  h1 { font-size: 44px; }
  .lead { font-size: 18px; }
  .hero-grid { gap: 34px; }
  .metrics,
  .dashboard-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .pricing-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-cta .button-primary { display: none; }
  .workspace-main { padding: 12px; }
  .client-box { gap: 10px; }
  .footer-bottom {
    display: grid;
  }
}
