

/* ---------- #gap-fixes ---------- */

/* ---------- #tablet-careers ---------- */
/* Careers, tablet only (561px to 900px): centered hero, headings, text, role and benefit rows and buttons; buttons in a row; frame lines 12px in; the same closing and footer as the home */
@media (min-width: 560px) and (max-width: 759px) {
  section.pg-hero--grid { position: relative; display: flex; flex-direction: column; padding-top: 48px !important; padding-bottom: 0 !important; background-image: linear-gradient(var(--color-border), var(--color-border)); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 0; }
  section.pg-hero--grid > .pg-hero__cell { border: 0 !important; }
  section.pg-hero--grid > .pg-hero__title { order: 1; text-align: center !important; padding-inline: 36px; margin: 0 auto !important; max-width: none !important; width: 100%; box-sizing: border-box; padding-bottom: 0 !important; }
  section.pg-hero--grid > .pg-hero__cell--text { order: 2; text-align: center !important; padding: 24px 36px 0 !important; margin-top: 0; }
  section.pg-hero--grid > .pg-hero__cell--text .pg-hero__sub { text-align: center !important; margin-inline: auto; }
  section.pg-hero--grid { flex-direction: row !important; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 24px; }
  section.pg-hero--grid > .pg-hero__title, section.pg-hero--grid > .pg-hero__cell--text, section.pg-hero--grid > .pg-hero__visual { flex: 0 0 100%; }
  section.pg-hero--grid > .pg-hero__cell:not(.pg-hero__cell--text) { order: 3; flex: 0 0 auto; display: flex; justify-content: center; padding: 0; margin-top: 32px; }
  section.pg-hero--grid > .pg-hero__visual { order: 4; position: relative; width: 100% !important; height: 260px; margin: 56px 0 0 !important; left: 0; right: 0; border-top: 1px solid var(--color-border); }
  section p, section h2 { margin-inline: auto; }
  section.pg-introlike p { max-width: none !important; }
  section.pg-jobs .pg-head, section.pg-table .pg-head, section.pg-tl .pg-head, section.pg-faq .pg-head { display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: 36px; }
  section.pg-jobs .pg-job, section.pg-jobs article, section.pg-jobs li { display: flex; flex-direction: column; align-items: center; text-align: center; }
  section.pg-jobs .btn { margin-inline: auto; }
  section.pg-table article, section.pg-table li, section.pg-tl article, section.pg-tl li { text-align: center; }
  section.pg-table article > *, section.pg-tl article > * { margin-inline: auto; }
  .hscroll__head { flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; }
  .hscroll__title { max-width: none !important; text-align: center !important; }
  .hscroll__meter { width: min(320px, 60vw); margin-inline: auto; }
  /* benefits, the four steps and "Before you apply": one column, centered, as on the phone */
  main > section.pg-table, main > section.pg-tl, main > section.pg-rows.pg-faq { grid-template-columns: minmax(0, 1fr) !important; }
  main > section.pg-table > *, main > section.pg-tl > *, main > section.pg-rows.pg-faq > * { grid-column: 1 !important; grid-row: auto !important; position: static !important; text-align: center; }
  main > section.pg-table .pg-head, main > section.pg-rows.pg-faq .pg-head { display: flex; flex-direction: column; align-items: center; padding-inline: 36px; }
  main > section.pg-table .pg-table__list > *, main > section.pg-tl .pg-tl__steps > *, main > section.pg-rows.pg-faq .pg-rows__list > * { text-align: center; }
  @media (max-width: 759px) { main > section.pg-tl > .pg-tl__col { height: auto !important; min-height: 0 !important; } }
  main > section.pg-tl .pg-tl__col * { position: static !important; }
  section.pg-jobs > .hlines > i[style*="width: 1px"] { display: none !important; }
  /* hero spacing: 48px above the heading and 48px between the buttons and the graphic line */
  section.pg-hero--grid { padding-top: 92px !important; }
  section.pg-hero--grid > .pg-hero__visual { margin-top: 92px !important; }
  /* ---------- #tablet-fixes ---------- */
  /* tablet (561px to 900px): the footer box has a hairline on its bottom edge and one on the top edge of the footer, both across the whole screen width (as on Contact); the hero's script-drawn hairlines are hidden (the frame is the 12px lines only) */
  section.pg-hero .hlines { display: none !important; }
  main > section:not(.hscroll) > .hlines > i:not([class]) { display: none !important; }
  /* 821px to 900px: the same as 561px to 820px: sections are the full width with no own side borders, the stray vertical hairlines and the desktop column lines are hidden */
  /* ---------- #tablet-from-mobile-system ---------- */
  /* phones only (max-width 560px): the same phone system as the home and What We Do */
  /* one rhythm: 48px between sections (the pinned band keeps its own spacing) */
  main > section:not(.hscroll) { padding-block: 48px !important; }
  /* text and buttons centered, buttons stacked */
  section h1, section h2, section h3, section p { text-align: center !important; }
  section h2 + p, section h1 + p { margin-top: 12px; }
  /* nothing spills past the screen */
  img, canvas, svg, video, iframe { max-width: 100%; }
  section h1 { font-size: clamp(28px, 9.2vw, 44px); overflow-wrap: break-word; }
  /* ---------- #tablet-from-mobile-hscroll ---------- */
  /* Careers, phones: the pinned band is compact enough to show whole and centered, as on the home */
  .hscroll { --hs-pad: 32px; }
  .hscroll__sticky { gap: var(--space-6); }
  .hcard { min-height: 240px; }
  /* ---------- #tablet-from-mobile-hero ---------- */
  /* Why Granule Labs, phones: title, text, button, line, graphic, line; same frame as the home and What We Do */
  main > section.pg-hero--grid { padding-bottom: 0 !important; }
  section.pg-hero--grid { position: relative; display: flex; flex-direction: column; padding-top: 32px !important; background-image: linear-gradient(var(--color-border), var(--color-border)); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 36px; }
  section.pg-hero--grid::before, section.pg-hero--grid::after { content: ""; display: block; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--color-border); border: 0; pointer-events: none; z-index: 1; }
  section.pg-hero--grid::before { left: 12px; right: auto; }
  section.pg-hero--grid::after { left: auto; right: 12px; }
  section.pg-hero--grid .hlines--spot, section.pg-hero--grid .hl--v:not(.hl--edge), section.pg-hero--grid .hl--h { display: none !important; }   /* only the frame edges and the two hairlines show on phones */
  section.pg-hero--grid > .pg-hero__cell { border: 0 !important; border-top: 0 !important; border-bottom: 0 !important; }   /* the cell borders are the desktop grid, not used on phones */
  section.pg-hero--grid > .pg-hero__cell--text .pg-hero__sub, section.pg-hero--grid > .pg-hero__cell:not(.pg-hero__cell--text) .btn { margin-block: 0 !important; }
  section.pg-hero--grid > .pg-hero__title { padding-bottom: 0 !important; order: 1; text-align: center !important; font-size: clamp(28px, 9.2vw, 40px) !important; padding-inline: 20px; margin: 0 !important; }
  section.pg-hero--grid > .pg-hero__cell--text { order: 2; text-align: center !important; padding: 29px 20px 0 !important; margin-top: 0; }
  section.pg-hero--grid > .pg-hero__cell--text .pg-hero__sub { text-align: center !important; }
  section.pg-hero--grid > .pg-hero__cell:not(.pg-hero__cell--text) { order: 3; display: flex; justify-content: center; padding: 0 20px; margin-top: 31px; }   /* the paragraph line-height adds space above and below its text: this makes the visible gaps equal */
  section.pg-hero--grid > .pg-hero__visual { margin-inline: 0 !important; left: 0; right: 0; width: 100% !important; order: 4; position: relative; width: 100%; height: 240px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--color-border); box-sizing: border-box; }
  section.pg-hero--grid > .pg-hero__visual canvas { position: absolute !important; inset: 24px 12px 0 !important; width: calc(100% - 24px) !important; height: calc(100% - 24px) !important; }
  /* ---------- #tablet-from-mobile-benefits ---------- */
  /* Careers, phones: benefit rows centered, icon above each title */
  .pg-trow { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }
  .pg-trow__num { display: none !important; }   /* the benefit numbers are removed on phones */
  section.pg-table .pg-trow:last-child { border-bottom: 0 !important; }   /* no floating line after the last benefit */
  main > section.pg-table { padding-bottom: 24px !important; }   /* less space under the benefits */
  .pg-trow h3 { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 12px !important; text-align: center !important; margin: 0 !important; }
  .pg-trow h3 > svg { display: block; margin: 0 auto; }
  .pg-trow__body, .pg-trow__body p { text-align: center !important; margin: 0 auto; }
  main > section.pg-hero--grid > .pg-hero__visual { height: 340px !important; }   /* the hero graphic is bigger on phones */
  /* the Apply buttons of the jobs and the "See open roles" of the band: centered */
  section.pg-jobs .btn, section.pg-jobs a.btn { display: flex !important; width: fit-content; margin-inline: auto !important; }
  /* the whole "Find the role that fits you" section is centered */
  section.pg-jobs, section.pg-jobs .pg-head, section.pg-jobs .pg-jobs__list, section.pg-jobs .pg-job, section.pg-jobs .pg-job__text { text-align: center !important; }
  section.pg-jobs .pg-job { display: flex !important; flex-direction: column !important; align-items: center !important; }
  section.pg-jobs .pg-job__text { display: flex; flex-direction: column; align-items: center; }
  section.pg-jobs .pg-job__text h3, section.pg-jobs .pg-job__meta { text-align: center !important; margin-inline: auto; }
  /* jobs: the same space above and below each item, and no floating line after the last one */
  section.pg-jobs .pg-job { padding-block: 20px !important; gap: 16px !important; }
  section.pg-jobs .pg-job:last-child { border-bottom: 0 !important; }
  main > section.pg-jobs { padding-bottom: 32px !important; }   /* less space under the last job */
  /* ---------- #tablet-from-mobile-timeline ---------- */
  /* Careers, phones: "From first call to offer": the line on the left edge, the steps on the right. Desktop colors: an orange line, an orange square per step, a short orange connector */
  section.pg-tl ol.pg-tl__steps { position: relative !important; padding: 0 !important; margin: 0 !important; list-style: none; border: 0 !important; }
  section.pg-tl ol.pg-tl__steps::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px; background: var(--color-orange); opacity: .75; pointer-events: none; }
  section.pg-tl .pg-tl__prog { display: none !important; }
  section.pg-tl .pg-tl__col { margin-bottom: 0 !important; }   /* the section's row gap sets the space */
  /* the same space above the title as below the timeline */
  section.pg-tl .pg-tl__head, section.pg-tl .pg-head { padding-top: 0 !important; }
  section.pg-tl .pg-tl__step { position: relative; display: block; width: auto !important; margin-left: 0 !important; min-height: 0 !important; height: auto !important; padding: 16px 20px 16px 48px !important; border: 0 !important; }
  section.pg-tl .pg-tl__step::before { content: ""; position: absolute; top: 24.5px; left: 20px; width: 8px; height: 8px; margin-left: -4px; background: var(--color-orange); opacity: .8; z-index: 1; }
  section.pg-tl .pg-tl__step::after { content: ""; position: absolute; top: 28px; left: 20px; height: 1px; width: 14px; background: var(--color-orange); }
  section.pg-tl .pg-tl__text { text-align: left !important; padding: 0 !important; margin: 0 !important; }

  section.pg-tl .pg-tl__step .pg-row__num { position: static !important; display: block; margin: 0 0 4px !important; font-size: 12px !important; color: var(--color-orange); }
  section.pg-tl .pg-tl__step .pg-tl__text h3 { position: static !important; width: auto !important; margin: 0 !important; text-align: left !important; font-size: 18px !important; line-height: 1.2 !important; }
  section.pg-tl .pg-tl__text p { text-align: left !important; font-size: 12px !important; line-height: 1.5 !important; margin: 4px 0 0 !important; }
  /* the timeline heading is left aligned too */
  section.pg-tl .pg-tl__head, section.pg-tl .pg-title { text-align: left !important; }
  section.pg-tl .pg-tl__head, section.pg-tl .pg-title, section.pg-tl .pg-tl__col { max-width: none !important; width: 100% !important; }
  /* ---------- #careers-hero-tablet ---------- */
  /* Careers, 561px to 900px: less space above the hero heading and between the hero text and its graphic; the graphic fills its whole box */
  main > section.pg-hero--grid > .pg-hero__title { padding-top: 32px !important; }
  main > section.pg-hero--grid > .pg-hero__visual { margin-top: 46px !important; }
  main > section.pg-hero--grid > .pg-hero__visual canvas { inset: 0 12px 0 !important; width: calc(100% - 24px) !important; height: 100% !important; }
}
/* the closing section, with the footer frame and lines it shares, stays stacked up to 939px, where its button first fits two columns (a section breakpoint) */
@media (min-width: 560px) and (max-width: 939px) {
  section.closing .closing__cell { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: center !important; column-gap: 16px !important; grid-template-columns: none !important; }
  section.closing .closing__cell > .closing__art, section.closing .closing__cell > .closing__main { flex: 0 0 100% !important; width: 100% !important; grid-area: auto !important; }
  section.closing .closing__cell > .closing__cta, section.closing .closing__cell > .closing__cta--2 { flex: 0 0 auto !important; grid-area: auto !important; padding: 48px 24px 24px !important; }
  section.closing .closing__art { min-height: 0 !important; height: 160px; margin-inline: -12px !important; border-bottom: 1px solid var(--color-border) !important; }
  section.closing .closing__main { padding-bottom: 0 !important; text-align: center; }
  /* the pre-footer: no line between the body text and the buttons */
  .endgrid > .hlines > .hl--h[style*="top: 138px"] { display: none !important; }
  .endgrid > .hlines > .hl--h[style*="top: 298px"] { display: none !important; }
  footer { position: relative !important; padding-top: 24px !important; padding-bottom: 48px !important; }
  footer::before { content: ""; display: block; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--color-border); pointer-events: none; }
  footer::after { content: ""; display: block; position: absolute; left: 0; right: 0; bottom: 48px; height: 1px; background: var(--color-border); pointer-events: none; }
  /* closing (pre-footer): graphic on the top hairline, buttons 24px apart, no box lines */
  section.closing:not(.hero):not(.hscroll) { position: relative; padding-top: 0 !important; padding-bottom: 0 !important; }
  section.closing:not(.hero):not(.hscroll)::before { content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--color-border); z-index: 3; pointer-events: none; }
  section.closing .closing__cell, section.closing .closing__cell.is-in { clip-path: none !important; }
  section.closing .closing__art { min-height: 0 !important; height: 160px; margin-inline: -12px !important; }
  section.closing .closing__main { padding-bottom: 0 !important; text-align: center; align-items: center; }
  section.closing .closing__main p { text-align: center !important; }
  .closing__cta, .closing__cta--2 { padding-inline: var(--gutter) !important; }
  .closing__cta { padding: 24px var(--gutter) 12px !important; }
  .closing__cta--2 { padding: 12px var(--gutter) 24px !important; }
  .endgrid .hl--h[style*="left:"] { display: none !important; }
  .endgrid .hl--v.hl--edge[style*="left: 24px"] { left: 12px !important; }
  .endgrid .hl--v.hl--edge[style*="left: 351px"] { left: calc(100% - 13px) !important; }

  /* footer: box between the side lines, one hairline at the page edge */
  footer { padding-top: 24px !important; padding-bottom: 48px !important; background-image: linear-gradient(var(--color-border), var(--color-border)) !important; background-repeat: no-repeat !important; background-size: 100% 1px !important; background-position: 0 100% !important; }
  .footer__inner { margin-inline: 12px !important; width: auto !important; }
  /* ---------- #tablet-from-mobile-prefooter ---------- */
  /* Careers, phones: the pre-footer, not crowded: space between the text and the graphic, and between the graphic and the buttons; buttons sized to their label */
  section.closing .closing__main { padding: 48px 20px 24px !important; }
  section.closing .closing__main canvas, section.closing canvas.readfield { display: block; width: 100% !important; height: 200px !important; margin: 24px 0 0 !important; }
  section.closing .closing__cta, section.closing .closing__cta--2 { height: auto !important; min-height: 0 !important; display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 20px 24px !important; }
  /* the pre-footer cells and their buttons fill the space between the frame lines */
  section.closing .closing__cell { margin-inline: -12px !important; }
  /* ---------- #prefooter-phone-look ---------- */
  /* What We Do, 561px to 635px: the pre-footer buttons look as they do on the phone: stacked, the same width, 24px apart */
  /* ---------- #prefooter-art-full ---------- */
  /* What We Do, 561px to 900px: the pre-footer graphic fills the space between the two 12px edge lines */
  section.closing .closing__cell > .closing__art { flex: none !important; align-self: stretch !important; width: calc(100% + 24px) !important; margin-inline: -12px !important; }
  section.closing .closing__art canvas { left: 1px !important; right: 1px !important; width: calc(100% - 2px) !important; }
  /* no empty space between the pre-footer buttons and the footer box */
  footer { padding-top: 0 !important; }
  /* the two 12px edge lines: the left one stays on the left, whatever its position in the list */
  .endgrid > .hlines > .hl--v.hl--edge[style*="left: 12px"] { left: 12px !important; right: auto !important; }
  .endgrid > .hlines > .hl--v.hl--edge:not([style*="left: 12px"]) { left: auto !important; right: 12px !important; }
  /* ---------- #careers-tablet-closing ---------- */
  /* Careers, 561px to 900px: the pre-footer graphic sits between the 12px lines, and the last button has 48px of space below it before the footer */
  section.closing .closing__cell > .closing__art { display: block !important; width: 100% !important; margin-inline: 0 !important; }
  section.closing .closing__cell > .closing__art canvas { left: 1px !important; right: 1px !important; width: calc(100% - 2px) !important; }
  section.closing .closing__cell > .closing__cta--2 { margin-bottom: 48px !important; }
    section.closing .closing__cell { display: grid !important; flex-direction: initial !important; align-items: start !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: 0 !important; row-gap: 0 !important; }
    section.closing .closing__cell > .closing__main, section.closing .closing__cell > .closing__art2, section.closing .closing__cell > .closing__art { grid-column: 1 / -1 !important; grid-row: auto !important; flex: none !important; }
    section.closing .closing__cell { padding-bottom: 26px !important; }
    section.closing .closing__cell > .closing__cta, section.closing .closing__cell > .closing__cta--2 { padding: 40px 24px 40px !important; align-self: start !important; width: 100% !important; justify-self: stretch !important; margin-top: 0 !important; }
}

