:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-subtle: #eef3f8;
  --ink: #122033;
  --muted: #526276;
  --line: #d8e0e8;
  --line-strong: #b9c6d2;
  --brand: #155eef;
  --brand-dark: #0b45bd;
  --navy: #0d1b2d;
  --success: #18794e;
  --warning-bg: #fff8e6;
  --warning-line: #ead7a4;
  --danger: #b42318;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(18, 32, 51, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.58 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
body::before { display: none; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; }
.wrap { width: min(calc(100% - 40px), 1180px); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 calc(50% - 50vw);
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(185, 198, 210, .75);
  background: rgba(247, 249, 252, .96);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: -.03em; }
.brandmark { width: 34px; height: 34px; flex: 0 0 34px; display: block; }
.brandmark img { width: 100%; height: 100%; display: block; }
.brand-name { font-size: 18px; }
.menu { display: flex; align-items: center; gap: 24px; }
.links { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 13px; }
.links a { padding: 10px 0 8px; border-bottom: 2px solid transparent; }
.links a:hover, .links a:focus-visible, .links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.actions, .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s, border-color .16s, color .16s;
}
.btn:hover { border-color: #8da0b3; background: #f3f6f9; }
.btn.primary { border-color: var(--brand); background: var(--brand); color: #fff; }
.btn.primary:hover { border-color: var(--brand-dark); background: var(--brand-dark); }
.btn.link { padding-inline: 0; border-color: transparent; background: transparent; color: var(--brand); }
.toggle { display: none; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; }

/* Typography and page rhythm */
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 780px; font-size: clamp(42px, 5.6vw, 68px); letter-spacing: -.052em; }
h2 { max-width: 760px; font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 20px; letter-spacing: -.02em; }
p { margin: 0; }
.eyebrow { margin-bottom: 16px; color: var(--brand); font-size: 13px; font-weight: 750; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
  padding: 80px 0 72px;
}
.hero-copy > p { max-width: 660px; margin-top: 24px; color: var(--muted); font-size: 18px; line-height: 1.62; }
.hero-actions { margin-top: 28px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: 12px; }
.section { padding: 76px 0; border-top: 1px solid var(--line); }
.section.compact { padding-block: 58px; }
.section-heading { max-width: 800px; margin-bottom: 34px; }
.section-heading > p { max-width: 680px; margin-top: 16px; color: var(--muted); }
.section-heading.row { max-width: none; display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: start; }
.section-heading.row .eyebrow { margin-top: 7px; }
.section-heading.row > div > p { max-width: 650px; margin-top: 16px; color: var(--muted); }
.final-cta { padding: 72px 0 86px; border-top: 1px solid var(--line); }
.final-cta p { max-width: 650px; margin-top: 18px; color: var(--muted); }

/* Product previews: explicitly illustrative, visually close to the product */
.product-preview { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.preview-bar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f1f5f9; }
.preview-bar strong { font-size: 12px; }
.preview-label { padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 10px; white-space: nowrap; }
.preview-shell { display: grid; grid-template-columns: 110px 1fr; min-height: 310px; }
.preview-nav { padding: 18px 12px; background: var(--navy); color: #aebdcb; font-size: 10px; }
.preview-nav b { display: block; margin-bottom: 20px; color: #fff; font-size: 12px; }
.preview-nav span { display: block; margin: 13px 0; }
.preview-nav .active { color: #fff; }
.preview-main { padding: 18px; }
.preview-title { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.preview-title strong { font-size: 15px; }
.preview-status { color: var(--success); font-size: 11px; font-weight: 700; }
.preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.preview-metric { padding: 12px; border: 1px solid var(--line); border-radius: 7px; }
.preview-metric span { display: block; color: var(--muted); font-size: 9px; }
.preview-metric strong { display: block; margin-top: 5px; font-size: 20px; }
.preview-chart { height: 104px; display: flex; align-items: end; gap: 7px; margin-top: 18px; padding: 14px 14px 0; border: 1px solid var(--line); border-radius: 7px; }
.preview-chart i { flex: 1; display: block; min-height: 16px; border-radius: 3px 3px 0 0; background: #9dbcfb; }
.preview-chart i:nth-child(2n) { background: var(--brand); }
.preview-list { margin-top: 16px; border-top: 1px solid var(--line); }
.preview-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.preview-list span { color: var(--muted); }

/* Reusable content surfaces */
.proof-bar { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-item { padding: 22px 24px; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; }
.proof-item strong { display: block; font-size: 14px; }
.proof-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature-card h3 { margin-top: 10px; }
.feature-card p { margin-top: 11px; color: var(--muted); font-size: 14px; }
.feature-card ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.feature-card li + li { margin-top: 6px; }
.card-label { color: var(--brand); font-size: 12px; font-weight: 750; }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.workflow-step { padding: 26px; background: var(--surface); }
.workflow-step span { color: var(--brand); font-size: 12px; font-weight: 750; }
.workflow-step strong { display: block; margin-top: 18px; }
.workflow-step p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.feature-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.feature-split + .feature-split { margin-top: 70px; }
.feature-split.reverse > :first-child { order: 2; }
.feature-copy p { max-width: 540px; margin-top: 14px; color: var(--muted); }
.feature-copy ul { margin: 20px 0 0; padding-left: 18px; color: var(--muted); }
.mini-window { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 34px rgba(18,32,51,.06); }
.mini-window-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 12px; }
.mini-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.mini-row:last-child { border-bottom: 0; }
.mini-row span { color: var(--muted); }
.scenario-grid { display: grid; gap: 16px; }
.scenario { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(0, 1.35fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.scenario-title { padding: 26px; background: var(--navy); color: #fff; }
.scenario-title h3 { color: #fff; }
.scenario-title p { margin-top: 10px; color: #aebdcb; font-size: 13px; }
.scenario-body { display: grid; grid-template-columns: repeat(3, 1fr); }
.scenario-body div { padding: 24px; border-left: 1px solid var(--line); }
.scenario-body strong { display: block; font-size: 13px; }
.scenario-body p { margin-top: 7px; color: var(--muted); font-size: 12px; }
.fact-list { border-top: 1px solid var(--line-strong); }
.fact-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact-row strong { font-size: 14px; }
.fact-row p { max-width: 760px; color: var(--muted); font-size: 13px; }
.notice { margin-top: 24px; padding: 16px 18px; border: 1px solid var(--warning-line); border-radius: var(--radius); background: var(--warning-bg); color: #6b5310; font-size: 13px; }

/* Pricing */
.pilot-panel { display: grid; grid-template-columns: .75fr 1.25fr; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.pilot-price { padding: 34px; background: var(--navy); color: #fff; }
.pilot-price h3 { color: #fff; font-size: 26px; }
.pilot-price .metric { margin-top: 28px; color: #fff; font-size: clamp(40px, 5vw, 54px); font-weight: 800; letter-spacing: -.055em; }
.pilot-price p { margin-top: 12px; color: #aebdcb; }
.pilot-details { display: grid; grid-template-columns: repeat(3, 1fr); }
.pilot-details div { padding: 32px 24px; border-left: 1px solid var(--line); }
.pilot-details strong { display: block; }
.pilot-details span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.price-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.price-card.featured { border-color: var(--brand); box-shadow: inset 0 3px 0 var(--brand); }
.price-card .tag { position: absolute; top: 14px; right: 14px; color: var(--brand); font-size: 10px; font-weight: 750; }
.price-card > p { min-height: 50px; margin-top: 9px; color: var(--muted); font-size: 13px; }
.price-card .metric { margin-top: 18px; font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.price-card .metric small { color: var(--muted); font-size: 11px; font-weight: 600; }
.price-card ul { flex: 1; margin: 18px 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.price-card li { margin: 9px 0; }
.price-card li::before { content: "✓"; margin-right: 7px; color: var(--brand); }
.price-card .btn { width: 100%; }
.comparison-hint { margin: -18px 0 12px; color: var(--muted); font-size: 12px; }
.comparison-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.comparison { width: 100%; min-width: 760px; border-collapse: collapse; }
.comparison th, .comparison td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; }
.comparison th { background: #f1f5f9; color: var(--muted); font-size: 11px; }
.comparison td:not(:first-child), .comparison th:not(:first-child) { text-align: center; }
.comparison tr:last-child td { border-bottom: 0; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { max-width: 780px; margin-top: 10px; color: var(--muted); font-size: 13px; }

/* Contact and legal pages */
.contact-main { padding: 72px 0 84px; }
.contact-intro { max-width: 760px; margin-bottom: 34px; }
.contact-intro > p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 22px; align-items: start; }
.form-card, .contact-aside-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.form-heading { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-heading h2, .contact-aside-card h2 { font-size: 24px; }
.form-heading p, .contact-aside-card > p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.contact-form { margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 700; }
.required { color: var(--brand); }
.optional, .field-hint { color: var(--muted); font-size: 11px; font-weight: 500; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); }
.form-field input, .form-field select { min-height: 46px; padding: 0 12px; }
.form-field textarea { min-height: 142px; padding: 11px 12px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21,94,239,.12); }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.consent-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-top: 20px; font-size: 12px; }
.consent-row input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--brand); }
.consent-row a { color: var(--brand); text-decoration: underline; }
.form-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.form-reassurance { color: var(--muted); font-size: 11px; }
.submit-button { min-width: 200px; }
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 24px; margin-top: 12px; font-size: 12px; }
.form-status:not(:empty) { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f1f5f9; }
.form-status.is-success { border-color: #a9d5bd; background: #edf9f2; color: var(--success); }
.form-status.is-error { border-color: #efb7b2; background: #fff1f0; color: var(--danger); }
.contact-aside { position: sticky; top: 92px; display: grid; gap: 14px; }
.contact-aside-card a { color: var(--brand); font-weight: 700; }
.contact-steps { margin-top: 18px; border-top: 1px solid var(--line); }
.contact-step { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-step:last-child { border-bottom: 0; }
.contact-step-number { color: var(--brand); font-size: 12px; font-weight: 800; }
.contact-step strong { display: block; font-size: 13px; }
.contact-step p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.contact-points { margin: 18px 0 0; padding: 0; list-style: none; }
.contact-points li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; }
.legal-main { max-width: 860px; padding: 70px 0 90px; }
.legal-main > p { max-width: 720px; margin-top: 18px; color: var(--muted); }
.legal-section { padding: 32px 0; border-top: 1px solid var(--line); }
.legal-section:first-of-type { margin-top: 42px; }
.legal-section h2 { font-size: 26px; }
.legal-section p, .legal-section li { margin-top: 10px; color: var(--muted); font-size: 14px; }
.legal-section ul { padding-left: 20px; }
.legal-section a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* Footer */
.footer { display: grid; grid-template-columns: 1fr auto; gap: 34px; padding: 34px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 28px; height: 28px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); column-gap: 22px; row-gap: 8px; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 1020px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .scenario-body { grid-template-columns: 1fr; }
  .scenario-body div { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .hero, .feature-split, .pilot-panel, .contact-layout, .section-heading.row { grid-template-columns: 1fr; }
  .feature-split.reverse > :first-child { order: 0; }
  .pilot-details div:first-child { border-left: 0; }
  .links { display: none; }
  .toggle { display: block; }
  .menu {
    display: none;
    position: absolute;
    left: max(14px, calc((100vw - 1180px) / 2));
    right: max(14px, calc((100vw - 1180px) / 2));
    top: calc(100% + 1px);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav.open .menu { display: flex; }
  .nav.open .links { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open .links a { padding: 11px 10px; border-bottom: 1px solid var(--line); }
  .nav.open .links a[aria-current="page"] { border-left: 3px solid var(--brand); border-bottom-color: var(--line); background: #f4f7fb; }
  .menu .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-aside { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .wrap { width: min(calc(100% - 24px), 1180px); }
  .nav { padding-inline: 18px; }
  h1 { font-size: clamp(38px, 10.5vw, 46px); }
  h2 { font-size: clamp(28px, 8vw, 36px); }
  .hero { gap: 36px; padding: 54px 0 50px; }
  .hero-copy > p { font-size: 16px; }
  .section { padding: 56px 0; }
  .section.compact { padding-block: 44px; }
  .section-heading { margin-bottom: 26px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .proof-bar, .value-grid, .workflow, .pricing, .pilot-details { grid-template-columns: 1fr; }
  .proof-item { border-left: 0; border-top: 1px solid var(--line); }
  .proof-item:first-child { border-top: 0; }
  .workflow-step { padding: 22px; }
  .preview-shell { grid-template-columns: 76px 1fr; min-height: 280px; }
  .preview-nav { padding-inline: 8px; }
  .preview-metrics { grid-template-columns: 1fr; }
  .preview-metric:nth-child(n+3) { display: none; }
  .preview-chart { height: 84px; }
  .scenario { grid-template-columns: 1fr; }
  .scenario-title { padding: 22px; }
  .fact-row { grid-template-columns: 1fr; gap: 8px; }
  .pilot-price { padding: 28px 24px; }
  .pilot-details div { padding: 22px 24px; border-left: 0; border-top: 1px solid var(--line); }
  .comparison-wrap { position: relative; box-shadow: inset -18px 0 20px -22px rgba(18,32,51,.7); }
  .form-card, .contact-aside-card { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .form-footer-row { align-items: stretch; flex-direction: column; }
  .submit-button { width: 100%; }
  .contact-aside { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .menu .actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
