/* ==========================================================
   HSBiz - receipt-inspired light + blue theme
   Fonts: Bricolage Grotesque (headings), DM Sans (body), DM Mono (receipt)
   ========================================================== */
:root {
  --paper: #F5F8FD;
  --paper-2: #E9F0FA;
  --blush: #edf3ff;
  --primaryBlue: #0A5CF5;
  --primary-d: #234F8F;
  --primary-dd: #142F5A;
  --ink: #0F1E36;
  --muted: #566985;
  --line: #D3DFEF;
  --white: #fff;
  --notch-bg: var(--paper);
  --f-head: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, Menlo, monospace;
  --shadow-s: 0 6px 18px rgba(35, 79, 143, .08);
  --shadow-m: 0 18px 40px rgba(35, 79, 143, .14);
  --nav-h: 76px;
}

* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.04rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--f-head);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.1rem);
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  color: var(--muted);
}

a {
  color: var(--primaryBlue);
  text-decoration: none;
}

a:hover {
  color: var(--primary-d);
}

img,
svg {
  max-width: 100%;
}

::selection {
  background: var(--primaryBlue);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--primaryBlue);
  outline-offset: 3px;
  border-radius: 6px;
}

.lead {
  font-size: 1.14rem;
  color: var(--muted);
}

.text-red {
  color: var(--primaryBlue) !important;
}

.bg-soft {
  background: var(--paper-2);
  --notch-bg: var(--paper-2);
}

.measure {
  max-width: 62ch;
}

/* ---------- buttons: tactile "press" style ---------- */
.btn {
  font-family: var(--f-body);
  font-weight: 700;
  border-radius: 14px;
  padding: .8rem 1.5rem;
  transition: transform .12s ease, box-shadow .12s ease, background .2s, color .2s;
}

.btn-ruby {
  background: var(--primaryBlue);
  color: #fff;
  border: 2px solid var(--primaryBlue);
  box-shadow: 0 5px 0 var(--primary-d);
}

.btn-ruby:hover,
.btn-ruby:focus {
  background: #4A85D4;
  color: #fff;
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--primary-d);
}

.btn-ruby:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 var(--primary-d);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
}

.btn-line:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--ink);
}

.btn-white {
  background: #fff;
  color: var(--primary-d);
  border: 2px solid #fff;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .22);
}

.btn-white:hover {
  color: var(--white);
  transform: translateY(2px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .22);
}

.btn-ghost-w {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .7);
}

.btn-ghost-w:hover {
  background: #fff;
  color: var(--primary-d);
}

.btn-sm {
  padding: .5rem 1rem;
  border-radius: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1rem;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  transition: border-color .2s, transform .2s;
}

.store-btn i {
  font-size: 1.25rem;
  color: var(--primaryBlue);
}

.store-btn:hover {
  border-color: var(--primaryBlue);
  color: var(--ink);
  transform: translateY(-2px);
}

/* ---------- navbar ---------- */
.site-nav {
  background: rgba(245, 248, 253, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
  z-index: 1030;
}

.site-nav.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(35, 79, 143, .07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -.03em;
  color: var(--ink);
}

.brand img {
  width: auto;
  height: 30px;
}

.brand:hover {
  color: var(--ink);
}

.site-nav .nav-link {
  font-weight: 600;
  color: var(--ink);
  padding: .5rem .9rem !important;
  border-radius: 10px;
  position: relative;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--primaryBlue);
}

.site-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--primaryBlue);
}

.site-nav .dropdown-toggle::after {
  border: 0;
  font-family: 'bootstrap-icons';
  content: '\f282';
  font-size: .7rem;
  vertical-align: 0;
  margin-left: .3rem;
}

.dropdown-menu.mega {
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 1.1rem;
  box-shadow: var(--shadow-m);
  background: #fff;
}

@media (min-width: 1200px) {
  .site-nav .dropdown {
    position: static;
  }

  .dropdown-menu.mega {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(980px, 94vw);
    margin-top: 0 !important;
  }

  .dropdown-menu.mega.sm-mega {
    width: min(760px, 94vw);
  }

  .site-nav .dropdown:hover>.dropdown-menu {
    display: block;
  }
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .25rem;
}

.sm-mega .mega-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1199.98px) {

  .mega-grid,
  .sm-mega .mega-grid {
    grid-template-columns: 1fr;
  }

  .dropdown-menu.mega {
    box-shadow: none;
    padding: .4rem;
  }
}

