/* ==========================================================================
   Trinity v22: owner-language repositioning. Loaded after v21.css.
   Blues only: navy #0a1230, #0077ff, deep #0050c8, sky #4ea2ff, cyan #19c3e6.
   ========================================================================== */

/* ---------- hero sub line ---------- */
.hero__sub {
  max-width: 42rem; margin: clamp(14px, 1.6vw, 20px) auto 0;
  font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.45; color: #3d4566;
  text-align: center; text-wrap: balance;
}
.hero__sub + .hero__eyebrow { margin-top: clamp(14px, 1.6vw, 20px); }

/* ---------- pain row ---------- */
.pain .head { margin-bottom: clamp(22px, 2.6vw, 34px); }
.pain__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.pain__item {
  position: relative; overflow: hidden;
  display: grid; justify-items: center; align-content: start; gap: 14px; text-align: center;
  padding: 28px 18px 26px; border-radius: 20px; background: #fff;
  border: 1px solid rgba(10, 18, 48, 0.08); box-shadow: 0 16px 36px -30px rgba(10, 40, 110, 0.5);
}
.pain__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--deep)); }
.pain__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); box-shadow: 0 10px 22px -12px rgba(10, 18, 48, 0.8); }
.pain__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pain__text { font-family: var(--display); font-weight: 350; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.2; letter-spacing: -0.015em; color: var(--navy); text-wrap: balance; }
.pain__fix { margin-top: clamp(22px, 2.4vw, 32px); text-align: center; }
.pain__fix a {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 500; color: #fff; text-decoration: none;
  background: var(--grad); box-shadow: 0 8px 24px -10px rgba(0, 100, 240, 0.65);
  transition: transform 0.22s var(--ease), filter 0.22s var(--ease);
}
.pain__fix a:hover { transform: translateY(-1px); filter: brightness(1.06); }
.pain__fix a:hover .btn__arrow { transform: translateX(4px); }

/* ---------- examples by business type ---------- */
.ex__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.ex__card {
  --c: var(--blue); --c2: var(--sky); --t: var(--tint-blue);
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; align-content: start; gap: 18px; padding: 22px 22px 30px; border-radius: 22px;
  border: 1px solid rgba(10, 18, 48, 0.07); background: linear-gradient(180deg, var(--t) 0%, #fff 62%);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.ex--b { --c: var(--deep); --c2: #3d8bff; --t: var(--off); }
.ex--c { --c: #0aa7c9; --c2: #5fdcf4; --t: #ecfaff; }
.ex--d { --c: #0a3f9e; --c2: var(--blue); --t: var(--tint-blue); }
.ex__card::after {
  content: ""; position: absolute; right: 6%; bottom: 10px; width: 70%; aspect-ratio: 1150 / 70; z-index: -1; opacity: 0.12;
  background: var(--c);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='30 15 1150 70'%3E%3Cpath d='M30 15 L1180 15 L940 85 L908 85 L1113.7 25 L32 25 Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='30 15 1150 70'%3E%3Cpath d='M30 15 L1180 15 L940 85 L908 85 L1113.7 25 L32 25 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ex__card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 35%, transparent); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--c) 70%, transparent); }
.ex__top { display: flex; align-items: center; gap: 12px; }
.ex__icon { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, var(--c2), var(--c)); box-shadow: 0 8px 18px -10px var(--c); }
.ex__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ex__type { color: var(--navy); font-size: 0.74rem; }
.ex__tag { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: rgba(0, 119, 255, 0.1); color: var(--blue-ink); font-size: 0.62rem; }
.ex__line { font-family: var(--display); font-weight: 350; font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.22; letter-spacing: -0.02em; color: var(--navy); text-wrap: pretty; }

/* process: no stack row any more, keep band rhythm */
.band-tint .rail { margin-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ex__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pain__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex__card { justify-items: center; text-align: center; }
  .ex__top { flex-direction: column; gap: 8px; }
  .ex__tag { margin-left: 0; }
}
@media (max-width: 600px) {
  .pain__grid { gap: 10px; }
  .pain__item { padding: 22px 12px 20px; gap: 12px; }
  .pain__text { font-size: 1.08rem; }
  .ex__grid { grid-template-columns: 1fr; gap: 12px; }
  .ex__line { font-size: 1.25rem; }
  .pain__fix a { width: 100%; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ex__card, .pain__fix a { transition: none; }
}

/* v22b: keep "in your business." on one line on very small phones */
@media (max-width: 340px) {
  .hero__title.display-xl { font-size: 2.35rem; }
}
