/* GLM's selected hero is scoped here to keep the Astra body intact. */
.hero.hero-glm { padding-top: 0; background: white; }
.glm-hero-upper {
  background: radial-gradient(52vw 42vw at 85% -10%, rgba(32,86,224,.10), transparent 60%), radial-gradient(40vw 36vw at 8% 8%, rgba(124,77,224,.07), transparent 60%), linear-gradient(180deg,#f7fafe 0%,#fff 100%);
  padding: clamp(48px,7vw,88px) 0 clamp(40px,6vw,72px);
  overflow: hidden;
  font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC","Source Han Sans SC",sans-serif;
  line-height: 1.75;
  color: #3d4e63;
}
.glm-hero-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.glm-hero-grid { display: grid; grid-template-columns: minmax(450px,.46fr) minmax(0,.54fr); gap: 48px; align-items: center; }
.glm-hero-copy, .glm-hero-visual { min-width: 0; }
.glm-hero-eyebrow { display: inline-block; padding: 4px 14px; border-radius: 999px; margin: 0 0 24px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #4a5fe0; background: #edf0fe; }
.glm-hero-copy h1 { font-size: clamp(28px,1.2rem + 2.6vw,44px); font-weight: 700; line-height: 1.3; letter-spacing: .01em; color: #16273d; margin: 0 0 16px; }
.glm-hero-lead { font-size: 18px; color: #71809a; max-width: 34em; margin: 0 0 16px; }
.glm-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 24px; }
.glm-hero-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; padding: 13px 30px; font-size: 17px; line-height: 1.5; border: 1.5px solid transparent; transition: background .2s,color .2s,border-color .2s,transform .2s; text-decoration: none; }
.glm-hero-btn:hover { transform: translateY(-1px); text-decoration: none; }
.glm-hero-btn-primary { background: #4a5fe0; color: white; box-shadow: 0 4px 14px rgba(32,86,224,.28); }
.glm-hero-btn-primary:hover { background: #3849c4; }
.glm-hero-btn-ghost { color: #4a5fe0; border-color: #b9cbf3; background: transparent; }
.glm-hero-btn-ghost:hover { border-color: #4a5fe0; background: #edf0fe; }
.glm-hero-roles { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: #71809a; }
.glm-hero-roles li { display: inline-flex; align-items: center; gap: 8px; }
.glm-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: #4a5fe0; flex: none; }
.glm-hero-roles li:nth-child(2) .glm-hero-dot { background: #7c4de0; }
.glm-hero-roles li:nth-child(3) .glm-hero-dot { background: #e8553e; }
.glm-hero-roles li:nth-child(4) .glm-hero-dot { background: #f0b429; }
.glm-hero-figure { margin: 0; }
.glm-hero-figure svg { display: block; max-width: 100%; width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(22,39,61,.12)); }

/* Alternate the reading rhythm: copy/image, image/copy, copy/image, image/copy. */
.live-rewards-section { background: var(--surface); }
.customer-stock-section { background: white; }
.business-section { background: var(--surface); }
.store-activities-section { background: #faf8f5; }
.accounting-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 68px; align-items: center; }
.accounting-copy { grid-column: 2; grid-row: 1; min-width: 0; }
.accounting-demo { grid-column: 1; grid-row: 1; min-width: 0; width: 100%; }
.accounting-copy .feature-list { margin-top: 25px; }
.accounting-copy .inline-links { margin-top: 24px; }
.ledger-block { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: var(--surface); }
.ledger-block h3 { display: flex; gap: 9px; align-items: center; font-size: 16px; margin-bottom: 18px; }
.ledger-block h3 > .icon { color: var(--brand); width: 19px; height: 19px; }
.ledger-block h3 > small { margin-left: auto; font-size: 11px; font-weight: 400; color: var(--muted); }
.ledger-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; gap: 16px; }
.ledger-metrics dt { font-size: 12px; color: var(--muted); }
.ledger-metrics dd { margin: 6px 0 0; font-size: clamp(23px,2.2vw,31px); line-height: 1.4; font-weight: 550; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ledger-metrics dd small { font-size: 13px; font-weight: 400; margin-right: 2px; }
.ledger-metrics .ledger-highlight dd { color: var(--brand); }
.ledger-connection { font-size: 12px; color: var(--muted); text-align: center; padding: 15px 0; }
.handover-block { background: white; }
.handover-actor { display: inline-block; font-size: 12px; border-radius: 4px; padding: 4px 9px; background: var(--brand-soft); color: var(--brand); margin-bottom: 12px; }
.accounting-demo .demo-actions { margin-top: 21px; }
.accounting-demo .demo-bottom-note { min-height: 65px; }
#simulate-handover:disabled { cursor: default; opacity: .65; transform: none; }
.sales-order-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 23px; }
.sales-order-heading > div > strong, .sales-order-heading > div > span { display: block; }
.sales-order-heading strong { font-size: 16px; font-weight: 550; color: var(--ink); }
.sales-order-heading > div > span { font-size: 12px; color: var(--muted); margin-top: 4px; }
.sales-state { display: inline-block; flex-shrink: 0; font-size: 12px; line-height: 1.7; padding: 4px 9px; border-radius: 5px; background: var(--warm-soft); color: var(--warm-ink); }
.sales-state[data-settled="true"] { background: #ecf7ef; color: #236647; }
.sales-delivery { display: flex; align-items: center; gap: 13px; border-block: 1px solid var(--line); padding-block: 20px; margin-top: 23px; color: var(--warm-ink); }
.sales-delivery > div > span, .sales-delivery strong { display: block; }
.sales-delivery span { font-size: 12px; color: var(--muted); }
.sales-delivery strong { font-size: 15px; font-weight: 550; color: var(--ink); margin-top: 4px; }
#simulate-sale-payment:disabled, #settle-period:disabled { opacity: .55; cursor: default; transform: none; }
.reconciliation-rule { margin: 0 0 22px; padding: 14px 17px; border-left: 2px solid var(--line); font-size: 13px; color: var(--muted); }
.remittance-demo .demo-panel { min-height: 330px; }
.funds-channel { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 15px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; }
.funds-channel > span { font-size: 11px; color: var(--muted); grid-column: 1; }
.funds-channel h3 { font-size: 16px; margin: 2px 0 4px; }
.funds-channel > p:not(.channel-amount) { font-size: 12px; color: var(--muted); grid-column: 1; }
.funds-channel .channel-amount { grid-column: 2; grid-row: 1 / 4; align-self: center; color: var(--ink); font-size: 30px; line-height: 1.5; font-weight: 550; font-variant-numeric: tabular-nums; }
.channel-amount small { font-size: 14px; margin-right: 3px; font-weight: 400; }
.funds-channel > strong { grid-column: 1 / -1; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--muted); }
.staff-channel { background: var(--brand-soft); border-color: #c5d3ff; }
.staff-channel > strong, .staff-channel .channel-amount { color: var(--brand); }
.accounting-next-link { margin-top: 13px; color: var(--brand); }
.period-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 7px 0 27px; }
.period-heading > div > span { font-size: 12px; color: var(--muted); }
.period-heading h3 { margin-top: 5px; font-size: 26px; }
.period-heading p { font-size: 13px; color: var(--muted); margin-top: 7px; }
.period-metrics { padding: 21px 0; border-block: 1px solid var(--line); }
.followup-availability span { display: inline-block; padding: 2px 7px; margin-right: 6px; color: var(--brand); background: var(--brand-soft); border-radius: 3px; font-size: 11px; }
.followup-preview { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.followup-topline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.followup-topline strong { color: var(--ink); font-size: 14px; font-weight: 550; }
.followup-topline > span { color: var(--muted); font-size: 10px; }
.followup-note { padding: 15px 17px; border: 1px solid var(--line); background: white; border-radius: 7px; }
.followup-note > div { display: flex; flex-wrap: wrap; gap: 7px 15px; font-size: 12px; align-items: center; }
.followup-note > div > span { color: var(--brand); }
.followup-note strong { color: var(--ink); font-weight: 550; }
.followup-note p { font-size: 12px; color: var(--text); margin: 9px 0 4px; }
.followup-note small { font-size: 10px; color: var(--muted); }
.followup-queue { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 17px; border: 1px solid var(--line); background: white; border-radius: 7px; margin-top: 9px; }
.followup-queue > div { display: flex; align-items: center; gap: 15px; font-size: 12px; }
.followup-queue > div > span { color: var(--brand); }
.followup-queue strong { font-weight: 550; color: var(--ink); }
.followup-reason { font-size: 10px; color: var(--warm-ink); background: var(--warm-soft); padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.followup-caption { color: var(--muted); font-size: 11px; margin-top: 14px; }
@media (min-width: 951px) {
  .live-layout { grid-template-columns: 1.28fr .72fr; align-items: center; }
  .live-benefits { grid-column: 2; grid-row: 1; }
  .live-demo { grid-column: 1; grid-row: 1; }
  .activity-split { grid-template-columns: 1.1fr .9fr; }
  .activity-split > .section-copy { grid-column: 2; grid-row: 1; }
  .activity-demo { grid-column: 1; grid-row: 1; }
}
@media (max-width: 1190px) { .accounting-layout { gap: 38px; } }
@media (max-width: 1024px) {
  .glm-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .glm-hero-copy, .glm-hero-visual { width: 100%; max-width: 640px; }
}
@media (max-width: 950px) {
  .accounting-layout { grid-template-columns: 1fr; gap: 32px; }
  .accounting-copy, .accounting-demo { grid-column: auto; grid-row: auto; }
  .accounting-copy { max-width: 640px; }
}
@media (max-width: 640px) {
  .glm-hero-container { padding-inline: 20px; }
  .glm-hero-cta .glm-hero-btn { width: 100%; }
  .glm-hero-lead { font-size: 16px; }
  .glm-hero-roles { gap: 9px 20px; font-size: 13px; }
  .glm-hero-upper { padding-bottom: 28px; }
  .ledger-block { padding: 18px 14px; }
  .ledger-metrics { gap: 10px; }
  .ledger-metrics dd { font-size: 25px; }
  .ledger-block h3 { font-size: 15px; }
  .ledger-block h3 > small { font-size: 10px; }
  .funds-channel { padding: 16px 14px; }
  .funds-channel .channel-amount { font-size: 27px; }
  .followup-note, .followup-queue { padding-inline: 12px; }
  .followup-queue > div { gap: 9px; }
}
@media (max-width: 360px) {
  .glm-hero-copy h1 { font-size: 27px; }
  .ledger-metrics dd { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .glm-hero-btn:hover { transform: none; } }
