/* Topic hubs, hashtag pages and topic chips. Built on the Notes tokens and the shared type scale
   (--type-lead/body/small/caption in shared-shell.css). Sans is Helvetica Neue, mono is Commit Mono. */
.hub {
  --hub-sans:'Helvetica Neue',Helvetica,Inter,sans-serif;
  --hub-mono:'Commit Mono',ui-monospace,monospace;
  --hub-title:#f2f4f3; --hub-body:rgba(242,244,243,.72); --hub-muted:#8a918e;
  --hub-line:rgba(255,255,255,.12); --hub-tile:#141716; --hub-panel:#0f1211;
  --hub-amber:#e2b478;
}

/* Hero: title, then the answer directly under it (the text most likely to be quoted), then the byline. */
.hub-hero { padding:clamp(32px,5vw,72px) 0 clamp(40px,4vw,56px); }
.hub-hero h1 { margin:0 0 28px; color:var(--hub-title); font:400 clamp(44px,6.4vw,92px)/1 var(--hub-sans); letter-spacing:var(--tracking-hero,-.035em); margin-left:-.045em; }
.hub-answer { max-width:700px; margin:0; color:var(--hub-body); font:400 clamp(19px,1.9vw,26px)/1.45 var(--hub-sans); letter-spacing:-.01em; text-wrap:pretty; }
.hub-byline { padding:32px 0 8px; border-top:1px solid var(--hub-line); }
.hub-meta { display:flex; flex-wrap:wrap; gap:6px 20px; margin:0; color:var(--hub-muted); font:400 var(--type-caption,12px)/1.5 var(--hub-mono); letter-spacing:.04em; text-transform:uppercase; }
.hub-meta a { color:inherit; font:inherit; letter-spacing:inherit; text-transform:inherit; text-decoration-thickness:1px; text-underline-offset:4px; text-decoration-color:rgba(255,255,255,.35); }
.hub-meta a:hover { color:var(--teal); }

/* Sections: hairline rule, then either heading-left / content-right (split) or heading above full-width content. */
.hub-section { padding:clamp(40px,4vw,64px) 0; border-top:1px solid var(--hub-line); }
.hub-section > h2, .hub-section__intro h2, .hub-section--measures .hub-section__head h2 { margin:0; color:var(--hub-title); font:400 clamp(26px,2.5vw,34px)/1.15 var(--hub-sans); letter-spacing:var(--tracking-section,-.02em); text-wrap:balance; }
.hub-section--split { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--gap,32px); row-gap:28px; }
.hub-section--split > .hub-section__head { grid-column:1 / span 4; align-self:start; }
.hub-section--split > .hub-section__body { grid-column:5 / -1; min-width:0; }
.hub-section__intro { max-width:640px; margin-bottom:clamp(24px,2.6vw,36px); }
.hub-section__intro--row { display:flex; justify-content:space-between; align-items:baseline; gap:16px; max-width:none; }
.hub-section__intro p { margin:14px 0 0; color:var(--hub-body); font:400 var(--type-body,16px)/1.6 var(--hub-sans); }
.hub-link { white-space:nowrap; color:var(--hub-body); font:400 var(--type-small,14px)/1.5 var(--hub-sans); text-underline-offset:4px; }
.hub-link:hover { color:var(--teal); }
.hub-link:focus-visible { outline:2px solid var(--teal); outline-offset:4px; }

/* Text */
.hub-prose p { max-width:620px; margin:0 0 18px; color:var(--hub-body); font:400 var(--type-lead,18px)/1.55 var(--hub-sans); text-wrap:pretty; }
.hub-prose p:last-child { margin-bottom:0; }
.hub-prose a { color:var(--hub-title); text-underline-offset:3px; }
.hub-prose a:hover { color:var(--teal); }
.hub-note { margin:20px 0 0; color:var(--hub-muted); font:400 var(--type-small,14px)/1.5 var(--hub-sans); }

/* Point of view: ruled rows, claim then support. */

/* Cards: Notes tile surface. Static, so no hover treatment. */

/* Workflow: one connected graph (thin curves on a faded dot grid). Desktop is a fixed 1000 x 460 canvas, nodes placed by percent and px. */
.hub-tag { display:none; }

/* Prioritize: four numbered questions, then the illustrative week as a Mon to Fri swimlane. */

/* Measure: three signal cards with a schematic (not data), then four outcomes with check marks. */
.hub-measures { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0; padding:0; list-style:none; }
.hub-measures li { display:flex; flex-direction:column; gap:0; padding:12px 12px 24px; background:var(--hub-tile); border:1px solid rgba(255,255,255,.035); border-radius:10px; }
.hub-measures p { margin-bottom:0; }
.viz-line { fill:none; stroke:var(--teal); stroke-width:1.5; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke; }
.hub-measures h3 { margin:24px 12px 8px; color:var(--hub-title); font:500 var(--type-body,16px)/1.4 var(--hub-sans); }
.hub-measures p { margin:0 12px; color:var(--hub-muted); font:400 var(--type-small,14px)/1.6 var(--hub-sans); }

