/* How Organizations Break — page-local styles. Scope: body.hobr-page.
   Uses existing public-site tokens only. */
.hobr-page [hidden] { display: none !important; }
.hobr-page .hobr-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hobr-page section[id] { scroll-margin-top: calc(var(--ws-header) + 16px); }
.hobr-page section[tabindex="-1"]:focus { outline: none; }

/* ---------- hero ---------- */
.hobr-hero { padding-bottom: clamp(36px, 4.5vw, 64px); }
.hobr-page .hobr-h1 { max-width: 22ch; overflow-wrap: break-word; hyphens: manual; }
.hobr-hero .ws-lead { max-width: 62ch; }
.hobr-meta { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--ws-line-dark); font-size: 14px; color: var(--ws-on-dark-2); list-style: none; }
.hobr-meta li { display: inline-flex; align-items: center; }
.hobr-meta li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #9DBDF0; margin: 0 14px; opacity: .7; }
.hobr-meta a { color: #B9D0F5; border-bottom: 1px solid currentColor; padding: 6px 0 2px; }
.hobr-meta a:hover { color: #fff; }

/* ---------- shared heads ---------- */
.hobr-head { max-width: 780px; }
.hobr-head .ws-body { margin-top: 22px; }
.hobr-page .ws-body, .hobr-story p, .hobr-better p { color: var(--ws-text); }
.hobr-fine { font-size: 14px; line-height: 1.55; color: var(--ws-muted); max-width: 62ch; }
.hobr-mini { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ws-muted); }

/* ---------- warning signs grid 3/2/1 ---------- */
.hobr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--ws-line); list-style: none; padding: 0; align-items: start; }
.hobr-sign { padding: 30px 28px 26px 0; border-bottom: 1px solid var(--ws-line); min-width: 0; display: flex; flex-direction: column; gap: 10px; align-self: stretch; }
.hobr-sign:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--ws-line); }
.hobr-n { font: 500 13px ui-monospace, 'SFMono-Regular', Menlo, monospace; color: var(--ws-blue); }
.hobr-k { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ws-navy); }
.hobr-sign .ws-h4 { font-size: 20px; line-height: 1.28; text-wrap: balance; }
.hobr-sum { font-size: 15.5px; line-height: 1.6; color: var(--ws-text-2); }
.hobr-more { margin-top: auto; padding-top: 8px; }
.hobr-more > summary, .hobr-guide > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14.5px; font-weight: 600; color: var(--ws-navy); border-radius: 4px; }
.hobr-more > summary::-webkit-details-marker, .hobr-guide > summary::-webkit-details-marker { display: none; }
.hobr-more > summary::after, .hobr-guide > summary::after { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; font-size: 15px; font-weight: 500; line-height: 1; transition: transform .25s var(--ws-ease); }
.hobr-more[open] > summary::after, .hobr-guide[open] > summary::after { transform: rotate(45deg); }
.hobr-more > summary:hover span, .hobr-guide > summary:hover span { text-decoration: underline; text-underline-offset: 4px; }
.hobr-more-in { padding: 6px 0 4px 14px; border-left: 2px solid var(--ws-ice); margin-top: 6px; }
.hobr-more-in p { font-size: 15.5px; line-height: 1.62; color: var(--ws-text); }
.hobr-more-in p + p { margin-top: 10px; }
.hobr-more-in h4 { margin-top: 18px; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ws-blue); }
@media (prefers-reduced-motion: no-preference) {
  .hobr-more[open] .hobr-more-in, .hobr-guide[open] > p { animation: hobr-open .32s var(--ws-ease) both; }
}
@keyframes hobr-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- scenario ---------- */
.hobr-case { background: var(--ws-card); border-top: 1px solid var(--ws-line); }
.hobr-case-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); margin-top: 48px; align-items: start; }
.hobr-flag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ws-navy); background: var(--ws-ice); padding: 7px 12px; border-radius: 999px; margin-bottom: 18px; }
.hobr-flag::before { content: ""; width: 6px; height: 6px; border-radius: 1px; border: 1.5px solid currentColor; }
.hobr-story .ws-h3 { margin-bottom: 8px; }
.hobr-story > p:not(.hobr-flag):not(.hobr-fine) { font-size: 17px; line-height: 1.7; max-width: 64ch; margin-top: 16px; }
.hobr-story .hobr-pull { padding-left: 18px; border-left: 3px solid var(--ws-navy); font-weight: 500; color: var(--ws-ink); }
.hobr-links { border-top: 2px solid var(--ws-ink); padding-top: 18px; }
.hobr-links dl { margin-top: 10px; }
.hobr-links dl > div { padding: 14px 0; border-bottom: 1px solid var(--ws-line); }
.hobr-links dt { display: flex; align-items: baseline; gap: 10px; font-weight: 600; color: var(--ws-ink); font-size: 16px; }
.hobr-tagn { font: 500 12.5px ui-monospace, Menlo, monospace; color: var(--ws-blue); }
.hobr-links dd { margin: 4px 0 0 34px; font-size: 15px; line-height: 1.55; color: var(--ws-text-2); }