.mega-item {
  display: flex;
  gap: .8rem;
  align-items: center;
  padding: .65rem .8rem;
  border-radius: 14px;
  color: var(--ink);
  transition: background .15s;
}

.mega-item:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.mega-item .ico {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blush);
  color: var(--primaryBlue);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  transition: background .2s, color .2s, transform .2s;
}

.mega-item:hover .ico {
  background: var(--primaryBlue);
  color: #fff;
  transform: rotate(-6deg);
}

.mega-item b {
  display: block;
  line-height: 1.2;
  font-size: .98rem;
}

.mega-item small {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.3;
  display: block;
}

.mega-foot {
  margin-top: .6rem;
  padding: .8rem 1rem;
  border-radius: 14px;
  background: var(--paper-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
}

.navbar-toggler {
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: .35rem .6rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- receipt zig-zag edges ---------- */
.zig-bottom,
.zig-top {
  position: relative;
}

.zig-bottom::after,
.zig-top::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(45deg, var(--edge, var(--paper)) 50%, transparent 50%) 0 0 / 16px 16px repeat-x,
    linear-gradient(-45deg, var(--edge, var(--paper)) 50%, transparent 50%) 0 0 / 16px 16px repeat-x;
}

.zig-bottom::after {
  bottom: -1px;
}

.zig-top::before {
  top: -1px;
  transform: scaleY(-1);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 2.2rem) 0 4.5rem;
  overflow: hidden;
  background: radial-gradient(60rem 34rem at 88% 8%, var(--blush), transparent 62%), radial-gradient(30rem 20rem at -5% 90%, var(--paper-2), transparent 70%), var(--paper);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(51, 111, 191, .18) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(100deg, transparent 40%, #000 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .95rem .4rem .45rem;
  border-radius: 99px;
  background: #fff;
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  box-shadow: var(--shadow-s);
}

.pill i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primaryBlue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .8rem;
}

.hero h1 {
  margin: 1.1rem 0 1.1rem;
}

.hero .lead {
  max-width: 52ch;
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
}

.tick-list li {
  font-weight: 600;
  color: var(--ink);
  font-size: .96rem;
}

.tick-list i {
  color: var(--primaryBlue);
  margin-right: .35rem;
}

/* printer + receipt (the hero's one big moment) */
.printer-stage {
  position: relative;
  width: min(380px, 92%);
  margin: 0 auto;
  padding-top: 1rem;
}

.printer {
  position: relative;
  z-index: 3;
  height: 92px;
  border-radius: 26px 26px 18px 18px;
  background: linear-gradient(180deg, #25395c, var(--ink));
  box-shadow: 0 20px 30px rgba(15, 30, 54, .28);
}

.printer::before {
  content: '';
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 16px;
  height: 12px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 3px 4px rgba(0, 0, 0, .8);
}

.printer .led {
  position: absolute;
  top: 18px;
  right: 26px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primaryBlue);
  box-shadow: 0 0 12px var(--primaryBlue);
  animation: blink 1.6s steps(2) infinite;
}

.printer .plate {
  position: absolute;
  top: 16px;
  left: 26px;
  height: 8px;
  width: 70px;
  border-radius: 4px;
  background: #3A4D6B;
}

.receipt-window {
  position: relative;
  z-index: 2;
  margin: -14px 28px 0;
  height: 470px;
  overflow: hidden;
}

.receipt {
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--ink);
  background: #fff;
  padding: 1.25rem 1.1rem 1.7rem;
  position: relative;
  animation: feed 9s infinite;
  transform-origin: top;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  filter: drop-shadow(0 10px 14px rgba(35, 79, 143, .18));
}

.receipt .c {
  text-align: center;
}

.receipt .shop {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}

.receipt .row-r {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  padding: .12rem 0;
}

.receipt hr {
  border: 0;
  border-top: 1.5px dashed var(--line);
  opacity: 1;
  margin: .55rem 0;
}

.receipt .tot {
  font-weight: 500;
  font-size: 1.05rem;
}

.receipt .barcode {
  height: 38px;
  margin: .7rem auto .2rem;
  width: 80%;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px);
}

.stamp {
  position: absolute;
  right: 12px;
  top: 54%;
  border: 3px solid var(--primaryBlue);
  color: var(--primaryBlue);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.5rem;
  padding: .05rem .7rem;
  border-radius: 10px;
  transform: rotate(-12deg);
  letter-spacing: .04em;
  animation: stamp 9s infinite;
  opacity: 0;
  background: rgba(255, 255, 255, .6);
}

