:root {
  --ink: #172530;
  --muted: #60727f;
  --paper: #f5f8fa;
  --panel: #ffffff;
  --line: #d9e4ea;
  --deep: #102632;
  --teal: #19a89b;
  --green: #62b36f;
  --amber: #d9a13a;
  --blue: #3d78c8;
  --rose: #c65e6b;
  --shadow: 0 18px 46px rgba(18, 38, 50, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, rgba(25,168,155,.10), rgba(217,161,58,.08) 48%, rgba(61,120,200,.10)), var(--paper);
  letter-spacing: 0;
}

a { color: inherit; }
.container {
  width: min(100% - 40px, 1280px);
  max-width: 1280px;
  margin: 0 auto;
}
.narrow { max-width: 980px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}
.logo span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #0e252d;
  background: linear-gradient(135deg, #69d9c4, #f0ca76);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.main-nav a {
  padding: 9px 10px;
  border-radius: 8px;
  color: #314b59;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.main-nav a:hover {
  color: #09252d;
  background: #e8f6f3;
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-primary {
  color: #09252d;
  background: linear-gradient(135deg, #63d9c3, #f1c96f);
}
.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}
.btn-small { min-height: 40px; padding-inline: 14px; }

.hero {
  padding: 78px 0 44px;
}
.hero-grid,
.split,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 13px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}
h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.25;
}
p, li, summary {
  color: var(--muted);
  line-height: 1.72;
}
.hero-lead {
  max-width: 780px;
  color: #405563;
  font-size: 19px;
}
.hero-actions,
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.hero-facts span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 24px rgba(18,38,50,.08);
}
.hero-facts b { display: block; color: var(--ink); font-size: 22px; }

.dashboard-card,
.service-card,
.entity-map,
.refresh-card,
.analytics-card,
.legal-panel,
.cards article,
.pricing-grid article,
.quality-grid div,
.cluster-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.dashboard-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(235,248,246,.92));
}
.dash-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  font-weight: 850;
}
.dash-head b {
  padding: 6px 9px;
  border-radius: 8px;
  background: #f6e4b9;
}
.readiness-ring {
  width: 176px;
  height: 176px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: conic-gradient(var(--teal), var(--green), var(--amber), #d8e5ea 0);
}
.readiness-ring span,
.readiness-ring strong { display: block; }
.dash-metrics,
.metric-board,
.quality-grid,
.cluster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.dash-metrics div,
.metric-board div {
  padding: 14px;
  border-radius: 8px;
  background: #f2f8f8;
}
.dash-metrics b,
.metric-board strong {
  display: block;
  font-size: 24px;
  color: var(--ink);
}
.bar-chart,
.axis {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  min-height: 105px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  background: #edf5f5;
}
.bar-chart i,
.axis i {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.section {
  padding: clamp(44px, 6vw, 82px) 0;
}
.section.tinted {
  background: rgba(255,255,255,.42);
  border-block: 1px solid rgba(217,228,234,.65);
}
.service-card,
.entity-map,
.refresh-card,
.analytics-card,
.legal-panel {
  padding: 22px;
}
.service-card ul { padding-left: 20px; margin-bottom: 0; }
.cards {
  display: grid;
  gap: 16px;
}
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards article { padding: 20px; transition: transform .18s ease, box-shadow .18s ease; }
.cards article:hover,
.pricing-grid article:hover,
.cluster-grid div:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(18,38,50,.16);
}
.process-grid {
  display: grid;
  gap: 16px;
}
.process-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18,38,50,.09);
}
.process-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal);
  font-weight: 900;
}

.compare-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.table-row {
  display: grid;
  grid-template-columns: .7fr 1fr 1.4fr;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.table-row.head {
  color: #fff;
  background: linear-gradient(90deg, var(--deep), #20485b);
  font-weight: 850;
}
.entity-map,
.schema-boxes,
.link-grid,
.answer-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.entity-map span,
.schema-boxes code,
.link-grid a,
.answer-steps span,
.legal-panel a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #294757;
  text-decoration: none;
  font-weight: 800;
}
.schema-boxes code {
  font-family: "Segoe UI", Arial, sans-serif;
}
.cluster-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cluster-grid div,
.quality-grid div { padding: 18px; }
.content-pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.content-pipeline span {
  flex: 1 1 118px;
  padding: 15px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 850;
}
.content-pipeline i {
  flex: 0 0 24px;
  width: 24px;
  height: 2px;
  background: var(--teal);
}
.answer-steps span {
  background: #eef8f6;
}
.schema-boxes {
  align-content: start;
}
.link-grid {
  margin-top: 20px;
}
.refresh-card {
  display: grid;
  gap: 10px;
}
.refresh-card b { font-size: 22px; }
.refresh-card span {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f1f7f8;
}
.timeline,
.roadmap {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline div,
.roadmap li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18,38,50,.08);
}
.analytics-card .axis {
  margin: 0 0 18px;
  min-height: 180px;
}
.axis i:nth-child(1) { height: 42%; }
.axis i:nth-child(2) { height: 57%; }
.axis i:nth-child(3) { height: 69%; }
.axis i:nth-child(4) { height: 62%; }
.axis i:nth-child(5) { height: 84%; }
.quality-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pricing-grid article {
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pricing-grid b {
  display: block;
  margin: 14px 0;
  font-size: 26px;
}
.pricing-grid .featured {
  border-color: rgba(25,168,155,.55);
  background: linear-gradient(180deg, #fff, #eefaf7);
}
.legal-panel {
  display: grid;
  gap: 10px;
}
.cta-section {
  color: #fff;
  background: linear-gradient(135deg, var(--deep), #254b3e 48%, #65501d);
}
.cta-section p,
.cta-section h2 { color: #edf8f5; }
.cta-grid { grid-template-columns: 1fr auto; }

.questions details {
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18,38,50,.07);
  overflow: hidden;
}
.questions summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 850;
}
.questions details p {
  padding: 0 20px 20px;
}

.site-footer {
  padding: 38px 0;
  color: #dfeeed;
  background: #102632;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr auto;
  gap: 28px;
  align-items: start;
}
.footer-grid p,
.footer-grid small { color: #b8ccd0; }
.footer-grid nav {
  display: grid;
  gap: 10px;
}
.footer-grid a { text-decoration: none; }
.footer-logo span { color: #102632; }
.footer-cta {
  display: grid;
  gap: 10px;
}

.legal-page {
  background: var(--paper);
}
.legal-main {
  max-width: 880px;
  padding: 56px 0 80px;
}
.legal-main h1 {
  font-size: clamp(34px, 5vw, 52px);
}
.legal-main h2 {
  margin-top: 32px;
  font-size: 28px;
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .hero-grid,
  .split,
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cards.four,
  .cards.three,
  .process-grid.four,
  .dash-metrics,
  .metric-board,
  .quality-grid,
  .pricing-grid,
  .cluster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1280px);
  }
  .header-inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .hero { padding-top: 42px; }
  .cards.four,
  .cards.three,
  .process-grid.four,
  .dash-metrics,
  .metric-board,
  .quality-grid,
  .pricing-grid,
  .cluster-grid,
  .table-row,
  .timeline div,
  .roadmap li,
  .content-pipeline {
    grid-template-columns: 1fr;
  }
  .content-pipeline i { display: none; }
  .btn { inline-size: 100%; }
}
