/* pg: own template. Blue / black / white palette, every color from a token below; components are page-specific. */
.profab-page-thread-nightmare-turned-success {
  --blue: #0318A8; --navy: #07132f; --navy-2: #0d234d; --ink: #121a2a; --muted: #5d6876;
  --line: #d9e1eb; --wash: #f3f6fa; --ice: #e9efff; --ice-line: #cfd9ff; --white: #fff;
  --blue-light: #b7c4ff; --blue-soft: #91a8ff;
  --on-dark: rgba(255,255,255,.86); --on-dark-muted: rgba(255,255,255,.62); --on-dark-line: rgba(255,255,255,.14);
  --on-dark-edge: rgba(255,255,255,.55); --dark-line: rgba(158,179,255,.38); --tick: rgba(145,168,255,.55);
  --shadow: rgba(7,19,47,.16); --navy-veil: rgba(7,19,47,.9);
  --display: "Roboto Condensed", Arial, sans-serif; --body: "Roboto Slab", Georgia, serif; --max: 1240px;
  --heading-color: var(--ink); --body-color: var(--ink); --sec-desc-color: var(--muted);
  --gap: 16px; --sec-pad: 96px; --edge: max(28px, calc((100vw - var(--max)) / 2));
  background: var(--white); color: var(--body-color); font-family: var(--display); line-height: 1.55; overflow-x: clip;
}
.profab-page-thread-nightmare-turned-success * { box-sizing: border-box; }
.profab-page-thread-nightmare-turned-success img { display: block; height: auto; max-width: 100%; }
.profab-page-thread-nightmare-turned-success a { color: inherit; }
.profab-page-thread-nightmare-turned-success h1, .profab-page-thread-nightmare-turned-success h2, .profab-page-thread-nightmare-turned-success h3 { color: inherit; font-family: var(--display); margin: 0; }
.profab-page-thread-nightmare-turned-success .pg-sec h2, .profab-page-thread-nightmare-turned-success .pg-sec h3 { color: var(--heading-color); }
.profab-page-thread-nightmare-turned-success p { margin: 0; }
.profab-page-thread-nightmare-turned-success ul, .profab-page-thread-nightmare-turned-success ol, .profab-page-thread-nightmare-turned-success dl, .profab-page-thread-nightmare-turned-success dd { list-style: none; margin: 0; padding: 0; }
.profab-page-thread-nightmare-turned-success figure { margin: 0; }
.profab-page-thread-nightmare-turned-success .pg-wrap { margin: 0 auto; width: min(var(--max), calc(100% - 56px)); }
.profab-page-thread-nightmare-turned-success .pg-eyebrow { color: var(--blue); display: inline-block; font: 700 12px/1 var(--display); letter-spacing: .16em; margin-left: 2px; text-transform: uppercase; }
.profab-page-thread-nightmare-turned-success .pg-eyebrow--light { color: var(--blue-light); }
.profab-page-thread-nightmare-turned-success .pg-arrow { display: inline-block; transition: transform .2s ease; }

/* buttons: blue fill on light sections, white fill with navy text on dark sections; explicit colors for every state */
.profab-page-thread-nightmare-turned-success .pg-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px 22px; }
.profab-page-thread-nightmare-turned-success .pg-btn { align-items: center; border: 1px solid transparent; border-radius: 4px; cursor: pointer; display: inline-flex; font: 700 14px/1 var(--display); justify-content: center; letter-spacing: .05em; min-height: 50px; padding: 0 22px; text-decoration: none; text-transform: uppercase; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.profab-page-thread-nightmare-turned-success .pg-btn--primary, .profab-page-thread-nightmare-turned-success button.pg-btn--primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.profab-page-thread-nightmare-turned-success .pg-btn--primary:hover, .profab-page-thread-nightmare-turned-success .pg-btn--primary:focus-visible, .profab-page-thread-nightmare-turned-success button.pg-btn--primary:hover, .profab-page-thread-nightmare-turned-success button.pg-btn--primary:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-2px); }
.profab-page-thread-nightmare-turned-success .pg-hero .pg-btn--primary, .profab-page-thread-nightmare-turned-success .pg-contact .pg-btn--primary { background: var(--white); border-color: var(--white); color: var(--navy); }
.profab-page-thread-nightmare-turned-success .pg-hero .pg-btn--primary:hover, .profab-page-thread-nightmare-turned-success .pg-hero .pg-btn--primary:focus-visible, .profab-page-thread-nightmare-turned-success .pg-contact .pg-btn--primary:hover, .profab-page-thread-nightmare-turned-success .pg-contact .pg-btn--primary:focus-visible { background: var(--blue); border-color: var(--blue); color: var(--white); }
.profab-page-thread-nightmare-turned-success .pg-btn--ghost { background: transparent; border-color: var(--on-dark-edge); color: var(--white); }
.profab-page-thread-nightmare-turned-success .pg-btn--ghost:hover, .profab-page-thread-nightmare-turned-success .pg-btn--ghost:focus-visible { background: var(--white); border-color: var(--white); color: var(--navy); }
.profab-page-thread-nightmare-turned-success .pg-btn:focus-visible, .profab-page-thread-nightmare-turned-success .pg-link:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }
.profab-page-thread-nightmare-turned-success .pg-link { align-items: center; color: var(--blue); display: inline-flex; font: 700 15px/1.2 var(--display); gap: 8px; letter-spacing: .02em; text-decoration: none; }
.profab-page-thread-nightmare-turned-success .pg-link:hover { text-decoration: underline; }
.profab-page-thread-nightmare-turned-success .pg-link:hover .pg-arrow, .profab-page-thread-nightmare-turned-success .pg-link:focus-visible .pg-arrow { transform: translateX(4px); }
.profab-page-thread-nightmare-turned-success .pg-link--light { color: var(--white); }

