.jobs-page {
  --jobs-violet: #5b2be5;
  --jobs-violet-bright: #7d42ff;
  --jobs-panel: color-mix(in srgb, var(--v4-surface) 96%, transparent);
  background: var(--v4-bg);
}

.jobs-page .v4-nav a[aria-current="page"]::after { transform: scaleX(1); }
.jobs-page main { padding-bottom: 22px; }
.jobs-panel { width: min(100% - 40px, 1180px); margin: 16px auto 0; }
.jobs-heading { margin-bottom: 26px; text-align: center; }
.jobs-heading h2 { margin: 0; color: var(--v4-text); font-size: clamp(23px, 2.2vw, 32px); letter-spacing: -.035em; }
.jobs-heading p { margin: 7px 0 0; color: var(--v4-muted); font-size: 11px; }
.jobs-page svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.jobs-hero { position: relative; min-height: 410px; overflow: hidden; }
.jobs-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.jobs-hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--v4-bg) 0%, color-mix(in srgb, var(--v4-bg) 99%, transparent) 33%, color-mix(in srgb, var(--v4-bg) 82%, transparent) 46%, transparent 67%); }
.jobs-hero-content { position: relative; z-index: 2; padding-top: 38px; padding-bottom: 30px; }
.jobs-kicker { color: var(--jobs-violet); font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.jobs-hero h1 { max-width: 610px; margin: 14px 0 14px; color: var(--v4-text); font-size: clamp(35px, 3.5vw, 53px); font-weight: 900; letter-spacing: -.045em; line-height: .99; }
.jobs-hero h1 em { color: var(--jobs-violet); font-style: normal; }
.jobs-hero-content > p { max-width: 480px; margin: 0 0 23px; color: var(--v4-muted); font-size: 12px; line-height: 1.55; }
.jobs-hero-benefits { display: flex; max-width: 660px; gap: 20px; }
.jobs-hero-benefits article { display: flex; min-width: 0; flex: 1; align-items: center; gap: 10px; }
.jobs-hero-benefits article > span, .jobs-role-grid article > span { display: grid; width: 37px; height: 37px; flex: 0 0 37px; place-items: center; border: 1px solid var(--v4-line); border-radius: 50%; background: var(--v4-surface); color: var(--jobs-violet); }
.jobs-hero-benefits svg, .jobs-role-grid svg { width: 19px; height: 19px; }
.jobs-hero-benefits b, .jobs-hero-benefits small { display: block; line-height: 1.28; }
.jobs-hero-benefits b { color: var(--v4-text); font-size: 9px; }
.jobs-hero-benefits small { margin-top: 3px; color: var(--v4-muted); font-size: 8px; }

.jobs-roles, .jobs-process, .jobs-apply, .jobs-faq { border: 1px solid var(--v4-line); border-radius: 14px; background: var(--jobs-panel); box-shadow: 0 12px 35px rgba(47,26,102,.035); }
.jobs-roles { margin-top: -18px; padding: 24px 25px 28px; }
.jobs-role-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.jobs-role-grid article { min-width: 0; border: 1px solid var(--v4-line); border-radius: 10px; padding: 18px 16px 16px; background: var(--v4-surface); }
.jobs-role-grid h3 { margin: 14px 0 8px; color: var(--v4-text); font-size: 12px; }
.jobs-role-grid p { min-height: 48px; margin: 0 0 9px; color: var(--v4-muted); font-size: 9px; line-height: 1.55; }
.jobs-role-grid small { color: var(--v4-text); font-size: 8px; line-height: 1.45; }

.jobs-process { padding: 28px 32px 30px; }
.jobs-process-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 24px; }
.jobs-process-grid article { position: relative; min-width: 0; text-align: center; }
.jobs-process-grid article:not(:last-child)::after { position: absolute; top: 31px; left: calc(50% + 37px); width: calc(100% - 48px); border-top: 1px dashed #a894ea; content: ""; }
.jobs-process-grid article > b { position: absolute; top: 25px; left: 3px; z-index: 2; border-radius: 50%; padding: 4px; background: var(--v4-bg); color: var(--jobs-violet); font-size: 8px; }
.jobs-process-grid article > span { display: grid; width: 64px; height: 64px; margin: 0 auto 13px; place-items: center; border: 1px solid var(--v4-line); border-radius: 50%; background: var(--v4-surface); color: var(--jobs-violet); }
.jobs-process-grid svg { width: 28px; height: 28px; }
.jobs-process-grid h3 { margin: 0 0 8px; color: var(--v4-text); font-size: 10px; }
.jobs-process-grid p { margin: 0 auto; color: var(--v4-muted); font-size: 8.5px; line-height: 1.55; }

.jobs-why { display: grid; grid-template-columns: 245px 1fr; overflow: hidden; border-radius: 12px; background: radial-gradient(circle at 20% 0%, rgba(97,49,245,.26), transparent 35%), linear-gradient(130deg,#08051c,#10062c 58%,#14043d); color: #fff; }
.jobs-why > header { padding: 34px 32px; background: linear-gradient(90deg,rgba(255,255,255,.03),transparent); }
.jobs-why > header h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; line-height: 1.05; }
.jobs-why > header i { display: block; width: 55px; margin-top: 13px; border-top: 3px solid #7442f7; }
.jobs-why-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); }
.jobs-why-grid article { padding: 27px 15px 24px; border-left: 1px solid rgba(255,255,255,.12); text-align: center; }
.jobs-why-grid span { display: grid; width: 48px; height: 48px; margin: 0 auto 12px; place-items: center; color: #8a52ff; }
.jobs-why-grid svg { width: 39px; height: 39px; filter: drop-shadow(0 0 8px rgba(116,66,247,.6)); }
.jobs-why-grid h3 { margin: 0 0 8px; font-size: 11px; line-height: 1.25; }
.jobs-why-grid p { margin: 0; color: rgba(255,255,255,.7); font-size: 8.5px; line-height: 1.55; }

.jobs-apply { display: grid; grid-template-columns: 330px 1fr; overflow: hidden; }
.jobs-apply > aside { display: flex; flex-direction: column; border-right: 1px solid var(--v4-line); background: color-mix(in srgb,var(--jobs-violet) 3%,var(--v4-surface)); }
.jobs-apply > aside > div { padding: 27px 30px 19px; }
.jobs-apply > aside h2 { margin: 0 0 5px; color: var(--v4-text); font-size: 25px; }
.jobs-apply > aside p { margin: 0 0 15px; color: var(--v4-muted); font-size: 10px; }
.jobs-apply > aside ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: var(--v4-text); font-size: 9px; }
.jobs-apply > aside li::before { margin-right: 8px; color: var(--jobs-violet); content: "✓"; font-weight: 900; }
.jobs-apply > aside img { width: 100%; height: 300px; margin-top: auto; object-fit: cover; object-position: center 38%; }
.jobs-form { padding: 27px 24px 22px; }
.jobs-form-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px 16px; }
.jobs-form label { display: grid; gap: 7px; color: var(--v4-text); font-size: 9px; font-weight: 800; }
.jobs-form input, .jobs-form select, .jobs-form textarea { width: 100%; min-width: 0; border: 1px solid var(--v4-line); border-radius: 6px; outline: none; padding: 11px 12px; background: var(--v4-surface); color: var(--v4-text); font: inherit; font-size: 10px; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.jobs-form input, .jobs-form select { min-height: 40px; }
.jobs-form textarea { resize: vertical; line-height: 1.45; }
.jobs-form input:focus, .jobs-form select:focus, .jobs-form textarea:focus { border-color: var(--jobs-violet); box-shadow: 0 0 0 3px color-mix(in srgb,var(--jobs-violet) 15%,transparent); }
.jobs-wide { grid-column: 1 / -1; }
.jobs-links { grid-column: span 2; }
.jobs-upload { position: relative; min-height: 115px; border: 1px dashed color-mix(in srgb,var(--jobs-violet) 50%,var(--v4-line)); border-radius: 7px; cursor: pointer; place-items: stretch; overflow: hidden; }
.jobs-upload.is-dragging { border-color: var(--jobs-violet); background: color-mix(in srgb,var(--jobs-violet) 7%,var(--v4-surface)); }
.jobs-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.jobs-upload > span { display: flex; min-height: 115px; align-items: center; justify-content: center; flex-direction: column; padding: 12px; color: var(--v4-muted); font-size: 9px; text-align: center; }
.jobs-upload svg { width: 21px; height: 21px; margin-bottom: 5px; color: var(--jobs-violet); }
.jobs-upload b { color: var(--v4-text); }
.jobs-upload small, .jobs-upload em { display: block; margin-top: 3px; font-size: 7.5px; font-style: normal; }
.jobs-upload em { max-width: 210px; overflow: hidden; color: var(--jobs-violet); text-overflow: ellipsis; white-space: nowrap; }
.jobs-consent { display: flex !important; margin-top: 15px; align-items: flex-start; gap: 9px !important; color: var(--v4-muted) !important; font-weight: 500 !important; line-height: 1.45; }
.jobs-consent input { width: 15px; min-height: 15px; margin: 1px 0 0; accent-color: var(--jobs-violet); }
.jobs-consent a { color: var(--jobs-violet); text-decoration: underline; }
.jobs-submit-row { display: flex; min-height: 44px; margin-top: 14px; align-items: center; justify-content: space-between; gap: 20px; }
.jobs-submit-row p { margin: 0; color: var(--jobs-violet); font-size: 9px; line-height: 1.4; }
.jobs-submit-row button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 6px; padding: 11px 27px; background: linear-gradient(135deg,#5122da,#7132ef); color: #fff; cursor: pointer; font-size: 10px; font-weight: 900; transition: filter .2s, box-shadow .2s; }
.jobs-submit-row button:hover { filter: brightness(1.1); box-shadow: 0 8px 18px rgba(91,43,229,.23); }
.jobs-submit-row svg { width: 16px; height: 16px; }

.jobs-faq { padding: 24px 25px 26px; }
.jobs-faq-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.jobs-faq details { border: 1px solid var(--v4-line); border-radius: 9px; padding: 15px; background: var(--v4-surface); }
.jobs-faq summary { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 9px; color: var(--v4-text); cursor: pointer; font-size: 9px; font-weight: 850; list-style: none; }
.jobs-faq summary::-webkit-details-marker { display: none; }
.jobs-faq summary span { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--v4-line); border-radius: 50%; color: var(--jobs-violet); }
.jobs-faq summary svg { width: 16px; height: 16px; }
.jobs-faq summary b { color: var(--jobs-violet); font-size: 14px; transition: transform .2s; }
.jobs-faq details[open] summary b { transform: rotate(45deg); }
.jobs-faq details p { margin: 12px 0 0 40px; color: var(--v4-muted); font-size: 8.5px; line-height: 1.55; }

.jobs-community { display: grid; min-height: 75px; grid-template-columns: 52px minmax(210px,1fr) auto minmax(300px,1fr); align-items: center; gap: 17px; border-radius: 9px; padding: 13px 28px; background: linear-gradient(110deg,#3111a8,#5b22e7 50%,#6928ed); color: #fff; }
.jobs-community > span { display: grid; width: 45px; height: 45px; place-items: center; }
.jobs-community > span svg { width: 41px; height: 41px; }
.jobs-community h2 { margin: 0 0 3px; font-size: 13px; }
.jobs-community p { margin: 0; color: rgba(255,255,255,.78); font-size: 8px; line-height: 1.4; }
.jobs-community > a { display: inline-flex; min-height: 38px; align-items: center; gap: 12px; border-radius: 6px; padding: 9px 20px; background: #fff; color: #2d1763; font-size: 9px; font-weight: 900; }
.jobs-community > a svg { width: 15px; height: 15px; }
.jobs-community ul { display: flex; justify-content: flex-end; gap: 20px; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.85); font-size: 8px; }
.jobs-community li::before { margin-right: 5px; content: "○"; }

html[data-theme="dark"] .jobs-hero-fade { background: linear-gradient(90deg,var(--v4-bg) 0%,rgba(13,12,25,.98) 33%,rgba(13,12,25,.76) 48%,transparent 73%); }
html[data-theme="dark"] .jobs-roles, html[data-theme="dark"] .jobs-process, html[data-theme="dark"] .jobs-apply, html[data-theme="dark"] .jobs-faq { box-shadow: 0 16px 38px rgba(0,0,0,.16); }

/* Desktop readability: the mockup was composed at a reduced preview scale.
   Keep the compact visual rhythm, but never render important copy as micro text. */
@media (min-width: 861px) {
  .jobs-kicker { font-size: 13px; }
  .jobs-hero-content > p { max-width: 540px; font-size: 16px; line-height: 1.62; }
  .jobs-hero-benefits b { font-size: 13px; line-height: 1.35; }
  .jobs-hero-benefits small { font-size: 11.5px; line-height: 1.4; }

  .jobs-heading p { font-size: 14px; line-height: 1.55; }
  .jobs-role-grid h3 { font-size: 16px; }
  .jobs-role-grid p { min-height: 64px; font-size: 13.5px; line-height: 1.55; }
  .jobs-role-grid small { font-size: 12px; line-height: 1.5; }

  .jobs-process-grid article > b { font-size: 11px; }
  .jobs-process-grid h3 { font-size: 14px; line-height: 1.35; }
  .jobs-process-grid p { font-size: 12.5px; line-height: 1.55; }

  .jobs-why-grid h3 { font-size: 14px; line-height: 1.35; }
  .jobs-why-grid p { font-size: 12px; line-height: 1.55; }

  .jobs-apply > aside p { font-size: 14px; line-height: 1.55; }
  .jobs-apply > aside ul { font-size: 13px; line-height: 1.45; }
  .jobs-form label { font-size: 12.5px; line-height: 1.35; }
  .jobs-form input,
  .jobs-form select,
  .jobs-form textarea { font-size: 14px; line-height: 1.45; }
  .jobs-form input,
  .jobs-form select { min-height: 46px; }
  .jobs-upload > span { font-size: 13px; line-height: 1.45; }
  .jobs-upload small,
  .jobs-upload em { font-size: 11px; line-height: 1.4; }
  .jobs-submit-row p { font-size: 12px; }
  .jobs-submit-row button { min-height: 46px; font-size: 13px; }

  .jobs-faq summary { font-size: 13px; line-height: 1.4; }
  .jobs-faq details p { font-size: 12.5px; line-height: 1.6; }

  .jobs-community h2 { font-size: 17px; }
  .jobs-community p { font-size: 12px; line-height: 1.5; }
  .jobs-community > a { font-size: 12px; }
  .jobs-community ul { font-size: 11.5px; }

  .jobs-page .v4-footer-grid > div > p { font-size: 13px; line-height: 1.55; }
  .jobs-page .v4-footer-grid > div > small { font-size: 11px; }
  .jobs-page .v4-footer nav b { font-size: 11px; }
  .jobs-page .v4-footer nav a { font-size: 12px; }
}

@media (max-width: 1120px) {
  .jobs-role-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .jobs-why { grid-template-columns: 220px 1fr; }
  .jobs-why-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .jobs-community { grid-template-columns: 52px 1fr auto; }
  .jobs-community ul { display: none; }
}

@media (max-width: 860px) {
  .jobs-hero { min-height: 700px; }
  .jobs-hero > img { height: 330px; object-position: 64% center; }
  .jobs-hero-fade { background: linear-gradient(0deg,var(--v4-bg) 0%,var(--v4-bg) 54%,color-mix(in srgb,var(--v4-bg) 28%,transparent) 77%,transparent); }
  .jobs-hero-content { padding-top: 345px; }
  .jobs-hero h1 { font-size: clamp(37px,7vw,51px); }
  .jobs-roles { margin-top: 16px; }
  .jobs-process-grid { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 30px; }
  .jobs-process-grid article::after { display: none; }
  .jobs-why { grid-template-columns: 1fr; }
  .jobs-why-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .jobs-why-grid article { border-top: 1px solid rgba(255,255,255,.12); }
  .jobs-apply { grid-template-columns: 260px 1fr; }
  .jobs-form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jobs-wide { grid-column: 1 / -1; }
  .jobs-links { grid-column: span 1; }
  .jobs-faq-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .jobs-panel { width: min(100% - 28px,1180px); }
  .jobs-hero { min-height: 745px; }
  .jobs-hero > img { height: 295px; object-position: 69% center; }
  .jobs-hero-content { padding-top: 310px; }
  .jobs-hero h1 {
    max-width: 100%;
    font-size: clamp(32px,8.8vw,38px);
    overflow-wrap: normal;
    word-break: normal;
  }
  .jobs-hero-content > p { font-size: 11px; }
  .jobs-hero-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .jobs-hero-benefits article:last-child { grid-column: 1 / -1; }
  .jobs-roles, .jobs-process, .jobs-faq { padding: 21px 16px; }
  .jobs-role-grid { grid-template-columns: 1fr; }
  .jobs-role-grid p { min-height: 0; }
  .jobs-process-grid { grid-template-columns: 1fr; }
  .jobs-process-grid article { display: grid; grid-template-columns: 28px 58px 1fr; align-items: center; gap: 0 12px; text-align: left; }
  .jobs-process-grid article > b { position: static; grid-row: 1 / 3; padding: 0; background: none; font-size: 10px; }
  .jobs-process-grid article > span { width: 54px; height: 54px; grid-row: 1 / 3; margin: 0; }
  .jobs-process-grid article h3, .jobs-process-grid article p { grid-column: 3; margin: 0; }
  .jobs-process-grid article p { margin-top: 5px; }
  .jobs-why > header { padding: 28px 22px; }
  .jobs-why-grid { grid-template-columns: 1fr; }
  .jobs-why-grid article { border-left: 0; padding: 20px; }
  .jobs-apply { grid-template-columns: 1fr; }
  .jobs-apply > aside { border-right: 0; border-bottom: 1px solid var(--v4-line); }
  .jobs-apply > aside img { height: 260px; }
  .jobs-form { padding: 22px 16px; }
  .jobs-form-grid { grid-template-columns: 1fr; }
  .jobs-wide, .jobs-links { grid-column: auto; }
  .jobs-submit-row { align-items: stretch; flex-direction: column; }
  .jobs-submit-row button { width: 100%; }
  .jobs-faq-grid { grid-template-columns: 1fr; }
  .jobs-community { grid-template-columns: 45px 1fr; padding: 17px; }
  .jobs-community > a { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 400px) {
  .jobs-hero { min-height: 785px; }
  .jobs-hero-benefits { grid-template-columns: 1fr; }
  .jobs-hero-benefits article:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .jobs-page *, .jobs-page *::before, .jobs-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
