/* Use cases (agent B), 1:1 with the reference's job pages: every size, gap, colour and timing below was read from their
   computed styles at 1440 and 390 (23 Nov 2026, _reference/usecases-1to1.md). Breakpoints are theirs: 640, 768, 1024.
   Shared tokens, pills, container (.c), arrivals ([data-rise]) and the bar/footer come from site.css. */

/* type (their fluid scale; 1440 and 390 land on 52/32, 40/32, 32/24, 22/18) */
.uc-h1 { font-size: clamp(2rem, 1.398rem + 2.469vw, 3.25rem); line-height: 1.1; letter-spacing: -0.032em; font-weight: 450; }
.uc-h2 { font-size: clamp(2rem, 1.759rem + 0.988vw, 2.5rem); line-height: 1.1; letter-spacing: -0.032em; font-weight: 450; }
.uc-h3 { font-size: clamp(1.5rem, 1.259rem + 0.988vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 450; }
.uc-h4 { font-size: clamp(1.125rem, 1.005rem + 0.494vw, 1.375rem); line-height: 1.2; letter-spacing: -0.022em; font-weight: 450; }
.uc-p { font-size: 16px; line-height: 22.4px; letter-spacing: -0.006em; }
.uc-nw { white-space: nowrap; }
.uc-sm { display: block; font-size: 14px; line-height: 19.6px; letter-spacing: 0; color: var(--muted); }
.uc-lab { display: inline-flex; align-items: center; gap: 0.6em; font-size: 14px; line-height: 16.8px; letter-spacing: 0; color: var(--muted); }

/* the text link with an arrow (their "All jobs") */
.uc-act { display: inline-flex; align-items: center; gap: 8px; padding: 5.6px 0; border-bottom: 1px solid rgba(13, 13, 12, 0.28); font-size: 14px; line-height: 16.8px; letter-spacing: 0; white-space: nowrap; color: var(--ink); transition: border-color 0.2s ease; }
.uc-act::after { content: "\2192"; transition: transform 0.25s var(--out); }
.uc-act:hover { border-bottom-color: currentColor; }
.uc-act:hover::after { transform: translateX(3px); }

/* pictures: photo slots (kit pic), a faint grain of our own, the neutral field while a photo is still a draft */
.uc-grain { isolation: isolate; }
.uc-grain::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.16; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E"); }
.uc-img, .uc-bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.uc-img img, .uc-bg img { width: 100%; height: 100%; object-fit: cover; }
.uc-img.ph-draft, .uc-bg.ph-draft { background: radial-gradient(70% 90% at 22% 18%, #F4F2EC 0%, rgba(244, 242, 236, 0) 70%), radial-gradient(60% 80% at 82% 78%, #DFDBD2 0%, rgba(223, 219, 210, 0) 72%), #E9E6DF; }

/* hero: text left, picture right (5fr 6fr, gap 64), then the three-cell strip */
.uc-hero { background: #fff; }
.uc-hero-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
.uc-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; line-height: 19.6px; letter-spacing: 0; color: var(--muted); }
.uc-crumb a { transition: color 0.15s ease; }
.uc-crumb a:hover { color: var(--ink); }
.uc-crumb span:first-of-type { color: var(--faint); }
.uc-crumb span:last-child { color: var(--ink-2); }
.uc-hero .uc-h1 { margin-top: 24px; max-width: 9.91em; }
.uc-lede { margin-top: 24px; max-width: 30.97em; color: var(--muted); }
.uc-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.uc-photo { position: relative; aspect-ratio: 5 / 4.2; border-radius: 16px; overflow: hidden; background: var(--back); }
.uc-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.uc-meta > div { padding: 28px 32px; }
.uc-meta > div:first-child { padding-left: 0; }
.uc-meta > div:last-child { padding-right: 0; }
.uc-meta > div + div { border-left: 1px solid var(--line); }
.uc-meta dt { font-size: 14px; line-height: 19.6px; letter-spacing: 0; color: var(--muted); }
.uc-meta dd { margin: 8px 0 0; max-width: 18.58em; }

/* body: "On this page" (sticky, 220) and the six sections (max 860) */
.uc-body { background: #fff; padding-bottom: 112px; }
.uc-body-g { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding-top: 80px; border-top: 1px solid var(--line); }
.uc-toc { position: sticky; top: 112px; }
.uc-toc > p { font-size: 14px; line-height: 16.8px; letter-spacing: 0; color: var(--muted); }
.uc-toc ol { display: grid; gap: 12px; margin-top: 20px; }
.uc-toc li a { display: grid; grid-template-columns: 22px minmax(0, 1fr); font-size: 13px; line-height: 1.375; letter-spacing: -0.005em; color: var(--muted); transition: color 0.2s ease; }
.uc-toc li a:hover, .uc-toc li a[aria-current] { color: var(--ink); }
.uc-toc li a span:first-child { font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; font-variant-numeric: tabular-nums; }
.uc-top { display: inline-flex; margin-top: 32px; font-size: 14px; line-height: 16.8px; letter-spacing: 0; color: var(--muted); transition: color 0.15s ease; }
.uc-top:hover { color: var(--ink); }
.uc-main { min-width: 0; max-width: 860px; }
.uc-sec { padding: 40px 0 64px; border-top: 1px solid var(--line); scroll-margin-top: 36px; } /* + the page's 76 px scroll padding = their 112 */
.uc-sec:first-child { padding-top: 0; border-top: 0; }
.uc-n { font-size: 14px; line-height: 19.6px; letter-spacing: 0; color: var(--faint); }
.uc-sec > .uc-h3 { margin-top: 12px; }
.uc-in { margin-top: 32px; }
.uc-sum .uc-p { max-width: 40.88em; color: var(--ink-2); }
.uc-sum .uc-p + .uc-p { margin-top: 20px; }

/* inputs and outputs: two sand cards with ruled lists */
.uc-io { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.uc-box { padding: 28px; border-radius: 14px; background: var(--sand); }
.uc-box > p { font-size: 14px; line-height: 19.6px; letter-spacing: 0; color: var(--muted); }
.uc-box > .uc-ul { margin-top: 20px; }
.uc-ul { border-top: 1px solid rgba(0, 0, 0, 0.1); }
.uc-ul li { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); font-size: 14px; line-height: 19.6px; letter-spacing: 0; color: var(--ink-2); }

/* the two tables: how it runs (4fr 5fr 5fr), what changes (3fr 4fr 4fr) */
.uc-tbl { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.uc-tr { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 5fr); border-top: 1px solid var(--line); }
.uc-chg .uc-tr { grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); }
.uc-tr:first-child { border-top: 0; }
.uc-th { background: var(--sand); }
.uc-th > p { padding: 12px 20px; font-size: 14px; line-height: 19.6px; letter-spacing: 0; color: var(--muted); }
.uc-th > p + p { border-left: 1px solid var(--line); }
.uc-chg .uc-th > p:last-child { color: var(--ink); }
.uc-tr > [role="cell"], .uc-tr > .uc-k { padding: 20px; }
.uc-tr > [role="cell"] + [role="cell"] { border-left: 1px solid var(--line); }
.uc-tr p { font-size: 14px; line-height: 19.6px; letter-spacing: 0; color: var(--ink-2); }
.uc-tr .uc-sn { color: var(--faint); }
.uc-tr .uc-st { margin-top: 6px; font-size: clamp(1.125rem, 1.005rem + 0.494vw, 1.375rem); line-height: 1.2; letter-spacing: -0.022em; color: var(--ink); }
.uc-ml { display: none; }
.uc-chg .uc-k { color: var(--ink); }
.uc-chg .uc-was p { color: var(--muted); }
.uc-chg .uc-now { background: rgba(246, 245, 241, 0.6); }
.uc-chg .uc-now p { color: var(--ink); }

/* checks built in: three cells on hairlines */
.uc-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); }
.uc-checks > div { padding: 24px; background: #fff; }
.uc-checks p + p { margin-top: 12px; font-size: 14px; line-height: 19.6px; letter-spacing: 0; color: var(--muted); }

/* getting started: one sand card, text and button left, the list right */
.uc-start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 32px; border-radius: 14px; background: var(--sand); }
.uc-start .uc-p { max-width: 28.49em; color: var(--ink-2); }
.uc-note { margin-top: 24px; font-size: 14px; line-height: 19.6px; letter-spacing: 0; color: var(--muted); }
.uc-start .pill { margin-top: 28px; }
.uc-start > .uc-ul { align-self: start; }

/* the product band: words left, a light product card on a blurred picture right (5fr 6fr) */
.uc-bandsec { padding: 80px 0; background: #fff; }
.uc-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border-radius: 20px; overflow: hidden; background: var(--sand); }
.uc-band-t { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 48px; }
.uc-band-t .uc-h2 { margin-top: 20px; max-width: 9.91em; }
.uc-band-t .uc-p { margin-top: 20px; max-width: 27.255em; color: var(--ink-2); }
.uc-band-v { position: relative; height: 395px; display: grid; place-items: center; padding: 40px; overflow: hidden; background: var(--back); }
.uc-band-v > .ui { position: absolute; left: 50%; top: 50%; z-index: 1; translate: -50% -50%; }

/* related use cases (3 x 4:3) and further reading (2 x 16:11) */
.uc-more { padding: 112px 0; border-top: 1px solid var(--line); background: #fff; }
.uc-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 16px; margin-top: 48px; }
.uc-h2-2 { margin-top: 112px; }
.uc-read { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 16px; margin-top: 48px; }
.uc-card { display: block; }
.uc-cimg { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--back); }
.uc-cimg > .uc-img { transition: transform 0.7s var(--out); }
.uc-card:hover .uc-img { transform: scale(1.03); }
.uc-card > .uc-lab { margin-top: 16px; }
.uc-card > .uc-h4 { margin-top: 8px; }
.uc-card > .uc-sm { margin-top: 8px; }
.uc-rd .uc-cimg { aspect-ratio: 16 / 11; }
.uc-rd:hover .uc-img { transform: scale(1.025); }
.uc-rm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 20px; font-size: 14px; line-height: 19.6px; letter-spacing: 0; color: var(--muted); }
.uc-rm .uc-lab { color: var(--ink-2); }
.uc-dot { color: var(--faint); }
.uc-rd > .uc-h4 { margin-top: 10px; transition: color 0.2s ease; }
.uc-rd:hover > .uc-h4 { color: var(--ink-2); }
.uc-clamp { max-width: 34.69em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.uc-act-2 { margin-top: 20px; color: var(--ink-2); border-bottom-color: rgba(69, 66, 62, 0.28); }
.uc-rd:hover .uc-act-2 { color: var(--ink); border-bottom-color: currentColor; }
.uc-rd:hover .uc-act-2::after { transform: translateX(3px); }

/* the closing card (their job pages: one button, 440 tall) */
.uc-cta { padding: 16px 0 112px; background: #fff; }
.uc-cta-card { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; min-height: 440px; padding: 48px; border-radius: 20px; overflow: hidden; background: var(--back); }
.uc-cta-card > .uc-bg { z-index: 0; }
.uc-cta-card > :not(.uc-bg) { position: relative; z-index: 3; }
.uc-cta-card .uc-h2 { max-width: 9.29em; color: var(--pill); }
.uc-cta-card .uc-p { margin-top: 20px; max-width: 27.255em; color: rgba(28, 26, 24, 0.7); }

@media (prefers-reduced-motion: reduce) {
  .uc-cimg > .uc-img, .uc-act::after, .uc-toc li a { transition: none; }
  .uc-card:hover .uc-img { transform: none; }
}

/* below 1024: one column, no side list */
@media (max-width: 1023px) {
  .uc-hero-g { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .uc-body-g { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .uc-aside { display: none; }
  .uc-band { grid-template-columns: minmax(0, 1fr); }
  .uc-band-v { height: clamp(280px, 46vw, 395px); }
  .uc-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* below 768: stacked rows with their own labels */
@media (max-width: 767px) {
  .uc-hero-g { padding-top: 48px; padding-bottom: 56px; }
  .uc-meta { grid-template-columns: minmax(0, 1fr); }
  .uc-meta > div, .uc-meta > div:first-child, .uc-meta > div:last-child { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .uc-meta > div + div { border-left: 0; }
  .uc-body { padding-bottom: 80px; }
  .uc-body-g { padding-top: 56px; }
  .uc-sec { padding-bottom: 56px; }
  .uc-io { grid-template-columns: minmax(0, 1fr); }
  .uc-box { padding: 24px; }
  .uc-th { display: none; }
  .uc-tr, .uc-chg .uc-tr { grid-template-columns: minmax(0, 1fr); }
  .uc-tr:nth-child(2) { border-top: 0; }
  .uc-tr > [role="cell"] + [role="cell"] { border-left: 0; }
  .uc-tr > .uc-step { padding: 20px 20px 8px; }
  .uc-tr > [role="cell"]:not(.uc-step) { padding: 8px 20px; }
  .uc-tr > [role="cell"]:last-child { padding-bottom: 20px; }
  .uc-ml { display: block; color: var(--muted) !important; }
  .uc-ml + p { margin-top: 4px; }
  .uc-chg .uc-k { padding: 20px 20px 4px; }
  .uc-chg .uc-was .uc-ml + p { text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, 0.2); }
  .uc-chg .uc-now { background: none; }
  .uc-checks { grid-template-columns: minmax(0, 1fr); }
  .uc-start { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .uc-bandsec { padding: 64px 0; }
  .uc-band-t { padding: 28px; }
  .uc-band-v { padding: 24px; }
  .uc-more { padding: 80px 0; }
  .uc-h2-2 { margin-top: 96px; }
  .uc-read { grid-template-columns: minmax(0, 1fr); }
  .uc-cta { padding-bottom: 80px; }
  .uc-cta-card { min-height: 400px; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 28px; }
}
@media (max-width: 639px) {
  .uc-rel { grid-template-columns: minmax(0, 1fr); }
}

/* Use cases index (their /en/use-cases, measured 23 Nov 2026): head, industry filter, cards 3 / 2 / 1, closing card */
.uci-head { background: #fff; }
.uci-head .c { padding-top: 64px; padding-bottom: 56px; }
.uci-hg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: end; margin-top: 24px; }
.uci-hg .uc-h1 { max-width: 8.67em; }
.uci-hg .uc-p { max-width: 27.255em; justify-self: end; color: var(--muted); }
.uci-body { background: #fff; padding-bottom: 144px; }
.uci-body > .c { padding-top: 48px; border-top: 1px solid var(--line); }
.uci-g { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
.uci-side { position: sticky; top: 112px; align-self: start; min-width: 0; }
.uci-f { display: flex; flex-direction: column; gap: 4px; }
.uci-f button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 8px 12px; border: 0; border-radius: 6px; background: none; font-size: 14px; line-height: 21px; letter-spacing: -0.01em; color: var(--muted); text-align: left; white-space: nowrap; cursor: pointer; transition: color 0.15s ease, background-color 0.15s ease; }
.uci-f button:hover { color: var(--ink); }
.uci-f button[aria-pressed="true"] { background: var(--sand); color: var(--ink); }
.uci-f button span:last-child { font-size: 12px; line-height: 18px; letter-spacing: 0; color: var(--faint); font-variant-numeric: tabular-nums; }
.uci-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 16px; align-content: start; }
.uci-cards .uc-card[hidden] { display: none; }
.uci-cards .uc-card.uci-on { animation: uci-in 0.45s var(--out) both; }
@keyframes uci-in { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .uci-cards .uc-card.uci-on { animation: none; } }
@media (max-width: 1279px) { .uci-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) {
  .uci-g { grid-template-columns: minmax(0, 1fr); }
  .uci-side { position: static; }
  .uci-f { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .uci-f::-webkit-scrollbar { display: none; }
  .uci-f button { flex: none; scroll-snap-align: start; }
}
@media (max-width: 767px) {
  .uci-head .c { padding-top: 48px; }
  .uci-hg { grid-template-columns: minmax(0, 1fr); }
  .uci-hg .uc-p { justify-self: start; }
  .uci-body { padding-bottom: 112px; }
}
@media (max-width: 639px) {
  .uci-f { margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
  .uci-cards { grid-template-columns: minmax(0, 1fr); }
}
