/* Connected business suite: shared styles for every page. */
:root {
  --ink: #0D1B2A;
  --ink-2: #14263A;
  --line-dark: #33475B;
  --paper: #F4F6F3;
  --text: #13202E;
  --muted: #47545F;
  --muted-dark: #C4D0DB;
  --amber: #FFB020;
  --amber-text: #8A4B00;
  --blue: #6EA8FE;
  --pos: #FFB020;
  --pms: #4FD1C5;
  --hr: #F49AC2;
  --cbip: #B39DFF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--text); background: var(--paper); line-height: 1.55; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, system-ui, sans-serif; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: #1D4FBF; }
a:hover { color: #13388C; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; }
/* Same column as the profile pages (see ../../assets/top.css). */
.wrap { max-width: var(--frame-w, 1356px); margin: 0 auto; padding: 0 var(--gutter, clamp(20px, 6vw, 88px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.btn-main { background: var(--amber); color: #13202E; }
.btn-main:hover { background: #FFC24D; color: #13202E; }
.btn-line { border: 1px solid #5C6E80; color: #F4F6F3; }
.btn-line:hover { color: #FFFFFF; border-color: var(--muted-dark); }

/* Dark hero used by every page */
.hero { background: var(--ink); color: #F4F6F3; padding: 56px 0 64px; }
.hero .wrap { display: flex; flex-direction: column; gap: 22px; }
.kicker-dark { font-size: 14px; line-height: 1.55; color: var(--amber); }
.hero h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.05; font-weight: 600; letter-spacing: -0.02em; max-width: 1040px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted-dark); max-width: 680px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Overview: business chooser and connection map */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #5C6E80; background: transparent; color: #F4F6F3; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--muted-dark); }
.chip[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #13202E; }
.suite { background: var(--ink); color: #F4F6F3; padding: 8px 0 88px; }
.suite .wrap { display: flex; flex-direction: column; gap: 26px; }
.advice { min-height: 52px; max-width: 820px; }
.cmap { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1.15fr) 150px minmax(0, 1fr); grid-template-rows: auto 118px auto 118px auto;
  grid-template-areas: ". . pos . ." ". . c-pos . ." "pms c-pms erp c-hr hr" ". . c-cbip . ." ". . cbip . ."; }
.cnode { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line-dark); color: #F4F6F3; text-decoration: none; transition: opacity .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease; }
.cnode:hover { color: #F4F6F3; border-color: var(--muted-dark); }
.cnode b { font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-size: 20px; font-weight: 600; line-height: 1.2; }
.cnode span { font-size: 14px; color: var(--muted-dark); }
.cnode small { font-size: 12px; color: #A9B8C6; }
.cnode.on { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 10px 30px rgba(255,176,32,.18); transform: translateY(-2px); }
.cnode.dim { opacity: .35; }
.cnode.erp { background: #1A3350; border: 2px solid var(--blue); }
.cnode.erp b { font-size: 26px; }
.clink { position: relative; display: flex; align-items: center; justify-content: center; }
.clink::before { content: ""; position: absolute; border-color: var(--blue); border-style: dashed; border-width: 0; }
.clink.v::before { top: 0; bottom: 0; left: 50%; border-left-width: 2px; }
.clink.h::before { left: 0; right: 0; top: 50%; border-top-width: 2px; }
.clabel { position: relative; z-index: 1; max-width: 210px; padding: 6px 10px; border-radius: 6px; background: var(--ink); border: 1px solid var(--line-dark); font-size: 12px; line-height: 1.35; color: var(--muted-dark); text-align: center; }
.clabel i { display: block; font-style: normal; font-size: 11px; color: var(--amber); margin-bottom: 2px; }
.clink.h .clabel { max-width: 146px; }
@media (max-width: 900px) {
  .cmap { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "erp" "c-pos" "pos" "c-pms" "pms" "c-hr" "hr" "c-cbip" "cbip"; }
  .clink { min-height: 96px; }
  .clink.h::before { left: 50%; right: auto; top: 0; bottom: 0; border-top-width: 0; border-left-width: 2px; }
  .clink.h .clabel, .clabel { max-width: 280px; }
}

/* Product cards on the overview */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 12px; background: #FFFFFF; border: 1px solid #D5DCE1; border-top: 4px solid var(--c, var(--blue)); color: var(--text); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { color: var(--text); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(13,27,42,.1); }
.card h3 { font-size: 22px; }
.card p { font-size: 15px; color: var(--muted); }
.card span { margin-top: auto; font-weight: 600; color: #1D4FBF; }

/* Product pages */
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section + .section { border-top: 1px solid #D5DCE1; }
.kicker { font-size: 13px; color: var(--amber-text); margin-bottom: 8px; }
.section h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; font-weight: 600; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 28px clamp(32px, 5vw, 64px); margin-top: 28px; }
.h { font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.fns { list-style: none; margin: 0; padding: 0; }
.fns li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid #DDE3E7; font-size: 15px; }
.tag { flex: none; font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12px; padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.tag.built { background: var(--text); color: var(--paper); }
.tag.part { border: 1px solid var(--amber-text); color: var(--amber-text); }
.tag.plan { border: 1px dashed #5C6E80; color: var(--muted); }
.flow-name { font-size: 14px; font-weight: 600; margin: 18px 0 8px; }
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: step; }
.flow li { counter-increment: step; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: #FFFFFF; border: 1px solid #D5DCE1; font-size: 14px; }
.flow li::before { content: counter(step); font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12px; color: var(--amber-text); }
.fit { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; margin-top: 28px; }
.stat { padding: 16px 18px; border-radius: 10px; background: #FFFFFF; border: 1px solid #D5DCE1; }
.stat b { display: block; font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-size: 28px; font-weight: 600; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.share { margin-top: 24px; padding: 14px 18px; border-radius: 10px; border: 1px dashed #6E8BA8; background: #EAF0F6; font-size: 14px; color: #2B3A49; }
.share b { color: var(--text); }
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; margin-top: 20px; }
.key { padding: 18px; border-radius: 10px; background: #FFFFFF; border: 1px solid #D5DCE1; border-left: 4px solid var(--c, var(--blue)); display: flex; flex-direction: column; gap: 6px; }
.key h3 { font-size: 17px; }
.key p { font-size: 14px; color: var(--muted); }
.key small { font-size: 12px; color: var(--amber-text); }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 32px 0 64px; border-top: 1px solid #D5DCE1; }
.pager a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Dark band and footer */
.band { background: var(--ink); color: #F4F6F3; padding: clamp(52px, 7vw, 88px) 0; }
.band .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 32px clamp(32px, 5vw, 64px); }
.band ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; color: var(--muted-dark); }
.band b { color: #F4F6F3; }
.footer { padding: 48px 0 64px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 64px; align-items: flex-end; }
.footer .contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.footer .contact a { display: flex; align-items: baseline; gap: 12px; padding: 5px 10px; margin: 0 -10px; border-radius: 8px; color: var(--amber-text); text-decoration: none; transition: background-color .2s ease; }
.footer .contact a:hover { background: rgba(138,75,0,.08); color: var(--amber-text); }
.footer .contact small { min-width: 68px; font-size: 12px; color: var(--muted); }
.footer .contact .mono { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cnode, .card { transition: none; }
}