@keyframes feed {
  0% {
    transform: translateY(-100%);
    animation-timing-function: steps(34, end);
  }

  40% {
    transform: translateY(0);
  }

  94% {
    transform: translateY(0);
    opacity: 1;
  }

  99% {
    transform: translateY(0);
    opacity: 0;
  }

  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes stamp {

  0%,
  41% {
    opacity: 0;
    transform: rotate(-12deg) scale(2.2);
  }

  45% {
    opacity: 1;
    transform: rotate(-12deg) scale(1);
  }

  94% {
    opacity: 1;
    transform: rotate(-12deg) scale(1);
  }

  99%,
  100% {
    opacity: 0;
    transform: rotate(-12deg) scale(1);
  }
}

@keyframes blink {
  50% {
    opacity: .25;
  }
}

.hero-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-m);
  font-weight: 700;
  font-size: .88rem;
  color: var(--ink);
}

.hero-chip i {
  color: var(--primaryBlue);
  font-size: 1.1rem;
}

.hero-chip.c1 {
  left: -12%;
  top: 20%;
  transform: rotate(-4deg);
}

.hero-chip.c2 {
  right: -9%;
  top: 66%;
  transform: rotate(3deg);
}

.hero-chip.c3 {
  left: -8%;
  bottom: 6%;
  transform: rotate(2deg);
}

@media (max-width: 575.98px) {
  .hero-chip.c1 {
    left: -3%;
  }

  .hero-chip.c2 {
    right: -3%;
  }

  .hero-chip.c3 {
    left: -2%;
  }

  .receipt-window {
    height: 440px;
  }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: .9rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.6rem;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee span {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  white-space: nowrap;
}

.marquee span i {
  color: var(--primaryBlue);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- sections ---------- */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section.tight {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head p {
  font-size: 1.1rem;
}

.tag {
  display: inline-block;
  padding: .25rem .8rem;
  border-radius: 8px;
  background: var(--blush);
  color: var(--primary-d);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .9rem;
  transform: rotate(-1.5deg);
}

/* ---------- stats band ---------- */
.band-red {
  background: var(--primaryBlue);
  color: #fff;
  --edge: var(--paper);
  padding: 3.4rem 0 3.9rem;
}

.band-red.edge-soft {
  --edge: var(--paper-2);
}

.band-red h2,
.band-red h3,
.band-red p,
.band-red .stat b {
  color: #fff;
}

.band-red p {
  opacity: .9;
}

.stat {
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--f-head);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}

.stat span {
  font-weight: 600;
  opacity: .9;
}

/* ---------- ticket cards ---------- */
.ticket {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 1.8rem 1.6rem 1.6rem;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.ticket::before,
.ticket::after {
  content: '';
  position: absolute;
  top: 74px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--notch-bg);
  border: 1.5px solid var(--line);
  transition: border-color .25s;
}

.ticket::before {
  left: -12px;
}

.ticket::after {
  right: -12px;
}

.ticket .perf {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 84px;
  border-top: 2px dashed var(--line);
}

.ticket .ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--blush);
  color: var(--primaryBlue);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.55rem;
  transition: all .25s;
}

.ticket h3 {
  margin: 0 0 .5rem;
  font-size: 1.2rem;
}

.ticket p {
  margin: 0;
  font-size: .97rem;
}

.ticket:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: var(--primaryBlue);
}

.ticket:hover::before,
.ticket:hover::after {
  border-color: var(--primaryBlue);
}

.ticket:hover .ico {
  background: var(--primaryBlue);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}

a.ticket {
  display: block;
  color: inherit;
}

.ticket .go {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .9rem;
  font-weight: 700;
  color: var(--primaryBlue);
  font-size: .93rem;
}

.ticket .go i {
  transition: transform .2s;
}

.ticket:hover .go i {
  transform: translateX(4px);
}

/* ---------- steps ---------- */
.steps {
  position: relative;
}

.step {
  position: relative;
  text-align: center;
  padding: 0 .6rem;
}

.step .n {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: #fff;
  border: 3px solid var(--primaryBlue);
  color: var(--primaryBlue);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--paper);
  transition: background .3s, color .3s;
}

.bg-soft .step .n {
  box-shadow: 0 0 0 8px var(--paper-2);
}

.step:hover .n {
  background: var(--primaryBlue);
  color: #fff;
}

.step .when {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: .1rem .6rem;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.step h3 {
  font-size: 1.15rem;
}

.step p {
  font-size: .95rem;
}

@media (min-width: 992px) {
  .steps::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 12%;
    right: 12%;
    border-top: 3px dashed var(--primaryBlue);
    opacity: .45;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.4s cubic-bezier(.6, 0, .2, 1);
  }

  .steps.in::before {
    transform: scaleX(1);
  }
}