/* ---------- #careers-timeline-821 ---------- */
/* Careers, 821px to 900px: "From first call to offer in four steps" uses the same two-column layout and middle line as from 901px up */

/* ---------- #careers-phone-tickrails ---------- */
/* Careers, phones: the order is graphic 1, graphic 2, the buttons, then the footer; each graphic has its own space */
@media (max-width: 559px) {
  /* ---------- #mobile-system ---------- */
  /* phones only (max-width 560px): the same phone system as the home and What We Do */
  /* one rhythm: 48px between sections (the pinned band keeps its own spacing) */
  main > section:not(.hscroll) { padding-block: 48px !important; }
  /* text and buttons centered, buttons stacked */
  section h1, section h2, section h3, section p { text-align: center !important; }
  section h2 + p, section h1 + p { margin-top: 12px; }
  /* nothing spills past the screen */
  img, canvas, svg, video, iframe { max-width: 100%; }
  section h1 { font-size: clamp(28px, 9.2vw, 44px); overflow-wrap: break-word; }
  /* closing (pre-footer): graphic on the top hairline, buttons 24px apart, no box lines */
  section.closing:not(.hero):not(.hscroll) { position: relative; padding-top: 0 !important; padding-bottom: 0 !important; }
  section.closing:not(.hero):not(.hscroll)::before { content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--color-border); z-index: 3; pointer-events: none; }
  section.closing .closing__cell, section.closing .closing__cell.is-in { clip-path: none !important; }
  section.closing .closing__art { min-height: 0 !important; height: 160px; margin-inline: -12px !important; }
  section.closing .closing__main { padding-bottom: 0 !important; text-align: center; align-items: center; }
  section.closing .closing__main p { text-align: center !important; }
  .closing__cta, .closing__cta--2 { padding-inline: var(--gutter) !important; }
  .closing__cta { padding: 24px var(--gutter) 12px !important; }
  .closing__cta--2 { padding: 12px var(--gutter) 24px !important; }
  .endgrid .hl--h[style*="left:"] { display: none !important; }
  .endgrid .hl--v:not(.hl--edge) { display: none !important; }
  .endgrid .hl--v.hl--edge[style*="left: 24px"] { left: 12px !important; }
  .endgrid .hl--v.hl--edge[style*="left: 351px"] { left: calc(100% - 13px) !important; }

  /* footer: box between the side lines, one hairline at the page edge */
  footer { padding-top: 24px !important; padding-bottom: 48px !important; background-image: linear-gradient(var(--color-border), var(--color-border)) !important; background-repeat: no-repeat !important; background-size: 100% 1px !important; background-position: 0 100% !important; }
  .footer__inner { margin-inline: 12px !important; width: auto !important; }
  /* ---------- #mobile-hscroll ---------- */
  /* Careers, phones: the pinned band is compact enough to show whole and centered, as on the home */
  .hscroll { --hs-pad: 32px; }
  .hscroll__sticky { gap: var(--space-6); }
  .hcard { min-height: 240px; }
  /* ---------- #mobile-hero ---------- */
  /* Why Granule Labs, phones: title, text, button, line, graphic, line; same frame as the home and What We Do */
  main > section.pg-hero--grid { padding-bottom: 0 !important; }
  section.pg-hero--grid { position: relative; display: flex; flex-direction: column; padding-top: 32px !important; background-image: linear-gradient(var(--color-border), var(--color-border)); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 36px; }
  section.pg-hero--grid::before, section.pg-hero--grid::after { content: ""; display: block; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--color-border); border: 0; pointer-events: none; z-index: 1; }
  section.pg-hero--grid::before { left: 12px; right: auto; }
  section.pg-hero--grid::after { left: auto; right: 12px; }
  section.pg-hero--grid .hlines--spot, section.pg-hero--grid .hl--v:not(.hl--edge), section.pg-hero--grid .hl--h { display: none !important; }   /* only the frame edges and the two hairlines show on phones */
  section.pg-hero--grid > .pg-hero__cell { border: 0 !important; border-top: 0 !important; border-bottom: 0 !important; }   /* the cell borders are the desktop grid, not used on phones */
  section.pg-hero--grid > .pg-hero__cell--text .pg-hero__sub, section.pg-hero--grid > .pg-hero__cell:not(.pg-hero__cell--text) .btn { margin-block: 0 !important; }
  section.pg-hero--grid > .pg-hero__title { padding-bottom: 0 !important; order: 1; text-align: center !important; font-size: clamp(28px, 9.2vw, 40px) !important; padding-inline: 20px; margin: 0 !important; }
  section.pg-hero--grid > .pg-hero__cell--text { order: 2; text-align: center !important; padding: 29px 20px 0 !important; margin-top: 0; }
  section.pg-hero--grid > .pg-hero__cell--text .pg-hero__sub { text-align: center !important; }
  section.pg-hero--grid > .pg-hero__cell:not(.pg-hero__cell--text) { order: 3; display: flex; justify-content: center; padding: 0 20px; margin-top: 31px; }   /* the paragraph line-height adds space above and below its text: this makes the visible gaps equal */
  section.pg-hero--grid > .pg-hero__visual { margin-inline: 0 !important; left: 0; right: 0; width: 100% !important; order: 4; position: relative; width: 100%; height: 240px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--color-border); box-sizing: border-box; }
  section.pg-hero--grid > .pg-hero__visual canvas { position: absolute !important; inset: 24px 12px 0 !important; width: calc(100% - 24px) !important; height: calc(100% - 24px) !important; }
  /* ---------- #mobile-benefits ---------- */
  /* Careers, phones: benefit rows centered, icon above each title */
  .pg-trow { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }
  .pg-trow__num { display: none !important; }   /* the benefit numbers are removed on phones */
  section.pg-table .pg-trow:last-child { border-bottom: 0 !important; }   /* no floating line after the last benefit */
  main > section.pg-table { padding-bottom: 24px !important; }   /* less space under the benefits */
  .pg-trow h3 { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 12px !important; text-align: center !important; margin: 0 !important; }
  .pg-trow h3 > svg { display: block; margin: 0 auto; }
  .pg-trow__body, .pg-trow__body p { text-align: center !important; margin: 0 auto; }
  main > section.pg-hero--grid > .pg-hero__visual { height: 340px !important; }   /* the hero graphic is bigger on phones */
  /* the Apply buttons of the jobs and the "See open roles" of the band: centered */
  section.pg-jobs .btn, section.pg-jobs a.btn { display: flex !important; width: fit-content; margin-inline: auto !important; }
  /* the whole "Find the role that fits you" section is centered */
  section.pg-jobs, section.pg-jobs .pg-head, section.pg-jobs .pg-jobs__list, section.pg-jobs .pg-job, section.pg-jobs .pg-job__text { text-align: center !important; }
  section.pg-jobs .pg-job { display: flex !important; flex-direction: column !important; align-items: center !important; }
  section.pg-jobs .pg-job__text { display: flex; flex-direction: column; align-items: center; }
  section.pg-jobs .pg-job__text h3, section.pg-jobs .pg-job__meta { text-align: center !important; margin-inline: auto; }
  /* jobs: the same space above and below each item, and no floating line after the last one */
  section.pg-jobs .pg-job { padding-block: 20px !important; gap: 16px !important; }
  section.pg-jobs .pg-job:last-child { border-bottom: 0 !important; }
  main > section.pg-jobs { padding-bottom: 32px !important; }   /* less space under the last job */
  /* ---------- #mobile-timeline ---------- */
  /* Careers, phones: "From first call to offer": the line on the left edge, the steps on the right. Desktop colors: an orange line, an orange square per step, a short orange connector */
  section.pg-tl ol.pg-tl__steps { position: relative !important; padding: 0 !important; margin: 0 !important; list-style: none; border: 0 !important; }
  section.pg-tl ol.pg-tl__steps::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px; background: var(--color-orange); opacity: .75; pointer-events: none; }
  section.pg-tl .pg-tl__prog { display: none !important; }
  section.pg-tl .pg-tl__col { margin-bottom: 0 !important; }   /* the section's row gap sets the space */
  /* the same space above the title as below the timeline */
  section.pg-tl .pg-tl__head, section.pg-tl .pg-head { padding-top: 0 !important; }
  section.pg-tl .pg-tl__step { position: relative; display: block; width: auto !important; margin-left: 0 !important; min-height: 0 !important; height: auto !important; padding: 16px 20px 16px 48px !important; border: 0 !important; }
  section.pg-tl .pg-tl__step::before { content: ""; position: absolute; top: 24.5px; left: 20px; width: 8px; height: 8px; margin-left: -4px; background: var(--color-orange); opacity: .8; z-index: 1; }
  section.pg-tl .pg-tl__step::after { content: ""; position: absolute; top: 28px; left: 20px; height: 1px; width: 14px; background: var(--color-orange); }
  section.pg-tl .pg-tl__text { text-align: left !important; padding: 0 !important; margin: 0 !important; }

  section.pg-tl .pg-tl__step .pg-row__num { position: static !important; display: block; margin: 0 0 4px !important; font-size: 12px !important; color: var(--color-orange); }
  section.pg-tl .pg-tl__step .pg-tl__text h3 { position: static !important; width: auto !important; margin: 0 !important; text-align: left !important; font-size: 18px !important; line-height: 1.2 !important; }
  section.pg-tl .pg-tl__text p { text-align: left !important; font-size: 12px !important; line-height: 1.5 !important; margin: 4px 0 0 !important; }
  /* the timeline heading is left aligned too */
  section.pg-tl .pg-tl__head, section.pg-tl .pg-title { text-align: left !important; }
  section.pg-tl .pg-tl__head, section.pg-tl .pg-title, section.pg-tl .pg-tl__col { max-width: none !important; width: 100% !important; }
  /* ---------- #mobile-prefooter ---------- */
  /* Careers, phones: the pre-footer, not crowded: space between the text and the graphic, and between the graphic and the buttons; buttons sized to their label */
  section.closing .closing__main { padding: 48px 20px 24px !important; }
  section.closing .closing__main canvas, section.closing canvas.readfield { display: block; width: 100% !important; height: 200px !important; margin: 24px 0 0 !important; }
  section.closing .closing__cta, section.closing .closing__cta--2 { height: auto !important; min-height: 0 !important; display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 20px 24px !important; }
  /* the pre-footer cells and their buttons fill the space between the frame lines */
  section.closing .closing__cell { margin-inline: -12px !important; }
  section.closing .closing__cell { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "main" "art2" "art" "cta1" "cta2" !important; grid-template-rows: auto 170px 120px 120px 120px !important; }
  section.closing .closing__cell > .closing__art2 { grid-area: art2 !important; height: 170px !important; position: relative !important; overflow: hidden !important; }
  section.closing .closing__cell > .closing__art2 canvas { position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: auto !important; margin: 0 !important; width: 100% !important; height: 170px !important; }
  section.closing .closing__cell > .closing__art { grid-area: art !important; display: block !important; width: 100% !important; margin-inline: 0 !important; justify-self: stretch !important; height: 120px !important; min-height: 120px !important; margin-top: 0 !important; border-top: 1px solid var(--color-border) !important; flex: none !important; }
  section.closing .closing__cell > .closing__art canvas { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; }
}

