/* Landing-page composition only. ERP and the detailed feature page are unchanged. */
.w-home {
  --navy: #171b38;
  --ink: #171b38;
  --blue: #3048c8;
  --blue-deep: #263ba8;
  --yellow: #ffd168;
  --muted: #59677b;
  --line: #dce2e9;
  --paper: #f5f7fa;
  --pale-blue: #eef2f9;
  --pale-yellow: #faf6eb;
  --home-radius: 12px;
}
.w-home .w-wrap { width: min(1280px, calc(100% - 80px)); }
.w-home .w-header { border-bottom: 1px solid var(--line); }
.w-home .w-header-row { min-height: 88px; }
.w-home .w-primary { gap: clamp(18px, 2.2vw, 32px); }
.w-home .w-button { min-height: 48px; border-radius: 6px; font-weight: 600; }
.w-home .w-header-actions .w-button { min-height: 42px; }
.w-home .w-header-apply { background: var(--yellow); border-color: #d4a336; color: var(--navy); }
.w-home .w-header-apply:hover { background: #ffdc8b; border-color: #d4a336; color: var(--navy); }
.w-home .w-kicker { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.w-home .w-kicker > span { width: 6px; height: 6px; border-radius: 1px; }
.w-home main [id] { scroll-margin-top: 24px; }

/* A real operation, one clear message and a continuous channel ribbon. */
.w-home .w-hero { background: var(--navy); color: #fff; }
.w-home .w-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(32px, 5vw, 76px);
  padding-block: clamp(48px, 5.4vw, 76px);
}
.w-home .w-hero-copy { padding-block: 12px; }
.w-home .w-hero .w-kicker { color: var(--yellow); }
.w-home .w-hero h1 {
  max-width: 15ch;
  margin-block: 22px 24px;
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 550;
  line-height: 1.04;
  letter-spacing: -.055em;
  overflow-wrap: normal;
}
.w-home .w-hero h1 > span { color: var(--yellow); }
.w-home .w-lead { max-width: 46ch; color: #dce1ff; font-size: 18px; line-height: 1.7; }
.w-home .w-hero .w-actions { gap: 12px; margin-top: 28px; }
.w-home .w-hero .w-actions .w-button { min-height: 52px; padding-inline: 23px; }
.w-home .w-hero .w-solid { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.w-home .w-hero .w-solid:hover { background: #ffdc8b; border-color: #ffdc8b; }
.w-home .w-hero .w-outline { color: #fff; background: transparent; border-color: #7884b7; }
.w-home .w-hero .w-outline:hover { color: #fff; background: var(--blue-deep); border-color: #a3afe6; }
.w-home .w-hero :is(a,button):focus-visible { outline-color: var(--yellow); }
.w-home .w-hero-highlights { margin-top: 28px !important; gap: 12px 22px; color: #dce1ff; }
.w-home .w-hero-highlights svg { color: var(--yellow); }
.w-home .w-hero-art { margin: 0; border: 0; border-radius: var(--home-radius); background: var(--navy); }
.w-home .w-hero-art > img { width: 100%; aspect-ratio: 6/5; height: auto; object-fit: cover; object-position: 61% center; }
.w-home .w-hero-caption { display: flex; align-items: center; gap: 13px; padding: 19px 24px; color: #fff; background: var(--blue-deep); border-left: 4px solid var(--yellow); }
.w-home .w-hero-caption > img { width: 36px; height: 36px; flex: none; }
.w-home .w-hero-caption div { display: grid; gap: 1px; }
.w-home .w-hero-caption strong { font-size: 17px; font-weight: 600; letter-spacing: -.025em; }
.w-home .w-hero-caption span { color: #d4deee; font-size: 12px; }
.w-home .w-hero-caption > svg { width: 24px; height: 24px; margin-left: auto; flex: none; color: var(--yellow); }
.w-home .w-hero-bridge { border-top: 1px solid var(--yellow); border-bottom: 1px solid #e4b74b; background: var(--yellow); color: var(--navy); }
.w-home .w-hero-channel-row { display: flex; align-items: center; gap: 36px; min-height: 83px; padding-block: 15px; }
.w-home .w-hero-channel-label { flex: none; color: var(--navy); font-size: 12px; font-weight: 600; }
.w-home .w-hero-channel-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; flex: 1; gap: 12px; }
.w-home .w-hero-channel-list a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; font-size: 14px; font-weight: 500; }
.w-home .w-hero-channel-list a:hover { color: var(--blue); }
.w-home .w-hero-bridge a:focus-visible { outline-color: var(--navy); }
.w-home .w-hero-channel-list .w-channel-icon { width: 25px; height: 25px; }

/* Alternate light content with the admin palette: navy, deep blue and warm yellow. */
.w-home .w-section { padding-block: clamp(48px, 5.8vw, 80px); }
.w-home .w-section h2 { max-width: 25ch; margin-top: 14px; font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; line-height: 1.13; letter-spacing: -.045em; }
.w-home .w-section-intro { max-width: 64ch; margin-top: 18px !important; font-size: 17px; line-height: 1.65; }
.w-home :is(.wf-preview-heading,.w-section-head) { gap: 28px; align-items: flex-end; }
.w-home :is(.wf-preview-heading,.w-section-head) > div { max-width: 740px; }
.w-home :is(.wf-preview-heading,.w-section-head) > .w-button { margin-bottom: 3px; }
.w-home .w-features-section { background: #f4f5fc; }
.w-home .wf-overview { --wf-radius: var(--home-radius); }
.w-home .wf-home-flow { margin-block: 32px 24px; }
.w-home .wf-tabs { gap: 4px; padding: 6px; border-color: var(--navy); border-radius: 12px 12px 0 0; background: var(--navy); }
.w-home .wf-tabs button { min-height: 52px; border-radius: 6px; font-size: 14px; color: #e2e5ff; }
.w-home .wf-tabs button:hover { background: var(--blue-deep); color: #fff; }
.w-home .wf-tabs button[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.w-home .wf-tabs button:focus-visible { outline-color: var(--yellow); }
.w-home .wf-home-flow .wf-model-panel { align-items: start; margin-top: 0; padding: clamp(24px, 2.7vw, 36px); gap: clamp(28px, 4vw, 58px); border-top: 0; border-radius: 0 0 12px 12px; background: #fff; }
.w-home .wf-model-copy { padding-top: 12px; }
.w-home .wf-eyebrow { font-size: 11px; letter-spacing: .1em; }
.w-home .wf-model-copy h3 { margin-block: 16px 18px; max-width: 25ch; font-size: clamp(27px, 2.65vw, 35px); font-weight: 500; line-height: 1.17; }
.w-home .wf-model-copy > p:not(.wf-eyebrow) { font-size: 16px; line-height: 1.7; }
.w-home .wf-checks { gap: 13px; margin-top: 24px !important; }
.w-home .wf-checks li { font-size: 14px; }
.w-home .wf-home-flow .wf-commerce { padding: 18px; border-radius: 10px; background: #f5f7fb; }
.w-home .wf-commerce-topline { margin-bottom: 12px; }
.w-home .wf-commerce-source { min-height: 72px; padding: 12px; border-radius: 7px; }
.w-home .wf-source-connection { height: 28px; }
.w-home .wf-commerce-hub { padding: 17px; border-radius: 7px; background: var(--blue); border-color: var(--blue); }
.w-home .wf-hub-heading > strong { font-size: 21px; }
.w-home .wf-commerce .wf-hub-label { margin-block: 8px 10px; }
.w-home .wf-order-activity { margin-top: 12px; padding-top: 10px; border-color: #7183e2; }
.w-home .wf-exchange-track { height: 49px; }
.w-home .wf-home-flow .wf-exchange-track b { background: #f5f7fb; }
.w-home .wf-channel-heading { margin-bottom: 6px; }
.w-home .wf-channel-quartet { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.w-home .wf-channel-tile { min-height: 88px; padding: 10px 8px; border-radius: 6px; }
.w-home .wf-channel-logo { height: 27px; }
.w-home .wf-channel-logo img { height: 26px; }
.w-home .wf-channel-tile strong { font-size: 12px; }
.w-home .wf-commerce figcaption { margin-top: 12px; }
.w-home .wf-preview-grid { gap: 18px; margin-top: 24px; }
.w-home .wf-preview-card { border-radius: 10px; }
.w-home .wf-preview-media { aspect-ratio: 1.9; }
.w-home .wf-preview-symbol { width: 36px; height: 36px; right: 12px; bottom: 12px; border-radius: 6px; background: var(--yellow); color: var(--navy); border-color: #e4b74b; }
.w-home .wf-preview-symbol svg { width: 21px; height: 21px; }
.w-home .wf-preview-copy { padding: 22px; }
.w-home .wf-preview-copy h3 { font-size: 21px; line-height: 1.25; }
.w-home .wf-preview-copy p { margin-block: 11px 16px; font-size: 14px; line-height: 1.6; }
.w-home .wf-preview-copy .wf-text-link { font-size: 13px; }

.w-home .w-channels { border-block: 1px solid var(--blue-deep); background: var(--blue-deep); color: #fff; }
.w-home .w-channels .w-kicker { color: var(--yellow); }
.w-home .w-channels .w-section-intro { color: #e2e5ff; }
.w-home .w-channels .w-section-head > .w-button { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.w-home .w-channels .w-section-head > .w-button:hover { background: #ffdc8b; border-color: #ffdc8b; }
.w-home .w-channels :is(a,summary):focus-visible { outline-color: var(--yellow); }
.w-home .w-channel-grid { gap: 10px; margin-top: 30px; }
.w-home .w-channel { min-height: 115px; border-radius: 8px; color: var(--ink); }
.w-home .w-channels .w-channel:hover { background: #fff5d6; border-color: var(--yellow); }
.w-home .w-channel strong { font-size: 13px; }
.w-home .w-channel small { font-size: 11px; }
.w-home .w-all-channels { margin-top: 24px; }
.w-home .w-all-channels > summary { min-height: 46px; border-color: #8e9eea; background: transparent; color: #fff; font-size: 13px; }
.w-home .w-all-channels > summary:hover { background: var(--navy); border-color: #b9c4f1; }
.w-home .w-platform-count { border-color: var(--yellow); background: var(--yellow); color: var(--navy); }
.w-home .w-journey { border-top: 0; background: #fff5d6; }
.w-home .w-journey-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5.5vw, 80px); }
.w-home .w-journey-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--home-radius); }
.w-home .w-journey .w-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px !important; padding-top: 23px; border-top: 1px solid #dec894; }
.w-home .w-journey .w-steps li { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; }
.w-home .w-journey .w-steps li > span { width: 34px; height: 30px; border-radius: 4px; background: var(--navy); color: var(--yellow); font-size: 12px; }
.w-home .w-signup-section { background: var(--navy); color: #fff; }
.w-home .w-signup-section .w-kicker { color: var(--yellow); }
.w-home .w-form-intro .w-section-intro { color: #dce1ff; }
.w-home .w-signup-section :is(a,button):focus-visible { outline-color: var(--yellow); }
.w-home .w-form { border-radius: var(--home-radius); border-top: 4px solid var(--yellow); }
.w-home .w-form :is(a,button):focus-visible { outline-color: var(--blue); }
.w-home .w-footer { border-top-color: #424c7d; }

@media (max-width: 1100px) {
  .w-home .w-wrap { width: calc(100% - 48px); }
  .w-home .w-hero-grid { gap: 32px; }
  .w-home .w-hero h1 { font-size: clamp(44px, 5.2vw, 62px); }
  .w-home .w-hero-channel-row { gap: 20px; }
  .w-home .w-hero-channel-list a { gap: 6px; font-size: 12px; }
  .w-home .w-hero-channel-list .w-channel-icon { width: 23px; height: 23px; }
}
@media (max-width: 960px) {
  .w-home :is(.wf-preview-heading,.w-section-head) { align-items: flex-start; flex-direction: column; gap: 20px; }
  .w-home .wf-home-flow .wf-model-panel { grid-template-columns: minmax(0, 1fr); }
  .w-home .wf-model-copy { padding-top: 0; }
  .w-home .wf-model-copy h3 { max-width: 28ch; }
  .w-home .wf-home-flow .wf-commerce { max-width: 650px; }
  .w-home .w-hero-channel-row { flex-direction: column; align-items: stretch; gap: 10px; padding-block: 18px; }
  .w-home .w-hero-channel-label { text-align: center; }
}
@media (max-width: 760px) {
  .w-home .w-wrap { width: calc(100% - 36px); }
  .w-home .w-header-row { min-height: 72px; }
  .w-home .w-hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 38px 32px; gap: 30px; }
  .w-home .w-hero-copy { padding: 0; }
  .w-home .w-hero h1 { max-width: 16ch; margin-block: 18px 20px; font-size: clamp(42px, 8.5vw, 62px); }
  .w-home .w-lead { max-width: 56ch; font-size: 16px; }
  .w-home .w-hero-art { max-width: none; width: 100%; }
  .w-home .w-hero-art > img { aspect-ratio: 3/2; }
  .w-home .w-hero-caption { padding: 15px 18px; }
  .w-home .w-hero-channel-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px 12px; }
  .w-home .w-hero-channel-list a { justify-content: flex-start; gap: 8px; font-size: 12px; }
  .w-home .w-hero-channel-label { text-align: start; }
  .w-home .w-section { padding-block: 46px; }
  .w-home .w-section h2 { font-size: clamp(31px, 6.5vw, 40px); }
  .w-home .w-section-intro { font-size: 16px; margin-top: 15px !important; }
  .w-home .wf-home-flow { margin-top: 25px; }
  .w-home .wf-home-flow .wf-model-panel { padding: 23px 18px; gap: 24px; }
  .w-home .wf-tabs button { font-size: 12px; min-height: 64px; }
  .w-home .wf-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .w-home .wf-preview-copy { padding: 18px; }
  .w-home .w-journey-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .w-home .w-journey-image { aspect-ratio: 3/2; }
}
@media (max-width: 540px) {
  .w-home .w-wrap { width: calc(100% - 32px); }
  .w-home .w-header-row { gap: 12px; }
  .w-home .w-brand img { height: 31px; }
  .w-home .w-hero .w-actions { gap: 9px; }
  .w-home .w-hero .w-actions .w-button { padding-inline: 16px; font-size: 13px; }
  .w-home .w-hero-highlights { margin-top: 22px !important; gap: 8px 18px; font-size: 12px; }
  .w-home .wf-preview-grid { grid-template-columns: minmax(0, 1fr); }
  .w-home .wf-preview-media { aspect-ratio: 2.1; }
  .w-home .wf-channel-quartet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-home .wf-home-flow .wf-commerce { padding: 13px; }
  .w-home .w-journey .w-steps { gap: 12px; }
  .w-home .w-journey .w-steps li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .w-home * { scroll-behavior: auto !important; }
}