/* workflow diagram: normal flow, ordered list, text on every node */
.hobr-fig { margin: clamp(56px, 6vw, 88px) 0 0; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); background: var(--ws-paper); }
.hobr-fig figcaption .ws-h3 { margin-bottom: 8px; }
.hobr-flow { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.hobr-step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 16px; margin-right: 22px; background: var(--ws-card); border: 1px solid var(--ws-line); border-radius: 10px; min-width: 0; }
.hobr-step:last-child { margin-right: 0; }
.hobr-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -22px; width: 22px; height: 0; border-top: 1.5px solid var(--ws-blue); }
.hobr-step:not(:last-child)::before { content: ""; position: absolute; top: calc(50% - 4px); right: -23px; border: 4.5px solid transparent; border-left: 6px solid var(--ws-blue); border-right: 0; z-index: 1; }
.hobr-step-n { font: 500 11.5px ui-monospace, Menlo, monospace; letter-spacing: .04em; color: var(--ws-muted); text-transform: uppercase; }
.hobr-step b { font-size: 15.5px; line-height: 1.3; font-weight: 600; color: var(--ws-ink); overflow-wrap: anywhere; hyphens: auto; }
.hobr-step-c { font-size: 13.5px; line-height: 1.45; color: var(--ws-text-2); }
.hobr-step.is-gap { border-style: dashed; border-color: var(--ws-blue); background: var(--ws-ice); }
.hobr-step.is-end { background: var(--ws-ink); border-color: var(--ws-ink); }
.hobr-step.is-end b { color: #fff; } .hobr-step.is-end .hobr-step-c, .hobr-step.is-end .hobr-step-n { color: var(--ws-on-dark-2); }
@media (prefers-reduced-motion: no-preference) {
  .hobr-js .hobr-fig:not(.is-in) .hobr-step { opacity: 0; transform: translateY(8px); }
  .hobr-js .hobr-fig .hobr-step { transition: opacity .45s var(--ws-ease), transform .45s var(--ws-ease); transition-delay: calc(var(--i, 0) * 70ms + 150ms); }
}

/* better workflow */
.hobr-better { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(56px, 6vw, 88px); align-items: start; }
.hobr-better-copy > p { font-size: 16.5px; line-height: 1.65; margin-top: 16px; max-width: 60ch; }
.hobr-five { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: f; border-top: 1px solid var(--ws-line); }
.hobr-five li { counter-increment: f; display: grid; grid-template-columns: 34px 1fr; padding: 11px 0; border-bottom: 1px solid var(--ws-line); font-size: 16px; color: var(--ws-ink); }
.hobr-five li::before { content: counter(f); font: 500 13px ui-monospace, Menlo, monospace; color: var(--ws-blue); padding-top: 2px; }
.hobr-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--ws-line); border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); overflow: hidden; }
.hobr-compare > .hobr-mini { grid-column: 1 / -1; background: var(--ws-card); padding: 14px 20px; letter-spacing: .08em; }
.hobr-cmp-col { background: var(--ws-card); padding: 20px; min-width: 0; }
.hobr-cmp-col h4 { font-size: 17px; font-weight: 620; color: var(--ws-ink); margin-bottom: 10px; }
.hobr-cmp-col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.hobr-cmp-col li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.45; color: var(--ws-text-2); }
.hobr-cmp-col.is-before li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 0; border-top: 1.5px dashed var(--ws-muted); }
.hobr-cmp-col.is-after { background: var(--ws-ice); }
.hobr-cmp-col.is-after li { color: var(--ws-ink); }
.hobr-cmp-col.is-after li::before { content: ""; position: absolute; left: 1px; top: 4px; width: 9px; height: 5px; border-left: 2px solid var(--ws-navy); border-bottom: 2px solid var(--ws-navy); transform: rotate(-45deg); }

