/* OpenJob design system (site/DESIGN_SYSTEM.md): gray canvas, white product surfaces,
   charcoal type, one scarce blue accent, lime for small status details only. */
:root {
  color-scheme: light;
  --oj-canvas: #f7f8fb;
  --oj-surface: #ffffff;
  --oj-ink: #111111;
  --oj-muted: #667389;
  --oj-line: #dfe5ef;
  --oj-line-strong: #cfd6e1;
  --oj-blue: #3457f1;
  --oj-blue-hover: #2948d8;
  --oj-blue-soft: #eef1ff;
  --oj-blue-line: #cad4ff;
  --oj-lime: #c9f457;
  --oj-green: #2f9e5b;
  --oj-green-soft: #f0f9f3;
  --oj-green-line: #bfe4cc;
  --oj-amber: #9a5b00;
  --oj-amber-soft: #fff7e8;
  --oj-amber-line: #f1d39a;
  --oj-stage: #111720;
  --oj-width: min(100% - 56px, 1240px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--oj-canvas); color: var(--oj-ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--oj-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--oj-blue); outline-offset: 3px; border-radius: 8px; }
section[id] { scroll-margin-top: 24px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 10; padding: 8px 12px; border-radius: 8px; background: var(--oj-ink); color: #fff; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Logo: open ring "O" plus the lime connection dot. */
.oj-logo { display: inline-flex; width: fit-content; gap: 9px; align-items: center; color: var(--oj-ink); font-size: 19px; font-weight: 820; letter-spacing: -.055em; text-decoration: none; }
.oj-logo-mark { position: relative; display: grid; flex: none; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: var(--oj-blue); }
.oj-logo-mark i { width: 16px; height: 16px; border: 2.5px solid #fff; border-right-color: transparent; border-radius: 50%; transform: rotate(-28deg); }
.oj-logo-mark b { position: absolute; top: 6px; right: 5px; width: 6px; height: 6px; border: 1px solid var(--oj-blue); border-radius: 50%; background: var(--oj-lime); }

/* Nav: brand, one status note, one action. No section navigation. */
.oj-nav { display: grid; width: var(--oj-width); min-height: 68px; margin: 0 auto; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--oj-line); }
.oj-nav-note { display: flex; gap: 8px; align-items: center; color: var(--oj-muted); font-size: 12px; font-weight: 600; }
.oj-nav-note i, .oj-fill-card > header i, .oj-card > header i, .oj-product-rail > p i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--oj-green); }
.oj-nav-cta { display: inline-flex; min-height: 38px; padding: 0 14px; gap: 22px; align-items: center; justify-self: end; border: 1px solid var(--oj-line-strong); border-radius: 8px; background: var(--oj-surface); color: var(--oj-ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.oj-nav-cta:hover { border-color: var(--oj-ink); }

/* Buttons: 8px radius, never pills. */
.oj-button { display: inline-flex; min-height: 48px; padding: 0 18px; gap: 34px; align-items: center; border-radius: 8px; background: var(--oj-blue); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .15s ease; }
.oj-button:hover { background: var(--oj-blue-hover); }
.oj-arrow { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.oj-button .oj-arrow, .oj-nav-cta .oj-arrow { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.oj-button:hover .oj-arrow, .oj-nav-cta:hover .oj-arrow { transform: translateX(3px); }

/* Hero */
.oj-hero { display: grid; width: var(--oj-width); min-height: 570px; margin: 0 auto; padding: 72px 0 80px; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .72fr); gap: clamp(56px, 8vw, 120px); align-items: center; }
.oj-hero h1 .w { display: inline-block; }
.oj-hero h1 { max-width: 760px; font-size: clamp(58px, 7.3vw, 96px); font-weight: 560; letter-spacing: -.072em; line-height: .92; }
.oj-subhead { max-width: 600px; margin-top: 30px; color: #626b7b; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -.02em; line-height: 1.5; }
.oj-hero-actions { display: flex; margin-top: 34px; gap: 22px; align-items: center; }
.oj-hero-actions small { color: #6d7685; font-size: 13px; }

/* Hero product card: the autofill result. */
.oj-fill-card { overflow: hidden; border: 1px solid #d9dee8; border-radius: 18px; background: var(--oj-surface); transform: perspective(1400px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) rotate(1deg); transition: transform .9s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
.oj-fill-card > header, .oj-card > header { display: flex; min-height: 56px; padding: 0 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7eaf0; }
.oj-fill-card > header span, .oj-card > header span { display: flex; gap: 9px; align-items: center; font-size: 13px; font-weight: 760; }
.oj-fill-card > header small, .oj-card > header small { padding: 5px 8px; border-radius: 5px; background: #eff2f7; color: #6f7889; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.oj-fields { display: grid; gap: 10px; padding: 18px 20px 6px; }
.oj-field { display: grid; gap: 4px; }
.oj-field .label { color: var(--oj-muted); font-size: 11px; font-weight: 600; }
.oj-field .value { display: flex; min-height: 34px; padding: 6px 11px; gap: 8px; align-items: center; justify-content: space-between; border: 1px solid var(--oj-green-line); border-radius: 8px; background: var(--oj-green-soft); font-size: 13px; }
.oj-field .value > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.oj-field em { color: var(--oj-green); font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
.oj-field.oj-needs { display: flex; min-height: 38px; padding: 6px 11px; gap: 9px; align-items: center; border: 1px solid var(--oj-amber-line); border-radius: 8px; background: var(--oj-amber-soft); }
.oj-needs .label { flex: 1; color: var(--oj-ink); font-size: 12px; }
.oj-needs em { color: var(--oj-amber); }
.oj-needs .check { width: 14px; height: 14px; flex: none; border: 1.5px solid var(--oj-amber); border-radius: 4px; background: #fff; }
.oj-fill-flow { display: grid; margin: 14px 20px 20px; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: center; }
.oj-fill-flow span, .oj-fill-flow strong { display: grid; min-height: 44px; padding: 0 8px; place-items: center; border: 1px solid #e0e4ec; border-radius: 8px; color: var(--oj-muted); font-size: 11px; font-weight: 600; text-align: center; }
.oj-fill-flow strong { border-color: var(--oj-blue-line); background: var(--oj-blue-soft); color: var(--oj-blue); }
.oj-fill-flow i { display: grid; color: #9aa1ad; }
.oj-fill-flow .oj-arrow { width: 13px; height: 13px; }
.oj-fill-card > footer { padding: 16px 20px 18px; border-top: 1px solid #e7eaf0; }
.oj-fill-card > footer p { margin-bottom: 10px; color: #6f7889; font-size: 10px; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.oj-fill-card > footer div { display: grid; grid-template-columns: repeat(3, 1fr); }
.oj-fill-card > footer span { color: #4f596a; font-size: 12px; font-weight: 750; }

/* Product showcase: the one blue section, with the side panel ranking a careers page. */
.oj-product-section { width: min(100% - 40px, 1400px); margin: 0 auto; padding: 68px 68px 40px; border-radius: 26px; background: #e8edff; }
.oj-product-section > header { display: grid; margin-bottom: 48px; grid-template-columns: 1.3fr .7fr; gap: 42px; align-items: end; }
.oj-product-section > header > h2 { max-width: 650px; font-size: clamp(40px, 4.7vw, 64px); font-weight: 560; letter-spacing: -.06em; line-height: .98; }
.oj-product-section > header > span { color: #586379; font-size: 15px; line-height: 1.55; }

.oj-product-stage { display: grid; min-height: 560px; overflow: hidden; grid-template-columns: 210px minmax(0, 1fr); border: 1px solid rgba(25, 36, 60, .12); border-radius: 18px; background: var(--oj-stage); }
.oj-product-rail { display: flex; padding: 28px 18px 22px; flex-direction: column; border-right: 1px solid rgba(255, 255, 255, .09); color: #fff; }
.oj-rail-brand { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 780; }
.oj-rail-brand .oj-logo-mark { width: 28px; height: 28px; border-radius: 8px; }
.oj-rail-brand .oj-logo-mark i { width: 13px; height: 13px; border-width: 2px; }
.oj-rail-brand .oj-logo-mark b { top: 5px; right: 4px; width: 5px; height: 5px; }
.oj-product-rail ul { display: grid; margin-top: 64px; gap: 6px; }
.oj-product-rail li { display: flex; min-height: 44px; padding: 0 12px; gap: 11px; align-items: center; border-radius: 8px; color: #94a0b3; font-size: 13px; font-weight: 660; }
.oj-product-rail li svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.oj-product-rail li.is-active { background: rgba(255, 255, 255, .09); color: #fff; }
.oj-product-rail li.is-active svg { color: #aebcff; }
.oj-product-rail > p { display: flex; margin: auto 8px 0; gap: 9px; align-items: center; color: #8b96a8; font-size: 11px; }

.oj-careers-window { min-width: 0; margin: 14px 14px 14px 0; overflow: hidden; border-radius: 12px; background: var(--oj-surface); }
.oj-careers-window > header { display: flex; min-height: 52px; padding: 0 18px; gap: 12px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7eaf0; background: #fbfcfd; }
.oj-preview-bar { display: flex; min-width: 0; gap: 6px; align-items: center; }
.oj-preview-bar i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #d4d9e0; }
.oj-preview-bar span { overflow: hidden; margin-left: 7px; color: #7d8696; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.oj-chip { flex: none; padding: 6px 10px; border: 1px solid #dce1e8; border-radius: 7px; background: #fff; color: #5c6676; font-size: 11px; font-weight: 700; }
.oj-careers-content { max-width: 920px; margin: 0 auto; padding: clamp(32px, 4.4vw, 58px); }
.oj-demo-kicker { margin-bottom: 12px; color: var(--oj-blue); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.oj-careers-content > h3 { margin-bottom: 30px; font-size: clamp(36px, 4.4vw, 56px); font-weight: 570; letter-spacing: -.065em; line-height: .95; }
.oj-answer-layout { display: grid; grid-template-columns: .85fr 1fr; gap: 18px; }
.oj-chat-answer { padding: 20px; border: 1px solid #d9e1ff; border-radius: 12px; background: #f3f5ff; }
.oj-chat-answer > header { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; }
.oj-ai-mark { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 7px; background: var(--oj-blue); }
.oj-ai-mark svg { width: 12px; height: 12px; fill: #fff; }
.oj-chat-answer header b { font-size: 13px; }
.oj-chat-answer header small { color: #6f7ba0; font-size: 11px; }
.oj-chat-answer > p { margin: 18px 0 20px; color: #4d5972; font-size: 13px; line-height: 1.65; }
.oj-chat-answer > p strong { color: #202838; }
.oj-answer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.oj-answer-tags span { padding: 5px 8px; border: 1px solid #d9dff3; border-radius: 6px; background: #fff; color: #5f6b84; font-size: 11px; font-weight: 700; }
.oj-results { overflow: hidden; border: 1px solid #e0e4eb; border-radius: 12px; }
.oj-result-row { display: grid; min-height: 72px; padding: 12px 15px; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; border-bottom: 1px solid #e7eaf0; }
.oj-result-row:last-child { border-bottom: 0; }
.oj-result-row > i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: var(--oj-blue-soft); color: var(--oj-blue); font-size: 14px; font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; }
.oj-result-row:last-child > i { background: #f1f3f6; color: #5c6676; }
.oj-result-row > span { display: grid; min-width: 0; gap: 3px; }
.oj-result-row b { font-size: 13px; }
.oj-result-row small { overflow: hidden; color: #758092; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.oj-result-row em { display: grid; color: var(--oj-blue); }
.oj-sample-note { margin-top: 18px; color: #5f6b84; font-size: 12px; text-align: right; }

/* Sections: title, then content on white surfaces over the gray canvas. */
.oj-section { width: var(--oj-width); margin: 0 auto; padding: 104px 0 0; }
.oj-section-head { display: grid; gap: 18px; max-width: 760px; }
.oj-section-head > h2 { font-size: clamp(40px, 4.4vw, 60px); font-weight: 560; letter-spacing: -.06em; line-height: 1; }
.oj-section-head > span { color: #5f6878; font-size: 16px; line-height: 1.6; max-width: 54ch; }
.oj-steps { display: grid; margin-top: 48px; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--oj-line); }
.oj-steps article { padding: 28px 32px 0 0; }
.oj-steps article + article { padding-left: 32px; border-left: 1px solid var(--oj-line); }
.oj-step-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 9px; background: var(--oj-blue-soft); }
.oj-step-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--oj-blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.oj-steps h3 { margin-top: 20px; font-size: 20px; font-weight: 640; letter-spacing: -.03em; }
.oj-steps p { margin-top: 8px; color: #5f6878; font-size: 15px; line-height: 1.6; max-width: 38ch; }

.oj-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.oj-card { overflow: hidden; border: 1px solid #d9dee8; border-radius: 18px; background: var(--oj-surface); }
.oj-card table { width: calc(100% - 40px); margin: 8px 20px 0; border-collapse: collapse; font-size: 14px; }
.oj-card th, .oj-card td { padding: 12px 0; border-bottom: 1px solid #edf0f4; font-weight: 500; text-align: left; }
.oj-card thead th { padding-top: 10px; color: var(--oj-muted); font-size: 10px; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.oj-card td, .oj-card thead th:last-child { text-align: right; }
.oj-card td { font-weight: 760; font-variant-numeric: tabular-nums; }
.oj-card > footer { padding: 16px 20px 18px; color: var(--oj-muted); font-size: 13px; line-height: 1.5; }
.oj-ai-list { padding: 4px 20px 0; }
.oj-ai-list div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid #edf0f4; font-size: 14px; }
.oj-ai-list dt { font-weight: 700; }
.oj-ai-list dd { color: #5f6878; }

.oj-faq { border-top: 1px solid var(--oj-line-strong); }
.oj-faq details { border-bottom: 1px solid var(--oj-line-strong); }
.oj-faq summary { display: flex; padding: 20px 0; gap: 24px; justify-content: space-between; cursor: pointer; font-size: 17px; font-weight: 640; letter-spacing: -.02em; list-style: none; }
.oj-faq summary::-webkit-details-marker { display: none; }
.oj-faq summary::after { content: "+"; flex: none; color: var(--oj-blue); font-size: 20px; font-weight: 500; line-height: 1.1; transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.oj-faq details[open] summary::after { transform: rotate(45deg); }
.oj-faq summary:hover { color: var(--oj-blue); }
.oj-faq details p { padding-bottom: 22px; color: #5f6878; font-size: 15px; max-width: 62ch; }

.oj-bottom-cta { display: grid; width: var(--oj-width); margin: 128px auto 0; padding: 120px 0 128px; justify-items: center; gap: 36px; border-top: 1px solid var(--oj-line); text-align: center; }
.oj-bottom-cta h2 { max-width: 13ch; font-size: clamp(48px, 7vw, 100px); font-weight: 560; letter-spacing: -.072em; line-height: .92; }
.oj-bottom-cta small { margin-top: -18px; color: #6d7685; font-size: 13px; }
.oj-footer { display: grid; width: var(--oj-width); min-height: 110px; margin: 0 auto; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; border-top: 1px solid var(--oj-line); color: var(--oj-muted); font-size: 13px; }
.oj-footer > span { justify-self: end; }

/* Motion: the autofill card fills field by field, then the ranking rows arrive in order. */
@media (prefers-reduced-motion: no-preference) {
  .js .oj-hero h1 .w { animation: oj-word 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.08s + var(--w) * .09s); }
  .js .oj-fill-card:not(.play) .oj-field .value > span { clip-path: inset(0 100% 0 0); }
  .js .oj-fill-card:not(.play) .oj-field .value, .js .oj-fill-card:not(.play) .oj-needs { border-color: var(--oj-line); background: var(--oj-surface); }
  .js .oj-fill-card:not(.play) .oj-field em, .js .oj-fill-card:not(.play) .oj-fill-flow, .js .oj-product-stage:not(.play) .oj-result-row, .js .oj-product-stage:not(.play) .oj-chat-answer { opacity: 0; }
  .play .oj-field .value > span { animation: oj-type .5s steps(18, end) both; animation-delay: calc(.4s + var(--i) * .3s); }
  .play .oj-field .value, .play .oj-needs { animation: oj-fill .45s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.35s + var(--i) * .3s); }
  .play .oj-field em { animation: oj-fade .4s ease-out both; animation-delay: calc(.7s + var(--i) * .3s); }
  .play .oj-fill-flow { animation: oj-rise .6s cubic-bezier(.16, 1, .3, 1) 2.3s both; }
  .play .oj-result-row { animation: oj-rise .6s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.3s + var(--i) * .14s); }
  .play .oj-chat-answer { animation: oj-rise .7s cubic-bezier(.16, 1, .3, 1) .85s both; }
}
@keyframes oj-word { from { opacity: 0; filter: blur(14px); transform: translateY(.14em); } }
@keyframes oj-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes oj-fill { from { border-color: var(--oj-line); background: var(--oj-surface); } }
@keyframes oj-fade { from { opacity: 0; } }
@keyframes oj-rise { from { opacity: 0; transform: translateY(8px); } }

/* The product header and preview stack below 900px. */
@media (max-width: 960px) {
  .oj-nav-note { display: none; }
  .oj-nav { grid-template-columns: 1fr auto; }
  .oj-hero { grid-template-columns: minmax(0, 1fr); gap: 50px; min-height: 0; }
  .oj-fill-card { max-width: 560px; transform: none; transition: none; }
  .oj-product-section { padding: 50px 32px 32px; }
  .oj-product-section > header { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .oj-product-section > header > span { max-width: 540px; }
  .oj-product-stage { grid-template-columns: 160px minmax(0, 1fr); }
  .oj-answer-layout { grid-template-columns: minmax(0, 1fr); }
  .oj-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .oj-steps { grid-template-columns: minmax(0, 1fr); }
  .oj-steps article, .oj-steps article + article { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--oj-line); }
}

@media (max-width: 680px) {
  :root { --oj-width: calc(100% - 32px); }
  .oj-hero { padding: 48px 0 56px; }
  .oj-hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .oj-subhead { font-size: 17px; }
  .oj-hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .oj-fill-flow { grid-template-columns: minmax(0, 1fr); }
  .oj-fill-flow i { display: none; }
  .oj-product-section { width: calc(100% - 16px); padding: 42px 8px 8px; border-radius: 18px; }
  .oj-product-section > header { margin-bottom: 32px; padding: 0 12px; }
  .oj-product-section > header > h2 { font-size: 40px; }
  .oj-product-stage { min-height: 0; grid-template-columns: minmax(0, 1fr); border-radius: 12px; }
  .oj-product-rail { display: none; }
  .oj-careers-window { margin: 8px; }
  .oj-chip { display: none; }
  .oj-result-row small { white-space: normal; }
  .oj-careers-content { padding: 28px 16px; }
  .oj-careers-content > h3 { font-size: 38px; }
  .oj-sample-note { padding: 0 12px 12px; text-align: left; }
  .oj-section { padding-top: 80px; }
  .oj-ai-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .oj-bottom-cta { margin-top: 80px; padding: 88px 0 96px; }
  .oj-footer { grid-template-columns: minmax(0, 1fr); min-height: 150px; align-content: center; gap: 10px; }
  .oj-footer > span { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