/* sections and heads */
.profab-page-thread-nightmare-turned-success .pg-sec { padding: var(--sec-pad) 0; }
.profab-page-thread-nightmare-turned-success .pg-sec--wash { background: var(--wash); }
.profab-page-thread-nightmare-turned-success .pg-head { margin-bottom: 44px; max-width: 820px; }
.profab-page-thread-nightmare-turned-success .pg-head h2, .profab-page-thread-nightmare-turned-success .pg-contact h2 { font-size: clamp(34px, 3.8vw, 50px); font-weight: 600; letter-spacing: -.015em; line-height: 1.08; margin: 16px 0 0; }
.profab-page-thread-nightmare-turned-success .pg-head p { color: var(--sec-desc-color); font: 400 18px/1.65 var(--body); margin-top: 18px; max-width: 740px; }
.profab-page-thread-nightmare-turned-success .pg-sec h3, .profab-page-thread-nightmare-turned-success .pg-contact h3 { font-size: 22px; font-weight: 600; letter-spacing: 0; line-height: 1.15; }  /* two classes: the theme kit sets h3 to 30px */
.profab-page-thread-nightmare-turned-success .pg-no { align-items: center; background: var(--blue); color: var(--white); display: inline-flex; flex: none; font: 700 16px/1 var(--display); height: 44px; justify-content: center; width: 44px; }
.profab-page-thread-nightmare-turned-success .pg-no--sm { font-size: 14px; height: 36px; width: 36px; }

/* contact band */
.profab-page-thread-nightmare-turned-success .pg-contact { background: var(--navy); color: var(--white); overflow: hidden; padding: 96px 0; position: relative; }
.profab-page-thread-nightmare-turned-success .pg-contact::before { background-image: repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 12px); content: ""; height: 10px; left: 0; position: absolute; right: 0; top: 0; }
.profab-page-thread-nightmare-turned-success .pg-contact__grid { align-items: center; display: grid; gap: 64px; grid-template-columns: 1fr 1fr; }
.profab-page-thread-nightmare-turned-success .pg-contact__copy > p { color: var(--on-dark); font: 400 18px/1.65 var(--body); margin: 18px 0 30px; max-width: 560px; }
.profab-page-thread-nightmare-turned-success .pg-panel { border: 1px solid var(--dark-line); padding: 28px 30px 8px; }
.profab-page-thread-nightmare-turned-success .pg-panel__label { color: var(--blue-light); font: 700 12px/1 var(--display); letter-spacing: .16em; margin-bottom: 8px; text-transform: uppercase; }
.profab-page-thread-nightmare-turned-success .pg-panel__row { align-items: start; border-bottom: 1px solid var(--on-dark-line); display: grid; gap: 18px; grid-template-columns: 42px 1fr; padding: 18px 0; }
.profab-page-thread-nightmare-turned-success .pg-panel__row:last-child { border-bottom: 0; }
.profab-page-thread-nightmare-turned-success .pg-panel__ico { align-items: center; border: 1px solid var(--dark-line); color: var(--blue-light); display: inline-flex; height: 42px; justify-content: center; width: 42px; }
.profab-page-thread-nightmare-turned-success .pg-panel dt { color: var(--on-dark-muted); font: 600 12px/1.3 var(--display); letter-spacing: .1em; margin-bottom: 6px; text-transform: uppercase; }
.profab-page-thread-nightmare-turned-success .pg-panel dd { color: var(--white); font: 500 17px/1.45 var(--display); }
.profab-page-thread-nightmare-turned-success .pg-panel dd a { color: var(--white); text-decoration: none; }
.profab-page-thread-nightmare-turned-success .pg-panel dd a:hover, .profab-page-thread-nightmare-turned-success .pg-panel dd a:focus-visible { color: var(--blue-light); text-decoration: underline; }
.profab-page-thread-nightmare-turned-success .pg-panel dd .pg-wa { color: var(--blue-light); display: flex; font: 600 14px/1.2 var(--display); gap: 8px; letter-spacing: .02em; margin-top: 8px; }
.profab-page-thread-nightmare-turned-success .pg-panel dd .pg-wa:hover .pg-arrow { transform: translateX(4px); }

