/* Design tokens */
:root {
  --navy: #071a3d;
  --navy-soft: #0b2450;
  --blue: #1468e8;
  --blue-dark: #0e50ba;
  --blue-light: #eaf3ff;
  --background: #ffffff;
  --background-alt: #f4f7fb;
  --text: #10213d;
  --muted: #5d6c82;
  --border: #dfe6ef;
  --success: #198754;
  --warning: #d77a09;
  --danger: #d73838;
  --shadow-sm: 0 10px 28px rgba(18, 45, 84, 0.08);
  --shadow-lg: 0 28px 70px rgba(6, 27, 65, 0.17);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1200px;
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1.15rem; }
h1, h2, h3 { margin: 0; color: var(--text); line-height: 1.1; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.2rem, 5vw, 4.35rem); font-weight: 760; }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.45rem); font-weight: 730; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 700; letter-spacing: -0.02em; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: 900px; }
.section { padding: 116px 0; position: relative; }
.section-heading { max-width: 780px; margin: 0 auto 58px; text-align: center; }
.section-heading > p:last-child { margin: 24px auto 0; max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow-light { color: #82b6ff; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; transform: translateY(-150%); background: white; border-radius: 8px; box-shadow: var(--shadow-sm); }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(223, 230, 239, 0.8);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(7, 26, 61, 0.07); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { color: var(--navy); font-size: 1.55rem; line-height: 1; font-weight: 800; letter-spacing: -0.045em; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 0.93rem; font-weight: 650; }
.main-nav > a { color: #33445e; transition: color 160ms ease; }
.main-nav > a:hover, .main-nav > a:focus-visible { color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: transform 160ms ease, opacity 160ms ease; }

/* Buttons */
.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .faq-item button:focus-visible, .menu-toggle:focus-visible, .modal-close:focus-visible { outline: 3px solid rgba(20, 104, 232, 0.25); outline-offset: 3px; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 10px 24px rgba(20, 104, 232, 0.24); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 14px 28px rgba(20, 104, 232, 0.3); }
.button-secondary { color: var(--navy); background: white; border-color: var(--border); }
.button-secondary:hover { border-color: #bfcbe0; box-shadow: var(--shadow-sm); }
.button-light { color: var(--navy); background: white; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16); }
.button-small { min-height: 42px; padding: 9px 17px; font-size: 0.9rem; }
.button-full { width: 100%; }

/* Hero */
.hero { position: relative; padding: 72px 0 84px; overflow: hidden; background: linear-gradient(135deg, #fff 0%, #f7faff 54%, #eef5ff 100%); }
.hero-glow { position: absolute; right: -18%; top: -45%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 104, 232, 0.12), rgba(20, 104, 232, 0) 68%); pointer-events: none; }
.hero-grid { width: min(1400px, calc(100% - 32px)); display: grid; grid-template-columns: minmax(380px, 0.68fr) minmax(0, 1.4fr); align-items: center; gap: 32px; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 610px; }
.hero-lead { max-width: 580px; margin: 22px 0 26px; color: var(--muted); font-size: clamp(1.04rem, 1.35vw, 1.18rem); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.microcopy { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; color: #6b7890; font-size: 0.78rem; line-height: 1.5; }
.microcopy span:not(:last-child)::after { content: "•"; margin-left: 18px; color: #a7b3c4; }
.hero-visual { width: 100%; }
@media (min-width: 1121px) {
  .hero-copy h1 { font-size: clamp(3rem, 4.15vw, 3.65rem); }
}
.screen-shell, .screen-crop {
  overflow: hidden;
  background: white;
  border: 1px solid rgba(202, 214, 232, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateZ(0);
}
.screen-shell img, .screen-crop img { width: 100%; height: auto; transition: transform 350ms ease; }
.screen-shell:hover img, .screen-crop:hover img { transform: scale(1.012); }
.screen-hero { transform: perspective(1400px) rotateY(-2.3deg) rotateX(0.4deg); transform-origin: center left; }

/* Problem */
.problem-section { background: var(--background); }
.problem-section h2 { max-width: 860px; margin-bottom: 32px; }
.intro-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; color: var(--muted); }
.question-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 38px 0; }
.question-grid div { display: flex; min-height: 116px; padding: 18px; align-items: flex-end; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--background-alt); font-weight: 700; line-height: 1.35; }
.highlight-quote { margin: 38px 0 0; padding: 26px 30px; color: var(--navy); background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.25rem; font-weight: 700; }
.highlight-quote.compact { font-size: 1.08rem; }

/* Feature sections */
.feature-section, .exception-section { background: var(--background-alt); }
.feature-grid, .exception-grid, .erp-grid, .audience-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(540px, 1.3fr); align-items: center; gap: 72px; }
.feature-copy h2 { margin-bottom: 28px; }
.feature-copy p { color: var(--muted); }
.feature-copy strong { color: var(--text); }
.big-fact { color: var(--blue) !important; font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; }
.check-list { display: grid; gap: 11px; padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 850; }

/* Dark process section */
.dark-section { overflow: hidden; color: #d8e4f7; background: radial-gradient(circle at 82% 4%, #153c77 0, var(--navy) 38%, #05142f 100%); }
.dark-section h2 { color: white; }
.dark-intro { max-width: 910px; }
.process-section { padding: 88px 0 94px; }
.dark-intro > p:last-child { max-width: 720px; margin-top: 20px; color: #b9c9e1; font-size: 1.04rem; }
.decision-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 42px; margin: 34px 0 28px; align-items: center; }
.decision-grid blockquote { margin: 0; color: white; font-size: clamp(1.75rem, 3vw, 2.8rem); line-height: 1.2; font-weight: 730; letter-spacing: -0.03em; }
.check-list-light li::before { color: #65b5ff; }
.process-statement { margin: 0 0 26px; color: white; font-size: clamp(1.3rem, 2.1vw, 1.9rem); line-height: 1.36; }
.screen-dark { border-color: rgba(128, 170, 230, 0.34); box-shadow: 0 35px 80px rgba(0, 0, 0, 0.36); }
.section-action { margin-top: 34px; text-align: center; }

/* Roles */
.roles-section { background: white; }
.role-row { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 72px; align-items: center; padding: 64px 0; border-top: 1px solid var(--border); }
.role-row-reverse { grid-template-columns: 1.35fr 0.65fr; }
.role-row-reverse .role-copy { order: 2; }
.role-row-reverse .screen-shell { order: 1; }
.role-copy p { color: var(--muted); }
.role-copy h3 { margin: 12px 0 22px; font-size: clamp(1.7rem, 2.6vw, 2.35rem); }
.role-label, .mode-tag { color: var(--blue-dark); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.compact-list { display: grid; gap: 8px; padding: 0; list-style: none; font-weight: 680; }
.compact-list li::before { content: "—"; margin-right: 9px; color: var(--blue); }
.screen-crop { min-height: 360px; position: relative; }
.screen-crop img { width: 120%; max-width: none; }
.screen-crop-orders img { transform: translate(-5%, -2%); }
.screen-crop-orders:hover img { transform: translate(-5%, -2%) scale(1.012); }
.role-row .screen-shell, .role-row .screen-crop { aspect-ratio: 1672 / 941; min-height: 0; }
.role-row .screen-crop img { width: 100%; transform: none; }
.role-row .screen-crop:hover img { transform: scale(1.012); }

/* Exceptions and bulk */
.exception-grid { grid-template-columns: 0.85fr 1.15fr; }
.screen-crop-exceptions { height: 500px; }
.screen-crop-exceptions img { width: 145%; transform: translate(-24%, -4%); }
.screen-crop-exceptions:hover img { transform: translate(-24%, -4%) scale(1.012); }
.bulk-section { background: white; }
.bulk-actions { grid-template-columns: 1fr 1fr; max-width: 680px; margin: 24px auto; text-align: left; }
.statement-line { margin-top: 28px !important; color: var(--navy) !important; font-size: 1.25rem; font-weight: 800; }
.screen-wide { max-width: 1120px; margin: auto; }

/* Pillars */
.pillars-section { padding: 82px 0; background: var(--background-alt); }
.pillars-section .section-heading { margin-bottom: 34px; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar-card { min-height: 188px; padding: 24px; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 20px rgba(18, 45, 84, 0.04); }
.pillar-card > span { display: block; margin-bottom: 22px; color: var(--blue); font-size: 0.82rem; font-weight: 850; }
.pillar-card h3 { margin-bottom: 12px; font-size: 1.28rem; }
.pillar-card p { color: var(--muted); font-size: 0.96rem; }

/* ERP flow */
.erp-section { background: white; }
.erp-grid { grid-template-columns: 1fr 0.8fr; }
.flow-diagram { display: grid; justify-items: center; gap: 12px; padding: 38px; background: var(--background-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.flow-node { width: min(360px, 100%); padding: 22px; text-align: center; border: 1px solid var(--border); border-radius: var(--radius-sm); background: white; font-size: 1.35rem; font-weight: 800; }
.flow-node small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.flow-node-operum { color: white; background: var(--blue); border-color: var(--blue); box-shadow: 0 14px 34px rgba(20, 104, 232, 0.22); }
.flow-node-operum small { color: #dceaff; }
.flow-arrow { color: #8090a7; font-size: 1.4rem; }
.flow-roles { display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.flow-roles span { padding: 13px 8px; text-align: center; background: white; border: 1px solid var(--border); border-radius: 8px; font-size: 0.82rem; font-weight: 700; }

/* Deployment */
.deployment-section { padding: 88px 0; background: var(--background-alt); }
.deployment-section .section-heading { margin-bottom: 38px; }
.deployment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: auto; }
.deployment-card { padding: 30px; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.deployment-card h3 { margin: 12px 0 16px; font-size: 1.72rem; }
.deployment-card p { color: var(--muted); }
.inline-cta { display: flex; max-width: 920px; margin: 22px auto 0; padding: 24px 30px; align-items: center; justify-content: space-between; gap: 24px; background: var(--navy); border-radius: var(--radius); color: white; }
.inline-cta p { margin: 0; }

/* Audience */
.audience-section { background: white; }
.audience-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.audience-list { display: grid; gap: 10px; }
.audience-list div { position: relative; padding: 16px 18px 16px 52px; background: var(--background-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.audience-list div::before { content: "✓"; position: absolute; left: 20px; color: var(--blue); font-weight: 850; }
.audience-highlight { margin: 52px 0 0; padding: 34px; text-align: center; background: var(--blue-light); border-radius: var(--radius); color: var(--navy); font-size: 1.35rem; font-weight: 760; }

/* Steps */
.steps-section { background: var(--background-alt); }
.steps-list { max-width: 850px; padding: 0; margin: auto; list-style: none; counter-reset: step; }
.steps-list li { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 0 0 42px; }
.steps-list li:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 58px; bottom: 8px; width: 1px; background: #cad6e6; }
.steps-list li > span { display: grid; width: 58px; height: 58px; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-weight: 800; box-shadow: 0 10px 24px rgba(20, 104, 232, 0.2); }
.steps-list h3 { margin: 4px 0 8px; }
.steps-list p { color: var(--muted); }

/* Pricing */
.pricing-section { background: white; }
.pricing-wrap { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 70px; align-items: center; max-width: 1050px; }
.pricing-intro h2 { margin-bottom: 22px; }
.pricing-intro > p:last-child { color: var(--muted); }
.pricing-card { padding: 46px; background: white; border: 1px solid #cfdced; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.price { color: var(--navy); font-size: clamp(2.5rem, 5vw, 4.15rem); line-height: 1; font-weight: 800; letter-spacing: -0.055em; }
.price > span { color: var(--muted); font-size: 1rem; font-weight: 650; letter-spacing: 0; }
.price small { display: block; margin-top: 12px; color: var(--muted); font-size: 0.95rem; font-weight: 650; letter-spacing: 0; }
.two-column-list { grid-template-columns: 1fr 1fr; margin: 34px 0; font-size: 0.93rem; }
.pricing-highlight { margin: -4px 0 24px; padding: 18px 20px; color: var(--navy); background: var(--blue-light); border-radius: var(--radius-sm); line-height: 1.45; }
.pricing-note { color: var(--muted); font-size: 0.82rem; }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.addons div { padding: 16px; background: var(--background-alt); border-radius: 9px; }
.addons strong, .addons span { display: block; }
.addons span { margin-top: 5px; color: var(--muted); font-size: 0.78rem; }

/* Trial */
.trial-section { background: var(--background-alt); }
.trial-card { padding: 58px; color: #dbe7fa; background: linear-gradient(135deg, var(--navy), #103e7a); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.trial-card h2 { max-width: 850px; margin-bottom: 26px; color: white; }
.trial-card > div > p:last-child { color: #bccce2; }
.trial-card .check-list { grid-template-columns: 1fr 1fr; margin: 34px 0; }
.trial-statement { color: white; font-size: 1.35rem; font-weight: 760; }

/* FAQ */
.faq-section { background: white; }
.faq-wrap { max-width: 880px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item h3 { margin: 0; }
.faq-item button { display: flex; width: 100%; padding: 24px 4px; align-items: center; justify-content: space-between; gap: 24px; color: var(--text); background: transparent; border: 0; text-align: left; font-weight: 720; }
.faq-item button span { color: var(--blue); font-size: 1.55rem; font-weight: 400; transition: transform 160ms ease; }
.faq-item.is-open button span { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 220ms ease; }
.faq-answer p { overflow: hidden; margin: 0; color: var(--muted); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding: 0 40px 24px 4px; }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; padding: 120px 0; color: white; background: var(--navy); }
.final-cta-bg { position: absolute; inset: 0 0 0 53%; overflow: hidden; opacity: 0.14; mask-image: linear-gradient(90deg, transparent, black 35%); }
.final-cta-bg img { width: 150%; max-width: none; height: 100%; object-fit: cover; object-position: left center; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 30%, rgba(7, 26, 61, 0.76) 70%, rgba(7, 26, 61, 0.5)); }
.final-cta-inner { position: relative; z-index: 2; max-width: 880px; }
.final-cta h2 { color: white; }
.final-cta-secondary { margin: 18px 0 26px; color: #7eb8ff; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.18; font-weight: 740; letter-spacing: -0.03em; }
.final-cta-inner > p:not(.eyebrow, .final-cta-secondary, .microcopy) { max-width: 650px; color: #c5d3e6; font-size: 1.1rem; }
.microcopy-light { color: #afc0d8; }

/* Footer */
.site-footer { padding: 70px 0 28px; color: #aebbd0; background: #041027; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 70px; }
.footer-brand { display: inline-block; margin-bottom: 20px; color: white; }
.footer-grid > div p { max-width: 380px; }
.footer-grid a:hover, .footer-link:hover { color: white; }
.footer-grid nav { display: grid; align-content: start; gap: 10px; }
.footer-grid nav h2 { margin-bottom: 10px; color: white; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-link { width: fit-content; padding: 0; color: inherit; background: transparent; border: 0; }
.footer-disclaimer { max-width: 920px; margin-top: 46px; color: #71819a; font-size: 0.72rem; line-height: 1.55; }
.footer-bottom { display: flex; margin-top: 20px; padding-top: 24px; justify-content: space-between; border-top: 1px solid rgba(174, 187, 208, 0.15); color: #6f7f98; font-size: 0.78rem; }

/* Modal */
.demo-modal { width: min(650px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; color: var(--text); background: transparent; border: 0; overflow: visible; }
.demo-modal::backdrop { background: rgba(3, 14, 35, 0.74); backdrop-filter: blur(5px); }
.modal-card { position: relative; max-height: calc(100dvh - 32px); padding: 42px; overflow-y: auto; background: white; border-radius: var(--radius-lg); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.34); }
.modal-card h2 { margin-bottom: 14px; font-size: 2.3rem; }
.modal-card > div > p:not(.eyebrow) { color: var(--muted); }
.modal-close { position: absolute; z-index: 2; top: 16px; right: 18px; width: 38px; height: 38px; color: #526076; background: var(--background-alt); border: 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; }
.demo-form { display: grid; gap: 15px; margin-top: 26px; }
.demo-form label { display: grid; gap: 7px; color: #263750; font-size: 0.82rem; font-weight: 720; }
.demo-form input, .demo-form select { width: 100%; min-width: 0; height: 48px; padding: 10px 12px; color: var(--text); background: white; border: 1px solid #cdd7e5; border-radius: 8px; outline: none; }
.demo-form input:focus, .demo-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20, 104, 232, 0.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-label { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px !important; font-weight: 550 !important; }
.checkbox-label input { width: 18px; height: 18px; margin-top: 2px; }
.form-honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 12px 14px; color: #922525; background: #fff0f0; border: 1px solid #f0caca; border-radius: 8px; font-size: 0.85rem; line-height: 1.45; }
.form-legal { margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.55; }
.form-legal a, .legal-document a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.demo-form button:disabled { cursor: wait; opacity: 0.72; transform: none; }
.form-success { padding: 36px 0 14px; text-align: center; }
.success-mark { display: grid; width: 64px; height: 64px; margin: 0 auto 24px; place-items: center; color: white; background: var(--success); border-radius: 50%; font-size: 1.7rem; }

/* Privacy controls */
.cookie-banner { position: fixed; z-index: 300; left: 20px; right: 20px; bottom: 20px; display: flex; max-width: 1180px; margin: 0 auto; padding: 22px 24px; align-items: center; justify-content: space-between; gap: 28px; color: var(--text); background: white; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 70px rgba(7, 26, 61, 0.24); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-copy { max-width: 690px; }
.cookie-banner-copy strong { display: block; margin-bottom: 3px; font-size: 1rem; }
.cookie-banner-copy p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.55; }
.cookie-banner-copy a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex-shrink: 0; gap: 9px; }
.cookie-actions .button, .cookie-dialog-actions .button { min-height: 42px; padding: 10px 15px; font-size: 0.78rem; }
.cookie-dialog { width: min(700px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; background: transparent; border: 0; overflow: visible; }
.cookie-dialog::backdrop { background: rgba(3, 14, 35, 0.74); backdrop-filter: blur(5px); }
.cookie-dialog-card { position: relative; max-height: calc(100dvh - 32px); padding: 36px; overflow-y: auto; background: white; border-radius: var(--radius-lg); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.34); }
.cookie-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.cookie-dialog-heading .eyebrow { margin-bottom: 9px; }
.cookie-dialog-heading h2 { font-size: 2.3rem; }
.cookie-dialog-card > p { color: var(--muted); }
.cookie-option { display: flex; margin-top: 12px; padding: 18px; align-items: center; justify-content: space-between; gap: 24px; color: var(--text); background: var(--background-alt); border: 1px solid var(--border); border-radius: 12px; }
.cookie-option strong { display: block; font-size: 0.94rem; }
.cookie-option p { margin: 3px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.cookie-option input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--blue); }
.cookie-required { flex: 0 0 auto; color: var(--success); font-size: 0.74rem; font-weight: 750; }
.cookie-dialog-actions { display: flex; margin-top: 24px; justify-content: flex-end; gap: 10px; }

/* Legal documents */
.legal-page { background: var(--background-alt); }
.legal-page .site-header { position: sticky; }
.legal-main { padding: 74px 0 100px; }
.legal-document { max-width: 940px; padding: 58px 64px; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.legal-document > h1 { max-width: 820px; font-size: clamp(2.7rem, 5vw, 4rem); }
.legal-updated { margin-top: 16px; color: var(--muted); font-size: 0.84rem; }
.legal-document section { padding-top: 34px; }
.legal-document section + section { margin-top: 34px; border-top: 1px solid var(--border); }
.legal-document h2 { margin-bottom: 18px; font-size: clamp(1.55rem, 3vw, 2rem); }
.legal-document p, .legal-document li { color: #40516a; }
.legal-table-wrap { margin: 22px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.legal-document table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 0.82rem; line-height: 1.5; }
.legal-document th, .legal-document td { padding: 14px 16px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--border); }
.legal-document th { color: var(--navy); background: var(--background-alt); font-size: 0.76rem; }
.legal-document tr:last-child td { border-bottom: 0; }
.legal-document code { color: var(--navy); font-size: 0.8rem; }
.legal-footer { padding: 0 0 32px; }
.legal-footer .footer-bottom { margin-top: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 550ms ease, transform 550ms ease; }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 1120px) {
  :root { --header-height: 70px; }
  .container { width: min(var(--container), calc(100% - 36px)); }
  .main-nav { gap: 18px; }
  .main-nav > a { display: none; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { width: 100%; }
  .screen-hero { transform: none; }
  .feature-grid, .exception-grid, .erp-grid, .audience-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-copy { max-width: 790px; }
  .role-row, .role-row-reverse { grid-template-columns: 1fr; gap: 38px; }
  .role-row-reverse .role-copy, .role-row-reverse .screen-shell { order: initial; }
  .role-copy { max-width: 700px; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .pillar-card { min-height: 260px; }
  .pricing-wrap { grid-template-columns: 1fr; max-width: 760px; gap: 38px; }
  .screen-crop-exceptions { height: auto; }
  .screen-crop-exceptions img { width: 125%; transform: translate(-12%, -2%); }
  .screen-crop-exceptions:hover img { transform: translate(-12%, -2%) scale(1.012); }
}

/* Mobile navigation and narrow screens */
@media (max-width: 780px) {
  .section { padding: 82px 0; }
  .container { width: min(var(--container), calc(100% - 28px)); }
  h1 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  h2 { font-size: clamp(2rem, 8.5vw, 2.9rem); }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; top: var(--header-height); left: 14px; right: 14px; display: grid; gap: 0; padding: 12px; visibility: hidden; opacity: 0; transform: translateY(-8px); background: white; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease; }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav > a { display: block; padding: 12px 10px; }
  .nav-cta { width: 100%; margin-top: 8px; }
  .hero { padding: 58px 0 80px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .microcopy { display: grid; gap: 5px; }
  .microcopy span::after { display: none; }
  .hero-visual { width: calc(100% + 14px); }
  .screen-shell { border-radius: 12px; }
  .screen-shell:not(.screen-dark, .screen-wide) { overflow-x: auto; }
  .feature-grid .screen-shell img, .role-row .screen-shell img { width: 880px; max-width: none; }
  .screen-dark img, .screen-wide img { width: 100%; min-width: 720px; max-width: none; }
  .screen-dark, .screen-wide { overflow-x: auto; }
  .intro-copy { grid-template-columns: 1fr; gap: 0; }
  .question-grid { grid-template-columns: 1fr 1fr; }
  .question-grid div { min-height: 96px; }
  .decision-grid { grid-template-columns: 1fr; gap: 28px; }
  .role-row { padding: 46px 0; }
  .screen-crop { min-height: 280px; }
  .screen-crop img { width: 1000px; }
  .screen-crop-orders img { transform: translate(-9%, -1%); }
  .screen-crop-orders:hover img { transform: translate(-9%, -1%) scale(1.012); }
  .screen-crop-exceptions { height: 340px; }
  .screen-crop-exceptions img { width: 1050px; transform: translate(-34%, -3%); }
  .screen-crop-exceptions:hover img { transform: translate(-34%, -3%) scale(1.012); }
  .pillar-grid, .deployment-grid { grid-template-columns: 1fr; }
  .inline-cta { display: grid; }
  .inline-cta .button { width: 100%; }
  .pricing-card, .trial-card { padding: 32px 24px; }
  .two-column-list, .trial-card .check-list { grid-template-columns: 1fr; }
  .bulk-actions { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr; }
  .final-cta { padding: 92px 0; }
  .final-cta-bg { left: 20%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  .footer-grid > div { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; display: grid; padding: 18px; gap: 16px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions .button:last-child { grid-column: 1 / -1; }
  .cookie-dialog-card { padding: 30px 20px 22px; border-radius: 18px; }
  .cookie-dialog-heading h2 { font-size: 2rem; }
  .cookie-option { align-items: flex-start; }
  .cookie-dialog-actions { display: grid; grid-template-columns: 1fr; }
  .legal-main { padding: 24px 0 70px; }
  .legal-document { padding: 34px 22px; border-radius: 18px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 24px); }
  .section { padding: 70px 0; }
  .header-inner { gap: 12px; }
  .hero { padding-top: 46px; }
  .hero-lead { margin-top: 22px; }
  .question-grid { grid-template-columns: 1fr; }
  .question-grid div { min-height: auto; align-items: center; }
  .highlight-quote { padding: 22px; font-size: 1.08rem; }
  .feature-grid .screen-shell img, .role-row .screen-shell img { width: 820px; }
  .screen-dark img, .screen-wide img { min-width: 690px; }
  .screen-crop { min-height: 240px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 0; }
  .pillar-card > span { margin-bottom: 34px; }
  .flow-diagram { padding: 22px 16px; }
  .flow-roles { grid-template-columns: 1fr; }
  .audience-highlight { padding: 24px; font-size: 1.12rem; }
  .steps-list li { grid-template-columns: 46px 1fr; gap: 16px; }
  .steps-list li > span { width: 46px; height: 46px; }
  .steps-list li:not(:last-child)::after { left: 22px; top: 48px; }
  .price { font-size: 2.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { grid-column: auto; }
  .footer-bottom { display: grid; gap: 4px; }
  .modal-card { padding: 36px 20px 24px; border-radius: 18px; }
  .demo-modal { width: calc(100% - 16px); }
}