/* ---------- split rows (image + text) ---------- */
.split {
  align-items: center;
  row-gap: 2rem;
}

.split .art {
  position: relative;
}

.split .art img {
  width: 100%;
  filter: drop-shadow(0 18px 24px rgba(35, 79, 143, .12));
}

.checks {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 1.6rem;
}

.checks li {
  display: flex;
  gap: .8rem;
  padding: .55rem 0;
  color: var(--ink);
  font-weight: 500;
}

.checks li i {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--primaryBlue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .85rem;
  margin-top: .12rem;
}

.checks small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: .92rem;
}

/* ---------- chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 1.1rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  font-weight: 600;
  color: var(--ink);
  transition: all .2s;
}

.chip i {
  color: var(--primaryBlue);
}

.chip:hover {
  border-color: var(--primaryBlue);
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: var(--shadow-s);
  color: var(--ink);
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}

/* ---------- industry cards ---------- */
.ind-card {
  display: block;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  color: var(--ink);
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.ind-card .pic {
  background: var(--paper-2);
  overflow: hidden;
}

.ind-card .pic img {
  width: 100%;
  display: block;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.ind-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: var(--primaryBlue);
  color: var(--ink);
}

.ind-card:hover .pic img {
  transform: scale(1.08) rotate(-2deg);
}

.ind-card .txt {
  padding: 1.1rem 1.3rem 1.3rem;
}

.ind-card h3 {
  font-size: 1.1rem;
  margin: 0 0 .15rem;
}

.ind-card p {
  margin: 0;
  font-size: .9rem;
}

/* ---------- comparison table ---------- */
.cmp {
  border: 1.5px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-s);
}

.cmp table {
  margin: 0;
  --bs-table-bg: transparent;
}

.cmp th,
.cmp td {
  padding: 1rem 1.3rem;
  border-color: var(--line);
  vertical-align: middle;
}

.cmp thead th {
  background: var(--ink);
  color: #fff;
  font-family: var(--f-head);
  font-size: 1.05rem;
  border: 0;
}

.cmp thead th.us {
  background: var(--primaryBlue);
}

.cmp td.us {
  background: #F4F8FD;
  font-weight: 700;
  color: var(--ink);
}

.cmp td.them {
  color: var(--muted);
}

.cmp td.us i {
  color: var(--primaryBlue);
  margin-right: .4rem;
}

.cmp td.them i {
  color: #93A6C4;
  margin-right: .4rem;
}

/* ---------- before / after ---------- */
.ba {
  border-radius: 26px;
  padding: 2rem;
  height: 100%;
}

.ba.before {
  background: #fff;
  border: 2px dashed #B8C9E4;
}

.ba.after {
  background: var(--primaryBlue);
  color: #fff;
  box-shadow: 0 10px 0 var(--primary-d);
}

.ba h3 {
  margin-bottom: 1rem;
}

.ba.after h3,
.ba.after li {
  color: #fff;
}

.ba ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ba li {
  display: flex;
  gap: .7rem;
  padding: .5rem 0;
  font-weight: 500;
}

.ba.before li i {
  color: var(--primaryBlue);
}

.ba.after li i {
  color: #fff;
}

/* ---------- calculator ---------- */
.calc {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow-m);
}

.calc label {
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  margin-bottom: .3rem;
}

.calc label output {
  color: var(--primaryBlue);
  font-family: var(--f-mono);
  font-weight: 500;
}

.form-range {
  height: 2rem;
}

.form-range::-webkit-slider-runnable-track {
  height: .45rem;
  background: var(--blush);
  border-radius: 9px;
}

.form-range::-moz-range-track {
  height: .45rem;
  background: var(--blush);
  border-radius: 9px;
}

.form-range::-webkit-slider-thumb {
  background: var(--primaryBlue);
  margin-top: -.45rem;
  width: 1.35rem;
  height: 1.35rem;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(35, 79, 143, .5);
}

.form-range::-moz-range-thumb {
  background: var(--primaryBlue);
  width: 1.35rem;
  height: 1.35rem;
  border: 3px solid #fff;
}

.form-range:focus {
  box-shadow: none;
}

.calc-out {
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 1.8rem;
  height: 100%;
  position: relative;
}

.calc-out::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 12px;
  background: linear-gradient(45deg, #fff 50%, transparent 50%) 0 0/12px 12px repeat-x, linear-gradient(-45deg, #fff 50%, transparent 50%) 0 0/12px 12px repeat-x;
}