/* ---------- #careers-tablet-graphics ---------- */
/* Careers, 561px to 900px: the two pre-footer graphics sit side by side in two columns, graphic 1 on the left; the buttons follow, from 561px to 1100px */
@media (min-width: 560px) and (max-width: 1099px) {
  section.closing .closing__cell { display: grid !important; flex-direction: initial !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; grid-template-areas: none !important; grid-template-rows: auto 200px auto auto !important; align-items: start !important; column-gap: 0 !important; row-gap: 0 !important; }
  section.closing .closing__cell > .closing__main { grid-column: 1 / -1 !important; grid-row: 1 !important; }
  section.closing .closing__cell > .closing__main { text-align: center !important; align-items: center !important; justify-content: center !important; }
  section.closing .closing__cell > .closing__main .closing__title, section.closing .closing__cell > .closing__main .closing__lead { text-align: center !important; margin-inline: auto !important; }
  section.closing .closing__cell > .closing__art2 { grid-column: 1 !important; grid-row: 2 !important; grid-area: auto !important; position: relative !important; height: 200px !important; overflow: hidden !important; }
  section.closing .closing__cell > .closing__art { grid-column: 2 !important; grid-row: 2 !important; grid-area: auto !important; display: block !important; position: relative !important; width: 100% !important; height: 200px !important; min-height: 200px !important; margin: 0 !important; border-top: 0 !important; border-left: 1px solid var(--color-border) !important; justify-self: stretch !important; flex: none !important; }
  section.closing .closing__cell > .closing__art2 canvas, section.closing .closing__cell > .closing__art canvas { position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: auto !important; margin: 0 !important; width: 100% !important; height: 200px !important; }
  section.closing .closing__cell > .closing__cta { grid-column: 1 / -1 !important; grid-row: 3 !important; grid-area: auto !important; }
  section.closing .closing__cell > .closing__cta--2 { grid-column: 1 / -1 !important; grid-row: 4 !important; grid-area: auto !important; }
  section.closing .closing__cell { padding-bottom: 0 !important; }
  section.closing .closing__cell > .closing__cta { grid-column: 1 !important; grid-row: 3 !important; }
  section.closing .closing__cell > .closing__cta--2 { grid-column: 2 !important; grid-row: 3 !important; }
}

