/* Editorial destinations for the five content hubs. Listings remain generated
   from INVENTORY.json; these styles change their presentation, not their links. */

.hub { padding-block: 28px 112px; }
.hub-header { max-width: 1120px; padding-bottom: 14px; }
.hub-header .breadcrumb { margin-bottom: 58px; }
.hub-kicker { color: var(--accent-text); font-size: 14px; font-weight: 500; line-height: 1.5; }
.hub-header > .hub-kicker { margin-bottom: 22px; }
.hub-header h1 {
  max-width: 20ch;
  font-size: clamp(48px, 7.1vw, 100px);
  font-weight: 450;
  line-height: 1.02;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.hub-header h1 > span { color: var(--muted); }
.hub-intro { max-width: 640px; margin-top: 30px; }
.hub-intro p { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; text-wrap: pretty; }
.hub-intro p + p { margin-top: 18px; }
.hub-intro .hub-qualification { max-width: 60ch; font-size: 14px; line-height: 1.7; }
.hub-intro a, .hub-notes a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (hover: hover) {
  .hub-intro a:hover, .hub-notes a:hover { color: var(--accent-text); }
}
.hub-header .article-meta { margin-top: 28px; }

/* Plain anchor navigation keeps every section available without JavaScript. */
.hub-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 38px; padding-block: 16px; border-block: 1px solid var(--line); }
.hub-nav a { padding-block: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 7px; transition: color .2s, text-decoration-color .2s; }
@media (hover: hover) {
  .hub-nav a:hover { color: var(--ink); text-decoration-color: var(--accent-text); }
}

/* One prominent starting point gives context before the full directory. */
.hub-spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; overflow: hidden; margin-top: 56px; background: var(--surface); border-radius: 24px; }
.hub-spotlight-copy { padding: clamp(28px, 4.5vw, 64px); }
.hub-spotlight h2, .hub-pathways h2, .hub-comparison-intro h2 { margin-top: 20px; font-size: clamp(36px, 4vw, 58px); line-height: 1.06; letter-spacing: -.045em; font-weight: 450; text-wrap: balance; }
.hub-spotlight-copy > p:not(.hub-kicker), .hub-comparison-intro > div > p:not(.hub-kicker) { max-width: 40ch; margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.hub-spotlight-links { margin: 30px 0 0; padding: 0; list-style: none; }
.hub-spotlight-links li + li { border-top: 1px solid var(--line); }
.hub-spotlight-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 15px; font-size: 15px; line-height: 1.5; }
.hub-spotlight-links svg { flex-shrink: 0; color: var(--accent-text); transition: transform .25s ease; }
@media (hover: hover) {
  .hub-spotlight-links a:hover svg { transform: translate(2px, -2px); }
}
.hub-editorial-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding-block: 10px; font-size: 15px; font-weight: 500; line-height: 1.5; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; transition: text-decoration-color .2s, color .2s; }
.hub-editorial-link svg { flex-shrink: 0; color: var(--accent-text); }
@media (hover: hover) {
  .hub-editorial-link:hover { color: var(--accent-text); text-decoration-color: currentColor; }
}