/* base responsive */
@media (max-width: 980px) {
  .profab-page-thread-nightmare-turned-success { --sec-pad: 72px; }
  .profab-page-thread-nightmare-turned-success .pg-contact__grid { gap: 40px; grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .profab-page-thread-nightmare-turned-success { --sec-pad: 56px; }
  .profab-page-thread-nightmare-turned-success .pg-wrap { width: calc(100% - 32px); }
  .profab-page-thread-nightmare-turned-success .pg-head h2, .profab-page-thread-nightmare-turned-success .pg-contact h2 { font-size: 34px; }
  .profab-page-thread-nightmare-turned-success .pg-head p, .profab-page-thread-nightmare-turned-success .pg-contact__copy > p { font-size: 17px; }
  .profab-page-thread-nightmare-turned-success .pg-contact { padding: 64px 0; }
  .profab-page-thread-nightmare-turned-success .pg-panel { padding: 22px 20px 6px; }
  .profab-page-thread-nightmare-turned-success .pg-panel dd { font-size: 16px; overflow-wrap: anywhere; }
}
/* Customer story: one narrow article column. */
.profab-page-thread-nightmare-turned-success .pg-article { padding: 48px 0 88px; }
.profab-page-thread-nightmare-turned-success .pg-col { margin: 0 auto; max-width: 860px; padding: 0 28px; }
.profab-page-thread-nightmare-turned-success .pg-crumbs { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font: 500 14px/1 var(--display); gap: 10px; margin-bottom: 30px; }
.profab-page-thread-nightmare-turned-success .pg-crumbs a { color: var(--muted); text-decoration: none; }
.profab-page-thread-nightmare-turned-success .pg-crumbs a:hover, .profab-page-thread-nightmare-turned-success .pg-crumbs a:focus-visible { color: var(--blue); text-decoration: underline; }
.profab-page-thread-nightmare-turned-success .pg-tag { color: var(--blue); display: inline-block; font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.profab-page-thread-nightmare-turned-success .pg-article h1 { color: var(--heading-color); font-size: clamp(36px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 14px 0 18px; }
.profab-page-thread-nightmare-turned-success .pg-facts { color: var(--muted); display: flex; flex-wrap: wrap; font: 400 15px/1.5 var(--body); gap: 6px 28px; margin-bottom: 28px; }
.profab-page-thread-nightmare-turned-success .pg-facts b { color: var(--heading-color); font: 700 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.profab-page-thread-nightmare-turned-success .pg-photo img { aspect-ratio: 16 / 9; display: block; object-fit: cover; width: 100%; }
.profab-page-thread-nightmare-turned-success .pg-body { margin-top: 32px; }
.profab-page-thread-nightmare-turned-success .pg-body p { color: var(--body-color); font: 400 18px/1.8 var(--body); margin-bottom: 18px; }
.profab-page-thread-nightmare-turned-success .pg-quote { border-left: 4px solid var(--blue); margin: 30px 0 0; padding: 4px 0 4px 24px; }
.profab-page-thread-nightmare-turned-success .pg-quote p { color: var(--heading-color); font: 500 21px/1.55 var(--body); }
.profab-page-thread-nightmare-turned-success .pg-quote footer { color: var(--muted); font: 600 14px/1.4 var(--display); letter-spacing: .06em; margin-top: 12px; text-transform: uppercase; }
.profab-page-thread-nightmare-turned-success .pg-more { border-top: 1px solid var(--line); margin-top: 52px; padding-top: 26px; }
.profab-page-thread-nightmare-turned-success .pg-more__head { align-items: baseline; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-bottom: 8px; }
.profab-page-thread-nightmare-turned-success .pg-more__head h2 { color: var(--heading-color); font-size: 24px; font-weight: 600; }
.profab-page-thread-nightmare-turned-success .pg-more__head a { color: var(--blue); font: 700 14px/1 var(--display); letter-spacing: .03em; text-decoration: none; }
.profab-page-thread-nightmare-turned-success .pg-more__head a:hover, .profab-page-thread-nightmare-turned-success .pg-more__head a:focus-visible { text-decoration: underline; }
.profab-page-thread-nightmare-turned-success .pg-more li { border-bottom: 1px solid var(--line); }
.profab-page-thread-nightmare-turned-success .pg-more li a { align-items: baseline; color: var(--heading-color); display: flex; gap: 18px; padding: 16px 0; text-decoration: none; }
.profab-page-thread-nightmare-turned-success .pg-more__tag { color: var(--muted); flex: none; font: 600 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; width: 200px; }
.profab-page-thread-nightmare-turned-success .pg-more__title { flex: 1; font: 600 20px/1.3 var(--display); }
.profab-page-thread-nightmare-turned-success .pg-more__go { color: var(--blue); font-size: 20px; }
.profab-page-thread-nightmare-turned-success .pg-more li a:hover .pg-more__title, .profab-page-thread-nightmare-turned-success .pg-more li a:focus-visible .pg-more__title { color: var(--blue); }
@media (max-width: 620px) {
  .profab-page-thread-nightmare-turned-success .pg-article { padding: 28px 0 56px; }
  .profab-page-thread-nightmare-turned-success .pg-col { padding: 0 16px; }
  .profab-page-thread-nightmare-turned-success .pg-more__tag { display: none; }
  .profab-page-thread-nightmare-turned-success .pg-body p { font-size: 17px; }
}