/* Proof: three figures in a ruled row. */
.hub-proof { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0; }
.hub-proof > div { display:flex; flex-direction:column; justify-content:space-between; gap:40px; min-height:200px; padding:28px; background:var(--tile,#141716); border-radius:10px; }
.hub-proof dt { color:var(--teal); font:400 var(--type-h-title,clamp(28px,3.1vw,44px))/1.1 var(--hub-sans); letter-spacing:var(--tracking-section,-.02em); text-wrap:balance; }
.hub-proof dd { margin:0; max-width:34ch; color:var(--hub-muted); font:400 var(--type-small,14px)/1.6 var(--hub-sans); }

.hub-proof__bars { display:grid; gap:8px; margin-top:16px; }
.hub-proof__bar { position:relative; display:block; height:26px; border-radius:5px; background:rgba(255,255,255,.04); overflow:hidden; }
.hub-proof__bar i { position:absolute; inset:0 auto 0 0; background:color-mix(in srgb,var(--teal) 28%,transparent); border-radius:5px; }
.hub-proof__bar b { position:relative; display:block; padding:0 10px; color:var(--hub-title); font:400 var(--type-caption,12px)/26px var(--hub-mono); font-weight:400; }

/* Notes and case studies reuse the Notes wall (notes.css) unchanged; only the page rhythm is set here. */
.hub .notes-wall { margin:0; }
.hub-cases .notes-item { margin:0 0 48px; }

/* FAQ: the homepage Experience accordion (hairline rows, 22px/500, "+" that turns, teal on hover/open). */
.hub-faq details { border-bottom:1px solid var(--hub-line); }
.hub-faq details:first-child { border-top:1px solid var(--hub-line); }
.hub-faq summary { display:grid; grid-template-columns:minmax(0,1fr) 18px; align-items:center; gap:16px; min-height:44px; padding:20px 4px; list-style:none; cursor:pointer; }
.hub-faq summary::-webkit-details-marker { display:none; }
.hub-faq__q { color:var(--hub-title); font:500 22px/1.3 var(--hub-sans); letter-spacing:var(--tracking-subheading,-.01em); transition:color 280ms ease; }
.hub-faq__plus { position:relative; width:18px; height:18px; color:var(--hub-muted); transition:color 280ms ease, transform .3s ease; }
.hub-faq__plus::before, .hub-faq__plus::after { content:''; position:absolute; left:0; right:0; top:8.25px; height:1.5px; background:currentColor; }
.hub-faq__plus::after { transform:rotate(90deg); transition:transform .3s ease; }
.hub-faq details[open]:not([data-closing]) .hub-faq__plus::after { transform:rotate(0); }
.hub-faq summary:is(:hover,:focus-visible) :is(.hub-faq__q,.hub-faq__plus), .hub-faq details[open]:not([data-closing]) :is(.hub-faq__q,.hub-faq__plus) { color:var(--teal); }
.hub-faq summary:focus-visible { outline:2px solid var(--teal); outline-offset:-2px; }
.hub-faq__inner { padding:0 4px 24px; }
.hub-faq details p { max-width:620px; margin:0; color:var(--hub-body); font:400 var(--type-body,16px)/1.6 var(--hub-sans); }

/* Shared lists and chips (also used by hashtag pages, case studies and related blocks). */
.hub__list { display:grid; gap:0; margin:0; padding:0; list-style:none; border-top:1px solid var(--hub-line); }
.hub__list li { display:grid; gap:6px; padding:20px 0; border-bottom:1px solid var(--hub-line); }
.hub__list a { color:var(--hub-title); font:500 20px/1.35 var(--hub-sans); text-decoration:none; text-underline-offset:4px; }
.hub__list a:hover { color:var(--teal); text-decoration:underline; }
.hub__list a:focus-visible, .hub__chips a:focus-visible { outline:2px solid var(--teal); outline-offset:3px; border-radius:2px; }
.hub__list p { margin:0; color:var(--hub-body); font:400 var(--type-body,16px)/1.55 var(--hub-sans); }
.hub__list time { color:var(--hub-muted); font:400 var(--type-caption,12px)/1.5 var(--hub-mono); letter-spacing:.04em; text-transform:uppercase; }
.hub__chips { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 12px; padding:0; list-style:none; }
.hub__chips a { display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border:1px solid var(--hub-line); border-radius:999px; color:var(--hub-title); font:400 var(--type-small,14px)/1 var(--hub-sans); text-decoration:none; }
.hub__chips a:hover { border-color:var(--teal); color:var(--teal); }
.hub__answer { max-width:680px; margin:0 0 24px; color:var(--hub-title); font:400 clamp(18px,1.6vw,22px)/1.5 var(--hub-sans); }
.topic-chips a { color:inherit; text-decoration:underline; text-decoration-color:color-mix(in srgb,currentColor 45%,transparent); text-underline-offset:3px; }
.topic-chips a:hover { color:var(--teal); text-decoration-color:currentColor; }

@media (max-width:900px) {
  .hub-section--split { display:block; }
  .hub-section--split > .hub-section__head { margin-bottom:24px; }
  .hub-measures { grid-template-columns:1fr; }
  .hub-proof { grid-template-columns:1fr; gap:32px; }
}
@media (max-width:767px) {

}
@media (prefers-reduced-motion:reduce) { .hub-faq__q, .hub-faq__plus, .hub-faq__plus::after { transition:none; } }

/* Vertical construction lines: the homepage's twelve-column grid (thirteen hairlines). They sit at the top of the page and fade out below the headline into the normal background.
   Content below is placed on these lines: columns start on them, so gaps are padding, not grid gaps. */
.hub-gridlines { position:absolute; top:0; left:var(--margin); right:var(--margin); height:clamp(620px,62vw,820px); z-index:0; pointer-events:none; opacity:.07; -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 38%,transparent 100%); mask-image:linear-gradient(to bottom,#000 0,#000 38%,transparent 100%); }
.hub-gridlines i { position:absolute; top:0; bottom:0; left:calc(var(--grid-index) * 100% / 12); width:0; border-left:1px solid #fff; transform-origin:50% 100%; animation:hub-grid-rise 800ms cubic-bezier(.16,1,.3,1) var(--grid-delay) both; }
@keyframes hub-grid-rise { from { opacity:0; transform:scaleY(0); } to { opacity:1; transform:scaleY(1); } }
@media (prefers-reduced-motion:reduce) { .hub-gridlines i { animation:none; } }
.hub-section--split { column-gap:0; }
.hub-section--split > .hub-section__head { padding-right:var(--gap,32px); }
.hub-measures, .hub-proof { gap:0; }
.hub-measures > li, .hub-proof > div { margin-right:16px; }
@media (max-width:900px) {
  .hub-gridlines i:nth-child(n) { display:block; left:calc(var(--grid-index) * 100% / 4); }
  .hub-gridlines i:nth-child(n+6) { display:none; }
}
@media (max-width:767px) {
  .hub-measures > li, .hub-proof > div { margin:0 0 16px; }
}

/* Workflow graph */
.hub-wf { position:relative; height:620px; margin-top:8px; }
.hub-wf::before { content:''; position:absolute; inset:-24px -4% -8px; background-image:radial-gradient(circle, rgba(255,255,255,.2) 1px, transparent 1.3px); background-size:24px 24px; -webkit-mask-image:radial-gradient(ellipse 52% 58% at 50% 50%, #000 30%, transparent 100%); mask-image:radial-gradient(ellipse 52% 58% at 50% 50%, #000 30%, transparent 100%); opacity:.4; pointer-events:none; }
.hub-wf__paths { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.hub-wf__path { fill:none; stroke:rgba(242,244,243,.28); stroke-width:1; vector-effect:non-scaling-stroke; stroke-linecap:round; transition:stroke 240ms ease; }
.hub-wf__path.is-loop { stroke-dasharray:3 5; }
.hub-wf__label { position:absolute; transform:translate(-50%,-50%); padding:2px 8px; background:#0b0d0c; color:var(--hub-muted); font:400 var(--type-caption,12px)/1.4 var(--hub-mono); letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; transition:color 240ms ease; }
.hub-wf__nodes { position:absolute; inset:0; margin:0; padding:0; list-style:none; }
.hub-wf__node { position:absolute; left:var(--x); top:var(--y); width:0; height:0; outline:none; }
.hub-wf__dot { position:absolute; left:0; top:0; width:9px; height:9px; margin:-4.5px 0 0 -4.5px; border-radius:50%; background:#0b0d0c; border:1px solid rgba(242,244,243,.55); transition:border-color 240ms ease, background 240ms ease, box-shadow 240ms ease; }
.hub-wf__node.is-ring .hub-wf__dot { width:20px; height:20px; margin:-10px 0 0 -10px; border:1.5px solid var(--teal); box-shadow:0 0 14px rgba(127,242,198,.35); }
.hub-wf__node.is-ring .hub-wf__dot::after { content:''; position:absolute; inset:5px; border-radius:50%; background:var(--teal); }
.hub-wf__copy { position:absolute; left:0; width:160px; transform:translateX(-50%); text-align:center; }
.hub-wf__node--below .hub-wf__copy { top:24px; }
.hub-wf__node--above .hub-wf__copy { bottom:24px; }
.hub-wf__node.is-ring.hub-wf__node--above .hub-wf__copy { bottom:30px; }
.hub-wf__copy h3 { margin:0 0 6px; color:var(--hub-title); font:500 20px/1.3 var(--hub-sans); letter-spacing:var(--tracking-subheading,-.01em); }
.hub-wf__copy p { margin:0; color:var(--hub-body); font:400 var(--type-small,14px)/1.55 var(--hub-sans); text-wrap:pretty; }
.hub-wf__via { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
/* Route highlight on hover or keyboard focus: the route's curves, label and node dot turn mint. */
.hub-wf__node:focus-visible .hub-wf__copy { outline:2px solid var(--teal); outline-offset:6px; border-radius:4px; }
.hub-wf__node:is(:hover,:focus-visible) .hub-wf__dot { border-color:var(--teal); box-shadow:0 0 12px rgba(127,242,198,.4); }
.hub-wf:has([data-route="fix"]:is(:hover,:focus-visible)) .hub-wf__path[data-route="fix"],
.hub-wf:has([data-route="schedule"]:is(:hover,:focus-visible)) .hub-wf__path[data-route="schedule"],
.hub-wf:has([data-route="backlog"]:is(:hover,:focus-visible)) .hub-wf__path[data-route="backlog"] { stroke:var(--teal); }
.hub-wf:has([data-route="fix"]:is(:hover,:focus-visible)) .hub-wf__label[data-route="fix"],
.hub-wf:has([data-route="schedule"]:is(:hover,:focus-visible)) .hub-wf__label[data-route="schedule"],
.hub-wf:has([data-route="backlog"]:is(:hover,:focus-visible)) .hub-wf__label[data-route="backlog"] { color:var(--teal); }
.hub-wf:has([data-route="fix"]:is(:hover,:focus-visible)) .hub-wf__node[data-route="fix"] .hub-wf__dot,
.hub-wf:has([data-route="schedule"]:is(:hover,:focus-visible)) .hub-wf__node[data-route="schedule"] .hub-wf__dot,
.hub-wf:has([data-route="backlog"]:is(:hover,:focus-visible)) .hub-wf__node[data-route="backlog"] .hub-wf__dot { border-color:var(--teal); background:var(--teal); }

/* The hovered or focused node also lifts: title turns mint, its text brightens, and the copy grows very slightly. */
.hub-wf__copy h3, .hub-wf__copy p { transition:color 240ms ease; }
.hub-wf__node:is(:hover,:focus-visible) .hub-wf__copy h3 { color:var(--teal); }
.hub-wf__node:is(:hover,:focus-visible) .hub-wf__copy p { color:var(--hub-title); }
@media (min-width:1100px) and (prefers-reduced-motion:no-preference) {
  .hub-wf__copy { transition:scale 240ms cubic-bezier(.2,.7,.2,1); }
  .hub-wf__node--below .hub-wf__copy { transform-origin:50% 0; }
  .hub-wf__node--above .hub-wf__copy { transform-origin:50% 100%; }
  .hub-wf__node:is(:hover,:focus-visible) .hub-wf__copy { scale:1.04; }
}

/* Below 1100px the graph becomes a stacked list; the three route choices sit directly beneath Decide. */
@media (max-width:1099px) {
  .hub-wf { height:auto; }
  .hub-wf::before, .hub-wf__paths, .hub-wf__label { display:none; }
  .hub-wf__nodes { position:relative; inset:auto; display:grid; gap:0; }
  .hub-wf__node { position:relative; left:auto; top:auto; width:auto; height:auto; padding:0 0 28px 40px; }
  .hub-wf__node::before { content:''; position:absolute; left:4px; top:18px; bottom:-4px; width:1px; background:rgba(242,244,243,.22); }
  .hub-wf__node:last-child::before { display:none; }
  .hub-wf__dot { left:4.5px; top:9px; }
  .hub-wf__node.is-ring .hub-wf__dot { left:4.5px; top:9px; }
  .hub-wf__copy, .hub-wf__node--below .hub-wf__copy, .hub-wf__node--above .hub-wf__copy { position:static; width:auto; max-width:46ch; transform:none; text-align:left; }
  .hub-wf__node[data-route] { margin-left:28px; padding-left:36px; padding-bottom:20px; }
  .hub-wf__node[data-route]::before { left:-24px; top:-4px; bottom:auto; height:calc(1em + 22px); width:22px; background:none; border-left:1px solid rgba(242,244,243,.22); border-bottom:1px solid rgba(242,244,243,.22); border-radius:0 0 0 10px; }
  .hub-wf__node[data-route] + .hub-wf__node[data-route]::before { top:-24px; height:calc(1em + 42px); }
  .hub-wf__node[data-route] .hub-wf__dot { left:0; top:9px; }
  .hub-wf__via { position:static; width:auto; height:auto; clip-path:none; display:block; margin-bottom:4px; color:var(--teal); font:400 var(--type-caption,12px)/1.4 var(--hub-mono); letter-spacing:.06em; text-transform:uppercase; }
  .hub-wf__copy h3 { font-size:18px; }
}
@media (prefers-reduced-motion:reduce) { .hub-wf__path, .hub-wf__label, .hub-wf__dot, .hub-wf__copy h3, .hub-wf__copy p { transition:none; } }

/* Example week: lane copy on the left, a six-day track on the right with faint day columns and the event marked. */
.hub-week { --label:clamp(240px,26vw,340px); padding:clamp(24px,3vw,36px); background:var(--hub-panel); border:1px solid rgba(255,255,255,.035); border-radius:10px; }
.hub-week h3 { margin:0; color:var(--hub-title); font:500 22px/1.3 var(--hub-sans); letter-spacing:var(--tracking-subheading,-.01em); }
.hub-week__intro { max-width:620px; margin:10px 0 28px; color:var(--hub-body); font:400 var(--type-small,14px)/1.6 var(--hub-sans); }
.hub-week__days { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); margin-left:calc(var(--label) + 32px); padding-bottom:12px; color:var(--hub-muted); font:400 var(--type-caption,12px)/1 var(--hub-mono); letter-spacing:.06em; text-transform:uppercase; }
.hub-week__days span { padding-left:10px; white-space:nowrap; }
.hub-week__days .is-event { color:var(--teal); }
.hub-week__days em { margin-left:8px; font-style:normal; color:var(--hub-muted); }
.hub-week__lanes { margin:0; padding:0; list-style:none; }
.hub-lane { display:grid; grid-template-columns:var(--label) minmax(0,1fr); gap:0 32px; border-top:1px solid var(--hub-line); }
.hub-lane__copy { padding:22px 0 24px; }
.hub-lane__copy strong { display:block; margin-bottom:6px; color:var(--hub-title); font:500 var(--type-lead,18px)/1.3 var(--hub-sans); }
.hub-lane__copy p { margin:0; color:var(--hub-body); font:400 var(--type-small,14px)/1.6 var(--hub-sans); }
.hub-lane__track { position:relative; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); grid-template-rows:30px; padding-top:22px; align-content:start; background-image:linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px); background-size:calc(100% / 6) 100%; }
.hub-lane__track::before { content:''; position:absolute; top:0; bottom:0; left:calc((var(--event) - 1) * 100% / 6); border-left:1px dashed color-mix(in srgb,var(--teal) 55%,transparent); opacity:calc(min(var(--event),1)); }
.hub-bar { position:relative; grid-row:1; grid-column:var(--from) / calc(var(--to) + 1); display:flex; align-items:center; margin:0 6px 0 10px; padding:0 12px; border-radius:15px; background:color-mix(in srgb,var(--teal) 24%,#101312); border:1px solid color-mix(in srgb,var(--teal) 65%,transparent); color:#fff; font:500 13px/1 var(--hub-mono); letter-spacing:.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hub-bar--ghost { background:transparent; border:1px dashed var(--hub-line); }
.hub-bar--link { grid-row:1; grid-column:var(--from) / calc(var(--to) + 1); align-self:center; height:0; margin:0 4px 0 -4px; border-top:1px dashed rgba(242,244,243,.28); position:relative; }
.hub-bar--link::after { content:''; position:absolute; right:-1px; top:-4px; width:7px; height:7px; border-top:1px solid rgba(242,244,243,.45); border-right:1px solid rgba(242,244,243,.45); transform:rotate(45deg); }
.hub-lane__when { display:none; }
.hub-week__note { margin:0; padding-top:18px; border-top:1px solid var(--hub-line); color:var(--hub-muted); font:400 var(--type-small,14px)/1.5 var(--hub-sans); }
@media (max-width:900px) {
  .hub-week__days, .hub-lane__track { display:none; }
  .hub-lane { grid-template-columns:1fr; }
  .hub-lane__copy { padding:20px 0 22px; }
  .hub-lane__when { display:block; margin:0 0 8px; color:var(--teal); font:400 var(--type-caption,12px)/1.4 var(--hub-mono); letter-spacing:.06em; text-transform:uppercase; }
}

/* Four questions: a ruled row on the 12-column grid, no boxes. Three type styles only: title, question (16), example (14).
   The waiting question leads through its mint rule and a brighter example line, not a bigger size. */
.hub-questions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin:0 0 clamp(72px,8vw,120px); padding:0; list-style:none; }
.hub-questions li { padding:20px clamp(32px,4vw,64px) 0 0; border-top:1px solid var(--hub-line); }
.hub-q__q { margin:0 0 12px; color:var(--hub-title); font:500 var(--type-body,16px)/1.4 var(--hub-sans); text-wrap:balance; }
.hub-q__ex { margin:0; color:var(--hub-muted); font:400 var(--type-small,14px)/1.55 var(--hub-sans); }
.hub-questions .is-lead { border-top-color:var(--teal); }
.hub-questions .is-lead .hub-q__ex { color:var(--hub-body); }
@media (max-width:1099px) { .hub-questions { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:36px; } }
@media (max-width:767px) { .hub-questions { grid-template-columns:1fr; row-gap:28px; } .hub-questions li { padding-right:0; } }

/* Coverage: split intro, eight areas as a ruled 4 x 2 row, then the form path as a small chain.
   Three type styles: section title, 16 body, 14 support. */
.hub-cover__intro { margin-bottom:clamp(40px,4vw,56px); }
.hub-cover__intro.hub-section--split > .hub-section__head { grid-column:1 / span 3; }
.hub-cover__intro.hub-section--split > .hub-section__body { grid-column:4 / -1; }
.hub-cover__lead p { max-width:56ch; margin:0; color:var(--hub-body); font:400 var(--type-body,16px)/1.6 var(--hub-sans); text-wrap:pretty; }
.hub-areas { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin:0; padding:0; list-style:none; }
.hub-areas li { padding:20px clamp(24px,3vw,48px) 44px 0; border-top:1px solid var(--hub-line); }
.hub-areas li:nth-child(n+5) { border-top:0; padding-top:0; }
.hub-areas h3 { margin:0 0 10px; color:var(--hub-title); font:500 var(--type-body,16px)/1.4 var(--hub-sans); text-wrap:balance; }
.hub-areas p { margin:0; color:var(--hub-muted); font:400 var(--type-small,14px)/1.55 var(--hub-sans); }
.hub-path { margin-top:clamp(56px,6vw,88px); }
.hub-path__head h3 { margin:0 0 10px; color:var(--hub-title); font:500 var(--type-body,16px)/1.4 var(--hub-sans); }
.hub-path__head p { max-width:52ch; margin:0; color:var(--hub-body); font:400 var(--type-body,16px)/1.6 var(--hub-sans); text-wrap:pretty; }
.hub-path__chain { position:relative; margin-top:32px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:0; list-style:none; }
.hub-path__chain::before { content:""; position:absolute; top:4px; left:0; right:25%; border-top:1px dotted rgba(255,255,255,.28); }
.hub-path__chain li { position:relative; padding:28px 24px 0 0; }
.hub-path__chain strong { display:block; margin:0 0 8px; color:var(--hub-title); font:500 var(--type-body,16px)/1.4 var(--hub-sans); }
.hub-path__chain span { display:block; color:var(--hub-muted); font:400 var(--type-small,14px)/1.55 var(--hub-sans); }
.hub-path__dot { position:absolute; top:0; left:0; width:9px; height:9px; border-radius:50%; background:var(--teal); box-shadow:0 0 0 4px #0b0d0c; }
@media (max-width:767px) {
  .hub-path__chain { grid-template-columns:1fr; row-gap:24px; padding-left:28px; }
  .hub-path__chain::before { top:4px; bottom:4px; left:4px; right:auto; border-top:0; border-left:1px dotted rgba(255,255,255,.28); }
  .hub-path__chain li { padding:0; }
  .hub-path__dot { top:5px; left:-28px; }
}

/* Point of view: one goal, one place to start. Left is the goal as the section's big statement. Right is the starting point with three short steps.
   Two type styles in the body (34 statement, 16 support). */
.hub-beliefs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; }
.hub-belief { padding:28px clamp(32px,6vw,96px) 0 0; border-top:1px solid var(--hub-line); }
.hub-belief--lead { border-top-color:var(--teal); }
.hub-belief h3 { margin:0 0 24px; color:var(--hub-title); font:400 clamp(26px,2.5vw,34px)/1.15 var(--hub-sans); letter-spacing:var(--tracking-section,-.02em); text-wrap:balance; }
.hub-belief--lead h3 { max-width:18ch; }
.hub-belief p { max-width:44ch; margin:0; color:var(--hub-body); font:400 var(--type-body,16px)/1.6 var(--hub-sans); text-wrap:pretty; }
.hub-belief--how h3 { max-width:none; font-size:clamp(20px,1.8vw,24px); font-weight:500; margin-bottom:20px; letter-spacing:var(--tracking-subheading,-.01em); }
.hub-belief__steps { position:relative; margin:0 0 20px; padding:0; list-style:none; }
.hub-belief__steps::before { content:""; position:absolute; left:4px; top:12px; bottom:12px; border-left:1px solid rgba(242,244,243,.22); }
.hub-belief__steps li { position:relative; padding:0 0 14px 28px; color:var(--hub-title); font:400 var(--type-body,16px)/1.5 var(--hub-sans); }
.hub-belief__steps li:last-child { padding-bottom:0; }
.hub-belief__steps .hub-path__dot, .hub-belief__steps li .hub-path__dot { top:6px; left:0; }
.hub-belief--how p { color:var(--hub-muted); font-size:var(--type-small,14px); }
@media (max-width:767px) { .hub-beliefs { grid-template-columns:1fr; row-gap:40px; } .hub-belief { padding-right:0; } .hub-belief--lead h3 { max-width:none; } }

/* Form path uses the workflow graph's language: faded dot grid, thin solid line, hollow nodes, one mint ring at the end. */
.hub-path { position:relative; }
.hub-path::before { content:''; position:absolute; inset:48px -2% -24px; background-image:radial-gradient(circle, rgba(255,255,255,.2) 1px, transparent 1.3px); background-size:24px 24px; -webkit-mask-image:radial-gradient(ellipse 60% 70% at 40% 60%, #000 25%, transparent 100%); mask-image:radial-gradient(ellipse 60% 70% at 40% 60%, #000 25%, transparent 100%); opacity:.4; pointer-events:none; }
.hub-path > * { position:relative; }
.hub-path__chain::before { right:calc(25% - 10px); border-top:1px solid rgba(242,244,243,.28); }
.hub-path__dot { background:#0b0d0c; border:1px solid rgba(242,244,243,.55); box-shadow:none; }
.hub-path__chain li:last-child .hub-path__dot { top:-5.5px; width:20px; height:20px; border:1.5px solid var(--teal); box-shadow:0 0 14px rgba(127,242,198,.35); }
.hub-path__chain li:last-child .hub-path__dot::after { content:''; position:absolute; inset:5px; border-radius:50%; background:var(--teal); }
.hub-path__chain li:last-child { padding-top:28px; }
@media (max-width:767px) {
  .hub-path::before { display:none; }
  .hub-path__chain::before { border-top:0; border-left:1px solid rgba(242,244,243,.22); right:auto; }
  .hub-path__chain li:last-child .hub-path__dot { top:-5px; left:-33px; }
}

/* Measure cards: a small plot panel on the workflow's dot grid, then title and one line. */
.hub-plot { position:relative; display:flex; flex-direction:column; justify-content:space-between; height:128px; padding:20px 20px 14px; background:rgba(255,255,255,.02); border-radius:6px; overflow:hidden; }
.hub-plot::before { content:''; position:absolute; inset:0; background-image:radial-gradient(circle, rgba(255,255,255,.2) 1px, transparent 1.3px); background-size:20px 20px; opacity:.2; -webkit-mask-image:linear-gradient(to bottom,#000,transparent); mask-image:linear-gradient(to bottom,#000,transparent); pointer-events:none; }
.hub-plot > * { position:relative; }
.hub-plot__split { display:flex; gap:6px; height:20px; margin-top:12px; }
.hub-plot__split i { display:block; border-radius:4px; }
.hub-plot__split i:first-child { flex:62; border:1px dashed rgba(242,244,243,.4); }
.hub-plot__split i:last-child { flex:34; background:var(--teal); }
.hub-plot__dots { display:flex; justify-content:space-between; align-items:center; height:20px; margin-top:12px; }
.hub-plot__dots i { width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.18); }
.hub-plot__dots i.is-hot { width:12px; height:12px; background:var(--teal); box-shadow:0 0 12px rgba(127,242,198,.4); }
.hub-plot svg { display:block; width:100%; height:44px; overflow:visible; }
.hub-plot__labels { display:flex; justify-content:space-between; color:var(--hub-muted); font:400 var(--type-small,14px)/1.4 var(--hub-sans); }

@media (max-width:767px) { .hub-belief__steps .hub-path__dot { top:6px; left:0; } }

/* Related note: one treatment everywhere. A small document icon and the note's title, with a faint dotted underline on the title. */
.hub-related { display:inline-flex; align-items:flex-start; gap:8px; margin-top:16px; color:var(--hub-muted); font:400 var(--type-small,14px)/1.45 var(--hub-sans); text-decoration:none; transition:color 200ms ease; }
.hub-related span { text-decoration:underline dotted; text-decoration-color:rgba(242,244,243,.22); text-decoration-thickness:1px; text-underline-offset:4px; transition:text-decoration-color 200ms ease; }
.hub-related:is(:hover,:focus-visible) span { text-decoration-color:rgba(127,242,198,.7); }
.hub-related svg { flex:none; width:14px; height:14px; margin-top:2px; fill:none; stroke:var(--teal); stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round; opacity:.75; transition:opacity 200ms ease; }
.hub-related:is(:hover,:focus-visible) { color:var(--hub-title); }
.hub-related:is(:hover,:focus-visible) svg { opacity:1; }
.hub-related:focus-visible { outline:2px solid var(--teal); outline-offset:4px; border-radius:2px; }
.hub-measures .hub-related { margin:16px 12px 0; }
.hub-wf__node .hub-related { margin-top:18px; text-align:left; }

/* AI section: same split as the intro above, then the audit skills as a four-column skill browser. Each card is one link. */
.hub-ai .hub-cover__lead p + p { margin-top:16px; }
.hub-ai .hub-cover__lead p { max-width:60ch; }
.hub-ai__label { margin:0 0 16px; color:var(--hub-title); font:500 var(--type-body,16px)/1.4 var(--hub-sans); }
.hub-skills { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:0; padding:0; list-style:none; }
.hub-skills li { position:relative; display:flex; flex-direction:column; min-height:260px; padding:20px; background:var(--hub-tile); border:1px solid rgba(255,255,255,.035); border-radius:10px; transition:border-color 240ms ease, background 240ms ease; }
.hub-skills li:hover, .hub-skills li:has(a:focus-visible) { border-color:rgba(127,242,198,.35); }
.hub-skills li:has(a:focus-visible) { outline:2px solid var(--teal); outline-offset:3px; }
.hub-skills__icon { width:16px; height:16px; margin-bottom:28px; fill:none; stroke:var(--teal); stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; opacity:.75; transition:opacity 240ms ease; }
.hub-skills li:hover .hub-skills__icon { opacity:1; }
.hub-skills h4 { margin:0; color:var(--hub-title); font:500 var(--type-body,16px)/1.4 var(--hub-sans); }
.hub-skills p { margin:0; color:var(--hub-body); font:400 var(--type-small,14px)/1.6 var(--hub-sans); }
.hub-skills .hub-skills__by { margin:2px 0 14px; color:var(--hub-muted); }
.hub-skills__link { align-self:flex-start; margin-top:auto; padding-top:20px; color:var(--hub-muted); font:400 var(--type-small,14px)/1.45 var(--hub-sans); text-decoration:underline dotted; text-decoration-color:rgba(242,244,243,.22); text-decoration-thickness:1px; text-underline-offset:4px; transition:color 200ms ease, text-decoration-color 200ms ease; }
.hub-skills__link::after { content:''; position:absolute; inset:0; }
.hub-skills li:hover .hub-skills__link, .hub-skills__link:focus-visible { color:var(--hub-title); text-decoration-color:rgba(127,242,198,.7); }
.hub-skills__link:focus-visible { outline:none; }
.visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
@media (max-width:1099px) { .hub-skills { grid-template-columns:repeat(2,minmax(0,1fr)); } .hub-skills li { min-height:0; } }
@media (max-width:767px) { .hub-skills { grid-template-columns:1fr; } }

/* Color with a job. Mint means working, verified and moving forward. Amber (the homepage's Operations hue) means something needs attention. */
.hub-week__days .is-event { color:var(--hub-amber); }
.hub-lane__track::before { border-left-color:color-mix(in srgb,var(--hub-amber) 60%,transparent); }
.hub-lane--alert .hub-bar { background:color-mix(in srgb,var(--hub-amber) 22%,#101312); border-color:color-mix(in srgb,var(--hub-amber) 65%,transparent); }
.hub-lane--alert .hub-lane__when { color:var(--hub-amber); }
.hub-wf__path[data-route="fix"] { stroke:color-mix(in srgb,var(--hub-amber) 55%,transparent); }
.hub-wf__label[data-route="fix"] { color:var(--hub-amber); }
.hub-wf__node[data-route="fix"] .hub-wf__dot { border-color:var(--hub-amber); }
.hub-wf:has([data-route="fix"]:is(:hover,:focus-visible)) .hub-wf__path[data-route="fix"] { stroke:var(--hub-amber); }
.hub-wf:has([data-route="fix"]:is(:hover,:focus-visible)) .hub-wf__node[data-route="fix"] .hub-wf__dot { border-color:var(--hub-amber); background:var(--hub-amber); box-shadow:0 0 12px rgba(226,180,120,.4); }
.hub-wf__node[data-route="fix"]:is(:hover,:focus-visible) .hub-wf__copy h3 { color:var(--hub-amber); }
.hub-wf__node[data-route="fix"]:focus-visible .hub-wf__copy { outline-color:var(--hub-amber); }
.hub-plot__dots i.is-hot { background:var(--hub-amber); box-shadow:0 0 12px rgba(226,180,120,.4); }
.viz-line--warn { stroke:var(--hub-amber); }

/* Proof: three teams funnel into one intake process, drawn in the workflow graph's language. */
.hub-funnel { display:block; margin-top:16px; }
.hub-funnel svg { display:block; width:100%; max-width:300px; height:auto; overflow:visible; }
.hub-funnel path { fill:none; stroke:rgba(242,244,243,.28); stroke-width:1; vector-effect:non-scaling-stroke; }
.hub-funnel__in { fill:#141716; stroke:rgba(242,244,243,.55); stroke-width:1; }
.hub-funnel__out { fill:#141716; stroke:var(--teal); stroke-width:1.5; filter:drop-shadow(0 0 6px rgba(127,242,198,.35)); }
.hub-funnel__core { fill:var(--teal); }
.hub-funnel__labels { display:flex; justify-content:space-between; max-width:300px; margin-top:10px; color:var(--hub-muted); font:400 var(--type-small,14px)/1.4 var(--hub-sans); }
.hub-funnel__labels span:last-child { color:var(--hub-title); }

.hub-page .notes-caption time:only-child { margin-left:auto; }

/* Equal-height note cards: hub notes grid and the Related block share one grid. */
.hub-notes-grid, .related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px 48px; list-style:none; margin:0; padding:0; }
.hub-notes-grid .notes-item, .related-grid .notes-item { display:flex; margin:0; }
.hub-notes-grid .notes-item > article, .related-grid .notes-item > article { display:flex; flex-direction:column; flex:1; min-width:0; }
.hub-notes-grid .notes-tile, .related-grid .notes-tile { flex:1; }
@media(max-width:1100px) { .hub-notes-grid, .related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .hub-notes-grid, .related-grid { grid-template-columns:1fr; } }

/* Related block on note, article and case-study pages: page width, same card as the hubs.
   Card styles are repeated here because article and case-study pages do not load notes.css. */
.related { width:calc(100% - 2 * var(--margin)); margin:clamp(56px,6vw,96px) auto 0; padding-bottom:clamp(40px,5vw,72px); }
.related__title { margin:0 0 32px; color:#f2f4f3; font:500 clamp(24px,2.4vw,32px)/1.15 'Helvetica Neue',Helvetica,Inter,sans-serif; letter-spacing:var(--tracking-section,-.02em); }
.related .notes-tile { position:relative; display:block; background:#141716; border:1px solid rgba(255,255,255,.035); border-radius:10px; padding:0; overflow:hidden; color:#f2f4f3; text-decoration:none; transition:background .2s,border-color .2s; }
.related .notes-tile:is(:hover,:focus-visible) { background:#191d1b; border-color:rgba(255,255,255,.08); }
.related .notes-card__copy { padding:28px 32px 32px; }
.related .notes-card h2 { margin:0 0 16px; color:#f2f4f3; font:500 28px/1.2 'Helvetica Neue',Helvetica,Inter,sans-serif; letter-spacing:-.02em; text-wrap:balance; }
.related .notes-card p { margin:0; color:rgba(242,244,243,.68); font:400 15px/1.65 'Helvetica Neue',Helvetica,Inter,sans-serif; }
.related .notes-caption { display:flex; justify-content:space-between; gap:16px; margin:12px 0 0; color:#6b7270; font:400 12px/1.5 'Helvetica Neue',Helvetica,Inter,sans-serif; }
.related .notes-caption time:only-child { margin-left:auto; }
.related .notes-tile:focus-visible { outline:2px solid var(--teal); outline-offset:4px; }

/* Measures: heading left, three signals stacked as rows on the right (graphic left, copy right). */
.hub-section--measures > .hub-section__head { grid-column:1 / span 4; }
.hub-section--measures .hub-section__lede { max-width:32ch; margin:16px 0 0; color:var(--hub-body); font:400 var(--type-body,16px)/1.55 var(--hub-sans); }
.hub-section--measures > .hub-section__body { grid-column:5 / -1; }
.hub-section--measures .hub-measures { display:grid; grid-template-columns:1fr; gap:16px; }
.hub-section--measures .hub-measures > li { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); align-items:center; gap:32px; margin:0; padding:12px; }
.hub-section--measures .hub-plot { height:112px; }
.hub-section--measures .hub-measure__copy { padding:12px 12px 12px 0; }
.hub-section--measures .hub-measures h3 { margin:0 0 8px; }
.hub-section--measures .hub-measures p { margin:0; }
.hub-section--measures .hub-measures .hub-related { margin:16px 0 0; }
@media(max-width:900px) {
  .hub-section--measures .hub-measures > li { grid-template-columns:1fr; gap:16px; }
  .hub-section--measures .hub-measure__copy { padding:0 12px 12px; }
}

/* Mobile pass: coverage areas stack, proof cards stop reserving desktop height, last path node loses its extra gap. */
@media (max-width:900px) {
  .hub-areas { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hub-areas li, .hub-areas li:nth-child(n+5) { padding:20px 24px 28px 0; border-top:1px solid var(--hub-line); }
}
@media (max-width:600px) {
  .hub-areas { grid-template-columns:1fr; }
  .hub-areas li, .hub-areas li:nth-child(n+5) { padding:20px 0 24px; }
}
@media (max-width:767px) {
  .hub-proof > div { min-height:0; gap:20px; padding:24px; }
  .hub-path__chain li:last-child { padding-top:0; }
  .hub-path__chain li:last-child .hub-path__dot { top:1px; }
}