.calc-out small {
  color: #B9CBE6;
  font-weight: 600;
}

.calc-out .big {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.3rem);
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.05;
}

.calc-out .mini b {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 1.15rem;
  color: #fff;
  display: block;
}

.calc-out hr {
  border-color: rgba(255, 255, 255, .25);
  opacity: 1;
}

/* ---------- testimonials ---------- */
.quote {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 2.2rem 2.4rem;
  position: relative;
  box-shadow: var(--shadow-s);
}

.quote::before {
  content: '\201C';
  position: absolute;
  top: -.2rem;
  left: 1.4rem;
  font-family: var(--f-head);
  font-size: 6rem;
  line-height: 1;
  color: var(--primaryBlue);
}

.quote p {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 2rem 0 1.2rem;
}

.stars {
  color: #f5a400;
  letter-spacing: 3px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primaryBlue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--f-head);
}

.carousel-indicators [data-bs-target] {
  background-color: var(--primaryBlue);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
}

.carousel-indicators {
  position: static;
  margin: 1.5rem 0 0;
}

/* ---------- pricing ---------- */
.seg {
  display: inline-flex;
  padding: .3rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 99px;
}

.seg button {
  border: 0;
  background: transparent;
  padding: .5rem 1.3rem;
  border-radius: 99px;
  font-weight: 700;
  color: var(--muted);
  transition: all .2s;
}

.seg button.on {
  background: var(--primaryBlue);
  color: #fff;
  box-shadow: 0 3px 0 var(--primary-d);
}

.price-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 2.2rem 2rem;
  height: 100%;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}

.price-card.hot {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 10px 0 var(--primaryBlue);
}

.price-card.hot h3,
.price-card.hot .amt {
  color: #fff;
}

.price-card.hot p,
.price-card.hot li {
  color: #CFDCEE;
}

.price-card .ribbon {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--primaryBlue);
  color: #fff;
  padding: .25rem .9rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .85rem;
  transform: rotate(3deg);
}

.amt {
  font-family: var(--f-head);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 1rem 0 .2rem;
}

.amt small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.price-card.hot .amt small {
  color: #B9CBE6;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
}

.price-card li {
  padding: .35rem 0;
  display: flex;
  gap: .6rem;
  font-weight: 500;
}

.price-card li i {
  color: var(--primaryBlue);
}

/* ---------- faq ---------- */
.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: #fff;
  --bs-accordion-active-color: var(--primaryBlue);
}

.accordion-item {
  background: #fff;
  border: 1.5px solid var(--line) !important;
  border-radius: 18px !important;
  margin-bottom: .85rem;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.accordion-item:has(.show) {
  border-color: var(--primaryBlue) !important;
  box-shadow: var(--shadow-s);
}

.accordion-button {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.2rem 1.5rem;
  color: var(--ink);
  background: transparent;
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
}

.accordion-button::after {
  background-image: none;
  font-family: 'bootstrap-icons';
  content: '\f4fe';
  width: auto;
  height: auto;
  font-size: 1.2rem;
  color: var(--primaryBlue);
  transition: transform .3s;
}

.accordion-button:not(.collapsed)::after {
  content: '\f2ea';
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 1.5rem 1.4rem;
  color: var(--muted);
}

/* ---------- page header (inner pages) ---------- */
.page-hero {
  background: var(--primaryBlue);
  color: #fff;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
  position: relative;
  --edge: var(--paper);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -140px;
  top: -180px;
  background: rgba(255, 255, 255, .09);
}

.page-hero::after {
  z-index: 2;
}

.page-hero .container {
  position: relative;
  z-index: 3;
}

.page-hero h1,
.page-hero p,
.page-hero .lead {
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
}

.page-hero .lead {
  opacity: .92;
  max-width: 54ch;
}

.page-hero .art img {
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .25));
  width: 100%;
}

.crumbs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 1rem;
}

.crumbs a {
  color: #fff;
  opacity: .85;
}

.crumbs a:hover {
  opacity: 1;
  text-decoration: underline;
}

.crumbs span {
  color: #fff;
  opacity: .6;
}

/* ---------- cta band ---------- */
.cta {
  background: var(--primaryBlue);
  color: #fff;
  border-radius: 34px;
  padding: 3.4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 0 var(--primary-d);
}

.cta::before,
.cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
}

.cta::before {
  width: 320px;
  height: 320px;
  left: -90px;
  bottom: -150px;
}