/* ---------- #benefits-821-gap ---------- */
/* Careers, 821px to 900px: less space between each benefit's heading and its text */

/* ---------- #desktop-edges-901 ---------- */
/* Careers, 901px to 1000px: the hero, the timeline, the accordion, the benefits and the open roles keep a little space from the screen edges */
@media (min-width: 760px) and (max-width: 1099px) {
  main > section.pg-tl { padding-inline: 24px !important; }
  main > section.pg-rows.pg-faq { padding-inline: 24px !important; }
  main > section.pg-table { padding-inline: 24px !important; }
  main > section.pg-jobs { padding-inline: 24px !important; }
  main > section.pg-hero--grid > h1 { padding-inline: 24px !important; }
  main > section.pg-hero--grid > .pg-hero__title { padding-inline: 24px !important; }
  main > section.pg-hero--grid > .pg-hero__cell--text { padding-inline: 24px !important; }
  main > section.pg-hero--grid > .pg-hero__visual canvas { left: 24px !important; right: 24px !important; width: calc(100% - 48px) !important; }
}

/* the notes under the hiring steps read left-aligned at every width, like the steps above them */
section.pg-tl .pg-tl__notes, section.pg-tl .pg-tl__notes * { text-align: left !important; }
section.pg-tl .pg-tl__head .pg-intro { margin-left: 0 !important; text-align: left !important; }

/* Section spacing (fix G10): every section keeps 48px between its edge and its content on phones and 96px from 760px
   up, unless something runs to the edge. The rule is in CLAUDE.md; tests/section-spacing.spec.mjs checks it. */
@media (max-width: 759px) {
  body main > section.pg-hero--grid > .pg-hero__visual { margin-bottom: 48px !important; }
  body main > section.pg-jobs, body main > section.pg-table { padding-bottom: 48px !important; }
}