/* ---------- self-check ---------- */
.hobr-check-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.hobr-check-head { position: sticky; top: calc(var(--ws-header) + 32px); }
.hobr-privacy { margin-top: 22px; font-size: 14px; line-height: 1.55; color: var(--ws-text-2); padding-left: 14px; border-left: 2px solid var(--ws-navy); max-width: 52ch; }
.hobr-reset { margin-top: 20px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ws-ink); background: transparent; color: var(--ws-ink); font: 600 14px/1 'Inter', sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.hobr-reset:hover { background: var(--ws-ink); color: #fff; }
.hobr-qs { list-style: none; padding: 0; border-top: 1px solid rgba(24,70,132,.22); }
.hobr-q { padding: 26px 0; border-bottom: 1px solid rgba(24,70,132,.22); }
.hobr-q-t { display: flex; gap: 14px; align-items: baseline; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.3; color: var(--ws-ink); letter-spacing: -.015em; }
.hobr-q-n { font: 500 13px ui-monospace, Menlo, monospace; color: var(--ws-blue); flex: none; letter-spacing: 0; }
.hobr-q-p { margin: 8px 0 0 calc(13px * 1.9 + 14px); font-size: 15.5px; line-height: 1.55; color: var(--ws-text-2); }
.hobr-opts { border: 0; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.hobr-opts label { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 12px; border: 1px solid rgba(24,70,132,.3); border-radius: 999px; background: rgba(251,250,247,.7); font-size: 14.5px; line-height: 1.3; color: var(--ws-ink); cursor: pointer; transition: border-color .2s, background .2s; max-width: 100%; }
.hobr-opts label:hover { border-color: var(--ws-navy); background: var(--ws-card); }
.hobr-opts input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--ws-navy); border-radius: 50%; background: var(--ws-card); display: grid; place-items: center; cursor: pointer; }
.hobr-opts input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ws-navy); transform: scale(0); transition: transform .18s var(--ws-ease); }
.hobr-opts input:checked::after { transform: scale(1); }
.hobr-opts input:focus-visible { outline: 2.5px solid var(--ws-focus); outline-offset: 3px; }
.hobr-opts label:has(input:checked) { border-color: var(--ws-navy); background: var(--ws-card); box-shadow: inset 0 0 0 1px var(--ws-navy); font-weight: 600; }
.hobr-q[data-hobr-answer="difficult"] .hobr-opts label:has(input:checked) { background: var(--ws-navy); color: #fff; }
.hobr-q[data-hobr-answer="difficult"] .hobr-opts label:has(input:checked) input { border-color: #fff; background: var(--ws-navy); }
.hobr-q[data-hobr-answer="difficult"] .hobr-opts label:has(input:checked) input::after { background: #fff; }
.hobr-st { font-size: 13.5px; color: var(--ws-text-2); margin-top: 8px; min-height: 0; }
.hobr-st:empty { margin: 0; }
.hobr-guide { margin-top: 6px; }
.hobr-guide > p { padding: 14px 18px; margin-top: 4px; background: var(--ws-card); border-left: 3px solid var(--ws-navy); border-radius: 0 8px 8px 0; font-size: 15.5px; line-height: 1.6; color: var(--ws-text); max-width: 64ch; }

/* ---------- next steps ---------- */
.hobr-steps { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ws-line); counter-reset: n; }
.hobr-steps > li { counter-increment: n; padding: 26px 24px 28px 0; display: flex; flex-direction: column; gap: 10px; position: relative; min-width: 0; }
.hobr-steps > li + li { padding-left: 24px; border-left: 1px solid var(--ws-line); }
.hobr-steps > li::before { content: "0" counter(n); font: 600 34px/1 'Inter', sans-serif; letter-spacing: -.04em; color: var(--ws-signal); }
.hobr-step-k { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ws-navy); }
.hobr-steps p { font-size: 15.5px; line-height: 1.6; color: var(--ws-text-2); }
.hobr-ask { margin-top: auto; padding: 14px 16px; background: var(--ws-ice); border-radius: 8px; display: grid; gap: 4px; }
.hobr-steps .hobr-ask { color: var(--ws-ink); font-weight: 600; line-height: 1.45; }
.hobr-ask-l { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ws-blue); }