.cta::after {
  width: 220px;
  height: 220px;
  right: -60px;
  top: -90px;
}

.cta h2,
.cta p {
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta .btns {
  position: relative;
  z-index: 1;
}

/* ---------- forms ---------- */
.form-control,
.form-select {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: .8rem 1rem;
  background: #fff;
  color: var(--ink);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primaryBlue);
  box-shadow: 0 0 0 .25rem rgba(51, 111, 191, .15);
}

.form-label {
  font-weight: 700;
}

.type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.type-pills input {
  position: absolute;
  opacity: 0;
}

.type-pills label {
  padding: .55rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  transition: all .15s;
}

.type-pills input:checked+label {
  background: var(--primaryBlue);
  border-color: var(--primaryBlue);
  color: #fff;
  box-shadow: 0 3px 0 var(--primary-d);
}

.type-pills input:focus-visible+label {
  outline: 3px solid var(--primaryBlue);
  outline-offset: 2px;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem 1.3rem;
  color: var(--ink);
  transition: all .2s;
  height: 100%;
}

a.contact-card:hover {
  border-color: var(--primaryBlue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-s);
  color: var(--ink);
}

.contact-card .ico {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--blush);
  color: var(--primaryBlue);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.contact-card>span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-card b {
  display: block;
}

.contact-card span {
  color: var(--muted);
  font-size: .95rem;
}

/* ---------- about values ---------- */
.big-quote {
  font-family: var(--f-head);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--primary-dd);
  color: #D5E1F1;
  padding: 5rem 0 1.6rem;
  margin-top: 4rem;
  --edge: var(--paper);
}

.site-footer.zig-top::before {
  --edge: var(--paper);
}

.site-footer h5 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: #D5E1F1;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  padding: .22rem 0;
  font-size: .96rem;
}

.site-footer p {
  color: #C2D3EA;
}

.site-footer .brand {
  color: #fff;
}

.social a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  margin-right: .4rem;
  transition: all .2s;
}

.social a:hover {
  background: var(--primaryBlue);
  transform: translateY(-3px);
}

.foot-legal {
  border-top: 1px solid rgba(255, 255, 255, .15);
  margin-top: 3rem;
  padding-top: 1.4rem;
  gap: .3rem 1.1rem;
  font-size: .88rem;
}

.foot-legal a {
  color: #B9CBE6;
}

.foot-legal a:hover {
  color: #fff;
}

.foot-bottom {
  margin-top: 1.1rem;
  padding-top: 0;
  font-size: .9rem;
  color: #B9CBE6;
}

.city-links a {
  display: inline-block;
  margin: .15rem .6rem .15rem 0;
  font-size: .88rem;
  opacity: .85;
}

/* ---------- floating buttons ---------- */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  align-items: flex-end;
}

.fab a,
.fab button {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
  background: var(--primaryBlue);
  box-shadow: 0 5px 0 var(--primary-d), 0 10px 20px rgba(35, 79, 143, .3);
  transition: transform .12s, box-shadow .12s;
}

.fab a:hover {
  color: #fff;
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--primary-d);
}

.fab .top {
  background: var(--ink);
  box-shadow: 0 5px 0 #000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s;
  font-size: 1.2rem;
}

.fab .top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- reveal on scroll (kept subtle) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 767.98px) {
  .section {
    padding: 4rem 0;
  }

  .quote {
    padding: 2rem 1.4rem;
  }

  .cta {
    padding: 2.6rem 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .receipt {
    transform: none;
  }

  .stamp {
    opacity: 1;
  }

  .steps::before {
    transform: scaleX(1);
  }
}

/* ===================== HSBiz additions ===================== */
.lt {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c, var(--primaryBlue));
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .02em;
  flex: none;
}

.lt.lg {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.powered {
  font-size: .88rem;
  color: #C9D8EE;
  line-height: 1.6;
}

.powered b {
  color: #fff;
}

.dropdown-menu:not(.mega) {
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: .5rem;
  box-shadow: var(--shadow-m);
}

.dropdown-item {
  border-radius: 10px;
  padding: .55rem .9rem;
  font-weight: 500;
}

.dropdown-item:hover {
  background: var(--blush);
  color: var(--primary-d);
}

/* solutions */
.sol-card {
  display: block;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
  color: var(--ink);
}

.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  color: var(--ink);
}

.sol-card .pic {
  background: var(--paper-2);
  padding: 1rem;
}

.sol-card .txt {
  padding: 1.4rem 1.6rem 1.7rem;
  position: relative;
}

