@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/open-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 16px;
  color: #102942;
  background: #fff;
  --paper: #fff;
  --ink: #102942;
  --navy: #092545;
  --blue: #215c96;
  --quiet: #465d74;
  --ice: #e3f2fd;
  --mist: #f3f8fc;
  --line: #d8e5ef;
  --lift: 0 18px 38px #17395915, 0 3px 8px #1739590d;
  --radius: 24px;
  --gutter: clamp(18px, 4.25vw, 66px);
  --header: 70px;
  --space: clamp(55px, 7.6vw, 108px);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ol, ul { margin: 0; }
body { font-weight: 450; }
.story { overflow-x: clip; }
p, li { line-height: 1.56; }
p { color: var(--quiet); }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: #cfe8fa; color: var(--navy); }
:where(a, summary, button):focus-visible { outline: 2px solid #2267a2; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 20; top: 8px; left: 12px; padding: 12px 17px; background: var(--navy); color: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { scroll-margin-top: calc(var(--header) + 20px); margin-top: var(--space); }
h1, h2 { font-weight: 780; letter-spacing: -.041em; }
h2 { font-size: clamp(2.15rem, 4.35vw, 3.9rem); line-height: 1.08; text-wrap: balance; }
.heading-accent { color: var(--blue); }
h3 { font-size: 1.22rem; font-weight: 720; line-height: 1.22; letter-spacing: -.014em; }
:where(h1, h2, h3) + p { margin-top: 15px; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.button {
  min-height: 44px; padding: 10px 17px; border-radius: 999px;
  border: 1px solid var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: fit-content;
  text-decoration: none; font-size: .885rem; font-weight: 640;
  transition: background-color .22s, color .22s, border-color .22s;
}
.button.primary { background: var(--navy); color: white; }
.button.primary:hover { background: var(--blue); border-color: var(--blue); }
.button.ghost { background: #ffffff80; color: var(--navy); }
.button.ghost:hover { background: #e4f2fc; border-color: var(--blue); }
.button .icon { width: 16px; height: 16px; transition: transform .22s; }
.button:hover .icon { transform: translateX(3px); }

.header { position: sticky; top: 0; z-index: 10; height: var(--header); background: #fffffff5; border-bottom: 1px solid #e7eff6; }
.header-inner { width: min(1200px, calc(100% - 2 * var(--gutter))); height: 100%; margin: auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; }
.brand { display: block; width: 110px; }
.brand img { width: 100%; height: auto; }
.header nav { display: flex; align-items: center; gap: clamp(16px, 3.2vw, 42px); }
.header nav a { font-size: .94rem; font-weight: 600; text-decoration: none; padding: 12px 2px; }
.header nav a:hover, .header nav a[aria-current] { color: var(--blue); text-decoration: underline; }

.story { background: radial-gradient(ellipse at 78% 58%, #c4e5fa 0%, transparent 55%), radial-gradient(ellipse at 18% 76%, #d7e9fa 0%, transparent 50%), linear-gradient(180deg, #f9fcff, #edf7fd 78%, #f2f8fc); scroll-margin-top: var(--header); }
.story-stage { position: relative; overflow: hidden; overflow: clip; }
.hero-copy { position: relative; z-index: 3; width: min(720px, calc(100% - 32px)); margin-inline: auto; text-align: center; padding-top: clamp(57px, 9.8vh, 115px); }
.hero-copy h1 { display: grid; font-size: clamp(3.6rem, 7.2vw, 6.8rem); line-height: .99; }
.hero-copy p { max-width: 44ch; margin: 23px auto 22px; font-size: clamp(.99rem, 1.4vw, 1.16rem); }
.hero-art { position: relative; width: min(1230px, calc(100% - 2 * var(--gutter))); margin-inline: auto; padding: 52px 0 66px; }
.hero-dashboard { position: relative; display: grid; grid-template-columns: 158px minmax(0, 1fr); width: min(950px, 100%); overflow: hidden; margin: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--lift); }
.dash-brand { padding: 10px 11px 20px; }
.dash-brand img { width: 84px; height: auto; }
.hero-dashboard aside { background: #f3f8fc; border-right: 1px solid #e5edf4; padding: 22px 12px; }
.dash-item { color: var(--quiet); display: flex; align-items: center; gap: 8px; font-size: .76rem; padding: 9px 10px; }
.dash-item .icon { width: 15px; height: 15px; }
.dash-item.active { background: #dceffc; border-radius: 8px; color: var(--navy); font-weight: 610; }
.dash-body { min-width: 0; padding: 24px 33px 29px; }
.dash-body > header { display: flex; justify-content: space-between; gap: 14px; font-size: .76rem; color: var(--quiet); }
.dash-body h2 { font-size: clamp(1.13rem, 2.3vw, 1.98rem); font-weight: 720; letter-spacing: -.035em; margin: 19px 0; }
.dash-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.dash-metrics > div { padding: 11px 12px; background: #eef6fc; border-radius: 10px; }
.dash-metrics span, .fragment-invoice div span { display: block; color: var(--quiet); font-size: .72rem; }
.dash-metrics strong { display: block; margin-top: 4px; font-size: clamp(.88rem, 1.62vw, 1.42rem); font-weight: 620; font-variant-numeric: tabular-nums; }
.dash-chart { margin-top: 14px; padding: 13px 15px 11px; border: 1px solid var(--line); border-radius: 13px; }
.dash-chart h3 { font-size: .83rem; }
.spark { display: block; width: 100%; height: 118px; margin-top: 13px; }
.axis { display: flex; justify-content: space-between; gap: 4px; margin-top: 7px; font-size: .68rem; color: var(--quiet); }
.example-label { display: block; text-align: center; margin-top: 13px; color: #365877; font-size: .74rem; }
.fragment { display: none; }
.motion-story .story-stage { height: clamp(575px, 77vh, 710px); height: clamp(575px, 77svh, 710px); }
.motion-story .hero-copy { padding-top: clamp(52px, 8.6vh, 80px); }
.motion-story .hero-art { position: absolute; inset: 0; width: min(1370px, 100%); padding: 0; }
.motion-story .hero-dashboard { position: absolute; z-index: 1; inset: 14.5% 0 auto; width: min(956px, 80%); }
.motion-story .fragment {
  display: block; position: absolute; z-index: 2; color: var(--navy); background: #fff;
  padding: 15px 17px; border-radius: 17px; box-shadow: var(--lift);
}
.motion-story .fragment-sales { top: 47%; left: 6.2%; width: clamp(190px, 23vw, 313px); background: #e7f4fe; }
.motion-story .fragment-stock { top: 38%; right: 4.3%; width: clamp(170px, 21vw, 266px); }
.motion-story .fragment-invoice { top: 75%; right: 18.8%; width: clamp(228px, 24vw, 320px); display: flex; align-items: center; gap: 11px; padding: 12px 13px; }
.fragment-label { display: flex; gap: 8px; align-items: center; font-size: .8rem; font-weight: 610; }
.fragment-label .icon { width: 16px; height: 16px; }
.fragment-sales strong { display: block; margin-top: 7px; font-size: 1.39rem; letter-spacing: -.045em; font-weight: 640; font-variant-numeric: tabular-nums; }
.bars { height: 68px; display: flex; align-items: end; gap: 5px; padding: 0 3px; margin-top: 9px; }
.bars span { flex: 1 1 0; height: var(--height); border-radius: 3px 3px 1px 1px; background: #5495c9; transform-origin: center bottom; }
.bars span:nth-child(3n) { background: #1e5c93; }
.fragment-stock table { width: 100%; border-collapse: collapse; margin-top: 9px; font-size: .77rem; font-variant-numeric: tabular-nums; }
.fragment-stock th, .fragment-stock td { padding: 6px 0; border-bottom: 1px solid #e3edf5; }
.fragment-stock th { text-align: left; font-weight: 450; }
.fragment-stock td { text-align: right; font-weight: 600; }
.fragment-stock tr:last-child :is(th,td) { border-bottom: 0; }
.fragment-invoice b { display: block; font-size: .84rem; margin-bottom: 4px; }
.tile-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: #deeffb; color: var(--blue); }
.tile-check { margin-left: auto; display: grid; color: #235d8c; }
.tile-check .icon { width: 17px; height: 17px; }
.motion-story .example-label { position: absolute; z-index: 2; bottom: 24px; left: 0; right: 0; }

.compact-story .story-stage {
  --hero-card-height: clamp(112px, 17vw, 132px);
  --hero-pair-side: max(var(--gutter), calc((100% - 492px) / 2));
  --hero-card-width: min(42%, 237px);
  height: max(440px, calc(var(--hero-copy-height, 250px) + var(--hero-card-height) + 108px));
}
.compact-story .hero-copy { padding-top: clamp(18px, 4.5vh, 42px); }
.compact-story .hero-copy h1 { font-size: clamp(2.48rem, 10.9vw, 5.35rem); }
.compact-story .hero-copy p { margin-block: 13px 14px; }
.compact-story .hero-dashboard { inset: 10% 0 auto; width: min(680px, calc(100% - 2 * var(--gutter))); }
.compact-story :is(.fragment-sales, .fragment-stock) {
  top: calc(var(--hero-copy-height, 250px) + 13px);
  width: var(--hero-card-width);
  height: var(--hero-card-height);
  padding: 10px clamp(9px, 2.2vw, 15px);
}
.compact-story .fragment-sales { left: var(--hero-pair-side); }
.compact-story .fragment-stock { right: var(--hero-pair-side); }
.compact-story .fragment-label { font-size: clamp(.65rem, 2.5vw, .8rem); line-height: 1.22; gap: 5px; }
.compact-story .fragment-label .icon { width: 13px; height: 13px; }
.compact-story .fragment-sales strong { font-size: clamp(1rem, 4vw, 1.39rem); margin-top: 6px; }
.compact-story .bars { height: 34px; margin-top: 6px; gap: 3px; }
.compact-story .fragment-stock table { font-size: clamp(.65rem, 2.5vw, .78rem); margin-top: 4px; }
.compact-story .fragment-stock :is(th, td) { padding-block: 3px; }
.compact-story .fragment-invoice {
  top: calc(var(--hero-copy-height, 250px) + var(--hero-card-height) + 23px);
  left: 50%; right: auto; translate: -50% 0; width: min(225px, 80%);
  padding: 7px 9px; border-radius: 12px; gap: 8px;
}
.compact-story .fragment-invoice b { font-size: .75rem; margin-bottom: 1px; }
.compact-story .fragment-invoice .tile-icon { width: 30px; height: 30px; border-radius: 8px; }
.compact-story .fragment-invoice .tile-icon .icon { width: 16px; height: 16px; }
.compact-story .example-label { bottom: 12px; }
@media (max-height: 529px) {
  .compact-story .hero-copy { padding-top: 16px; }
  .compact-story .hero-copy h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
  .compact-story .hero-dashboard { inset: 17% 0 auto; }
  .compact-story .dash-chart .spark { height: 62px; }
}

.section-heading { margin-bottom: clamp(24px, 4vw, 42px); }
.section-heading > h2 { max-width: 16ch; }
.section-heading > p { margin-top: 10px; font-size: clamp(.95rem, 1.55vw, 1.09rem); }

.clients { margin-top: 0; padding: clamp(25px, 4vw, 50px) 0 16px; }
.clients-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.clients-heading h2 { font-size: clamp(1.3rem, 2.4vw, 2.02rem); text-wrap: initial; }
.marquee-toggle { border: 0; background: transparent; cursor: pointer; min-height: 44px; padding: 6px 2px; text-decoration: underline; text-underline-offset: .2em; color: var(--blue); font-size: .84rem; white-space: nowrap; }
.marquee-window { margin-top: 9px; }
.client-list { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); align-items: center; gap: 14px; padding: 12px 0; list-style: none; }
.client-list li { display: grid; place-items: center; min-width: 0; height: 76px; }
.client-list img { width: auto; height: auto; max-width: 100%; max-height: 62px; object-fit: contain; }
.clients.is-running .marquee-window { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.clients.is-running .marquee-track { display: flex; width: max-content; }
.clients.is-running .client-list { display: flex; gap: 0; flex: none; }
.clients.is-running .client-list li { width: clamp(126px, 13.5vw, 166px); padding-inline: 15px; }
.clients:not(.is-running) .marquee-track { transform: none !important; }
.clients:not(.is-running) [data-marquee-copy] { display: none; }

.solution-band {
  margin-top: clamp(27px, 4vw, 58px);
  padding-block: clamp(37px, 6vw, 76px);
  background: linear-gradient(130deg, #e6f3fc, #f6fbff 72%);
}
.solution-band .section-heading > h2 { max-width: 18ch; }
.solution-band .section-heading > p { max-width: 55ch; }
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 36px);
  padding: 0;
  list-style: none;
}
.solution { padding: 18px clamp(16px, 2.3vw, 28px) 20px; background: #fcfeff; border-radius: 15px; }
.solution-line { display: block; width: 42px; height: 2px; background: #548cba; transform-origin: left; margin-bottom: 20px; }
.solution .icon { display: block; color: var(--blue); margin-bottom: 12px; width: 23px; height: 23px; }
.solution h3 { font-size: clamp(1.15rem, 1.6vw, 1.41rem); }
.solution p { margin-top: 8px; max-width: 41ch; font-size: .98rem; }
.solution-link { margin-top: 22px; color: var(--blue); }
.solution-link a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: .94rem; font-weight: 700; }
.solution-link a:hover { color: var(--navy); }
.solution-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.solution-link a:hover .icon { transform: translateY(3px); }

#modulos > .section-heading h2 { max-width: 19ch; }
.capability-group {
  display: grid;
  grid-template-columns: minmax(220px, .85fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(36px, 6vw, 96px);
  padding-block: clamp(32px, 5.2vw, 76px);
  border-top: 1px solid var(--line);
}
.chapter-heading { max-width: 310px; }
.chapter-heading .icon { display: block; width: 28px; height: 28px; color: var(--blue); margin-bottom: 12px; }
.chapter-heading h3 {
  font-size: clamp(1.65rem, 3.05vw, 2.82rem);
  line-height: 1.08;
  letter-spacing: -.031em;
  text-wrap: balance;
}
.chapter-progress { display: block; width: min(100%, 112px); height: 2px; margin-top: 22px; background: var(--line); }
.chapter-progress span { display: block; width: 100%; height: 100%; background: #397bb3; transform: scaleX(0); transform-origin: left; }
.capabilities { display: grid; gap: clamp(12px, 1.65vw, 24px); }
.capability-card {
  display: grid;
  grid-template-columns: minmax(115px, 1fr) minmax(0, 2.15fr);
  gap: clamp(16px, 2.65vw, 40px);
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--mist);
}
.capability:nth-child(2) .capability-card { background: var(--paper); }
.capability h4 {
  color: var(--navy);
  font-size: clamp(1.15rem, 1.7vw, 1.48rem);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.022em;
}
.capability ul { display: grid; align-content: start; gap: 9px; padding-inline-start: 1.05em; }
.capability li { font-size: clamp(.91rem, 1.4vw, 1rem); line-height: 1.48; color: var(--quiet); }
.capability li::marker { color: #5482ac; font-size: .85em; }
.capability strong { color: var(--ink); font-weight: 720; }
@media (min-width: 900px) and (min-height: 640px) {
  .chapter-heading { position: sticky; top: calc(var(--header) + 62px); }
}
.optional-options {
  margin-top: clamp(25px, 3.6vw, 38px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--mist);
  scroll-margin-top: calc(var(--header) + 20px);
}
.optional-options h3 { font-size: 1.11rem; }
.optional-options ul, .setup-list, .terms ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 37px); padding: 0; list-style: none; }
.optional-options ul { margin-top: 15px; }
.optional-options li { line-height: 1.45; }
.optional-options strong, .optional-options span, .terms strong, .terms span { display: block; }
.optional-options strong, .terms strong { margin-bottom: 3px; font-size: .92rem; }
.optional-options span, .terms span { color: var(--quiet); font-size: .89rem; }

.product-flow { padding-block: clamp(38px, 6vw, 72px); background: linear-gradient(131deg, #e4f3fd, #f8fcff 62%, #e6f3fc); }
.product-flow .section-heading > h2 { max-width: none; }
.flow-rail { height: 2px; background: #bcd7ec; margin-bottom: 17px; }
.flow-rail span { display: block; width: 100%; height: 100%; background: #3d77aa; transform-origin: left; }
.flow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 30px); padding: 0; list-style: none; }
.flow-visual { display: grid; min-height: 186px; place-items: center; overflow: hidden; padding: 19px 14px; border: 1px solid #cedfeb; border-radius: 15px; background: #ffffff86; }
.flow-demo { width: min(100%, 238px); padding: 12px 13px; border: 1px solid #cddfee; border-radius: 10px; background: #fff; box-shadow: var(--lift); font-size: .79rem; }
.flow-demo > span { color: var(--quiet); font-weight: 680; }
.demo-entry { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .76rem; }
.demo-entry strong { white-space: nowrap; color: var(--navy); font-size: 1rem; font-variant-numeric: tabular-nums; }
.demo-status { color: var(--blue); font-size: .72rem; font-weight: 700; margin-top: 8px; }
.demo-bars { display: flex; align-items: end; gap: 8px; height: 46px; border-bottom: 1px solid var(--line); margin-top: 2px; }
.demo-bars i { flex: 1; border-radius: 3px 3px 0 0; height: var(--size); background: linear-gradient(#5b9ed2, #2c6599); transform-origin: bottom; }
.flow-step h3 { font-size: 1.06rem; margin-top: 14px; }
.flow-step p { font-size: .91rem; margin-top: 5px; }
.flow-caption { font-size: .8rem; margin-top: 14px; }

.pricing-band { background: var(--mist); padding: clamp(44px, 6.25vw, 86px) 0; }
.pricing-band h2 { max-width: none; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.plan { padding: clamp(20px, 2.75vw, 34px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.plan:nth-child(2) { background: #e5f3fd; border-color: #d4e7f5; }
.plan h3 { font-size: 1.08rem; }
.price { margin: 12px 0 14px; line-height: 1; color: var(--navy); }
.price span { display: block; margin: 0 0 6px; font-size: .85rem; color: var(--quiet); }
.price strong { font-size: clamp(2.15rem, 4.7vw, 4.4rem); font-weight: 760; letter-spacing: -.04em; }
.price small { font-size: clamp(.85rem, 1.42vw, 1.15rem); color: var(--quiet); }
.price + p { font-size: .94rem; margin: 0; }
.pricing-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.pricing-foot > p { max-width: 63ch; font-size: .86rem; }

.terms { border-top: 1px solid var(--line); padding-top: 20px; margin-top: clamp(21px, 3vw, 34px); }
.terms h3 { font-size: 1.12rem; }
.terms > p { font-size: .88rem; margin-top: 7px; }
.terms ul { margin-top: 14px; }

.setup h2 { font-size: clamp(1.65rem, 3vw, 2.8rem); }
.setup-intro { max-width: 56ch; }
.setup-list { margin-top: 22px; }
.setup-list > li { border-top: 1px solid var(--line); padding-top: 15px; }
.setup-list h3 { font-size: 1.06rem; }
.setup-list p { font-size: .94rem; margin-top: 6px; max-width: 34ch; }

.contact-band { color: white; background: linear-gradient(130deg, #082440, #173d64 79%, #204974); padding: clamp(42px, 6.7vw, 86px) 0; }
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.contact-band h2 { font-size: clamp(2rem, 4.1vw, 3.65rem); }
.contact-band p { color: #e0eef9; max-width: 48ch; }
.contact-band .button { color: var(--navy); background: #fff; border-color: #fff; }
.contact-band .button:hover { background: #d8edfb; border-color: #d8edfb; }
address { font-style: normal; display: flex; flex-wrap: wrap; gap: 6px 19px; overflow-wrap: anywhere; margin-top: 14px; }
address a { width: fit-content; color: #e6f3ff; font-size: .94rem; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px 18px; padding-block: 24px; }
.footer .brand { width: 84px; }
.footer p { font-size: .85rem; }

@media (max-width: 970px) {
  .hero-dashboard { grid-template-columns: 128px minmax(0,1fr); }
  .client-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --header: 62px; }
  .header-inner { gap: 8px; }
  .header .brand { width: clamp(73px, 21vw, 100px); }
  .header nav { gap: clamp(6px, 2vw, 17px); }
  .header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(.8rem, 2.5vw, .93rem); }
  .hero-copy { padding-top: clamp(36px, 8vw, 61px); }
  .hero-copy h1 { font-size: clamp(2.85rem, 12vw, 5.4rem); }
  .hero-copy p { max-width: 33ch; margin-block: 17px; }
  .hero-art { padding: 29px 0 26px; }
  .hero-dashboard { grid-template-columns: minmax(0, 1fr); border-radius: 17px; }
  .hero-dashboard aside { display: none; }
  .dash-body { padding: clamp(14px,4vw,24px); }
  .dash-body h2 { margin-block: 12px; }
  .dash-chart { padding: 9px; }
  .dash-chart .spark { height: clamp(55px, 16vw, 96px); }
  .capability-group { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 34px; }
  .chapter-heading { max-width: none; }
  .chapter-heading h3 { font-size: clamp(1.65rem, 5.5vw, 2.35rem); text-wrap: initial; }
  .chapter-heading .icon { width: 23px; height: 23px; margin-bottom: 9px; }
  .chapter-progress { margin-top: 14px; }
  .optional-options ul, .setup-list, .terms ul, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .plan-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .solution-grid { gap: 12px; }
  .setup-list { gap: 12px; }
}
@media (max-width: 640px) {
  .solution-grid { grid-template-columns: minmax(0, 1fr); }
  .flow-grid { grid-template-columns: minmax(0, 1fr); gap: 23px; }
}
@media (max-width: 520px) {
  .capability-card { grid-template-columns: minmax(0, 1fr); gap: 13px; padding: 18px; }
  .capability h4 { font-size: 1.2rem; }
  .client-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-list li { height: 59px; }
  .client-list img { max-height: 50px; }
  .solution { padding: 17px 19px 20px; }
  .solution-line { margin-bottom: 14px; }
  .flow-visual { min-height: 135px; }
  .flow-step h3 { margin-top: 9px; }
}
@media (max-width: 410px) {
  .header-inner { gap: 6px; }
  .header .brand { width: clamp(61px, 21vw, 84px); }
  .header nav { gap: clamp(4px, calc((100vw - 320px) / 8), 9px); }
  .header nav a { padding-inline: 0; }
  .marquee-toggle { font-size: .78rem; }
  .button-row .button { padding-inline: 10px; font-size: .81rem; gap: 5px; }
  .button-row .button .icon { width: 14px; height: 14px; }
  .dash-metrics > div { padding: 8px 6px; }
  .dash-metrics span { font-size: .65rem; }
}

@media (max-width: 365px) {
  :root { --header: 89px; }
  .header-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: 41px 1fr; justify-items: center; gap: 0; }
  .header .brand { width: 72px; align-self: end; }
  .header nav { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .header nav a { justify-content: center; padding-block: 7px; }
  .compact-story .story-stage { --hero-card-height: 104px; }
  .compact-story .hero-copy { padding-top: 14px; }
  .compact-story .hero-copy p { margin-block: 9px 10px; }
  .compact-story :is(.fragment-sales, .fragment-stock) { padding-block: 8px; }
  .compact-story .fragment-stock :is(th, td) { padding-block: 2px; }
  .compact-story .fragment-invoice { padding-block: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
