:root {
  --ink: #102033;
  --muted: #5f6f82;
  --line: #d8e1ea;
  --navy: #0f2b5b;
  --teal: #0d9488;
  --gold: #c58a25;
  --rose: #b64b6b;
  --green: #3f8f55;
  --paper: #f7fafc;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(16, 32, 51, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(216,225,234,.8);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 190px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 10px 13px;
  border-radius: 7px;
  color: #304357;
  font-size: 14px;
  font-weight: 650;
}
.site-nav a:hover { background: #eef5f7; color: var(--navy); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); border-radius: 7px; }
.nav-toggle span { display: block; height: 2px; width: 19px; margin: 4px auto; background: var(--ink); }

.section, .section-band { padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 56px); }
.section { max-width: 1240px; margin: 0 auto; }
.section.alt { max-width: none; background: var(--paper); }
.section.alt > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head h2, .contact h2 { margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.04; letter-spacing: 0; }
.section-head p:last-child { color: var(--muted); font-size: 18px; }
.eyebrow { color: var(--teal); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; margin: 0 0 12px; }

.hero {
  min-height: calc(100vh - 71px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  background:
    linear-gradient(120deg, rgba(15,43,91,.96), rgba(13,148,136,.82)),
    radial-gradient(circle at top right, rgba(197,138,37,.4), transparent 35%);
  color: var(--white);
  overflow: hidden;
}
.hero h1 { max-width: 840px; margin: 0; font-size: clamp(46px, 7vw, 92px); line-height: .98; letter-spacing: 0; }
.hero-lede { max-width: 680px; color: #d7e7ee; font-size: clamp(18px, 2.3vw, 24px); }
.hero-actions, .contact-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 7px;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn.primary { background: var(--teal); color: var(--white); }
.btn.secondary { background: rgba(255,255,255,.12); color: inherit; border-color: rgba(255,255,255,.28); }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 720px; margin: 42px 0 0; }
.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  border-radius: 8px;
}
.hero-metrics dt { font-size: 29px; font-weight: 900; }
.hero-metrics dd { margin: 2px 0 0; color: #d7e7ee; font-size: 13px; }

.hero-visual { position: relative; min-height: 590px; }
.suite-orbit {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(100%, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
}
.suite-orbit::before, .suite-orbit::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px dashed rgba(255,255,255,.24);
  border-radius: 50%;
}
.suite-orbit::after { inset: 31%; }
.suite-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112px;
  padding: 10px 8px;
  text-align: center;
  border-radius: 7px;
  background: rgba(255,255,255,.94);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  transform: rotate(calc(var(--i) * 51.4deg)) translate(222px) rotate(calc(var(--i) * -51.4deg)) translate(-50%, -50%);
  box-shadow: var(--shadow);
}
.suite-orbit .core-node {
  width: 136px;
  min-height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #201305;
  transform: translate(-50%, -50%);
}
.dashboard-preview {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: min(92%, 460px);
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.preview-top { display: flex; gap: 7px; margin-bottom: 14px; }
.preview-top span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.preview-panel, .preview-bars { min-height: 96px; border-radius: 7px; background: #eef5f7; padding: 14px; }
.preview-panel.wide { grid-column: span 2; }
.preview-panel strong { display: block; font-size: 34px; color: var(--navy); }
.preview-panel span { color: var(--muted); font-size: 13px; }
.preview-bars { display: flex; align-items: end; gap: 8px; }
.preview-bars span { flex: 1; background: var(--teal); border-radius: 6px 6px 0 0; }
.preview-bars span:nth-child(1){height:38%}.preview-bars span:nth-child(2){height:64%;background:var(--gold)}.preview-bars span:nth-child(3){height:82%;background:var(--rose)}.preview-bars span:nth-child(4){height:54%;background:var(--green)}

.feature-grid, .bundle-grid, .persona-grid, .kpi-grid, .health-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-grid article, .bundle-grid article, .persona-grid article, .health-stack article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.2; }
p { margin-top: 0; }
.feature-grid p, .bundle-grid p, .persona-grid p, .health-stack p, .timeline p, .product-copy p { color: var(--muted); }

.product-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 22px; }
.tab {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--white);
  color: #33465a;
  border-radius: 7px;
  padding: 10px 13px;
  font-weight: 800;
  cursor: pointer;
}
.tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.product-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 26px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(16, 32, 51, .06);
}
.product-copy h3 { font-size: clamp(28px, 3vw, 42px); margin: 0 0 12px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.product-meta span { padding: 8px 10px; border-radius: 7px; background: #eef5f7; color: #31485d; font-weight: 750; font-size: 13px; }
.product-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 22px 0; list-style: none; }
.product-features li { padding: 12px; border-radius: 7px; background: var(--paper); color: #33465a; font-weight: 650; }
.pricing-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.price-box { padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.price-box strong { display: block; color: var(--navy); font-size: 25px; }
.mock-screen {
  min-height: 440px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(160deg, #fdfefe, #eaf2f6);
  border: 1px solid var(--line);
}
.mock-toolbar { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mock-toolbar span { height: 34px; border-radius: 7px; background: #dfe9ef; }
.mock-toolbar span:first-child { width: 42%; }
.mock-toolbar span:last-child { width: 25%; background: var(--teal); }
.mock-content { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-stat, .mock-list, .mock-chart { padding: 16px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.mock-stat strong { display: block; font-size: 30px; color: var(--navy); }
.mock-list { grid-row: span 2; }
.mock-line { height: 11px; margin: 12px 0; border-radius: 999px; background: #dce7ee; }
.mock-line:nth-child(2n) { width: 72%; background: #c8d8e2; }
.mock-chart { min-height: 170px; display: flex; gap: 10px; align-items: end; }
.mock-chart span { flex: 1; border-radius: 6px 6px 0 0; background: var(--teal); }
.mock-chart span:nth-child(1){height:44%}.mock-chart span:nth-child(2){height:70%;background:var(--gold)}.mock-chart span:nth-child(3){height:52%;background:var(--rose)}.mock-chart span:nth-child(4){height:86%;background:var(--green)}

.architecture { border: 1px solid var(--line); border-radius: 8px; padding: 24px; background: var(--white); box-shadow: var(--shadow); }
.arch-core { display: grid; place-items: center; min-height: 130px; border-radius: 8px; background: var(--navy); color: var(--white); text-align: center; padding: 22px; }
.arch-core strong { font-size: 27px; }
.arch-core span { color: #d7e7ee; }
.arch-products { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.arch-products span { padding: 12px 8px; border-radius: 7px; background: var(--paper); text-align: center; font-weight: 800; color: #31485d; }
.health-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }

.bundle-grid article strong { display: block; font-size: 30px; color: var(--navy); }
.bundle-grid article span { display: inline-block; margin-top: 8px; color: var(--teal); font-weight: 900; }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.timeline article { padding: 20px; border-left: 4px solid var(--teal); background: var(--paper); border-radius: 0 8px 8px 0; }
.timeline span { display: block; margin-bottom: 10px; color: var(--teal); font-weight: 900; }
.persona-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.persona-grid b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); margin-bottom: 14px; }
.kpi-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.kpi-grid div { padding: 22px; border-radius: 8px; background: var(--navy); color: var(--white); }
.kpi-grid strong { display: block; font-size: 30px; }
.kpi-grid span { color: #d7e7ee; font-size: 13px; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: center;
  background: #13233a;
  color: var(--white);
}
.contact p:not(.eyebrow) { color: #d7e7ee; font-size: 18px; }
.contact-panel {
  align-content: start;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
}
.contact-panel span { color: #d7e7ee; font-weight: 800; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 1020px) {
  .hero, .product-card, .contact { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .feature-grid, .bundle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline, .persona-grid, .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .hero { min-height: auto; }
  .hero-metrics, .feature-grid, .bundle-grid, .health-stack, .timeline, .persona-grid, .kpi-grid, .pricing-row, .product-features, .mock-content { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; }
  .suite-orbit { width: 350px; right: -58px; }
  .suite-orbit span { width: 84px; transform: rotate(calc(var(--i) * 51.4deg)) translate(140px) rotate(calc(var(--i) * -51.4deg)) translate(-50%, -50%); font-size: 10px; }
  .suite-orbit .core-node { width: 104px; min-height: 72px; transform: translate(-50%, -50%); }
  .dashboard-preview { width: 100%; bottom: 0; }
  .arch-products { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}