.sol-card .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--primaryBlue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-top: -2.9rem;
  margin-bottom: .8rem;
  box-shadow: var(--shadow-s);
}

.sol-card .go {
  font-weight: 700;
  color: var(--primaryBlue);
}

/* clients */
.client {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 1.3rem .8rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  transition: transform .25s, box-shadow .25s;
}

.client:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}

.client b {
  font-family: var(--f-head);
  font-size: .98rem;
  line-height: 1.2;
  margin-top: .5rem;
}

.client small {
  color: var(--muted);
}

/* case studies */
.case {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 1.7rem;
  height: 100%;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
}

.case-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.case-top .ico,
.mv .ico,
.partner .ico {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--blush);
  color: var(--primaryBlue);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex: none;
}

.case-top small {
  color: var(--primaryBlue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .72rem;
}

.case-top h3 {
  font-size: 1.2rem;
  margin: .15rem 0 0;
}

.case .who {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 1.1rem 0 .4rem;
  color: var(--ink);
}

.case .who .lt {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: .9rem;
}

.case dt {
  font-family: var(--f-head);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary-d);
  margin-top: .7rem;
}

.case dd {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.case .res {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin-top: auto;
  padding-top: 1.3rem;
}

.case .res div {
  background: var(--paper-2);
  border-radius: 14px;
  padding: .7rem .5rem;
  text-align: center;
}

.case .res b {
  display: block;
  font-family: var(--f-head);
  font-size: 1.15rem;
  color: var(--primary-d);
  line-height: 1.15;
}

.case .res span {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.2;
  display: block;
  margin-top: .2rem;
}

/* mission / vision */
.mv {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 2.2rem;
  height: 100%;
  box-shadow: var(--shadow-s);
}

.mv.alt {
  background: var(--primaryBlue);
  border-color: var(--primaryBlue);
}

.mv.alt h3,
.mv.alt p {
  color: #fff;
}

.mv.alt .ico {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.mv h3 {
  font-size: 1.7rem;
  margin: 1.2rem 0 .6rem;
}

.mv p {
  font-size: 1.12rem;
  margin: 0;
}

/* testimonial slider */
.t-slider {
  max-width: 980px;
  margin: 0 auto;
}

.t-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-m);
  min-height: 280px;
}

.t-side {
  background: linear-gradient(160deg, var(--primaryBlue), var(--primary-dd));
  color: #fff;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .25rem;
}

.t-side .lt {
  background: #fff;
  color: var(--c);
  margin-bottom: .8rem;
}

.t-side b {
  font-family: var(--f-head);
  font-size: 1.25rem;
}

.t-side span {
  font-size: .92rem;
  opacity: .9;
}

.t-side .t-co {
  font-weight: 700;
  opacity: 1;
}

.t-side .t-tag {
  margin-top: .8rem;
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: .2rem .8rem;
  font-size: .78rem;
}

.t-main {
  padding: 2.4rem 2.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.t-main::before {
  content: '\201C';
  position: absolute;
  top: .4rem;
  right: 1.6rem;
  font-family: var(--f-head);
  font-size: 6rem;
  line-height: 1;
  color: var(--blush);
}

.t-main p {
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 500;
  margin: .8rem 0 0;
  position: relative;
}

.t-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.t-ctrl .carousel-indicators {
  margin: 0;
}

.t-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primaryBlue);
  background: #fff;
  color: var(--primaryBlue);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  transition: .2s;
}

.t-arrow:hover {
  background: var(--primaryBlue);
  color: #fff;
}

/* partners */
.partner {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-s);
}

.partner.alt {
  background: var(--ink);
  border-color: var(--ink);
}

.partner.alt h3,
.partner.alt p,
.partner.alt small {
  color: #fff;
}

.partner.alt .ico {
  background: var(--primaryBlue);
  color: #fff;
}

.partner small {
  display: block;
  margin-top: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--primaryBlue);
  font-size: .74rem;
}

.partner h3 {
  font-size: 1.45rem;
  margin: .2rem 0 .5rem;
}

.partner p {
  margin: 0;
}

/* blog */
.post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  color: var(--ink);
  transition: transform .25s, box-shadow .25s;
}

.post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-m);
  color: var(--ink);
}

.post .cover {
  background: var(--paper-2);
  padding: .8rem;
}

