/* Yii bridge for frontendV2 Option A pages */

/*
 * Bootstrap 3 sets html { font-size: 10px } so every rem in mockup.css
 * becomes ~62.5% of the intended mockup size. Restore 16px root.
 */
html {
  font-size: 16px !important;
}
body.oa-mockup {
  padding-top: 0 !important;
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink, #2d2d2d);
  background: var(--white, #fff);
}
body.oa-mockup h1,
body.oa-mockup h2,
body.oa-mockup h3,
body.oa-mockup h4,
body.oa-mockup h5,
body.oa-mockup h6 {
  margin-top: 0;
  font-family: inherit;
  line-height: inherit;
}
/* Align homepage hero title with mockup v2 (mockup.css still has v1 clamp) */
body.oa-mockup .hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.45rem) !important;
  line-height: 1.18;
  max-width: 16ch;
  letter-spacing: -0.03em;
}
body.oa-mockup .hero .sub {
  font-size: 1.08rem;
}

/* Homepage v2 hero extras */
body.oa-mockup .hero {
  min-height: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 80% 70% at 85% 20%, rgba(244,135,86,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(26,90,154,0.55) 0%, transparent 50%),
    linear-gradient(115deg, #001a38 0%, #002e5b 42%, #0a4578 78%, #0d3c72 100%);
}
body.oa-mockup .hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
body.oa-mockup .hero-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 22px,
    rgba(255,255,255,0.025) 22px,
    rgba(255,255,255,0.025) 23px
  );
  opacity: 0.9;
}
body.oa-mockup .hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: oa-orb-drift 14s ease-in-out infinite;
}
body.oa-mockup .orb-1 { width: 340px; height: 340px; background: rgba(244,135,86,0.35); top: -8%; right: 8%; }
body.oa-mockup .orb-2 { width: 280px; height: 280px; background: rgba(80,160,220,0.28); bottom: 5%; left: -5%; animation-delay: -4s; animation-duration: 18s; }
body.oa-mockup .orb-3 { width: 180px; height: 180px; background: rgba(255,255,255,0.12); top: 40%; left: 38%; animation-delay: -8s; animation-duration: 12s; }
body.oa-mockup .hero-sheen {
  position: absolute;
  top: -20%;
  left: -30%;
  width: 55%;
  height: 140%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.07) 45%, transparent 70%);
  transform: skewX(-12deg);
  animation: oa-sheen-sweep 9s ease-in-out infinite;
}
@keyframes oa-orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -22px) scale(1.08); }
}
@keyframes oa-sheen-sweep {
  0%, 100% { opacity: 0.35; transform: skewX(-12deg) translateX(0); }
  50% { opacity: 0.7; transform: skewX(-12deg) translateX(35%); }
}
/* On a phone too: the room above the heading as below the video. */
body.oa-mockup .hero-inner { padding: 2.5rem 0 2.75rem; }
@media (min-width: 900px) {
  body.oa-mockup .hero-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    padding: 3.5rem 0;
  }
}
body.oa-mockup .hero-copy { max-width: 34rem; }
body.oa-mockup .hero-reveal { animation: oa-hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both; }
body.oa-mockup .hero-reveal-1 { animation-delay: 0.05s; }
body.oa-mockup .hero-reveal-2 { animation-delay: 0.18s; }
body.oa-mockup .hero-reveal-3 { animation-delay: 0.3s; }
body.oa-mockup .hero-reveal-4 { animation-delay: 0.42s; }
@keyframes oa-hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
body.oa-mockup .hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  max-width: 16ch;
  letter-spacing: -0.03em;
  text-shadow: 0 12px 40px rgba(0,20,40,0.35);
}
body.oa-mockup .hero-ctas .btn-primary {
  box-shadow: 0 12px 28px rgba(232,111,56,0.35);
}
body.oa-mockup .hero-visual {
  width: 100%;
  animation: oa-float-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
/* The dashboard loop reaches into the page's right margin, so its text reads: the copy stays in line
   with the logo, the video grows up to 760px, and keeps 24px from the window's edge. */
@media (min-width: 1200px) {
  body.oa-mockup .hero-visual {
    justify-self: start;
    width: min(760px, calc(100% + (100vw - var(--max)) / 2 - 24px));
  }
}
@keyframes oa-float-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

body.oa-mockup .oa-sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--orange);
  color: var(--on-orange) !important;
  box-shadow: 0 8px 24px rgba(13,60,114,0.25);
  text-decoration: none;
}
body.oa-mockup .oa-sticky-cta:hover { background: var(--orange-light); color: var(--on-orange) !important; }
body.oa-mockup .oa-sticky-cta { transition: opacity .2s ease, transform .2s ease; }
/* Hidden while another button is on screen, so the two never overlap or repeat (site-nav.js). */
body.oa-mockup .oa-sticky-cta.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
/* From 900px the header carries the same button. */
@media (min-width: 900px) { body.oa-mockup .oa-sticky-cta { display: none; } }

body.oa-mockup .modal .btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--on-orange);
}
body.oa-mockup .modal .btn-default {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

/* App A → B flow chips */
.app-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0.85rem 0 1rem;
}
.app-flow--compact {
  margin: 0.55rem 0 0.75rem;
  font-size: 0.78rem;
}
.app-flow-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  background: rgba(13, 60, 114, 0.06);
  border-radius: 0.5rem;
  font-weight: 600;
  color: var(--navy-deep, #0d3c72);
  line-height: 1.2;
}
.app-flow--compact .app-flow-chip {
  padding: 0.28rem 0.5rem;
  font-weight: 500;
  max-width: 100%;
}
.app-flow-chip img {
  height: 18px;
  width: auto;
  display: block;
}
.app-flow--compact .app-flow-chip img {
  height: 14px;
}
.app-flow--calc {
  margin: 0;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}
.app-flow--calc.app-flow--dual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem 0.3rem;
  flex-wrap: nowrap;
}
.app-flow--calc.app-flow--single {
  display: flex;
  justify-content: flex-start;
  width: auto;
}
.app-flow--calc .app-flow-chip {
  padding: 0.35rem 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 100%;
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 8px;
}
.app-flow--calc.app-flow--dual .app-flow-chip {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.28rem;
  padding: 0.42rem 0.3rem;
  min-width: 0;
  width: 100%;
}
.app-flow--calc.app-flow--dual .app-flow-chip span {
  font-size: 0.68rem;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-flow--calc .app-flow-chip img {
  height: 20px;
  max-width: 64px;
  object-fit: contain;
}
.app-flow--calc.app-flow--dual .app-flow-chip img {
  height: 22px;
  max-width: 72px;
}
.app-flow--calc .app-flow-arrow {
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  color: var(--orange, #f26522);
  justify-self: center;
  align-self: center;
}
.price-calc-opt__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
.price-calc-opt .opt-price {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-deep, #0d3c72);
  white-space: nowrap;
  align-self: center;
}

/* Pricing calculator — section headings (Webshop → Accounting, etc.) */
.price-calc-group + .price-calc-group {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.price-calc-group h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--navy-deep, #0d3c72);
  margin-bottom: 0.85rem;
  line-height: 1.25;
  padding-left: 0.7rem;
  border-left: 3px solid var(--orange, #e86f38);
}

/* Pricing page — sticky estimate sidebar */
.price-calc-summary {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-self: start;
}
@media (min-width: 860px) {
  .price-calc-body {
    grid-template-columns: minmax(0, 1fr) minmax(288px, 320px);
    align-items: start;
  }
  .price-calc-pick {
    padding: 1.25rem 1.15rem 1.5rem 1.35rem;
  }
  .price-calc-summary {
    position: sticky;
    top: calc(4.5rem + 0.75rem);
    z-index: 5;
    margin: 1.25rem 1.35rem 1.25rem 0;
    padding: 1.1rem 1.15rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(13, 60, 114, 0.07);
  }
}
.price-calc-summary__top {
  display: grid;
  gap: 0.2rem;
}
.price-calc-summary .price-calc-total {
  font-size: 1.95rem;
}
.price-calc-summary .price-calc-total small {
  font-size: 0.85rem;
}
.price-calc-summary .price-calc-lines {
  margin: 0;
  padding: 0.55rem 0 0;
  border-top: 1px solid var(--line);
  max-height: 14rem;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.price-calc-summary .price-calc-lines li {
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-size: 0.82rem;
  line-height: 1.35;
}
.price-calc-summary .price-calc-lines li span {
  flex: 1;
  min-width: 0;
}
.price-calc-summary .price-calc-lines li strong {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.82rem;
  text-align: right;
  padding-top: 0.05rem;
}
.price-calc-summary .price-calc-lines li:first-child {
  padding-top: 0.35rem;
}
.price-calc-summary__note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}
.pricing-hero-people {
  display: flex;
  gap: 0;
  margin-top: 1.25rem;
  align-items: center;
}
.pricing-hero-people img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.85);
  margin-left: -8px;
}
.pricing-hero-people img:first-child {
  margin-left: 0;
}
.pricing-hero-people span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  margin-left: 0.5rem;
}
.pricing-trust {
  border-top: 1px solid var(--line);
}
.pricing-calc-section {
  padding: 2.5rem 0 4rem;
}
.pricing-path-grid {
  margin-top: 2rem;
}
.price-calc-summary .price-calc-actions {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}
.price-calc-summary .price-calc-actions .btn {
  width: 100%;
}