.hub-screen-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px; padding: 48px 38px 38px 12px; }
.hub-screen-pair figure { max-width: 210px; margin: 0 auto; }
.hub-screen-pair figure + figure { margin-top: 58px; }
.hub-phone { overflow: hidden; border: 4px solid #242328; border-radius: 32px; background: #17171b; box-shadow: 0 24px 36px -24px rgb(10 8 19 / .45); }
.hub-phone img { width: 100%; height: auto; }
.hub-screen-pair figcaption { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }

/* This is an editorial outline over the existing campaign artwork, not an
   invented application interface or a testimonial. */
.hub-script-preview { position: relative; display: grid; align-items: center; align-self: stretch; min-height: 440px; padding: 48px 34px; }
.hub-script-preview > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hub-script-outline { position: relative; padding: 32px 28px; color: #0a0813; background: rgb(244 241 231 / .94); }
.hub-script-outline > p { color: #68665f; font-size: 12px; line-height: 1.6; }
.hub-script-outline ol { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: script-part; }
.hub-script-outline li { display: flex; align-items: baseline; gap: 16px; counter-increment: script-part; font-size: clamp(21px, 2.2vw, 34px); font-weight: 450; letter-spacing: -.035em; line-height: 1.2; }
.hub-script-outline li + li { margin-top: 20px; }
.hub-script-outline li::before { content: "0" counter(script-part); color: #4e600f; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.hub-companion { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.hub-companion > div > p + p { margin-top: 7px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.hub-companion .hub-editorial-link { flex-shrink: 0; margin-top: 0; }

/* Audience pages begin with the job, then offer every audience in the index. */
.hub-pathways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px 72px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.hub-pathway-list { margin: 0; padding: 0; list-style: none; }
.hub-pathway-list > li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) 20px; gap: 22px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.hub-pathway-list > li:first-child { padding-top: 0; }
.hub-pathway-number { padding-top: 7px; color: var(--accent-text); font-size: 12px; font-variant-numeric: tabular-nums; }
.hub-pathway-list h3 { font-size: clamp(24px, 2.5vw, 34px); font-weight: 450; line-height: 1.2; letter-spacing: -.03em; }
.hub-pathway-list h3 a::after { content: ""; position: absolute; inset: 0; }
.hub-pathway-list h3 a:focus-visible { outline: none; }
.hub-pathway-list h3 a:focus-visible::after { outline: 2px solid var(--accent-text); outline-offset: 6px; }
.hub-pathway-list p { max-width: 42ch; margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.hub-pathway-list svg { margin-top: 7px; color: var(--accent-text); transition: transform .25s ease; }
@media (hover: hover) {
  .hub-pathway-list > li:hover svg { transform: translate(2px, -2px); }
}

/* Support starts with useful shortcuts, without a decorative search box. */
.hub-help-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 30px; margin-top: 52px; border-top: 1px solid var(--line); }
.hub-help-shortcuts a { position: relative; padding: 26px 30px 26px 0; }
.hub-help-shortcuts a > span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.hub-help-shortcuts strong { display: block; margin-top: 14px; font-size: clamp(20px, 2vw, 26px); font-weight: 450; line-height: 1.2; letter-spacing: -.025em; }
.hub-help-shortcuts svg { position: absolute; top: 61px; right: 0; color: var(--accent-text); transition: transform .25s ease; }
@media (hover: hover) {
  .hub-help-shortcuts a:hover svg { transform: translate(2px, -2px); }
}
.hub-service-note { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 8px; padding: 24px 28px; border-radius: 8px; background: var(--surface); }
.hub-service-note > p { max-width: 64ch; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hub-service-note > a { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; padding-block: 10px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.hub-service-note svg { color: var(--accent-text); }

.hub-comparison-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px 80px; align-items: center; margin-top: 60px; padding: 48px; border-radius: 24px; background: var(--surface); }
.hub-comparison-questions { margin: 0; }
.hub-comparison-questions > div { padding-block: 24px; border-top: 1px solid var(--line); }
.hub-comparison-questions > div:first-child { padding-top: 0; border-top: 0; }
.hub-comparison-questions > div:last-child { padding-bottom: 0; }
.hub-comparison-questions dt { font-size: 22px; font-weight: 450; line-height: 1.25; letter-spacing: -.02em; }
.hub-comparison-questions dd { max-width: 36ch; margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Quiet ruled entries make the complete inventory easy to scan. */
.hub-directory-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-top: 92px; }
.hub-directory-heading > p:last-child { max-width: 45ch; color: var(--muted); font-size: 15px; line-height: 1.65; }
.hub-list { margin-top: 26px; }
.hub-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px 56px; padding-block: 38px 42px; border-top: 1px solid var(--line); }
.hub-group-title { max-width: 12ch; padding-top: 22px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.03em; font-weight: 450; text-wrap: balance; }
.hub .hub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.hub > .hub-cards { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.hub .link-card { position: relative; display: flex; flex-direction: column; gap: 13px; min-height: 0; padding: 24px 32px 28px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; transition: none; }
@media (hover: hover) {
  .hub .link-card:hover { transform: none; box-shadow: none; }
}
.hub .link-card-title { font-size: 23px; font-weight: 450; line-height: 1.22; letter-spacing: -.025em; text-wrap: pretty; }
.hub .link-card-title a { transition: color .2s; }
.hub .link-card-title a::after { border-radius: 0; }
@media (hover: hover) {
  .hub .link-card:hover .link-card-title a { color: var(--accent-text); }
}
.hub .link-card:active { transform: none; opacity: .7; }
.hub .link-card-description { max-width: 47ch; font-size: 16px; line-height: 1.65; color: var(--muted); }
.hub .link-card-arrow { top: 28px; right: 0; }
.hub--for > .hub-cards .link-card, .hub--compare > .hub-cards .link-card { padding-block: 30px 34px; }
.hub--for > .hub-cards .link-card-arrow, .hub--compare > .hub-cards .link-card-arrow { top: 34px; }

.hub-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px 56px; margin-top: 40px; padding-top: 42px; border-top: 1px solid var(--line); }
.hub-notes h2 { max-width: 16ch; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.03em; font-weight: 450; text-wrap: balance; }
.hub-notes-body { max-width: 68ch; }
.hub-notes-body p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.hub-notes-body p + p { margin-top: 16px; }
.hub-notes-body ul { margin: 16px 0 0; padding-left: 1.2em; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hub-notes-body li + li { margin-top: 10px; }
.hub-notes-body li::marker { color: var(--accent-text); }
.hub .article-faq { margin-top: 80px; }

@media (max-width: 1000px) {
  .hub-spotlight { grid-template-columns: minmax(0, 1fr); }
  .hub-spotlight-copy { max-width: 660px; padding: 40px; }
  .hub-screen-pair { width: min(100%, 560px); padding: 0 40px 36px; margin-inline: auto; gap: 30px; }
  .hub-screen-pair figure { max-width: 210px; }
  .hub-script-preview { min-height: 370px; padding: 40px; }
  .hub-script-outline { max-width: 460px; width: 100%; margin-inline: auto; }
  .hub-script-outline li { font-size: 32px; }
  .hub-pathways { gap: 36px; }
  .hub-help-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
  .hub-help-shortcuts a { border-bottom: 1px solid var(--line); }
  .hub-service-note { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 24px; }
  .hub-comparison-intro { gap: 40px; padding: 36px; }
  .hub-group, .hub-notes { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hub-group-title { max-width: none; padding-top: 0; }
}

@media (max-width: 700px) {
  .hub { padding-block: 12px 72px; }
  .hub-header .breadcrumb { margin-bottom: 38px; }
  .hub-header h1 { font-size: clamp(42px, 10.8vw, 70px); letter-spacing: -.05em; }
  .hub-header > .hub-kicker { margin-bottom: 18px; }
  .hub-intro { margin-top: 24px; }
  .hub-intro p { font-size: 18px; }
  .hub-nav { margin-top: 28px; gap: 2px 24px; }
  .hub-nav a { font-size: 13px; }
  .hub-spotlight { margin-top: 36px; border-radius: 18px; }
  .hub-spotlight-copy { padding: 32px 24px; }
  .hub-spotlight h2, .hub-pathways h2, .hub-comparison-intro h2 { font-size: clamp(32px, 8.8vw, 42px); }
  .hub-spotlight-copy > p:not(.hub-kicker), .hub-comparison-intro > div > p:not(.hub-kicker) { font-size: 16px; }
  .hub-screen-pair { padding: 0 20px 28px; gap: 16px; }
  .hub-screen-pair figure + figure { margin-top: 40px; }
  .hub-phone { border-width: 3px; border-radius: 22px; }
  .hub-screen-pair figcaption { font-size: 11px; }
  .hub-script-preview { min-height: 330px; padding: 30px 20px; }
  .hub-script-outline { padding: 26px 20px; }
  .hub-script-outline li { gap: 12px; font-size: 25px; }
  .hub-companion { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hub-pathways { grid-template-columns: minmax(0, 1fr); margin-top: 44px; padding-top: 34px; }
  .hub-pathway-list > li { gap: 14px; }
  .hub-help-shortcuts { margin-top: 36px; gap: 0 20px; }
  .hub-help-shortcuts a { padding-right: 22px; }
  .hub-help-shortcuts strong { font-size: 20px; }
  .hub-help-shortcuts svg { width: 16px; height: 16px; }
  .hub-service-note { padding: 22px; }
  .hub-comparison-intro { grid-template-columns: minmax(0, 1fr); margin-top: 40px; padding: 30px 24px; border-radius: 18px; }
  .hub-comparison-questions { padding-top: 28px; border-top: 1px solid var(--line); }
  .hub-directory-heading { flex-direction: column; gap: 12px; margin-top: 60px; }
  .hub-list, .hub > .hub-cards { margin-top: 24px; }
  .hub .hub-cards { grid-template-columns: minmax(0, 1fr); }
  .hub-group { padding-block: 30px 18px; }
  .hub .link-card { padding-block: 24px; }
  .hub .link-card-title { font-size: 23px; }
  .hub .link-card-description { font-size: 15px; }
  .hub-notes { margin-top: 30px; padding-top: 30px; }
  .hub .article-faq { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-nav a, .hub-spotlight-links svg, .hub-editorial-link, .hub-pathway-list svg, .hub-help-shortcuts svg, .hub .link-card-title a { transition: none; }
  .hub-spotlight-links a:hover svg, .hub-pathway-list > li:hover svg, .hub-help-shortcuts a:hover svg { transform: none; }
}
