/* Software pages: /software/ (board PM-5) and the six /software/<slug>/ feature pages.
   Every shared component comes from site.css; this file holds the page layout, the feature cards with their mini UI
   previews (.sw-mini), the integrations strip and the feature-page sections. Classes are prefixed .sw-. */

/* ============================================================ hero device: seven sidebar rows, dropdown in the title */
.sw-device .device-nav { gap: 0; }
.sw-device .device-nav li { min-height: 2.57em; }
.sw-device .device-brand { margin-bottom: 1.45em; }
.sw-dd {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .32em .55em .32em .8em; border-radius: .45em;
  background: #fff; color: #2a3552; font-size: .58em; font-weight: 600; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 .1em .5em rgba(16, 36, 77, .1);
}
.sw-dd .icon { width: 1.15em; height: 1.15em; stroke-width: 2.4; }
.sw-device .dash-label { margin-bottom: .2em; font-size: 1.15em; }
.sw-device .dash-row { grid-template-columns: 1.1fr 1fr; }
.sw-device .dash-stat { align-content: start; }
/* list card inside the device (feature pages) */
.sw-dlist { display: grid; gap: .55em; list-style: none; padding: 0; margin-top: .4em; }
.sw-dlist li { display: flex; align-items: center; justify-content: space-between; gap: .6em; color: #1d2540; font-size: 1.05em; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.sw-dlist li span { overflow: hidden; text-overflow: ellipsis; }
.sw-dlist li b { flex: none; color: var(--ink); font-weight: 700; }
.sw-chip { flex: none; padding: .2em .55em; border-radius: var(--r-pill); background: #cdf6e6; color: #157a45; font-size: .85em; font-style: normal; font-weight: 700; }
.sw-chip--info { background: var(--sky-100); color: #1d5ed8; }
.sw-chip--warn { background: #fff1d9; color: #9a5b00; }
.sw-upload { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .3em .7em; margin-top: .5em; padding: .8em; border: .1em dashed #b9c6db; border-radius: .6em; color: #1d2540; font-size: 1.05em; font-weight: 600; }
.sw-upload .icon { grid-row: span 2; width: 2em; height: 2em; color: var(--chart); }
.sw-upload i { display: block; height: .45em; border-radius: var(--r-pill); background: #e3e9f3; }
.sw-upload b { display: block; width: 72%; height: 100%; border-radius: inherit; background: var(--green-ui); }

/* ============================================================ /software/ hero and trust bar */
@media (min-width: 1100px) { .sw-trust .trust-bar-inner { min-height: 94px; padding-inline: 26px 37px; } }
.sw-device .device-screen { height: 29.4em; }
.sw-hero .hero-blob--a { left: 42.8em; top: -1.9em; width: 22em; height: 22em; background: linear-gradient(180deg, #2ef1d5 0%, #26d8c6 30%, #22cbbc 58%, #1cb6b0 73%, #17a2a3 82%, #12949a 88%, #0d8193 97%); }
.sw-hero .hero-blob--b { left: -4.9em; top: 15.2em; width: 21em; height: 21em; background: radial-gradient(circle at 30% 70%, #11448f 0%, #0e3d86 45%, #0b3474 100%); }
.sw-hero .hero-blob--c { left: -2.2em; top: 21.5em; width: 17em; height: 17em; background: linear-gradient(180deg, #22dcc6 0%, #1accbb 22%, #16bdb2 38%, #10aca6 54%, #0b9599 70%, #077c8b 82%, #04606f 100%); }
@media (min-width: 1100px) {
  .sw-hero--hub .page-hero-inner { grid-template-columns: minmax(0, 515px) minmax(0, 1fr); min-height: 392px; padding-block: calc(var(--sec-y) * .6) calc(var(--sec-y) * .78); }
  .sw-hero--hub .page-hero-title { font-size: 47.6px; line-height: 1; }
  .sw-hero--hub .page-hero-copy { top: 6px; }
  .sw-hero--hub .page-hero-intro { font-size: 18.4px; line-height: 1.32; }
  .sw-hero .hero-badge { min-height: 32px; padding-inline: 11px 15px; }
  .sw-hero .hero-badge .uk-flag { width: 23px; height: 14px; }
  .sw-hero--hub .page-hero-actions { margin-top: 32px; }
  .sw-hero--hub .page-hero-ticks { margin-top: 19px; }
  /* feature pages: a slightly wider copy column so two-line titles fit; the laptop keeps its board size */
  .sw-hero--feature .page-hero-inner { grid-template-columns: minmax(0, 490px) minmax(0, 1fr); }
}

/* ============================================================ features grid (PM-5) */
/* The section after the trust bar starts further down: the bar is a tinted band with no outer padding of its own. */
.sw-features, .sw-strip { padding-block: calc(var(--sec-y) * 1.8) var(--sec-y); }
.sw-features .section-head h2 { font-size: 35.6px; line-height: 1.12; }
.sw-features .section-head p { margin-top: 10px; color: #2a3552; font-size: 18px; font-weight: 500; line-height: 1.35; }
@media (min-width: 1100px) { .sw-features .wrap, .sw-testimonials .wrap { width: min(100% - 2 * var(--gutter), calc(var(--container) + 18px)); } }
.sw-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(23px, 1.1vw + 10px, 32px) clamp(26px, 1.4vw + 10px, 40px); margin: 0; padding: 0; list-style: none; }
.sw-feature-grid > li { display: flex; min-width: 0; }
.sw-feature {
  flex: 1; display: grid; grid-template-columns: 60px minmax(0, 1fr) 232px; align-items: start;
  min-width: 0; padding: clamp(12px, 1.1vw - 2px, 20px) clamp(15px, 1.25vw - 1px, 22px) clamp(13px, 1.1vw - 1px, 20px) clamp(13px, 1.25vw - 3px, 22px); border-radius: 19px;
  background: linear-gradient(180deg, #f6f9fd 0%, #f1f6fc 100%); box-shadow: 0 1px 3px rgba(16, 36, 77, .05);
  color: var(--ink); transition: box-shadow .15s;
}
a.sw-feature:hover { box-shadow: var(--shadow-md); }
a.sw-feature:hover .sw-feature-title { color: var(--blue); }
.sw-feature-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-top: 6px; border-radius: 14px; background: linear-gradient(180deg, #dffaf2, #e7f9f5); color: #0b7a5a; }
.sw-feature-icon .icon { width: 33px; height: 33px; stroke-width: 1.9; }
.sw-feature-icon--teal { color: #0c6f63; }
.sw-feature-copy { min-width: 0; padding: 15px 6px 0 23px; }
.sw-feature-title { color: var(--ink); font-size: 23.2px; font-weight: var(--fw-title); line-height: 1.2; letter-spacing: -.01em; transition: color .15s; }
.sw-feature-text { margin-top: 9px; color: #2c3550; font-size: 15.5px; font-weight: 500; line-height: 20.4px; }
@media (min-width: 1100px) {
  .sw-feature-grid > li:nth-child(n+3) .sw-feature-icon { margin-top: 3px; }
  .sw-feature-grid > li:nth-child(n+3) .sw-feature-copy { padding-top: 8px; }
  .sw-feature-grid > li:nth-child(n+3) .sw-feature-text { margin-top: 6px; line-height: 22px; }
}

/* mini UI previews (decorative). Heights follow the board rows. */
.sw-mini {
  display: flex; flex-direction: column; min-width: 0; align-self: stretch;
  padding: 8px 13px 8px 15px; border: 1px solid #e7ebf0; border-radius: 13px;
  background: #fff; box-shadow: 0 6px 16px rgba(16, 36, 77, .08);
  color: var(--ink-2); font-size: 12.2px; font-weight: 500; line-height: 1.2;
}
.sw-mini--invoice, .sw-mini--expenses { min-height: 125px; }
.sw-mini--books, .sw-mini--bank { min-height: 122px; }
.sw-mini--vat, .sw-mini--payroll { min-height: 103px; }
.sw-mini--tax, .sw-mini--docs { min-height: 116px; padding-bottom: 6px; }
.sw-mini--reminders { min-height: 114px; padding-bottom: 3px; }
.sw-mini--reports { min-height: 114px; padding-bottom: 4px; }
.sw-mini .icon { width: 17px; height: 17px; }
.sw-mini-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 18px; }
.sw-mini-head b { color: var(--ink); font-size: 14px; font-weight: var(--fw-title); letter-spacing: -.01em; line-height: 1.2; }
.sw-mini-rows { display: grid; margin: 6px 0 0; padding: 0; list-style: none; }
.sw-mini-rows li { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 25px; }
.sw-mini-rows li > span:not([class]) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* invoice */
.sw-mini--invoice { padding: 12px 13px 14px 15px; }
.sw-mini--invoice .sw-mini-head { min-height: 20px; }
.sw-send { display: grid; place-items: center; width: 39px; height: 39px; margin: -9px -3px -10px 0; border-radius: 50%; background: #05a852; color: #fff; box-shadow: 0 4px 10px rgba(5, 168, 82, .3); }
.sw-send .icon { width: 19px; height: 19px; stroke-width: 2; }
.sw-send .sw-send-fold { stroke: #05a852; stroke-width: 1.6; }
.sw-field { display: block; margin-top: 9px; padding: 8px 10px; border-radius: 8px; background: #f1f4f9; color: var(--ink-2); font-size: 12.5px; line-height: 15px; }
.sw-amount { display: block; margin-top: 6px; padding-bottom: 5px; border-bottom: 1px solid #e9eff6; color: var(--ink); font-size: 16.5px; font-weight: var(--fw-title); line-height: 22.5px; letter-spacing: -.01em; }
/* expenses */
.sw-mini-rows--amounts { margin-top: 4px; padding-top: 6px; border-top: 1px solid #edf1f6; }
.sw-mini-rows--amounts li { gap: 15px; min-height: 26px; padding-left: 2px; }
.sw-mini-rows--amounts .icon { width: 19px; height: 19px; color: var(--icon-navy); }
.sw-mini-rows--amounts b { font-weight: 600; }
/* books */
.sw-mini-rows--ticks { margin-top: 10px; }
.sw-mini-rows--ticks li { gap: 12px; }
.sw-tick { width: 17px; height: 17px; color: #13b24a; }
/* bank feeds: generic bank icons, no bank logos */
.sw-mini--bank { padding-block: 12px 4px; }
.sw-mini-rows--bank { margin-top: 9px; }
.sw-mini-rows--bank li { gap: 8px; padding-block: 7px; }
.sw-mini-rows--bank li + li { border-top: 1px solid #edf1f6; }
.sw-bank { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; color: #fff; }
.sw-bank .icon { width: 14px; height: 14px; stroke-width: 2.1; }
.sw-bank--a { background: #e8414d; }
.sw-bank--b { background: #2a8be0; }
.sw-synced { display: inline-flex; align-items: center; gap: 3px; color: #12a150; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sw-synced .icon { width: 13px; height: 13px; stroke-width: 2.6; }
/* VAT and payroll */
.sw-mini-line { display: flex; align-items: center; gap: 8px; min-height: 22px; margin-top: 12px; color: var(--ink-2); font-weight: 600; }
.sw-mini-line > .icon { width: 19px; height: 19px; color: var(--icon-navy); }
.sw-crest { display: grid; place-items: center; width: 21px; height: 21px; border: 1.4px solid #1d2a48; border-radius: 50%; color: #1d2a48; }
.sw-crest .icon { width: 12px; height: 12px; stroke-width: 2; }
.sw-mini .sw-mini-corner { width: 24px; height: 24px; margin-block: -3px; color: #13305e; stroke-width: 1.8; }
.sw-ok { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; margin-top: 5px; padding: 5px 12px 5px 10px; border-radius: 7px; background: #d9fcea; color: #015238; font-size: 14px; font-weight: 700; line-height: 16px; }
.sw-ok .icon { width: 14px; height: 14px; stroke-width: 2.8; color: #0c9c4c; }
/* tax, documents and reports: rows with dividers */
.sw-mini-rows--lined { margin-top: 4px; }
.sw-mini-rows--lined li { min-height: 26px; border-top: 1px solid #edf1f6; }
.sw-mark { width: 16px; height: 16px; color: #13b24a; stroke-width: 2.4; }
.sw-mark--blue { color: var(--blue); }
.sw-mini-rows--icons li { gap: 12px; }
.sw-mini-rows--icons li > .icon:first-child { width: 17px; height: 17px; color: var(--icon-navy); }
.sw-chev { width: 15px; height: 15px; color: var(--icon-navy); stroke-width: 2.2; }
/* reminders */
.sw-mini-rows--dots { margin-top: 8px; }
.sw-mini-rows--dots li { gap: 16px; min-height: 25px; padding-left: 5px; }
.sw-dot { flex: none; width: 13px; height: 13px; border-radius: 50%; }
.sw-dot--on { background: #13b24a; }
.sw-dot--off { border: 1.5px solid #c3cad6; }

/* ============================================================ integrations strip (PM-5) */
.sw-tools { padding-block: var(--sec-y); }
.sw-tools-inner {
  display: grid; grid-template-columns: auto 1px minmax(0, 1fr); align-items: center; column-gap: clamp(50px, 4vw, 72px);
  width: min(100% - 2 * var(--gutter), calc(var(--container) + 52px)); min-height: 94px; margin-inline: auto;
  padding: clamp(14px, calc(var(--sec-y) * .45), 28px) clamp(29px, 2.6vw, 48px);
  border-radius: 24px; background: linear-gradient(90deg, #eff8f9 0%, #f8fcfc 100%);
}
.sw-tools-copy { display: block; color: var(--ink); }
.sw-tools-copy h2 { font-size: 23.5px; line-height: 1.2; transition: color .15s; }
.sw-tools-copy p { margin-top: 6px; color: #2c3550; font-size: 15.5px; font-weight: 500; }
a.sw-tools-copy:hover h2 { color: var(--blue); }
.sw-tools-sep { width: 1px; height: 46px; background: #c7d3de; }
.sw-tools-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin: 0; padding: 0; list-style: none; }
.sw-tools-list .brandmark-text b { font-size: 17.5px; }
.sw-tools-list .brandmark-disc { width: 31px; height: 31px; font-size: 14px; }
.sw-tools-list .brandmark--xero .brandmark-disc--wide { width: 62px; height: 37px; border-radius: 19px; font-size: 19px; font-weight: 600; }
.sw-tools-list .brandmark--xero .brandmark-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sw-tools-list .brandmark--microsoft365 .brandmark-text b { color: #27282b; font-weight: 600; }

/* ============================================================ testimonials and CTA (PM-5) */
.sw-testimonials .testimonials-head { text-align: center; }
.sw-testimonials .testimonials-head h2 { font-size: 31.7px; }
.sw-testimonials .testimonials-list { gap: clamp(19px, 1.6vw, 28px); }
.sw-testimonials .quote-card { min-height: 133px; gap: 18px; padding: 10px 12px 10px; border-color: #edf1f6; border-radius: 16px; background: linear-gradient(180deg, #f8fafc, #fcfdfe); }
.sw-testimonials .quote-card-photo { width: 105px; height: 113px; margin-top: -2px; border-radius: 13px; align-self: flex-start; }
.sw-testimonials .quote-card-body { justify-content: flex-start; gap: 0; padding-top: 2px; }
.sw-testimonials .quote-card-text p { padding-left: 21px; font-size: 15.6px; font-weight: 700; line-height: 20.4px; }
/* The board's heavy "66" quote mark, drawn as an inline SVG (the font's quote glyph is a thin wedge). */
.sw-testimonials .quote-card-mark {
  top: 2px; width: 17px; height: 13px; font-size: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 17'%3E%3Cpath fill='%2306a65a' d='M.5 11.8C.5 6.8 3 3.2 8 1.2l.9 1.7C6.3 4.2 4.9 6 4.7 7.3a4.5 4.5 0 1 1-4.2 4.5zM12.6 11.8c0-5 2.5-8.6 7.5-10.6l.9 1.7c-2.6 1.3-4 3.1-4.2 4.4a4.5 4.5 0 1 1-4.2 4.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sw-testimonials .quote-card-name { margin-top: auto; padding: 4px 0 0 8px; font-size: 13.5px; line-height: 17.5px; }
.sw-testimonials .quote-card-body .stars { gap: 1.7px; margin: 5px 0 4px; padding-left: 8px; color: #04bb55; }
.sw-testimonials .quote-card-body .stars .star { width: 16px; height: 16px; }
.sw-cta .wrap-wide { width: min(100% - 2 * var(--gutter), calc(var(--container) + 52px)); }
@media (min-width: 1100px) {
  .sw-cta .cta-band--center { min-height: 143px; gap: 20px; padding-block: calc(var(--sec-y) * .5) calc(var(--sec-y) * .55); border-radius: 41px; }
  .sw-cta .cta-band--center .cta-band-copy h2 { font-size: 32px; line-height: 34px; }
  .sw-cta .cta-band--center .cta-band-copy p { margin-top: 8px; font-size: 17.7px; line-height: 22px; }
  .sw-cta .cta-band--center .cta-band-actions .btn { min-width: 224px; --btn-h: 42px; }
  .sw-cta .cta-band--center .cta-band-actions .btn-outline { min-width: 238px; }
  /* PM-5 decor: a lighter navy circle and a teal blob on the left, a large teal arc in the bottom-right corner. */
  .sw-cta .cta-band--center::before {
    width: 230px;
    background:
      radial-gradient(circle 172px at 1px 238px, #24d7c5 0%, #1cbdb4 72%, #16a3a5 99.4%, rgba(22, 163, 165, 0) 100%),
      radial-gradient(circle 156px at 43px 147px, #0e4380 0%, #0c3a70 70%, #0c3466 99.4%, rgba(12, 52, 102, 0) 100%);
  }
  .sw-cta .cta-band--center::after {
    right: -408px; bottom: -468px; width: 608px; height: 608px;
    background: linear-gradient(45deg, #2ee6c8 42%, #13b5ae 48%, #10939a 55%, #0c5876 65%);
  }
}

/* ============================================================ feature pages */
.sw-strip .feature-strip-copy b { font-size: 17px; line-height: 1.28; }
@media (min-width: 768px) { .sw-strip .feature-strip-item { padding-right: 16px; } }
.sw-flow-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(48px, 6vw, 112px); align-items: center; }
.sw-flow-copy { max-width: 720px; }
.sw-flow-copy h2 { font-size: var(--fs-h2); line-height: 1.15; }
.sw-flow-copy p { margin-top: 14px; color: var(--body); font-size: 16px; line-height: 1.6; }
.sw-flow-copy h2 + p { margin-top: 18px; }
.sw-flow-copy .sw-flow-lead { color: var(--ink-2); font-size: 17px; font-weight: 500; }
.sw-flow-copy .text-link { margin-top: 22px; }
.sw-example { margin: 0; padding: 26px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--mint-50) 0%, var(--band) 100%); }
.sw-example figcaption { margin-top: 12px; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; text-align: center; }
.sw-mini--example { gap: 10px; padding: 18px 20px; font-size: 15px; }
.sw-mini--example .sw-mini-head b { font-size: 18px; }
.sw-example-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--mint-100); color: #0b7a4e; font-size: 12px; font-weight: 700; }
.sw-example-badge .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.sw-mini-rows--status li { gap: 12px; padding-block: 11px; }
.sw-mini-rows--status li span { color: var(--ink-2); font-weight: 600; }
.sw-mini-rows--status li b { color: var(--body); font-weight: 500; }
.sw-mini-rows--status .sw-tick { width: 20px; height: 20px; }
.sw-practice-grid .icon-card-text { font-size: 15.5px; line-height: 1.6; }
.sw-more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 10px; margin-top: var(--sec-head-gap); }
.sw-more-label { flex-basis: 100%; margin-right: 6px; color: var(--ink); font-size: 15px; font-weight: var(--fw-bold); }

/* ============================================================ responsive */
@media (min-width: 1100px) and (max-width: 1240px) {
  .sw-feature { grid-template-columns: 52px minmax(0, 1fr) 222px; padding-inline: 12px 13px; }
  .sw-feature-icon { width: 52px; height: 52px; }
  .sw-feature-icon .icon { width: 28px; height: 28px; }
  .sw-feature-copy, .sw-feature-grid > li:nth-child(n+3) .sw-feature-copy { padding-left: 16px; padding-right: 4px; }
  .sw-feature-title { font-size: 20px; }
  .sw-feature-text, .sw-feature-grid > li:nth-child(n+3) .sw-feature-text { font-size: 14.5px; line-height: 20px; }
  .sw-feature-text br { display: none; }
  .sw-mini { padding-inline: 10px 12px; }
  .sw-mini-rows--bank li { gap: 6px; }
  .sw-tools-inner { column-gap: 28px; padding-inline: 24px; }
  .sw-tools-copy h2 { font-size: 20.5px; }
  .sw-tools-copy p { font-size: 14px; }
  .sw-tools-list { gap: 12px 14px; }
  .sw-tools-list .brandmark-text b { font-size: 15.5px; }
  .sw-tools-list .brandmark-disc { width: 27px; height: 27px; font-size: 12.5px; }
  .sw-tools-list .brandmark--xero .brandmark-disc--wide { width: 54px; height: 32px; font-size: 16.5px; }
}
@media (max-width: 1099px) {
  /* keep the title breaks (they set the two-line titles at every width); drop the ones that only fit the desktop columns */
  .sw-hero .page-hero-intro br, .sw-feature-text br { display: none; }
  /* two columns of stacked cards: icon and copy on top, the preview underneath */
  .sw-feature-grid { gap: 20px; }
  .sw-feature { grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; row-gap: 14px; padding: 16px; }
  .sw-feature-icon { width: 52px; height: 52px; margin-top: 0; }
  .sw-feature-icon .icon { width: 27px; height: 27px; }
  .sw-feature-copy { padding: 2px 0 0; }
  .sw-feature .sw-mini { grid-column: 1 / -1; align-self: end; }
  .sw-tools-inner { grid-template-columns: minmax(0, 1fr); row-gap: 16px; padding: 20px 24px; }
  .sw-tools-sep { display: none; }
  .sw-tools-list { flex-wrap: wrap; justify-content: flex-start; }
  .sw-testimonials .testimonials-list { margin-inline: auto; }
  .sw-flow-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sw-example { max-width: 560px; }
}
@media (max-width: 767px) {
  .sw-features .section-head h2 { font-size: 27px; }
  .sw-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .sw-feature-title { font-size: 19.5px; }
  .sw-feature-text { margin-top: 4px; font-size: 15px; }
  .sw-feature .sw-mini { grid-column: 1 / -1; max-width: 340px; }
  .sw-tools-copy h2 { font-size: 19px; text-wrap: balance; }
  .sw-tools-list { gap: 14px 24px; }
  .sw-testimonials .testimonials-head h2 { font-size: 25px; }
  .sw-testimonials .quote-card-photo { width: 92px; height: 100px; }
  .sw-example { padding: 16px; }
}
