:root {
  --navy-950: #071326;
  --navy-900: #0a1b35;
  --navy-800: #10284a;
  --blue-700: #0a4fa8;
  --blue-600: #1268d3;
  --blue-500: #2586ef;
  --blue-100: #dceeff;
  --blue-50: #f2f8ff;
  --ink: #10213b;
  --muted: #52647c;
  --line: #d9e2ee;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --green: #18875d;
  --shadow-sm: 0 10px 30px rgba(17, 42, 78, 0.08);
  --shadow-lg: 0 28px 80px rgba(5, 25, 56, 0.18);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 238, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1240px, calc(100% - 40px));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-900);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

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

.brand-name {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.1;
}

.brand-subtitle {
  color: #6b7a90;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-tabs {
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.product-tab {
  padding: 9px 14px;
  color: #53647a;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.product-tab:hover,
.product-tab:focus-visible {
  color: var(--navy-900);
  background: #fff;
}

.product-tab.is-active {
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 5px 14px rgba(8, 31, 65, 0.17);
}

.hero {
  overflow: hidden;
}

.hero-product {
  position: relative;
  padding: 92px 0 84px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(35, 132, 237, 0.42), transparent 34%),
    radial-gradient(circle at 18% 110%, rgba(34, 105, 211, 0.28), transparent 38%),
    linear-gradient(135deg, var(--navy-950) 0%, #0a2142 58%, #0b315c 100%);
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 48%, #000 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 66px;
}

.hero-grid > * {
  min-width: 0;
}

.hero-product h1 {
  font-size: clamp(2.75rem, 4.2vw, 4rem);
}

.hero-content {
  max-width: 590px;
}

.eyebrow,
.mini-eyebrow,
.capability-kicker,
.plan-label {
  margin: 0 0 14px;
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-product .eyebrow,
.license-card .plan-label,
.final-cta .eyebrow {
  color: #67b3ff;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.8rem, 5.3vw, 4.75rem);
  max-width: 720px;
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.35rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #c4d4e8;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}

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

.btn:focus-visible,
.product-tab:focus-visible,
.text-link:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(37, 134, 239, 0.34);
  outline-offset: 3px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  box-shadow: 0 13px 28px rgba(18, 104, 211, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 17px 34px rgba(18, 104, 211, 0.4);
}

.btn-secondary {
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-light {
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.btn-block {
  width: 100%;
  margin-top: auto;
}

.btn-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.text-link {
  padding: 9px 2px;
  color: #aecdff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: #fff;
}

.trust-list {
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.trust-list li {
  padding: 7px 11px;
  color: #c6d7eb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background: #f8fbff;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.window-bar {
  height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5a6980;
  background: #edf3fa;
  border-bottom: 1px solid #d8e2ee;
  border-radius: 16px 16px 0 0;
}

.window-bar span {
  width: 8px;
  height: 8px;
  background: #9cafc3;
  border-radius: 50%;
}

.window-bar strong {
  margin-left: 6px;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.69 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 0 16px 16px;
}

.visual-note {
  position: absolute;
  padding: 9px 12px;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid rgba(145, 168, 196, 0.5);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(2, 19, 43, 0.2);
  font-size: 0.68rem;
  font-weight: 800;
}

.visual-note::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
  background: var(--green);
  border-radius: 50%;
}

.visual-note-top {
  top: 56px;
  right: -24px;
}

.visual-note-bottom {
  bottom: 24px;
  left: -25px;
}

.outcome-strip {
  padding: 23px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.outcome-grid div {
  padding: 4px 30px;
  display: grid;
  gap: 2px;
  border-right: 1px solid var(--line);
}

.outcome-grid div:first-child {
  padding-left: 0;
}

.outcome-grid div:last-child {
  border-right: 0;
}

.outcome-grid strong {
  font-size: 0.88rem;
}

.outcome-grid span {
  color: var(--muted);
  font-size: 0.78rem;
}

.section {
  padding: 108px 0;
}

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

.section-heading h2 + p,
.section-copy {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.heading-wide {
  max-width: 850px;
}

.section-workflow {
  background: #fff;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.workflow-card {
  position: relative;
  min-height: 250px;
  padding: 29px 25px 25px;
  border-right: 1px solid var(--line);
}

.workflow-card:last-child {
  border-right: 0;
}

.workflow-card::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 34px;
  right: -12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.workflow-card:last-child::after {
  display: none;
}

.step-number {
  margin-bottom: 37px;
  display: block;
  color: var(--blue-600);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.workflow-card p,
.capability-card p,
.process-result p,
.pricing-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.process-showcase {
  margin-top: 30px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 70px minmax(270px, 0.72fr);
  align-items: center;
  gap: 24px;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
}

.process-image {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
}

.image-label {
  padding: 11px 14px;
  color: #cbd8ea;
  background: #10294c;
  font-size: 0.72rem;
  font-weight: 700;
}

.process-image img {
  width: 100%;
  aspect-ratio: 2.28 / 1;
  object-fit: cover;
  object-position: top left;
}

.process-connector {
  position: relative;
  display: grid;
  place-items: center;
}

.process-connector::before,
.process-connector::after {
  content: "";
  position: absolute;
  top: 50%;
}

.process-connector::before {
  left: -18px;
  right: -18px;
  height: 1px;
  background: #4a668a;
}

.process-connector::after {
  right: -18px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #8eb9ee;
  border-right: 1px solid #8eb9ee;
  transform: translateY(-45%) rotate(45deg);
}

.process-connector span {
  z-index: 1;
  padding: 5px 7px;
  color: #aecdff;
  background: var(--navy-900);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-result h3 {
  font-size: 1.48rem;
}

.mini-eyebrow {
  color: #67b3ff !important;
}

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

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.83rem;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #3ca8ff;
  font-weight: 900;
}

.section-capabilities {
  background: var(--surface-alt);
  border-top: 1px solid #e6edf6;
  border-bottom: 1px solid #e6edf6;
}

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

.capability-card {
  min-height: 260px;
  padding: 29px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(27, 56, 91, 0.035);
}

.capability-featured {
  grid-row: span 2;
  color: #fff;
  background: linear-gradient(150deg, #0b1e3c, #113f72);
  border-color: #173c69;
}

.capability-featured .capability-kicker {
  color: #72b8ff;
}

.capability-featured p {
  color: #c6d6e9;
}

.capability-kicker {
  display: block;
}

.capability-card code {
  padding: 1px 5px;
  color: #164d8e;
  background: #edf6ff;
  border-radius: 5px;
  font-family: "Consolas", monospace;
  font-size: 0.84em;
}

.logic-illustration {
  position: relative;
  min-height: 210px;
  margin-top: 37px;
  padding: 26px 18px 26px 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  color: #98caff;
  background: rgba(1, 13, 31, 0.28);
  border: 1px solid rgba(140, 188, 239, 0.16);
  border-radius: 14px;
  font-family: "Consolas", monospace;
  font-size: clamp(0.78rem, 1.5vw, 1rem);
}

.logic-illustration::before,
.logic-illustration::after {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: #4c91da;
}

.logic-illustration::before { left: 22px; }
.logic-illustration::after { right: 22px; }

.section-collaboration {
  background: #fff;
}

.collaboration-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  align-items: center;
  gap: 80px;
}

.check-list-large {
  margin-top: 29px;
  gap: 15px;
}

.check-list-large li {
  color: #354a65;
  font-size: 0.94rem;
}

.data-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #cad7e6;
  border-radius: 17px;
  box-shadow: 0 28px 70px rgba(20, 49, 84, 0.14);
}

.data-card-header {
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  background: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 700;
}

.data-card-header span:last-child {
  color: #a8c8ef;
}

.data-row {
  min-width: 520px;
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.75fr 1fr;
  border-bottom: 1px solid #e1e8f1;
}

.data-row span {
  padding: 11px 12px;
  overflow: hidden;
  border-right: 1px solid #e1e8f1;
  font-family: "Consolas", monospace;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-row span:last-child {
  border-right: 0;
}

.data-head {
  color: #486077;
  background: #eef4fa;
  font-weight: 700;
}

.data-status {
  padding: 13px 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #496079;
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
}

.data-status span {
  width: 8px;
  height: 8px;
  background: #25a56f;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37, 165, 111, 0.12);
}

.section-pricing {
  color: #fff;
  background:
    radial-gradient(circle at 85% 5%, rgba(35, 132, 237, 0.24), transparent 30%),
    var(--navy-950);
}

.section-pricing .section-heading > p:last-child {
  color: #aebfd5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 930px;
}

.pricing-card {
  min-height: 490px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
}

.trial-card {
  color: var(--ink);
  background: #fff;
}

.license-card {
  color: #fff;
  background: linear-gradient(145deg, #0d5db4, #123c77);
  border: 1px solid #397cc2;
}

.license-card .plan-summary {
  color: #ccdef1;
}

.license-card .price-tag {
  margin: 14px 0 2px !important;
  color: #fff !important;
  font-size: 2.15rem;
}

.price-note {
  margin: 0 0 18px;
  color: #d8e8f8;
  font-size: 0.88rem;
  font-weight: 700;
}

.license-contact {
  margin: 15px 0 0;
  color: #ccdef1;
  font-size: 0.85rem;
  text-align: center;
}

.license-contact a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-card h3 {
  font-size: 1.85rem;
}

.pricing-card .check-list {
  margin-bottom: 34px;
}

.section-faq {
  background: var(--surface-alt);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 23px 38px 23px 0;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  margin-right: -30px;
  color: var(--blue-600);
  font-size: 1.25rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -6px 0 22px;
  padding-right: 38px;
  color: var(--muted);
  font-size: 0.9rem;
}

.final-cta {
  padding: 72px 0;
  color: #fff;
  background: linear-gradient(115deg, #0f315c, #0b1d38);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta h2 {
  max-width: 720px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.final-cta .hero-actions {
  margin-top: 0;
  flex: 0 0 auto;
}

.site-footer {
  padding: 58px 0 28px;
}

.site-footer-dark {
  color: #aebdd0;
  background: #061122;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.brand-footer {
  color: #fff;
}

.brand-footer img {
  width: 38px;
  height: 38px;
}

.footer-grid p {
  margin: 15px 0 0;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px 25px;
}

.footer-links a {
  color: #c7d3e1;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

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

.footer-legal {
  margin-top: 38px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  border-top: 1px solid #1e2c41;
  font-size: 0.69rem;
}

.footer-legal p {
  max-width: 710px;
  margin: 0;
  text-align: right;
}

/* Secondary product and information pages */
.page-hero {
  padding: 82px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950), #0f3564);
}

.page-hero .hero-copy {
  max-width: 760px;
}

.page-content {
  padding: 90px 0;
}

.service-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(43, 137, 239, 0.32), transparent 34%),
    linear-gradient(135deg, var(--navy-950), #0d315c);
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.service-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
  align-items: center;
  gap: 76px;
}

.service-hero h1 {
  max-width: 780px;
  font-size: clamp(2.75rem, 5vw, 4.55rem);
}

.scope-board {
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.scope-board-header,
.scope-board-footer {
  padding: 13px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5c6d82;
  background: #eef4fa;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scope-row {
  padding: 16px 17px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #dfe7f0;
}

.scope-index {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 7px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.67rem;
  font-weight: 800;
}

.scope-row strong {
  font-size: 0.85rem;
}

.scope-row small {
  color: #6a7b90;
  font-size: 0.66rem;
  font-weight: 700;
}

.scope-board-footer {
  justify-content: flex-start;
  gap: 9px;
  border-top: 1px solid #dfe7f0;
  letter-spacing: 0;
  text-transform: none;
}

.scope-board-footer span {
  width: 8px;
  height: 8px;
  background: #25a56f;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37, 165, 111, 0.12);
}

.service-overview {
  background: #fff;
}

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

.service-detail-card {
  min-height: 465px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-detail-accent {
  color: #fff;
  background: linear-gradient(145deg, #0b1f3c, #11477e);
  border-color: #28598c;
}

.service-card-top {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-card-top .capability-kicker {
  margin: 0;
}

.service-number {
  color: #8ca0b7;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
}

.service-detail-card h3 {
  font-size: 1.62rem;
}

.service-detail-card > p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-detail-accent > p {
  color: #c5d7ea;
}

.service-detail-accent .capability-kicker {
  color: #78bdff;
}

.service-list {
  margin: 25px 0 0;
  padding: 21px 0 0;
  display: grid;
  gap: 11px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 21px;
  color: #43566e;
  font-size: 0.82rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 7px;
  height: 2px;
  background: var(--blue-600);
}

.service-detail-accent .service-list {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.service-detail-accent .service-list li {
  color: #d4e1ef;
}

.service-detail-accent .service-list li::before {
  background: #65b4ff;
}

.deliverable-band {
  background: var(--surface-alt);
  border-top: 1px solid #e6edf6;
  border-bottom: 1px solid #e6edf6;
}

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

.deliverables-grid article {
  min-height: 260px;
  padding: 29px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.deliverables-grid article > span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.deliverables-grid p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.engagement-section {
  background: #fff;
}

.engagement-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.62fr);
  align-items: start;
  gap: 76px;
}

.engagement-grid {
  margin-top: 34px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.engagement-grid article {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.engagement-grid strong {
  font-size: 0.84rem;
}

.engagement-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.rate-panel {
  padding: 35px;
  color: #fff;
  background: linear-gradient(145deg, #0c5bad, #123b74);
  border: 1px solid #3d7fc2;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.rate-panel .plan-label {
  color: #8dccff;
}

.rate-panel h3 {
  font-size: 1.72rem;
}

.rate-panel > p:not(.plan-label) {
  margin: 16px 0 0;
  color: #d2e2f2;
  font-size: 0.87rem;
}

.rate-panel .check-list {
  margin-bottom: 31px;
}

.service-grid,
.features,
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.card,
.payments {
  padding: 28px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card p,
.card p,
.payments p {
  margin: 12px 0 0;
  color: var(--muted);
}

.service-card ul,
.includes-list {
  color: var(--muted);
}

.legacy-page main,
.download-page main {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.legacy-page .hero,
.download-page .hero {
  padding: 44px;
  color: var(--ink);
  background: linear-gradient(140deg, #eef6ff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.legacy-page .hero .eyebrow,
.download-page .hero .eyebrow {
  color: var(--blue-600);
}

.legacy-page .hero-copy,
.download-page .hero-copy {
  color: var(--muted);
}

.legacy-page .btn-secondary,
.download-page .btn-secondary,
.service-page .btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.features,
.products,
.screenshots,
.payments {
  margin-top: 20px;
}

.screenshots {
  display: grid;
  gap: 20px;
}

.screenshot-card img {
  width: 100%;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.price-tag {
  margin-top: 8px !important;
  color: var(--blue-700) !important;
  font-size: 1.65rem;
  font-weight: 800;
}

.contact-link,
.header-link {
  color: var(--blue-600);
  font-weight: 800;
}

.tools-hero-panel {
  min-width: 0;
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.hero-tool-card {
  min-width: 0;
  min-height: 124px;
  padding: 22px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid rgba(166, 189, 216, 0.56);
  border-radius: 15px;
  box-shadow: 0 16px 32px rgba(2, 19, 43, 0.16);
}

.hero-tool-card > div {
  min-width: 0;
}

.hero-tool-card:nth-child(2) {
  background: linear-gradient(135deg, #f7fbff, #eaf5ff);
}

.tool-index {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue-600);
  border-radius: 12px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-tool-card p {
  margin: 0 0 7px;
  color: var(--blue-700);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-tool-card strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hero-tool-card code {
  padding: 3px 6px;
  color: #123d71;
  background: #e8f3ff;
  border-radius: 5px;
  font-size: 0.92em;
}

.hero-panel-status {
  padding: 4px 7px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c7d8eb;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-panel-status span,
.legacy-workflow-status span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: #34c98a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(52, 201, 138, 0.15);
}

.tools-overview-section {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

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

.tool-product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.tool-product-card:hover {
  border-color: #b8cee6;
  box-shadow: 0 20px 48px rgba(17, 42, 78, 0.12);
}

.tool-product-media {
  padding: 16px 16px 0;
  background: linear-gradient(145deg, #eaf3fd, #f8fbff);
}

.tool-product-media .window-bar {
  border: 1px solid #d7e3f0;
  border-bottom: 0;
}

.tool-product-media img {
  width: 100%;
  aspect-ratio: 1.88 / 1;
  object-fit: cover;
  object-position: center top;
  border: 1px solid #d7e3f0;
  border-radius: 0 0 11px 11px;
}

.tool-product-content {
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.tool-product-content > p {
  margin: 17px 0 5px;
  color: var(--muted);
}

.tool-product-content .check-list {
  margin-bottom: 26px;
}

.tool-product-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.product-badge {
  padding: 5px 8px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-badge-green {
  color: #116543;
  background: #dff6ec;
}

.product-price {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 11px;
  border-top: 1px solid var(--line);
}

.product-price strong {
  color: var(--navy-900);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.7rem;
}

.product-price span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-card-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-outline {
  color: var(--navy-900);
  background: #fff;
  border-color: #b7c8dc;
}

.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
}

.legacy-preview {
  min-height: 244px;
  margin: 16px 16px 0;
  padding: 18px;
  display: grid;
  align-content: center;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 40, 74, 0.035) 1px, transparent 1px),
    #f7fbff;
  background-size: 100% 36px;
  border: 1px solid #d7e3f0;
  border-radius: 12px;
}

.legacy-preview > div {
  min-width: 0;
  padding: 12px 10px;
  display: grid;
  grid-template-columns: minmax(125px, 0.9fr) minmax(170px, 1.2fr) 54px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #dce6f1;
  font-size: 0.72rem;
}

.legacy-preview > div:last-child {
  border-bottom: 0;
}

.legacy-preview-head {
  color: #65758a;
  font-size: 0.64rem !important;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legacy-preview code,
.legacy-workflow-row code {
  color: #234d7a;
  font-weight: 700;
}

.legacy-preview strong,
.legacy-workflow-row strong {
  overflow-wrap: anywhere;
  font-size: 0.71rem;
}

.mapping-ok {
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 800;
}

.legacy-tool-section {
  background: linear-gradient(145deg, #f8fbff 0%, #edf6ff 100%);
  border-block: 1px solid #d9e7f5;
}

.legacy-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: 68px;
}

.legacy-tool-grid .section-copy {
  max-width: 720px;
}

.legacy-feature-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.legacy-feature-grid article {
  padding: 17px;
  display: grid;
  gap: 5px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d8e5f2;
  border-radius: 12px;
}

.legacy-feature-grid strong {
  color: var(--navy-900);
  font-size: 0.84rem;
}

.legacy-feature-grid span {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.legacy-license-line {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.legacy-license-line strong {
  color: var(--navy-900);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.35rem;
}

.legacy-license-line span {
  color: var(--muted);
  font-size: 0.78rem;
}

.legacy-actions {
  margin-top: 18px;
}

.legacy-workflow-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid #cbdced;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(17, 42, 78, 0.14);
}

.legacy-workflow-head {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #fff;
  background: var(--navy-900);
}

.legacy-workflow-head span {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.legacy-workflow-head small {
  color: #bcd4ee;
  font-weight: 700;
}

.legacy-workflow-labels,
.legacy-workflow-row {
  padding: 13px 18px;
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) minmax(180px, 1.2fr) 38px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e0e8f1;
}

.legacy-workflow-labels {
  color: #66778c;
  background: #f4f8fc;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legacy-workflow-row {
  font-size: 0.72rem;
}

.legacy-workflow-row > span {
  color: var(--blue-700);
  font-weight: 800;
  text-align: center;
}

.legacy-workflow-status {
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #496178;
  background: #f7fbff;
  font-size: 0.72rem;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .header-inner {
    padding: 13px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
  }

  .brand {
    align-self: center;
  }

  .product-tabs {
    justify-content: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-content {
    max-width: 760px;
  }

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

  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-card:nth-child(2) {
    border-right: 0;
  }

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

  .workflow-card:nth-child(2)::after {
    display: none;
  }

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

  .collaboration-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .service-hero-grid,
  .engagement-layout {
    grid-template-columns: 1fr;
  }

  .scope-board {
    max-width: 720px;
  }

  .data-card {
    overflow-x: auto;
  }

  .tool-product-grid,
  .legacy-tool-grid {
    grid-template-columns: 1fr;
  }

  .legacy-workflow-panel {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .shell,
  .header-inner,
  .legacy-page main,
  .download-page main {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: static;
  }

  .brand-subtitle {
    display: none;
  }

  .product-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .product-tab {
    padding: 9px 11px;
    font-size: 0.75rem;
  }

  .hero-product {
    padding: 62px 0 56px;
  }

  .hero-grid {
    width: 100%;
    gap: 42px;
  }

  .hero-product .shell {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .visual-note {
    display: none;
  }

  .hero-visual {
    transform: none;
  }

  .tools-hero-panel {
    padding: 16px;
  }

  .hero-tool-card {
    min-height: 0;
    padding: 18px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .tool-index {
    width: 38px;
    height: 38px;
  }

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

  .outcome-grid div,
  .outcome-grid div:first-child {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .outcome-grid div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .workflow-steps,
  .capability-grid,
  .tool-product-grid,
  .pricing-grid,
  .faq-grid,
  .service-grid,
  .service-detail-grid,
  .deliverables-grid,
  .features,
  .products {
    grid-template-columns: 1fr;
  }

  .tool-product-content {
    padding: 24px 21px;
  }

  .legacy-preview {
    overflow-x: auto;
  }

  .legacy-preview > div,
  .legacy-workflow-labels,
  .legacy-workflow-row {
    min-width: 540px;
  }

  .legacy-feature-grid {
    grid-template-columns: 1fr;
  }

  .legacy-workflow-panel {
    overflow-x: auto;
  }

  .product-card-actions .btn,
  .legacy-actions .btn {
    width: 100%;
  }

  .service-hero {
    padding: 64px 0;
  }

  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .scope-row {
    grid-template-columns: 34px 1fr;
  }

  .scope-row small {
    display: none;
  }

  .service-detail-card {
    min-height: 0;
    padding: 27px 23px;
  }

  .engagement-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .engagement-grid article {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .rate-panel {
    padding: 29px 24px;
  }

  .workflow-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-card:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .workflow-card::after {
    display: none;
  }

  .step-number {
    margin-bottom: 20px;
  }

  .process-showcase {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .process-connector {
    height: 45px;
  }

  .process-connector::before {
    top: -5px;
    bottom: -5px;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
  }

  .process-connector::after {
    right: auto;
    bottom: -4px;
    top: auto;
    left: calc(50% - 4px);
    transform: rotate(135deg);
  }

  .process-connector span {
    padding: 5px 8px;
  }

  .capability-featured {
    grid-row: auto;
  }

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

  .pricing-card {
    min-height: 0;
    padding: 30px 25px;
  }

  .faq-grid {
    gap: 35px;
  }

  .final-cta-inner,
  .footer-grid,
  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta .hero-actions {
    margin-top: 4px;
  }

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

  .footer-legal p {
    text-align: left;
  }

  .legacy-page .hero,
  .download-page .hero {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