.post .cover img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.post .body {
  padding: 1.3rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.post h3 {
  font-size: 1.2rem;
  margin: 0;
}

.post p {
  margin: 0;
  font-size: .96rem;
}

.tag {
  align-self: flex-start;
  background: var(--blush);
  color: var(--primary-d);
  font-weight: 700;
  font-size: .74rem;
  padding: .22rem .75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: inline-block;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
  font-size: .84rem;
  color: var(--muted);
  margin-top: auto;
  align-items: center;
}

.meta i {
  margin-right: .35rem;
  color: var(--primaryBlue);
}

.post.feat {
  flex-direction: row;
}

.post.feat .cover {
  flex: 0 0 46%;
  display: grid;
  place-items: center;
}

.post.feat .cover img {
  height: 300px;
}

.post.feat .body {
  justify-content: center;
  padding: 2rem;
}

.post.feat h2 {
  font-size: 2rem;
}

.post .go {
  font-weight: 700;
  color: var(--primaryBlue);
}

.post-body h2 {
  font-size: 1.7rem;
  margin: 2rem 0 .7rem;
}

.post-body p {
  font-size: 1.08rem;
}

.cover-lg {
  background: var(--paper-2);
  border-radius: 26px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.cover-lg img {
  max-height: 340px;
}

.callout {
  background: var(--blush);
  border-left: 5px solid var(--primaryBlue);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin: 2rem 0;
  color: var(--ink);
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1.5px solid var(--line);
}

.author small {
  display: block;
  color: var(--muted);
}

.share {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
}

.share span {
  font-weight: 700;
  margin-right: .4rem;
}

.share a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blush);
  display: grid;
  place-items: center;
}

.share a:hover {
  background: var(--primaryBlue);
  color: #fff;
}

.pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pn a {
  display: flex;
  align-items: center;
  gap: .9rem;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

.pn a.r {
  justify-content: flex-end;
  text-align: right;
}

.pn a:hover {
  border-color: var(--primaryBlue);
}

.pn small {
  display: block;
  color: var(--primaryBlue);
  font-weight: 700;
}

.pn i {
  color: var(--primaryBlue);
  font-size: 1.3rem;
}

.side {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  margin-bottom: 1.4rem;
}

.side.dark {
  background: var(--primaryBlue);
  border-color: var(--primaryBlue);
}

.side.dark h4,
.side.dark p {
  color: #fff;
}

.side h4 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.recent a {
  display: block;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.3;
}

.recent a:last-child {
  border: 0;
}

.recent a:hover b {
  color: var(--primaryBlue);
}

.recent small {
  color: var(--muted);
}

@media (max-width: 991px) {
  .t-card {
    grid-template-columns: 1fr;
  }

  .t-side {
    padding: 1.6rem 1rem;
  }

  .t-main {
    padding: 1.8rem 1.4rem;
  }

  .t-main p {
    font-size: 1.1rem;
  }

  .post.feat {
    flex-direction: column;
  }

  .post.feat .cover {
    flex: none;
  }

  .pn {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1200px) {
  .site-nav .nav-link {
    padding-inline: .55rem;
    font-size: .93rem;
    white-space: nowrap;
  }

  .site-nav .btn {
    white-space: nowrap;
  }

  .site-nav .brand {
    margin-right: .5rem;
  }
}

@media (min-width: 1200px) and (max-width: 1299px) {
  .site-nav .nav-link {
    padding-inline: .4rem;
    font-size: .86rem;
  }
}

.recent small {
  display: block;
}

@media (min-width: 1200px) {
  .site-nav .dropdown.plain {
    position: relative;
  }

  .site-nav .dropdown.plain>.dropdown-menu {
    min-width: 200px;
  }
}

@media (max-width: 1199.98px) {
  .site-nav .navbar-collapse {
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    padding-bottom: 1rem;
  }

  .site-nav .navbar-nav {
    padding-top: .6rem;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }

  .hero .btn-lg,
  .cta .btn-lg {
    width: 100%;
  }

  .t-main::before {
    display: none;
  }

  .case .res {
    grid-template-columns: 1fr;
  }

  .client {
    padding: 1rem .5rem;
  }

  .post .cover img {
    height: 160px;
  }

  .post.feat .body {
    padding: 1.3rem;
  }

  .post.feat h2 {
    font-size: 1.5rem;
  }

  .mv,
  .partner,
  .case {
    padding: 1.4rem;
  }
}

@media (max-width: 1199.98px) {
  .site-nav .navbar-collapse {
    background: var(--paper);
    border-radius: 0 0 22px 22px;
    padding-inline: .5rem;
    box-shadow: var(--shadow-m);
  }

  .site-nav .navbar-nav .btn {
    width: 100%;
  }
}