.hobr-sw { margin-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: 40px; border-top: 2px solid var(--ws-ink); }
.hobr-sw-head > p { font-size: 16.5px; line-height: 1.65; color: var(--ws-text); margin-top: 16px; max-width: 58ch; }
.hobr-sw-head .hobr-fine { margin-top: 14px; }
.hobr-sw-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ws-line); border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); overflow: hidden; }
.hobr-sw-list li { background: var(--ws-card); padding: 22px 22px 24px; display: grid; grid-template-columns: 30px 1fr; gap: 12px; min-width: 0; }
.hobr-sw-i { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; font: 600 13px ui-monospace, Menlo, monospace; color: var(--ws-navy); border: 1px solid var(--ws-navy); }
.hobr-sw-list li:last-child .hobr-sw-i { background: var(--ws-navy); color: #fff; }
.hobr-sw-list h4 { font-size: 17px; font-weight: 620; letter-spacing: -.01em; color: var(--ws-ink); line-height: 1.3; }
.hobr-sw-list p { font-size: 14.5px; line-height: 1.55; color: var(--ws-text-2); margin-top: 6px; }

.hobr-state { margin-top: clamp(48px, 5vw, 72px); border-radius: var(--ws-radius-lg); padding: clamp(32px, 4.5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.hobr-state-h { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; color: #fff !important; max-width: 22ch; text-wrap: balance; }
.hobr-state-p { font-size: 16.5px; line-height: 1.62; color: var(--ws-on-dark-2); max-width: 52ch; }
.hobr-also { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; font-size: 15px; color: var(--ws-text-2); }
.hobr-also .ws-link { font-size: 15px; }

/* ---------- related ---------- */
.hobr-rel { border-top: 1px solid var(--ws-line); padding-top: calc(var(--ws-sec) * .7); }
.hobr-rel-list { list-style: none; padding: 0; margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ws-line); }
.hobr-rel-list li { min-width: 0; }
.hobr-rel-list li + li .hobr-rel-a { border-left: 1px solid var(--ws-line); padding-left: 26px; }
.hobr-rel-a { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 26px 26px 28px 0; height: 100%; transition: background .25s; }
.hobr-rel-a:hover { background: linear-gradient(180deg, var(--ws-ice), transparent 85%); }
.hobr-rel-k { grid-column: 1 / -1; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ws-navy); }
.hobr-rel-a b { font-size: 19px; line-height: 1.3; letter-spacing: -.015em; font-weight: 620; color: var(--ws-ink); }
.hobr-rel-go { color: var(--ws-navy); font-size: 20px; transition: transform .25s var(--ws-ease); }
.hobr-rel-a:hover .hobr-rel-go { transform: translateX(4px); }
.hobr-rel-p { grid-column: 1 / -1; font-size: 15px; line-height: 1.55; color: var(--ws-text-2); }

/* ---------- CTA ---------- */
.hobr-cta { position: relative; z-index: 1; }
.hobr-cta .ws-h2 { max-width: 18ch; }
.hobr-cta .ws-lead { margin-top: 22px; max-width: 58ch; }
.hobr-cta .ws-btn { white-space: normal; text-align: center; line-height: 1.2; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hobr-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; }
  .hobr-step:nth-child(4) { margin-right: 0; }
  .hobr-step:nth-child(4)::after, .hobr-step:nth-child(4)::before { display: none; }
  .hobr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hobr-steps > li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hobr-steps > li:nth-child(n+3) { border-top: 1px solid var(--ws-line); }
}
@media (max-width: 1023px) {
  .hobr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hobr-sign:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .hobr-sign:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--ws-line); }
  .hobr-sign { padding-right: 24px; }
  .hobr-case-grid, .hobr-better, .hobr-sw, .hobr-check-grid, .hobr-state { grid-template-columns: minmax(0, 1fr); }
  .hobr-check-head { position: static; }
  /* vertical sequence */
  .hobr-flow { grid-template-columns: minmax(0, 1fr); row-gap: 0; max-width: 560px; }
  .hobr-step, .hobr-step:nth-child(4) { margin: 0 0 26px; }
  .hobr-step:last-child { margin-bottom: 0; }
  .hobr-step:not(:last-child)::after, .hobr-step:nth-child(4)::after { display: block; top: auto; bottom: -26px; right: auto; left: 28px; width: 0; height: 26px; border-top: 0; border-left: 1.5px solid var(--ws-blue); }
  .hobr-step:not(:last-child)::before, .hobr-step:nth-child(4)::before { display: block; top: auto; bottom: -27px; right: auto; left: 24px; border: 4.5px solid transparent; border-top: 6px solid var(--ws-blue); border-bottom: 0; }
  .hobr-rel-list { grid-template-columns: minmax(0, 1fr); }
  .hobr-rel-list li + li .hobr-rel-a { border-left: 0; padding-left: 0; border-top: 1px solid var(--ws-line); }
}
@media (max-width: 767px) {
  .hobr-grid { grid-template-columns: minmax(0, 1fr); }
  .hobr-sign, .hobr-sign:nth-child(2n) { padding: 26px 0 22px; border-left: 0; }
  .hobr-steps { grid-template-columns: minmax(0, 1fr); }
  .hobr-steps > li, .hobr-steps > li + li { padding: 24px 0 26px; border-left: 0; }
  .hobr-steps > li + li { border-top: 1px solid var(--ws-line); }
  .hobr-sw-list, .hobr-compare { grid-template-columns: minmax(0, 1fr); }
  .hobr-q-p { margin-left: 0; }
  .hobr-opts { flex-direction: column; align-items: stretch; }
  .hobr-opts label { border-radius: 12px; }
  .hobr-meta li + li::before { margin: 0 10px; }
  .hobr-cta .ws-btns { flex-direction: column; align-items: stretch; }
  .hobr-links dd { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hobr-page *, .hobr-page *::before, .hobr-page *::after { transition-duration: .01ms !important; animation: none !important; }
}