/* Mobile sticky estimate bar (pricing page) */
.price-calc-mobile-bar {
  display: none;
}
@media (max-width: 859px) {
  .pricing-calc-section {
    padding-bottom: calc(4rem + 4.5rem);
  }
  .price-calc-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    padding: 0.65rem max(1rem, env(safe-area-inset-right)) calc(0.65rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 28px rgba(13, 60, 114, 0.12);
    backdrop-filter: blur(10px);
    transform: translateY(110%);
    transition: transform 0.22s ease;
    pointer-events: none;
  }
  .price-calc-mobile-bar.is-visible {
    transform: translateY(0);
    pointer-events: auto;
  }
  .price-calc-mobile-bar__meta {
    min-width: 0;
    display: grid;
    gap: 0.1rem;
  }
  .price-calc-mobile-bar__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .price-calc-mobile-bar__total {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-deep, #0d3c72);
    line-height: 1.15;
    white-space: nowrap;
  }
  .price-calc-mobile-bar__total small {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
  }
  .price-calc-mobile-bar__cta {
    flex-shrink: 0;
    padding: 0.55rem 0.9rem;
    font-size: 0.88rem;
    white-space: nowrap;
  }
}

.onboard-selected {
  font-size: 0.88rem;
  margin: 0 0 0.85rem;
}
.onboard-selected a {
  color: var(--navy-deep, #0d3c72);
  font-weight: 600;
}
.onboard-summary {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
}
.onboard-summary__top {
  display: grid;
  gap: 0.2rem;
}
.onboard-lines {
  margin: 0;
  padding: 0.55rem 0 0;
  border-top: 1px solid var(--line);
}
.onboard-lines li {
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-size: 0.82rem;
  line-height: 1.35;
}
.onboard-lines li span {
  flex: 1;
  min-width: 0;
}
.onboard-lines li strong {
  flex-shrink: 0;
  white-space: nowrap;
}
.onboard-summary__actions {
  display: grid;
  gap: 0.5rem;
}
.onboard--focused {
  padding: 1.15rem 1.2rem 1.25rem;
  margin-bottom: 0;
}
.onboard--focused .onboard-confirm {
  padding: 0;
  border: 0;
  background: transparent;
  margin: 0;
}
.onboard--focused .onboard-confirm__kicker {
  margin-top: 0.25rem;
}
.onboard--focused .onboard-confirm__alt {
  margin: 0.85rem 0 0;
}
.onboard-side-flow {
  margin: 0.15rem 0 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}
.landing-grid--onboard-focused {
  align-items: start;
}
@media (min-width: 900px) {
  .landing-grid--onboard-focused .side-panel {
    align-self: start;
  }
}
.onboard-funnel {
  display: flex;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.onboard-funnel__step {
  flex: 1;
  display: grid;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted, #64748b);
}
.onboard-funnel__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid var(--line, #e6ebf0);
  font-weight: 700;
  font-size: 0.78rem;
  background: #fff;
}
.onboard-funnel__step.is-done .onboard-funnel__num,
.onboard-funnel__step.is-active .onboard-funnel__num {
  border-color: var(--orange, #f26522);
  color: #fff;
  background: var(--orange, #f26522);
}
.onboard-funnel__step.is-active .onboard-funnel__label {
  color: var(--navy-deep, #0d3c72);
  font-weight: 600;
}
.onboard-focused-lead {
  margin: 0 0 1rem;
  color: var(--muted, #64748b);
  font-size: 0.92rem;
}
.onboard-brand-intro {
  margin-bottom: 1rem;
}
.onboard-brand-intro__logo {
  margin-bottom: 0.5rem;
}
.onboard-brand-intro__logo img {
  height: 28px;
  width: auto;
}
.onboard-brand-intro h3 {
  margin: 0 0 0.35rem;
}
.onboard-confirm__kicker {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #64748b);
}
.onboard-dest-options {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.onboard-dest-head,
.onboard-dest-opt__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(5.5rem, 0.75fr);
  gap: 0.75rem;
  align-items: center;
}
.onboard-dest-head {
  padding: 0 0.95rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #64748b);
}
.onboard-dest-head span:last-child,
.onboard-dest-opt__col--price {
  text-align: right;
}
.onboard-dest-opt {
  display: block;
  cursor: pointer;
  border: 1px solid var(--line, #e6ebf0);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.onboard-dest-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.onboard-dest-opt.is-on,
.onboard-dest-opt:has(input:checked) {
  border-color: var(--orange, #f26522);
  box-shadow: 0 0 0 1px var(--orange, #f26522);
}
.onboard-dest-opt__col {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
}
.onboard-dest-opt__col img {
  height: 22px;
  width: auto;
  flex-shrink: 0;
}
.onboard-dest-opt__col--price {
  justify-content: flex-end;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-deep, #0d3c72);
  white-space: nowrap;
}
.onboard-dest-opt__body {
  padding: 0.8rem 0.95rem;
}
@media (max-width: 520px) {
  .onboard-dest-head {
    display: none;
  }
  .onboard-dest-opt__body {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "from price"
      "to price";
    gap: 0.35rem 0.75rem;
  }
  .onboard-dest-opt__col--from { grid-area: from; }
  .onboard-dest-opt__col--to { grid-area: to; }
  .onboard-dest-opt__col--price {
    grid-area: price;
    align-self: center;
  }
}
.onboard-confirm__flow {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line, #e6ebf0);
}
.onboard-confirm {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line, #e6ebf0);
  border-radius: 12px;
  background: #f8fafc;
}
.onboard-confirm__name {
  margin: 0.35rem 0 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.onboard-confirm__price {
  margin: 0.65rem 0 0.75rem;
  display: grid;
  gap: 0.15rem;
}
.onboard-confirm__amount {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-deep, #0d3c72);
}
.onboard-confirm__setup {
  font-size: 0.85rem;
}
.onboard-confirm__facts {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
}
.onboard-confirm__facts li::before {
  content: "✓ ";
  color: var(--orange, #f26522);
  font-weight: 700;
}
.onboard-confirm__actions {
  display: grid;
  gap: 0.5rem;
}
.onboard-confirm__alt {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  text-align: center;
}
.onboard-confirm__alt a {
  font-weight: 600;
}
.onboard--step1 .onboard-funnel {
  margin-bottom: 1.1rem;
}
.onboard-source-options {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .onboard-source-options {
    grid-template-columns: 1fr 1fr;
  }
}
.onboard-source-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.onboard-source-opt:hover {
  border-color: var(--orange, #f26522);
  box-shadow: 0 0 0 1px rgba(242, 101, 34, 0.15);
}
.onboard-source-opt__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.onboard-source-opt__logo img {
  display: block;
  height: 24px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
}
.onboard-source-opt__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.onboard-source-opt__text strong {
  font-size: 0.95rem;
  color: var(--navy-deep);
}
.onboard-source-opt__hint {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}
.onboard-source-opt__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex-shrink: 0;
}
.onboard-source-opt__price {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}
.onboard-source-opt__arrow {
  font-size: 1.1rem;
  color: var(--orange, #f26522);
  line-height: 1;
}
.onboard-step1-alt {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  text-align: center;
}
.onboard-step1-alt a {
  font-weight: 600;
}
.onboard-request {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
}
.onboard-request__title {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-deep);
}
.onboard-request__lead {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.onboard--focused .onboard-request {
  margin-top: 1.1rem;
}
.steps--compact .step {
  padding: 0.65rem 0.75rem;
}
.steps--compact .step h3 {
  font-size: 0.95rem;
}
.side-panel__app {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
}
.side-panel__app .app-flow {
  margin: 0.35rem 0 0;
}
.app-flow-arrow {
  color: var(--muted, #6b7280);
  font-weight: 700;
  padding: 0 0.15rem;
}

/* App detail: keep landing grid + CMS HTML from blowing out the page */
.landing-grid > * {
  min-width: 0;
}
.page-hero--app .wrap {
  display: block;
}
.page-hero--app .page-hero-icon {
  display: grid;
  float: none;
  width: 52px;
  height: 52px;
  margin: 0 0 1rem;
}
.page-hero--app .crumb,
.page-hero--app h1,
.page-hero--app .sub,
.page-hero--app .hero-ctas {
  display: block;
  float: none;
  clear: both;
  width: 100%;
  max-width: 100%;
}
.page-hero--app .app-flow {
  clear: both;
  width: 100%;
  max-width: 100%;
}
.page-hero--app h1 {
  max-width: 36ch;
}
.page-hero--app .sub {
  max-width: 52ch;
}
.page-hero .app-flow {
  margin-top: 0.35rem;
}
.page-hero .app-flow-chip {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  gap: 0.5rem;
}
.page-hero .app-flow-chip img {
  height: 24px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}
.page-hero .app-flow-arrow {
  color: rgba(255, 255, 255, 0.7);
}
.path-subnav--short a {
  font-size: 0.8rem;
}
.app-description {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  overflow-x: auto;
}
.app-description table {
  display: table;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.app-description th,
.app-description td {
  padding: 0.5rem 0.65rem;
  border: 1px solid #e4ebf2;
  vertical-align: top;
  text-align: left;
}
.app-description thead th,
.app-description tr:first-child td {
  background: #f6f9fc;
  font-weight: 600;
}
.app-description img {
  max-width: 100%;
  height: auto;
  width: auto;
  margin: 0.75rem 0;
  border-radius: 8px;
}
.app-description .btn,
.app-description .btn-f-w {
  display: none !important;
}
.side-panel > img,
.side-panel .app-visual__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.app-visual__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.1rem 0.85rem;
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 10px;
}
.app-visual__chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
  max-width: 44%;
}
.app-visual__chip img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.app-visual__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted, #64748b);
  text-align: center;
  line-height: 1.25;
}
.app-visual__arrow {
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange, #f26522);
  line-height: 1;
}
.side-panel .app-flow {
  margin: 0.15rem 0 0.35rem;
}

/* App detail — slimmer sidebar + related */
.side-panel--app {
  position: sticky;
  top: 1rem;
  min-width: 0;
}
.app-detail-body {
  padding: 1.5rem 0 4rem;
}
.landing-grid--app-detail {
  gap: 1.35rem;
}
@media (max-width: 899px) {
  .landing-grid--app-detail {
    display: flex;
    flex-direction: column;
  }
  .landing-grid--app-detail .side-panel--app {
    order: -1;
    position: static;
    top: auto;
  }
  .landing-grid--app-detail .app-detail-main {
    order: 1;
  }
}
@media (min-width: 900px) {
  .landing-grid--app-detail .app-detail-main {
    order: 1;
  }
  .landing-grid--app-detail .side-panel--app {
    order: 2;
  }
}
.app-detail-main .app-description {
  margin: 0.75rem 0 1.75rem;
}
/* The CMS text is paragraphs, a bold line as a heading, and a list: give each its space. */
.app-description p { margin: 0 0 0.85rem; }
/* A bold line on its own (AppIntegration::descriptionHtml makes it an h3); a bold word in a sentence stays in it. */
.app-description h3.app-description__heading { margin: 1.35rem 0 0.85rem; color: var(--navy-deep, #0a3260); font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
/* A brand without a logo: its initials in a tile the logo's height (site.partials.partner-logo). */
.brand-monogram { display: inline-flex; align-items: center; justify-content: center; width: var(--mono-size, 24px); height: var(--mono-size, 24px); border-radius: 22%; background: #e6edf6; color: var(--navy-deep, #0a3260); font-weight: 700; font-size: calc(var(--mono-size, 24px) * 0.42); line-height: 1; letter-spacing: 0.02em; flex: none; }
.app-description ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.app-description li { position: relative; padding-left: 1.6rem; margin: 0.4rem 0; }
.app-description li::before { content: ""; position: absolute; left: 0.15rem; top: 0.45em; width: 0.75rem; height: 0.4rem; border-left: 2px solid var(--orange, #f48756); border-bottom: 2px solid var(--orange, #f48756); transform: rotate(-45deg); }
/* Logos say the name in a small card; a label under them only got cut off. */
.app-card--compact .app-flow-chip img + span { display: none; }
/* FAQ: a chevron that turns, not the browser triangle. */
.app-detail-main .faq summary, .faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.35rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; margin-right: 0.3rem; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.app-detail-faq-kicker {
  margin-top: 2rem;
}
.app-detail-case {
  margin: 0 0 0.5rem;
}
.app-detail-case__link {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: 1px solid #d8e2ec;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(13, 60, 114, 0.04);
}
.app-detail-case__link:hover {
  border-color: var(--navy, #0d3c72);
}
.app-detail-case__link strong {
  font-size: 0.98rem;
  color: var(--navy-deep, #002e5b);
}
.app-detail-case__link span {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted, #5a6570);
}
.app-detail-case__link em {
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy, #0d3c72);
}
.app-detail-links {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e8edf3;
  min-width: 0;
}
.app-detail-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.app-detail-links__list a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #e4ebf2;
  background: #f8fafc;
  text-decoration: none;
  color: var(--navy, #0d3c72);
  min-width: 0;
}
.app-detail-links__list a:hover {
  border-color: var(--navy, #0d3c72);
  background: #fff;
}
.app-detail-links__label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.app-detail-links__hint {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted, #64748b);
  line-height: 1.3;
}
.app-detail-results {
  margin: 0 0 0.5rem;
  padding: 1rem 1.1rem;
  background: #f6f9fc;
  border: 1px solid #e4ebf2;
  border-radius: 10px;
}
.app-detail-results .section-kicker {
  margin-bottom: 0.35rem;
}
.feature-list--compact {
  margin: 0;
  gap: 0.45rem;
}
.feature-list--compact li {
  font-size: 0.9rem;
}
.app-detail-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8edf3;
}
.app-detail-related__list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
@media (min-width: 640px) {
  .app-detail-related__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.app-detail-related__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.app-detail-related__link:hover {
  border-color: var(--navy, #0d3c72);
}
.app-detail-related__name {
  font-weight: 600;
  color: var(--navy, #0d3c72);
}
.app-detail-related__price {
  font-size: 0.82rem;
  color: var(--muted, #64748b);
  white-space: nowrap;
}

/* App detail — video / document embeds */
.app-detail-media {
  display: grid;
  gap: 1.5rem;
  margin: 0 0 2rem;
}
.app-detail-media__block .section-kicker {
  margin-bottom: 0.5rem;
}
.app-embed {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #0d1b2a;
  border: 1px solid #d8e2ec;
}
.app-embed--video {
  aspect-ratio: 16 / 9;
}
.app-embed--video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.app-embed--doc iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

/* Order form */
.app-order-body .landing-grid {
  align-items: start;
}
.app-order-form .form-label {
  display: block;
  font-weight: 600;
  margin: 0.85rem 0 0.3rem;
  font-size: 0.92rem;
}
.app-order-form .form-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.62rem 0.75rem;
  border: 1px solid #cfd9e3;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
}
.app-order-form .form-input:focus {
  outline: none;
  border-color: var(--navy, #0d3c72);
  box-shadow: 0 0 0 3px rgba(13, 60, 114, 0.1);
}
.app-order-form .form-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-size: 0.92rem;
}
.app-order-form .form-check input {
  margin-top: 0.2rem;
}
.app-order-form .form-error {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #b42318;
}
.app-order-form__actions {
  margin-top: 1.15rem;
}
.app-order-form .hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.alert--success {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #e8f7ee;
  border: 1px solid #b8e6c8;
}
.app-order-summary__phone {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.app-order-summary__phone a {
  color: var(--navy, #0d3c72);
}

/* Order success — post-submit */
.order-success {
  padding: 1.5rem 1.35rem;
  border: 1px solid #c8e6d4;
  border-radius: 14px;
  background: linear-gradient(180deg, #f3fbf6 0%, #fff 100%);
}
.order-success--warn {
  border-color: #f0d9b8;
  background: linear-gradient(180deg, #fff8ee 0%, #fff 100%);
}
.order-success__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1f7a45;
  color: #fff;
  margin-bottom: 1rem;
}
.order-success--warn .order-success__icon {
  background: #c27803;
}
.order-success__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.order-success__title {
  font-size: 1.35rem;
  color: var(--navy-deep, #002e5b);
  margin: 0 0 0.65rem;
}
.order-success__lead {
  color: var(--muted, #5a6570);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  max-width: 52ch;
}
.order-success__cta-wrap {
  margin: 0 0 0.85rem;
}
.order-success__link-copy {
  font-size: 0.82rem;
  color: var(--muted, #5a6570);
  margin: 0 0 1.15rem;
  word-break: break-all;
}
.order-success__link-label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.order-success__link-copy a {
  color: var(--navy, #0d3c72);
  font-weight: 600;
}
.order-success__steps {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--ink, #2d2d2d);
  font-size: 0.92rem;
  line-height: 1.55;
}
.order-success__steps li + li {
  margin-top: 0.35rem;
}
.order-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Language switcher */
.site-header .lang a {
  color: inherit;
  text-decoration: none;
  opacity: 0.55;
  font-weight: 600;
  font-size: 0.85rem;
}
.site-header .lang a.is-active,
.site-header .lang a:hover {
  opacity: 1;
  color: var(--navy, #0d3c72);
}
.site-header .lang span {
  opacity: 0.35;
  margin: 0 0.2rem;
}

/* /apps catalogue — larger cards + brand logos */
.apps-toolbar {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid #d8e2ec;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(13, 60, 114, 0.04);
}
.apps-toolbar__paths {
  padding-bottom: 0.1rem;
  border-bottom: 1px solid #e8edf3;
}
.apps-toolbar__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
}
.apps-toolbar__selects {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1 1 auto;
}
.apps-toolbar__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.15rem;
}
.apps-search {
  display: block;
  flex: 1 1 14rem;
  min-width: 0;
  max-width: none;
}
.apps-search input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.62rem 0.85rem;
  border: 1px solid #cfd9e3;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.35;
  background: #fff;
  color: var(--ink, #1f2937);
}
.apps-search input::placeholder {
  color: #8a97a8;
}
.apps-search input:focus {
  outline: none;
  border-color: var(--navy, #0d3c72);
  box-shadow: 0 0 0 3px rgba(13, 60, 114, 0.1);
}
.apps-filter-chips {
  margin-bottom: 0;
  gap: 0.45rem;
}
.apps-filter-chips .chip {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.45rem 0.78rem;
  border-radius: 8px;
  border: 1px solid #cfd9e3;
  background: #fff;
  color: var(--muted, #64748b);
}
.apps-filter-chips .chip.is-on {
  border-color: var(--navy, #0d3c72);
  background: var(--navy, #0d3c72);
  color: #fff;
  box-shadow: 0 1px 2px rgba(13, 60, 114, 0.2);
}
.apps-filter-chips .chip.is-on .chip-count {
  opacity: 0.9;
  color: #fff;
}
.apps-filter-chips .chip:hover {
  border-color: var(--navy, #0d3c72);
  color: var(--navy-deep, #0d3c72);
}
.apps-filter-chips .chip.is-on:hover {
  background: var(--navy-deep, #0a3260);
  border-color: var(--navy-deep, #0a3260);
  color: #fff;
}
.apps-filter-chips .chip-count {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.7;
}
.apps-filter-meta {
  margin: 0;
  font-size: 0.84rem;
}
.apps-clear-btn {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy, #0d3c72);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.apps-clear-btn:hover {
  color: var(--orange, #f26522);
}
.apps-clear-btn[hidden] {
  display: none !important;
}
.apps-toolbar__selects select {
  min-width: 7.5rem;
  max-width: 11rem;
  flex: 1 1 7.5rem;
  box-sizing: border-box;
  padding: 0.55rem 2rem 0.55rem 0.7rem;
  border: 1px solid #cfd9e3;
  border-radius: 8px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.4 6 5l4.6-4.6L12 2l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 0.65rem center;
  color: var(--ink, #1f2937);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.apps-toolbar__selects select:focus {
  outline: none;
  border-color: var(--navy, #0d3c72);
  box-shadow: 0 0 0 3px rgba(13, 60, 114, 0.1);
}
.apps-toolbar__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
}
.apps-select {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 10rem;
  flex: 1 1 12rem;
  max-width: 18rem;
}
.apps-select__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
}
.apps-select select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  border: 1px solid #cfd9e3;
  border-radius: 8px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.4 6 5l4.6-4.6L12 2l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  color: var(--ink, #1f2937);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.apps-select select:focus {
  outline: none;
  border-color: var(--navy, #0d3c72);
  box-shadow: 0 0 0 3px rgba(13, 60, 114, 0.1);
}
.apps-filter-empty {
  margin: 1.5rem 0 0;
  text-align: center;
}
.apps-catalogue .app-card[hidden],
.apps-catalogue .app-card.is-filtered-out {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* No background: inside .wrap a gradient read as an empty grey box above the first heading. */
.apps-catalogue {
  gap: 1.35rem;
}
@media (min-width: 720px) {
  .apps-catalogue {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .apps-catalogue {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.apps-catalogue .path-card.app-card {
  padding: 1.35rem 1.35rem 1.35rem;
  min-height: 200px;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid #d8e2ec;
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(13, 60, 114, 0.05),
    0 6px 20px rgba(13, 60, 114, 0.07);
  text-decoration: none;
  color: inherit;
}
.apps-catalogue .path-card.app-card:hover {
  border-color: rgba(13, 60, 114, 0.45);
  box-shadow:
    0 2px 4px rgba(13, 60, 114, 0.06),
    0 12px 32px rgba(13, 60, 114, 0.12);
  transform: translateY(-3px);
}
.apps-catalogue .path-card h3,
.apps-catalogue .app-card h3 {
  /* The same face as every other card and heading below the home hero. */
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--navy-deep, #0a3260);
  margin: 0;
  letter-spacing: -0.01em;
}
.apps-catalogue .path-card:hover h3,
.apps-catalogue .app-card:hover h3 {
  color: var(--navy, #0d3c72);
}
.apps-catalogue .app-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.apps-catalogue .app-card__head h3 {
  flex: 1;
  min-width: 0;
  padding-top: 0.2rem;
}
.apps-catalogue .app-card__head .path-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin-bottom: 0;
  flex-shrink: 0;
}
.apps-catalogue .app-card__head .path-icon svg {
  width: 22px;
  height: 22px;
}
.apps-catalogue .path-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(13, 60, 114, 0.1);
  border: 1px solid rgba(13, 60, 114, 0.08);
}
.apps-catalogue .path-card:hover .path-icon {
  background: rgba(244, 135, 86, 0.14);
  border-color: rgba(244, 135, 86, 0.25);
}
.apps-catalogue .path-icon svg {
  width: 26px;
  height: 26px;
}
/* Catalogue + featured cards: from | → | to as 3 columns */
.app-card .app-card__flow {
  margin: 0.35rem 0 0;
  padding: 0.8rem 0.85rem;
  background: #f6f9fc;
  border: 1px solid #e4ebf2;
  border-radius: 10px;
}
.app-card .app-card__flow--single {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.65rem 0.85rem;
}
.app-card .app-flow--single {
  justify-content: center;
  width: auto;
  max-width: 100%;
}
.app-card .app-flow--single .app-flow-chip {
  max-width: 100%;
}
.app-card .app-card__intro {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted, #64748b);
}
.app-card .app-flow--catalogue {
  margin: 0;
  font-size: 0.92rem;
  gap: 0.45rem;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}
.app-card .app-flow--catalogue.app-flow--dual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem;
  width: 100%;
}
.app-card .app-flow--dual .app-flow-chip {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.3rem;
  padding: 0.5rem 0.35rem;
  min-width: 0;
  width: 100%;
}
.app-card .app-flow--dual .app-flow-chip span {
  font-size: 0.72rem;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-card .app-flow--dual .app-flow-chip img {
  height: 22px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  display: block;
}
.app-card .app-flow--dual .app-flow-arrow {
  align-self: center;
  justify-self: center;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--orange, #f26522);
  padding: 0 0.1rem;
  flex-shrink: 0;
}
.app-card .app-flow--catalogue .app-flow-chip {
  padding: 0.48rem 0.75rem;
  gap: 0.55rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid #dce4ed;
  box-shadow: 0 1px 2px rgba(13, 60, 114, 0.05);
}
.app-card .app-flow--catalogue .app-flow-chip img {
  height: 22px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.app-card .app-flow--catalogue .app-flow-arrow {
  color: var(--orange, #f26522);
  font-weight: 700;
}
.apps-catalogue .app-card__foot {
  margin-top: auto;
  padding-top: 0.85rem;
}
.apps-catalogue .app-card__foot .card-meta {
  border-top: 1px solid #e8edf3;
  padding-top: 1.25rem;
  font-size: 0.92rem;
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
}
.apps-catalogue .card-meta .price {
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}
.apps-catalogue .card-meta .path-badge {
  flex-shrink: 0;
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(244, 135, 86, 0.12);
  border: 1px solid rgba(244, 135, 86, 0.22);
  font-size: 0.7rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--orange-hot, #e86f3a);
  font-weight: 600;
}
.apps-catalogue .app-card__more {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy, #0d3c72);
}
.apps-catalogue .app-card:hover .app-card__more span {
  color: var(--orange, #f26522);
}
.apps-page-note {
  margin-top: 2rem;
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}
.apps-page-note a {
  font-weight: 600;
  color: var(--navy, #0d3c72);
}
@media (max-width: 480px) {
  .app-card .app-flow--catalogue.app-flow--dual {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
}

/* View toggle */
.apps-view-toggle {
  display: inline-flex;
  align-self: center;
  border: 1px solid #cfd9e3;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.apps-view-btn {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.5rem 0.62rem;
  border: 0;
  background: #fff;
  color: var(--muted, #64748b);
}
.apps-view-btn + .apps-view-btn {
  border-left: 1px solid #cfd9e3;
}
.apps-view-btn.is-on {
  background: rgba(13, 60, 114, 0.08);
  color: var(--navy, #0d3c72);
}
.apps-view-btn:hover {
  color: var(--navy, #0d3c72);
}

/* List layout */
.apps-catalogue.apps-catalogue--list {
  grid-template-columns: 1fr !important;
  gap: 0.85rem;
}
.apps-catalogue--list .path-card.app-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "head flow foot"
    "intro flow foot";
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.35rem;
  min-height: 0;
  padding: 1rem 1.15rem;
}
.apps-catalogue--list .path-card.app-card.app-card--single-flow {
  grid-template-columns: minmax(0, 1fr) max-content minmax(11rem, auto);
}
.apps-catalogue--list .app-card__head {
  grid-area: head;
  margin: 0;
}
.apps-catalogue--list .app-card__intro {
  grid-area: intro;
  margin: 0;
}
.apps-catalogue--list .app-card__flow {
  grid-area: flow;
  margin: 0;
  padding: 0.55rem 0.65rem;
}
.apps-catalogue--list .app-card__flow--single {
  justify-self: center;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}
.apps-catalogue--list .app-card__foot {
  grid-area: foot;
  padding-top: 0;
  margin: 0;
  min-width: 11rem;
}
.apps-catalogue--list .app-card__foot .card-meta {
  border-top: 0;
  padding-top: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.apps-catalogue--list .card-meta .path-badge {
  margin-left: 0;
}
.apps-catalogue--list .app-card__more {
  display: none;
}
@media (max-width: 900px) {
  .apps-catalogue--list .path-card.app-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "intro"
      "flow"
      "foot";
  }
  .apps-catalogue--list .app-card__foot {
    min-width: 0;
  }
  .apps-catalogue--list .app-card__foot .card-meta {
    flex-direction: row;
    align-items: center;
  }
  .apps-catalogue--list .card-meta .path-badge {
    margin-left: auto;
  }
}

.onboard-brand-catalogue {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}
.onboard-brand-catalogue a {
  font-weight: 600;
  color: var(--navy, #0d3c72);
}
.onboard-brand-catalogue a:hover {
  color: var(--orange, #f26522);
}

/* Trust hub pages — cases, about, support, contact */
.cases-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.cases-filter__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line, #e4e8ee);
  background: var(--white, #fff);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted, #5a6570);
}
.cases-filter__chip:hover,
.cases-filter__chip.is-active {
  border-color: var(--navy, #0d3c72);
  color: var(--navy, #0d3c72);
  background: #f4f7fb;
}
.cases-filter__count {
  font-size: 0.72rem;
  opacity: 0.75;
}
.cases-empty,
.cases-trust-foot {
  color: var(--muted, #5a6570);
  font-size: 0.9rem;
}
.cases-trust-foot { margin-top: 1.5rem; }
.case-quote {
  color: var(--ink, #2d2d2d);
  font-size: 0.92rem;
  line-height: 1.5;
}
.case-card-foot {
  margin-top: 0.75rem;
  font-weight: 600;
}
.case-card-foot a { color: var(--navy, #0d3c72); }

.help-index {
  display: grid;
  gap: 0.75rem;
}
.help-index__card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.75rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line, #e4e8ee);
  border-radius: 10px;
  background: var(--white, #fff);
}
.help-index__card:hover { border-color: var(--navy, #0d3c72); }
.help-index__title {
  font-weight: 700;
  color: var(--navy-deep, #002e5b);
}
.help-index__excerpt {
  grid-column: 1;
  color: var(--muted, #5a6570);
  font-size: 0.88rem;
  line-height: 1.45;
}
.help-index__more {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--orange, #f48756);
  font-weight: 700;
  align-self: center;
}

.about-cards { margin-top: 1.25rem; }
.about-body { margin-top: 1.5rem; }
.support-hub__inner { max-width: 760px; }
.support-body { margin-top: 1.5rem; }

.contact-context {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: #f4f7fb;
  border: 1px solid var(--line, #e4e8ee);
  border-radius: 10px;
  font-size: 0.9rem;
}
.contact-context p { margin: 0.2rem 0; }
.contact-aside {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.contact-form.hp-field,
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.alert-success {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #e8f7ee;
  color: #1f5c38;
  margin-bottom: 1rem;
}
.form-error {
  color: #b42318;
  font-size: 0.82rem;
  margin-top: 0.25rem;
}
.btn.full { width: 100%; justify-content: center; }

/* Homepage trust logos — full list, continuous slide when wider than the row */
.trust-marquee-wrap {
  justify-content: stretch;
  width: 100%;
  min-width: 0;
}
.trust-marquee {
  width: 100%;
  min-width: 0;
}
.trust-marquee__viewport {
  overflow: hidden;
}
.trust-marquee.is-sliding .trust-marquee__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.trust-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.35rem;
}
.trust-marquee:not(.is-sliding) .trust-marquee__track {
  width: 100%;
  justify-content: center;
}
.trust-marquee:not(.is-sliding) [data-trust-clone] {
  display: none;
}
.trust-marquee .trust-logos {
  flex-wrap: nowrap;
  flex: 0 0 auto;
  gap: 0.75rem 1.35rem;
}
.trust-marquee.is-sliding .trust-marquee__track {
  animation: trust-marquee var(--trust-marquee-duration, 36s) linear infinite;
}
.trust-marquee.is-sliding:hover .trust-marquee__track,
.trust-marquee.is-sliding:focus-within .trust-marquee__track {
  animation-play-state: paused;
}
@keyframes trust-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.675rem)); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-marquee.is-sliding .trust-marquee__track {
    animation: none;
  }
  .trust-marquee.is-sliding .trust-marquee__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .trust-marquee.is-sliding [data-trust-clone] {
    display: none;
  }
}

/* Homepage quick wins */
.trust-logos .brand-pill--link {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.trust-logos .brand-pill--link:hover,
.trust-logos .brand-pill--link:focus-visible {
  background: rgba(0, 46, 91, 0.06);
  opacity: 1;
}
.home-pricing-teaser {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}
.home-pricing-teaser__title {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}
.home-pricing-teaser__body {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.home-demo.demo-frame {
  aspect-ratio: 16 / 9;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
}
.home-demo__embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Apps catalogue — featured strip + card visual */
.apps-featured {
  position: relative;
  margin: 0 0 1.75rem;
}
.apps-featured__head {
  margin-bottom: 0.85rem;
}
.apps-featured__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: var(--navy-deep, #002e5b);
  margin: 0 0 0.25rem;
}
.apps-featured__sub {
  margin: 0;
  font-size: 0.92rem;
}
.apps-featured__scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}
/* Peek + clear sticky “Prøv gratis” on mobile */
@media (max-width: 899px) {
  .apps-featured__scroll {
    padding-right: 5.75rem;
    scroll-padding-right: 5.75rem;
  }
  .apps-featured::after {
    content: "";
    position: absolute;
    top: 2.6rem; /* below title/sub */
    right: 0;
    bottom: 0.35rem;
    width: 3.25rem;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 88%);
  }
  body.oa-mockup .oa-sticky-cta {
    z-index: 1000;
  }
}
.apps-featured__scroll .app-card {
  scroll-snap-align: start;
  min-height: 190px;
  min-width: 0;
  padding: 1.35rem;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid #d8e2ec;
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(13, 60, 114, 0.05),
    0 6px 20px rgba(13, 60, 114, 0.07);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.apps-catalogue .path-card.app-card {
  overflow: hidden;
}
.app-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  margin: -1.35rem -1.35rem 0.75rem;
  padding: 0.55rem 0.85rem;
  border-radius: 13px 13px 0 0;
  background: linear-gradient(180deg, #eef3f9 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line, #e4e8ee);
  overflow: hidden;
}
.app-card__visual > * {
  max-width: 100%;
  max-height: 100%;
}
.app-card__visual .app-visual__image,
.app-card__visual img.app-visual--card {
  display: block;
  height: auto;
  max-height: 40px;
  width: auto;
  max-width: min(100%, 180px);
  object-fit: contain;
  margin-inline: auto;
}
.app-card__visual .app-visual__flow,
.app-card__visual .app-visual__flow.app-visual--card {
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-content: center;
}
.app-card__visual .app-visual__flow--logos-only.app-visual__flow--dual .app-visual__chip {
  flex-direction: row;
  max-width: 42%;
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}
.app-card__visual .app-visual__flow--logos-only.app-visual__flow--single {
  width: auto;
  max-width: 85%;
  padding: 0.35rem 0.75rem;
  min-height: 44px;
  justify-content: center;
}
.app-card__visual .app-visual__flow--logos-only.app-visual__flow--single .app-visual__chip {
  flex: 0 1 auto;
  max-width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.app-card__visual .app-visual__flow--logos-only.app-visual__flow--single .app-visual__chip img {
  height: 36px;
  max-height: 36px;
  max-width: 140px;
}
.app-card__visual .app-visual__chip img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 100%;
  max-height: 28px;
  object-fit: contain;
  margin-inline: auto;
}
.app-card__visual .app-visual__arrow {
  font-size: 1rem;
}
.app-card__visual .path-icon--card-fallback {
  width: 40px;
  height: 40px;
  margin: 0;
}
.apps-catalogue .app-card__head {
  margin-bottom: 0.25rem;
}
.apps-catalogue .app-card__head h3 {
  padding-top: 0;
}
.app-card--compact .app-card__intro {
  -webkit-line-clamp: 2;
}

/* Customer story detail (/customers/*) */
.story-detail {
  padding: 2rem 0 2.5rem;
  background: var(--bg, #f4f7fb);
}
.story-detail__inner {
  max-width: 52rem;
}
.story-detail__tag {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.page-hero .story-detail__tag {
  background: rgba(255, 255, 255, 0.14);
}
.story-detail__lead {
  margin: 0 0 1.35rem;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--orange, #f48756);
  border-radius: 0 10px 10px 0;
  background: #fff;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink, #2d2d2d);
  box-shadow: 0 1px 2px rgba(13, 60, 114, 0.06);
}
.story-detail__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .story-detail__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
  .story-detail__card--wide {
    grid-column: span 2;
  }
  .story-detail__card--full {
    grid-column: 1 / -1;
  }
}
.story-detail__card {
  margin: 0;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--line, #e4e8ee);
  background: #fff;
  box-shadow: 0 2px 8px rgba(13, 60, 114, 0.04);
}
.story-detail__card--challenge {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.story-detail__card--solution {
  border-color: rgba(13, 60, 114, 0.12);
}
.story-detail__card--result {
  background: linear-gradient(145deg, #fff 0%, #f0f6fc 100%);
  border-color: rgba(13, 60, 114, 0.18);
}
.story-detail__card-title {
  margin: 0 0 0.65rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep, #002e5b);
}
.story-detail__card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted, #5a6570);
}
.story-detail__card--result p {
  color: var(--ink, #2d2d2d);
}
.story-detail__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.story-detail__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink, #2d2d2d);
}
.story-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange, #f48756);
  box-shadow: 0 0 0 3px rgba(244, 135, 86, 0.2);
}
.story-detail__inline-cta {
  margin-top: 1.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed #cfd9e3;
  font-size: 0.92rem;
  line-height: 1.5;
}
.story-detail__inline-cta a {
  color: var(--navy, #0d3c72);
  font-weight: 600;
}
.story-detail__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line, #e4e8ee);
  font-size: 0.9rem;
  font-weight: 600;
}
.story-detail__back {
  color: var(--muted, #5a6570);
}
.story-detail__path {
  color: var(--navy, #0d3c72);
}
.story-detail-cta {
  padding: 2rem 0 3.5rem;
  background: #fff;
}
.story-detail-cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.35rem;
  border-radius: 14px;
  border: 1px solid var(--line, #e4e8ee);
  background: linear-gradient(135deg, #f8fbff 0%, #fff 55%);
  box-shadow: 0 8px 24px rgba(13, 60, 114, 0.06);
}
.story-detail-cta h2 {
  margin: 0 0 0.35rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: var(--navy-deep, #002e5b);
}
.story-detail-cta p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted, #5a6570);
  max-width: 36rem;
}
.story-detail-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* About articles (/about/*, /referencer/*) */
.about-article {
  padding: 2rem 0 2.5rem;
  background: var(--bg, #f4f7fb);
}
.about-article__inner {
  max-width: 52rem;
}
.about-article__tag {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.about-article__lead {
  margin: 0 0 1.35rem;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--orange, #f48756);
  border-radius: 0 10px 10px 0;
  background: #fff;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink, #2d2d2d);
  box-shadow: 0 1px 2px rgba(13, 60, 114, 0.06);
}
.about-article__sections {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .about-article__sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-article__sections .about-article__card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
.about-article__card {
  margin: 0;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--line, #e4e8ee);
  background: #fff;
  box-shadow: 0 2px 8px rgba(13, 60, 114, 0.04);
}
.about-article__card-title {
  margin: 0 0 0.65rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep, #002e5b);
}
.about-article__card p {
  margin: 0 0 0.65rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted, #5a6570);
}
.about-article__card p:last-child {
  margin-bottom: 0;
}
.about-article__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.about-article__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink, #2d2d2d);
}
.about-article__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange, #f48756);
  box-shadow: 0 0 0 3px rgba(244, 135, 86, 0.2);
}
.about-article__paths {
  margin-top: 1.5rem;
}
.about-article__paths-title {
  margin: 0 0 0.85rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  color: var(--navy-deep, #002e5b);
}
.about-article__path-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .about-article__path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .about-article__path-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.about-article__path-card {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border-radius: 10px;
  border: 1px solid #d8e2ec;
  background: #fff;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.about-article__path-card:hover {
  border-color: var(--navy, #0d3c72);
  box-shadow: 0 4px 14px rgba(13, 60, 114, 0.08);
}
.about-article__path-icon {
  margin-bottom: 0.15rem;
}
.about-article__path-icon svg {
  width: 22px;
  height: 22px;
}
.about-article__path-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-deep, #002e5b);
}
.about-article__path-sub {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted, #5a6570);
}
.about-article__inline-cta {
  margin-top: 1.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed #cfd9e3;
  font-size: 0.92rem;
  line-height: 1.5;
}
.about-article__inline-cta a {
  color: var(--navy, #0d3c72);
  font-weight: 600;
}
.about-article__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line, #e4e8ee);
  font-size: 0.9rem;
  font-weight: 600;
}
.about-article__back {
  color: var(--muted, #5a6570);
}
.about-article__siblings {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.about-article__siblings a {
  color: var(--navy, #0d3c72);
}
.about-article-cta {
  padding: 2rem 0 3.5rem;
  background: #fff;
}
.about-article-cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.35rem;
  border-radius: 14px;
  border: 1px solid var(--line, #e4e8ee);
  background: linear-gradient(135deg, #f8fbff 0%, #fff 55%);
  box-shadow: 0 8px 24px rgba(13, 60, 114, 0.06);
}
.about-article-cta h2 {
  margin: 0 0 0.35rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: var(--navy-deep, #002e5b);
}
.about-article-cta p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted, #5a6570);
  max-width: 36rem;
}
.about-article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* The catalogue's extra filters (source, ERP, sort, view) under one button. */
.apps-more { flex: 0 0 auto; }
.apps-more__toggle {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line, #d8e2ec);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-deep, #0a3260);
  background: #fff;
}
.apps-more__toggle::-webkit-details-marker { display: none; }
.apps-more__toggle::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .15s ease;
}
.apps-more[open] .apps-more__toggle::after { transform: rotate(-135deg) translateY(-1px); }
.apps-more[open] { flex-basis: 100%; }
.apps-more__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-top: 0.6rem;
}
.apps-toolbar__main .apps-search { flex: 1 1 260px; }

/* ── Pricing estimator (site/pricing.blade.php, oa/js/pricing-estimator.js) ──
   The accounting system, then one tile per system to connect, and the estimate beside them. */
.pe { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) {
  .pe { grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; }
  .pe-summary { position: sticky; top: 88px; }
}
.pe-step + .pe-step { margin-top: 2rem; }
.pe-step h2 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.25rem; color: var(--navy-deep); margin: 0 0 0.9rem; }
.pe-num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: var(--on-orange); font-size: 0.9rem; font-weight: 700; flex: none;
}
.pe-erps { display: grid; grid-template-columns: repeat(3, minmax(0, 170px)); gap: 0.5rem; }
@media (max-width: 520px) { .pe-erps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pe-erp { position: relative; cursor: pointer; }
.pe-erp input { position: absolute; opacity: 0; pointer-events: none; }
/* An accounting system is its logo on a card, the name under it; the chosen one framed in navy with a check. */
.pe-erp > span {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem;
  height: 100%; padding: 1.15rem 0.6rem 0.65rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--white); transition: border-color .15s, box-shadow .15s, background .15s;
}
.pe-erp > span img { height: 24px; max-width: 100%; object-fit: contain; }
@media (max-width: 520px) { .pe-erp > span img { height: 18px; } }
.pe-erp__name { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.pe-erp:hover > span { border-color: #b9c8db; }
.pe-erp input:checked + span { border-color: var(--navy); background: #f1f6fc; box-shadow: 0 0 0 1px var(--navy) inset; }
.pe-erp input:checked + span .pe-erp__name { color: var(--navy-deep); }
.pe-erp input:checked + span::after {
  content: "✓"; position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 12px; line-height: 20px; font-weight: 700; text-align: center;
  box-shadow: 0 0 0 2px var(--white);
}
.pe-erp input:focus-visible + span { outline: 3px solid rgba(244,135,86,.5); outline-offset: 2px; }
.pe-group + .pe-group { margin-top: 1.4rem; }
.pe-group h3 { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.6rem; }
.pe-group--folded { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.pe-group--folded summary { cursor: pointer; font-weight: 600; color: var(--navy); margin-bottom: 0.6rem; }
.pe-group[hidden], .pe-tiles[hidden], .pe-subhead[hidden] { display: none; }
.pe-subhead { font-size: 0.8rem; font-weight: 600; color: var(--muted); margin: 1rem 0 0.5rem; }
.pe-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.6rem; }
.pe-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; text-align: center;
  padding: 0.9rem 0.6rem 0.75rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s;
}
.pe-tile[hidden] { display: none; }
.pe-tile:hover { border-color: #b9c8db; box-shadow: 0 4px 14px rgba(13,60,114,.08); }
.pe-tile input { position: absolute; opacity: 0; pointer-events: none; }
.pe-tile:has(input:focus-visible) { outline: 3px solid rgba(244,135,86,.5); outline-offset: 2px; }
.pe-tile.is-on { border-color: var(--navy); background: #f1f6fc; box-shadow: 0 0 0 1px var(--navy) inset; }
.pe-tile.is-on::after {
  content: "✓"; position: absolute; top: 6px; right: 8px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 12px; line-height: 20px; font-weight: 700;
}
.pe-tile__logo { height: 32px; display: grid; place-items: center; }
.pe-tile__logo img { max-height: 26px; max-width: 110px; object-fit: contain; }
.pe-tile__logo svg { width: 26px; height: 26px; color: var(--navy); }
.pe-tile__name { font-weight: 600; color: var(--navy-deep); font-size: 0.92rem; line-height: 1.25; }
.pe-tile__price { font-size: 0.85rem; color: var(--muted); }
.pe-tile__self { font-size: 0.72rem; font-weight: 600; color: #1f7a4d; background: #e7f6ee; border-radius: 999px; padding: 0.1rem 0.5rem; }
.pe-summary {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(13,60,114,.08);
}
.pe-summary__label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pe-summary__total { font-size: 2.1rem; font-weight: 800; color: var(--navy-deep); line-height: 1.1; margin: 0.2rem 0; }
.pe-summary__total small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.pe-summary__hint { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.88rem; }
.pe-summary__lines { list-style: none; padding: 0.75rem 0; margin: 0.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pe-summary__lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; font-size: 0.92rem; }
.pe-summary__lines strong { color: var(--navy-deep); white-space: nowrap; }
.pe-summary__lines .pe-empty { color: var(--muted); }
.pe-summary__facts { list-style: none; padding: 0; margin: 0.75rem 0 1rem; font-size: 0.86rem; color: var(--ink); }
.pe-summary__facts li { padding-left: 1.3rem; position: relative; margin: 0.25rem 0; }
.pe-summary__facts li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-hot); font-weight: 700; }
.pe-summary .btn + .btn { margin-top: 0.5rem; }
.pe-summary .btn.is-disabled { opacity: 0.55; cursor: default; box-shadow: none; }
.pe-mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.75rem 1rem; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}
.pe-mobile-bar[hidden] { display: none; }
.pe-mobile-bar span { display: block; font-size: 0.75rem; color: var(--muted); }
.pe-mobile-bar strong { color: var(--navy-deep); font-size: 1.1rem; }
@media (min-width: 960px) { .pe-mobile-bar { display: none !important; } }
body:has(.pe-mobile-bar:not([hidden])) .oa-sticky-cta { display: none; }
.pe-summary [hidden] { display: none !important; }

/* ── App catalogue as systems (site/apps.blade.php, oa/js/app-finder.js) ── */
.af { padding: 2.5rem 0 4rem; }
.af-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.af-head h2 { margin: 0; font-size: 1.5rem; color: var(--navy-deep); }
.af-search input {
  width: min(360px, 100%); padding: 0.7rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; background: var(--white);
}
.af-search input:focus { outline: none; border-color: var(--navy); }
.af-group + .af-group { margin-top: 1.4rem; }
.af-group[hidden] { display: none; }
.af-group h3 { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.6rem; }
.af-systems { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 0.6rem; }
.af-system {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; min-height: 92px;
  padding: 0.8rem 0.5rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer;
  font: inherit; transition: border-color .15s, box-shadow .15s, background .15s;
}
.af-system[hidden] { display: none; }
.af-system:hover { border-color: #b9c8db; box-shadow: 0 4px 14px rgba(13,60,114,.08); }
.af-system.is-on { border-color: var(--navy); background: #f1f6fc; box-shadow: 0 0 0 1px var(--navy) inset; }
.af-system:focus-visible { outline: 3px solid rgba(244,135,86,.5); outline-offset: 2px; }
.af-system__logo { height: 30px; display: grid; place-items: center; }
.af-system__logo img { max-height: 26px; max-width: 100px; object-fit: contain; }
.af-system__initial {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #eaf2fb; color: var(--navy); font-weight: 700;
}
.af-system__name { font-size: 0.86rem; font-weight: 600; color: var(--navy-deep); line-height: 1.2; text-align: center; }
/* A logo that already says the name (Partner::logoShowsName): no label, the logo a little larger in the tile. */
.af-system--wordmark .af-system__logo { height: 40px; }
.af-system--wordmark .af-system__logo img { max-height: 34px; max-width: 112px; }
.af-empty { margin-top: 1rem; }
.af-panels { margin-top: 1.5rem; }
.af--js .af-panel[hidden] { display: none; }
/* The chosen system's apps, opened under its own group: a card per app with its two ends, its
   price and what to do next. */
.af-panel {
  margin: 0.9rem 0 0.4rem; border: 1px solid #cfdcec; border-radius: 16px; background: #f6f9fd; padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 14px 36px rgba(13,60,114,.08); animation: af-open .25s ease-out;
}
@keyframes af-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.af:not(.af--js) .af-panel + .af-panel { margin-top: 1rem; }
.af-panel__head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.af-panel__logo img { max-height: 24px; max-width: 90px; object-fit: contain; }
.af-group .af-panel__head h3 { margin: 0; font-size: 1.15rem; color: var(--navy-deep); text-transform: none; letter-spacing: normal; }
.af-panel__count { color: var(--muted); font-size: 0.88rem; }
.af-panel__close {
  margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  font-size: 1.2rem; line-height: 1; color: var(--muted); cursor: pointer;
}
.af-panel__close:hover { color: var(--navy); border-color: #b9c8db; }
.af:not(.af--js) .af-panel__close { display: none; }
.af-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 0.75rem; }
.af-card {
  display: flex; flex-direction: column; gap: 0.45rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
}
.af-card--self, .af-card--external { border-top: 3px solid #2f9e66; }
.af-card--assisted { border-top: 3px solid var(--navy); }
.af-card--quote { border-top: 3px solid #e0a43a; }
.af-card__flow { display: flex; align-items: center; gap: 0.5rem; height: 26px; }
.af-card__end img { max-height: 20px; max-width: 86px; object-fit: contain; }
.af-card__arrow { color: var(--orange-hot); font-weight: 700; }
.af-card__name { margin: 0.15rem 0 0; font-size: 1rem; line-height: 1.3; }
.af-card__name a { color: var(--navy-deep); text-decoration: none; }
.af-card__name a:hover { text-decoration: underline; }
.af-card__price { margin: 0; color: var(--muted); font-size: 0.9rem; }
.af-card__price strong { font-size: 1.35rem; color: var(--navy-deep); font-weight: 800; margin-right: 0.15rem; }
.af-card__status { margin: 0; align-self: flex-start; font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 0.15rem 0.6rem; }
.af-card__status--self, .af-card__status--external { color: #1f7a4d; background: #e7f6ee; }
.af-card__status--assisted { color: var(--navy); background: #eaf2fb; }
.af-card__status--quote { color: #8a5a00; background: #fdf3e1; }
.af-card__actions { margin-top: auto; padding-top: 0.5rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.af-card__more { font-weight: 600; color: var(--navy); text-decoration: none; font-size: 0.9rem; }
.af-card__more:hover { text-decoration: underline; }
.af-foot { margin-top: 2rem; color: var(--muted); }

/* ── An integration type's three steps (site/partials/path-wizard.blade.php, oa/js/path-wizard.js) ── */
.pw [hidden] { display: none !important; }
.pw-step + .pw-step { margin-top: 1.75rem; }
.pw-step h2 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.2rem; color: var(--navy-deep); margin: 0 0 0.8rem; }
.pw .af-systems { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.af-system--other { text-decoration: none; border-style: dashed; }
.af-system--other .af-system__initial { background: var(--white); border: 1.5px dashed #b9c8db; }
.pw .af-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pw .af-card__name { font-size: 1rem; }
.pw-hero-logos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.pw-hero-logo {
  display: inline-flex; align-items: center; height: 40px; padding: 0 0.85rem; border-radius: 10px; background: #fff;
  box-shadow: 0 6px 18px rgba(0,20,40,.18);
}
.pw-hero-logo img { max-height: 22px; max-width: 96px; object-fit: contain; }
.pw-side-links { margin: 0.25rem 0 0; font-size: 0.9rem; text-align: center; }
.pw-side-links a { color: var(--navy); font-weight: 600; }

/* ── Pricing overview (site/pricing.blade.php, App\Support\PricingOverview) ── */
.po { padding: 2.5rem 0 4rem; }
.po-table { border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; box-shadow: 0 10px 30px rgba(13,60,114,.06); }
.po-row {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 1.5rem; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; color: var(--ink); text-decoration: none;
}
.po-row + .po-row { border-top: 1px solid var(--line); }
.po-row--head { background: #f6f9fd; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: 0.75rem; padding-bottom: 0.75rem; }
a.po-row:hover { background: #f6f9fd; }
a.po-row:hover .po-type strong { color: var(--navy); text-decoration: underline; }
.po-type { display: flex; align-items: center; gap: 0.75rem; }
.po-type svg { width: 26px; height: 26px; color: var(--navy); flex: none; }
.po-type strong { color: var(--navy-deep); font-size: 1rem; }
.po-price { color: var(--muted); }
.po-price strong { font-size: 1.2rem; font-weight: 800; color: var(--navy-deep); margin-right: 0.2rem; }
.po-go { color: var(--orange-hot); font-weight: 700; text-align: right; }
.po-facts { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--ink); }
.po-facts li { padding-left: 1.3rem; position: relative; }
.po-facts li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-hot); font-weight: 700; }
.po-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
@media (max-width: 720px) {
  .po-row--head { display: none; }
  .po-row { grid-template-columns: minmax(0, 1fr) 1.5rem; row-gap: 0.35rem; }
  .po-row > span:nth-child(2), .po-row > span:nth-child(3) { grid-column: 1; padding-left: calc(26px + 0.75rem); }
  .po-go { grid-row: 1; grid-column: 2; }
}

/* ── Case cards (site/partials/case-card.blade.php, App\Support\CaseStudyCard::summary) ── */
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.cc {
  display: flex; flex-direction: column; gap: 0.7rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px;
  background: var(--white); box-shadow: 0 6px 20px rgba(13,60,114,.05);
}
.cc-head { display: flex; align-items: center; gap: 0.8rem; }
.cc-logo { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.cc-initials {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; flex: none;
  font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; color: #fff; background: var(--navy);
}
.cc--webshop .cc-initials { background: #6c4bc4; }
.cc--payment .cc-initials { background: #0d3c72; }
.cc--warehouse .cc-initials { background: #1f7a4d; }
.cc--excel .cc-initials { background: #217346; }
.cc--subscription .cc-initials { background: #b5532a; }
.cc--custom .cc-initials { background: #e86f38; }
.cc-who { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.cc-who strong { color: var(--navy-deep); font-size: 1.02rem; line-height: 1.25; }
.cc-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--orange-hot); }
.cc-headline { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.cc-result { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.cc-result span { font-weight: 700; color: var(--navy); }
.cc-link { margin-top: auto; padding-top: 0.25rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.cc-link:hover { text-decoration: underline; }
.cc-invite {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem;
  padding: 1.5rem 1.75rem; border-radius: 16px; background: var(--navy-deep); color: #fff;
}
.cc-invite h2 { margin: 0 0 0.3rem; font-size: 1.3rem; color: #fff; }
.cc-invite p { margin: 0; color: rgba(255,255,255,.85); max-width: 46ch; }

/* ── Shared across pages: a status on the app page's side and in its related list; a type card's price. ── */
.side-panel--app .af-card__status { margin: -0.25rem 0 0; }
.app-detail-related__link { display: flex; align-items: center; gap: 0.75rem; }
.app-detail-related__link .af-card__status { margin-left: auto; }
.path-card__price { margin: 0.35rem 0 0.4rem; color: var(--muted); }
.path-card__price strong { font-size: 1.15rem; font-weight: 800; color: var(--navy-deep); }
.path-card .af-card__status { display: inline-block; margin-bottom: 0.6rem; }
.integrations-systems { padding: 1rem 0 4rem; }
.integrations-systems .af-group + .af-group { margin-top: 1.2rem; }
.integrations-systems a.af-system { text-decoration: none; }
.integrations-systems__more { margin-top: 1rem; }
.integrations-systems__more a { font-weight: 700; color: var(--navy); }

/* ── Not found (errors/404.blade.php) ── */
.nf { padding: 2rem 0 4rem; }
.nf-search { display: block; margin-bottom: 1.5rem; }
.nf-search input { width: min(520px, 100%); }
.nf-links { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ── Integrations menu (site/partials/nav-integrations-panel.blade.php, App\Support\NavMenu) ──
   Anchored to the header's width, not to its link, so it never runs off the window. */
@media (min-width: 900px) {
  body.oa-mockup .header-inner { position: relative; }
  body.oa-mockup #nav-integrations { position: static; }
  body.oa-mockup .nav-dd.nav-mega {
    left: 0; right: 0; width: auto; min-width: 0; max-width: none; top: calc(100% - 4px);
    grid-template-columns: 1fr; padding: 0;
  }
  body.oa-mockup .nav-item::before { left: 0; width: 100%; }
  /* The link's hover reaches down into the menu (padding taken back by a margin, so nothing moves):
     with the menu under the header, the pointer otherwise crosses a gap on its way down and it closes. */
  body.oa-mockup #nav-integrations-trigger { padding-top: 24px; padding-bottom: 24px; margin-top: -24px; margin-bottom: -24px; }
}
.nm { display: grid; grid-template-columns: minmax(0, 1fr); }
.nm--mega { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.nm-label { margin: 0 0 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nm-types { padding: 1.1rem 0.9rem 1rem; }
.nm--mega .nm-types { border-right: 1px solid var(--line); }
.nav-dd .nm-type, .nm-type {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.6rem; border-radius: 10px; color: var(--ink); text-decoration: none;
}
.nav-dd .nm-type:hover, .nm-type:hover { background: #f1f6fc; }
.nm-type svg { width: 22px; height: 22px; flex: none; color: var(--navy); padding: 6px; box-sizing: content-box; background: #eef3fa; border-radius: 8px; }
.nm-type__text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.nm-type__text strong { font-size: 0.92rem; color: var(--navy-deep); font-weight: 700; }
.nm-type__meta { font-size: 0.8rem; color: var(--muted); }
.nm-type__self { color: #1f7a4d; font-weight: 600; }
.nm-systems { padding: 1.1rem 1.1rem 1rem; background: #f8fafd; }
.nm-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45rem; }
.nav-dd .nm-tile, .nm-tile { min-height: 70px; padding: 0.55rem 0.35rem; gap: 0.3rem; text-decoration: none; }
.nm-tile .af-system__logo { height: 24px; }
.nm-tile .af-system__logo img { max-height: 22px; max-width: 84px; }
.nm-tile .af-system__name { font-size: 0.76rem; }
.nav-dd a.nm-all, .nm-all { display: inline-block; margin-top: 0.75rem; padding: 0.3rem 0.6rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.nm-all:hover { text-decoration: underline; }
.nm--mobile .nm-types { padding: 0.25rem 0 0.25rem; }
.nm--mobile .nm-type svg { width: 20px; height: 20px; }
.nav-dd a.nm-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }

/* Custom integration page (site.path-custom): the brief beside the hero, the typical tasks as a grid. */
.pc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 2.5rem; align-items: start; }
.pc-brief { background: #fff; color: var(--navy-deep, #0d3c72); border-radius: 14px; padding: 1.4rem; box-shadow: 0 18px 40px rgba(6, 30, 66, 0.25); display: grid; gap: 0.85rem; }
.pc-brief h2 { margin: 0; font-size: 1.2rem; }
.pc-brief__lead { margin: 0; font-size: 0.88rem; color: var(--muted); }
.pc-brief__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.pc-brief .btn { width: 100%; justify-content: center; }
.pc-tasks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.9rem; }
.pc-tasks li { display: flex; gap: 0.75rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem; background: #fff; }
.pc-tasks__icon { flex: none; width: 2.2rem; height: 2.2rem; padding: 0.45rem; border-radius: 10px; background: var(--soft, #eef3f9); color: var(--navy-deep, #0d3c72); }
.pc-tasks h3 { margin: 0 0 0.2rem; font-size: 0.98rem; color: var(--navy-deep, #0d3c72); }
.pc-tasks p { margin: 0; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 900px) {
  .pc-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .pc-brief__row { grid-template-columns: 1fr; }
}
.pc-tasks__icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pc-brief__row label { display: block; min-height: 1.3em; }

/* The app advisor on /apps (site.apps, data-af-ask): the visitor's words, then the apps that fit. */
.af-ask { margin: 1.5rem auto 0; }
.af-ask__form { background: #fff; border: 1px solid #dfe5ee; border-radius: 12px; padding: 1rem 1.25rem; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.af-ask__title { display: block; font-weight: 600; margin-bottom: .5rem; }
.af-ask__row { display: flex; gap: .75rem; align-items: stretch; }
.af-ask__row textarea { flex: 1; min-width: 0; resize: vertical; font: inherit; padding: .6rem .75rem; border: 1px solid #cfd7e3; border-radius: 8px; }
.af-ask__row .btn { white-space: nowrap; align-self: flex-start; }
.af-ask__note { margin: .5rem 0 0; font-size: .8rem; color: #6b7280; }
.af-ask__status { margin: .75rem 0 0; color: #475467; }
.af-advice__cards { margin-top: 1rem; }
.af-advice__follow { margin: 1rem 0 0; font-weight: 500; }
.af-card__reason { margin: .25rem 0 .5rem; font-size: .85rem; color: #344054; }
.af-card--missing { border-top: 3px solid #d0a72c; }
@media (max-width: 640px) {
  .af-ask__row { flex-direction: column; }
  .af-ask__row .btn { align-self: stretch; }
}

/* Under each form that takes personal details: where the privacy policy is. */
.form-privacy { margin: .6rem 0 0; font-size: .8rem; color: #6b7280; }
.form-privacy a { color: inherit; text-decoration: underline; }

/* A CMS page's text (site.cms-page): terms, privacy, help. Room between paragraphs and above headings, a reading width. */
.cms-body { max-width: 48rem; padding: 2rem 0 4rem; line-height: 1.65; }
.cms-body p { margin: 0 0 1rem; }
.cms-body h2 { margin: 2.25rem 0 .75rem; font-size: 1.35rem; }
.cms-body h3 { margin: 1.5rem 0 .5rem; font-size: 1.05rem; }
.cms-body ul, .cms-body ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.cms-body li { margin: 0 0 .35rem; }
.cms-body a { text-decoration: underline; }
.cms-body img { max-width: 100%; height: auto; }

/* Support: the way into the dashboard, its button beside the words. */
.support-login { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: 12px; background: #f4f7fb; }
.support-login > div { flex: 1 1 320px; }

/* A side panel beside a longer column keeps its own height (and can stick); a stack's rows never stretch to fill a taller box. */
.two-col > .side-panel { align-self: start; }
.stack-gap { align-content: start; }

/* The one-off setup fee under the monthly price (pricing table, finder cards). */
.po-setup, .af-card__setup { display: block; margin-top: 0.15rem; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
